@local-logic/sdks-app 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/assets/{index-legacy.07116093.js → index-legacy.8274fd62.js} +1 -1
  2. package/dist/assets/index-legacy.ab2806f1.js +40 -0
  3. package/dist/assets/index-legacy.b0c3b101.js +1 -0
  4. package/dist/assets/index-legacy.ee970dd3.js +1 -0
  5. package/dist/assets/{index.1b45b39b.js → index.1798f035.js} +1 -1
  6. package/dist/assets/index.299746d3.js +221 -0
  7. package/dist/assets/{index.c1827e8f.js → index.5e5913ac.js} +1 -1
  8. package/dist/assets/{index.27821d72.js → index.603e3d3b.js} +52 -52
  9. package/dist/assets/{polyfills-legacy.d3683099.js → polyfills-legacy.bf9b122f.js} +1 -1
  10. package/dist/index.html +3 -3
  11. package/dist/types/sdks/LocalContent/index.d.ts.map +1 -1
  12. package/dist/types/sdks/LocalContent/index.js +5 -2
  13. package/dist/types/sdks/LocalContent/index.js.map +1 -1
  14. package/package.json +1 -1
  15. package/dist/assets/auto-track-legacy.541af3f5.js +0 -1
  16. package/dist/assets/auto-track.10e7c441.js +0 -1
  17. package/dist/assets/index-legacy.4d95875e.js +0 -40
  18. package/dist/assets/index-legacy.60d9e590.js +0 -1
  19. package/dist/assets/index-legacy.690811dc.js +0 -1
  20. package/dist/assets/index-legacy.89760bd0.js +0 -1
  21. package/dist/assets/index-legacy.a4b02181.js +0 -1
  22. package/dist/assets/index-legacy.be4ae81b.js +0 -672
  23. package/dist/assets/index-legacy.d24a67f5.js +0 -1
  24. package/dist/assets/index-legacy.d281a40b.js +0 -1
  25. package/dist/assets/index-legacy.d7f5a5d6.js +0 -1
  26. package/dist/assets/index.0c5b062b.js +0 -1345
  27. package/dist/assets/index.1787c8e5.js +0 -1
  28. package/dist/assets/index.24a102e7.js +0 -1
  29. package/dist/assets/index.7dae5d4e.js +0 -1
  30. package/dist/assets/index.99863166.js +0 -221
  31. package/dist/assets/index.ca339fe1.js +0 -1
  32. package/dist/assets/index.e50321f4.js +0 -1
  33. package/dist/assets/index.umd-legacy.84ee2b87.js +0 -1
  34. package/dist/assets/index.umd.703b7a5f.js +0 -1
  35. package/dist/assets/is-plan-event-enabled-legacy.0a339854.js +0 -1
  36. package/dist/assets/is-plan-event-enabled.681b46ca.js +0 -1
@@ -0,0 +1,40 @@
1
+ !function(){var e,t,n,r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T,P,O,R,D,L,M,N,F,I,j,z,B,U,V,H,q,Y,G,W,K,X,Z,Q,$,J,ee,te,ne,re,oe,ie,ae,ue,se,le,ce,fe,de,pe,he,ve,me,ge,ye,be,xe,we,_e,Ee,Se,ke,Ce,Ae,Te,Pe,Oe,Re,De,Le,Me,Ne,Fe,Ie,je,ze,Be,Ue,Ve,He,qe,Ye,Ge,We,Ke,Xe,Ze,Qe,$e,Je,et,tt,nt,rt,ot,it,at,ut,st,lt,ct,ft,dt,pt,ht,vt,mt,gt,yt,bt,xt,wt,_t,Et,St,kt,Ct,At,Tt,Pt,Ot,Rt,Dt,Lt=["startTimestamp"],Mt=["children"],Nt=["scope","children"],Ft=["children"],It=["children"],jt=["asChild"],zt=["htmlFor","id"],Bt=["__scopeSwitch","aria-labelledby","name","checked","defaultChecked","required","disabled","value","onCheckedChange"],Ut=["__scopeSwitch"],Vt=["control","checked","bubbles"],Ht=["scope","children"],qt=["name","min","max","step","orientation","disabled","minStepsBetweenThumbs","defaultValue","value","onValueChange"],Yt=["min","max","dir","onSlideStart","onSlideMove","onStepKeyDown"],Gt=["min","max","onSlideStart","onSlideMove","onStepKeyDown"],Wt=["__scopeSlider","onSlideStart","onSlideMove","onSlideEnd","onHomeKeyDown","onEndKeyDown","onStepKeyDown"],Kt=["__scopeSlider"],Xt=["__scopeSlider"],Zt=["__scopeSlider","index"],Qt=["value"],$t=["label","showValue"],Jt=["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"],en=["loop","trapped","onMountAutoFocus","onUnmountAutoFocus"],tn=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"],nn=["strategy"],rn=["mainAxis","crossAxis","limiter"],on=["children","width","height"],an=["__scopePopper","virtualRef"],un=["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","collisionBoundary","collisionPadding","sticky","hideWhenDetached","avoidCollisions"],sn=["__scopePopper"],ln=["container"],cn=["__scopePopover"],fn=["forceMount"],dn=["__scopePopover","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside"],pn=["__scopePopover"],hn=["__scopeSelect","disabled","aria-labelledby"],vn=["__scopeSelect","className","style","children","placeholder"],mn=["__scopeSelect","children"],gn=["__scopeSelect","onCloseAutoFocus"],yn=["__scopeSelect"],bn=["__scopeSelect"],xn=["__scopeSelect"],wn=["__scopeSelect","value","disabled","textValue"],_n=["__scopeSelect","className","style"],En=["__scopeSelect"],Sn=["__scopeSelect","onAutoScroll"],kn=["__scopeSelect"],Cn=["value"],An=["size","children"],Tn=["size","children"],Pn=["children"],On=["children"],Rn=["scope","children"],Dn=["children"],Ln=["children"],Mn=["asChild"],Nn=["htmlFor","id"],Fn=["__scopeSwitch","aria-labelledby","name","checked","defaultChecked","required","disabled","value","onCheckedChange"],In=["__scopeSwitch"],jn=["control","checked","bubbles"],zn=["scope","children"],Bn=["name","min","max","step","orientation","disabled","minStepsBetweenThumbs","defaultValue","value","onValueChange"],Un=["min","max","dir","onSlideStart","onSlideMove","onStepKeyDown"],Vn=["min","max","onSlideStart","onSlideMove","onStepKeyDown"],Hn=["__scopeSlider","onSlideStart","onSlideMove","onSlideEnd","onHomeKeyDown","onEndKeyDown","onStepKeyDown"],qn=["__scopeSlider"],Yn=["__scopeSlider"],Gn=["__scopeSlider","index"],Wn=["value"],Kn=["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"],Xn=["loop","trapped","onMountAutoFocus","onUnmountAutoFocus"],Zn=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"],Qn=["strategy"],$n=["mainAxis","crossAxis","limiter"],Jn=["children","width","height"],er=["__scopePopper","virtualRef"],tr=["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","collisionBoundary","collisionPadding","sticky","hideWhenDetached","avoidCollisions"],nr=["__scopePopper"],rr=["container"],or=["__scopePopover"],ir=["forceMount"],ar=["__scopePopover","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside"],ur=["__scopePopover"],sr=["__scopeSelect","disabled","aria-labelledby"],lr=["__scopeSelect","children"],cr=["__scopeSelect","onCloseAutoFocus"],fr=["__scopeSelect"],dr=["__scopeSelect","value","disabled","textValue"],pr=["__scopeSelect"],hr=["value"],vr=["scope","children"],mr=["children"],gr=["children"],yr=["asChild"],br=["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"],xr=["loop","trapped","onMountAutoFocus","onUnmountAutoFocus"],wr=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"],_r=["strategy"],Er=["mainAxis","crossAxis","limiter"],Sr=["children","width","height"],kr=["__scopePopper","virtualRef"],Cr=["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","collisionBoundary","collisionPadding","sticky","hideWhenDetached","avoidCollisions"],Ar=["__scopePopper"],Tr=["__scopePopover"],Pr=["forceMount"],Or=["__scopePopover","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside"],Rr=["__scopePopover"],Dr=["scope","children"],Lr=["__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopId","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus"],Mr=["__scopeRovingFocusGroup","focusable","active"],Nr=["__scopeTabs","value","onValueChange","defaultValue","orientation","dir","activationMode"],Fr=["__scopeTabs","loop"],Ir=["__scopeTabs","value","disabled"],jr=["__scopeTabs","value","forceMount","children"];function zr(e){return eo(e)||Kr(e)||mo(e)||Jr()}function Br(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Br=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(C){u=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=x(a,n);if(u){if(u===c)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===c)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(C){return{type:"throw",arg:C}}}e.wrap=s;var c={};function f(){}function d(){}function p(){}var h={};u(h,o,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(S([])));m&&m!==t&&n.call(m,o)&&(h=m);var g=p.prototype=f.prototype=Object.create(h);function y(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function r(o,i,a,u){var s=l(e[o],e,i);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==ho(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,u)}))}u(s.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function x(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function S(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=p,u(g,"constructor",p),u(p,"constructor",d),d.displayName=u(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,u(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),u(b.prototype,i,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new b(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),u(g,a,"Generator"),u(g,o,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=S,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;_(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}function Ur(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(l){return void n(l)}u.done?t(s):Promise.resolve(s).then(r,o)}function Vr(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Ur(i,r,o,a,u,"next",e)}function u(e){Ur(i,r,o,a,u,"throw",e)}a(void 0)}))}}function Hr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function qr(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Yr(){return Yr="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=Gr(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Yr.apply(this,arguments)}function Gr(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=po(e)););return e}function Wr(e){return function(e){if(Array.isArray(e))return go(e)}(e)||Kr(e)||mo(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kr(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Xr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(n),!0).forEach((function(t){Qr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $r(e,t){return eo(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(s){u=!0,o=s}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}(e,t)||mo(e,t)||Jr()}function Jr(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eo(e){if(Array.isArray(e))return e}function to(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)}}function no(e,t,n){return t&&to(e.prototype,t),n&&to(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ro(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oo(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fo(e,t)}function io(e){var t=co();return function(){var n,r=po(e);if(t){var o=po(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ao(this,n)}}function ao(e,t){if(t&&("object"===ho(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return uo(e)}function uo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function so(e){var t="function"==typeof Map?new Map:void 0;return so=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return lo(e,arguments,po(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),fo(r,e)},so(e)}function lo(e,t,n){return lo=co()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&fo(o,n.prototype),o},lo.apply(null,arguments)}function co(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function fo(e,t){return fo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fo(e,t)}function po(e){return po=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},po(e)}function ho(e){return ho="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ho(e)}function vo(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=mo(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function mo(e,t){if(e){if("string"==typeof e)return go(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?go(e,t):void 0}}function go(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}System.register([],(function(Ur,Gr){"use strict";return{execute:function(){function Kr(e,t){for(var n=function(){var n=t[r];if("string"!=typeof n&&!Array.isArray(n)){var o=function(t){if("default"!==t&&!(t in e)){var r=Object.getOwnPropertyDescriptor(n,t);r&&Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:function(){return n[t]}})}};for(var i in n)o(i)}},r=0;r<t.length;r++)n();return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}Ur({E:nD,G:$R,H:oD,P:IR,U:gE,W:DO,Y:eE,n:yy,q:function(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0},t:MR,w:NR,z:FR});Ur("c","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});function Xr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jr=Ur("r",{exports:{}}),eo={},to=Symbol.for("react.element"),lo=Symbol.for("react.portal"),co=Symbol.for("react.fragment"),fo=Symbol.for("react.strict_mode"),mo=Symbol.for("react.profiler"),go=Symbol.for("react.provider"),yo=Symbol.for("react.context"),bo=Symbol.for("react.forward_ref"),xo=Symbol.for("react.suspense"),wo=Symbol.for("react.memo"),_o=Symbol.for("react.lazy"),Eo=Symbol.iterator;var So={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ko=Object.assign,Co={};function Ao(e,t,n){this.props=e,this.context=t,this.refs=Co,this.updater=n||So}function To(){}function Po(e,t,n){this.props=e,this.context=t,this.refs=Co,this.updater=n||So}Ao.prototype.isReactComponent={},Ao.prototype.setState=function(e,t){if("object"!==ho(e)&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},Ao.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},To.prototype=Ao.prototype;var Oo=Po.prototype=new To;Oo.constructor=Po,ko(Oo,Ao.prototype),Oo.isPureReactComponent=!0;var Ro=Array.isArray,Do=Object.prototype.hasOwnProperty,Lo={current:null},Mo={key:!0,ref:!0,__self:!0,__source:!0};function No(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)Do.call(t,r)&&!Mo.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:to,type:e,key:i,ref:a,props:o,_owner:Lo.current}}function Fo(e){return"object"===ho(e)&&null!==e&&e.$$typeof===to}var Io=/\/+/g;function jo(e,t){return"object"===ho(e)&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function zo(e,t,n,r,o){var i=ho(e);"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case to:case lo:a=!0}}if(a)return o=o(a=e),e=""===r?"."+jo(a,0):r,Ro(o)?(n="",null!=e&&(n=e.replace(Io,"$&/")+"/"),zo(o,t,n,"",(function(e){return e}))):null!=o&&(Fo(o)&&(o=function(e,t){return{$$typeof:to,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(Io,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=""===r?".":r+":",Ro(e))for(var u=0;u<e.length;u++){var s=r+jo(i=e[u],u);a+=zo(i,t,n,s,o)}else if(s=function(e){return null===e||"object"!==ho(e)?null:"function"==typeof(e=Eo&&e[Eo]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),u=0;!(i=e.next()).done;)a+=zo(i=i.value,t,n,s=r+jo(i,u++),o);else if("object"===i)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function Bo(e,t,n){if(null==e)return e;var r=[],o=0;return zo(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function Uo(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var Vo={current:null},Ho={transition:null},qo={ReactCurrentDispatcher:Vo,ReactCurrentBatchConfig:Ho,ReactCurrentOwner:Lo};eo.Children={map:Bo,forEach:function(e,t,n){Bo(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Bo(e,(function(){t++})),t},toArray:function(e){return Bo(e,(function(e){return e}))||[]},only:function(e){if(!Fo(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},eo.Component=Ao,eo.Fragment=co,eo.Profiler=mo,eo.PureComponent=Po,eo.StrictMode=fo,eo.Suspense=xo,eo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qo,eo.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=ko({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=Lo.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)Do.call(t,s)&&!Mo.hasOwnProperty(s)&&(r[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)r.children=n;else if(1<s){u=Array(s);for(var l=0;l<s;l++)u[l]=arguments[l+2];r.children=u}return{$$typeof:to,type:e.type,key:o,ref:i,props:r,_owner:a}},eo.createContext=function(e){return(e={$$typeof:yo,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:go,_context:e},e.Consumer=e},eo.createElement=No,eo.createFactory=function(e){var t=No.bind(null,e);return t.type=e,t},eo.createRef=function(){return{current:null}},eo.forwardRef=function(e){return{$$typeof:bo,render:e}},eo.isValidElement=Fo,eo.lazy=function(e){return{$$typeof:_o,_payload:{_status:-1,_result:e},_init:Uo}},eo.memo=function(e,t){return{$$typeof:wo,type:e,compare:void 0===t?null:t}},eo.startTransition=function(e){var t=Ho.transition;Ho.transition={};try{e()}finally{Ho.transition=t}},eo.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},eo.useCallback=function(e,t){return Vo.current.useCallback(e,t)},eo.useContext=function(e){return Vo.current.useContext(e)},eo.useDebugValue=function(){},eo.useDeferredValue=function(e){return Vo.current.useDeferredValue(e)},eo.useEffect=function(e,t){return Vo.current.useEffect(e,t)},eo.useId=function(){return Vo.current.useId()},eo.useImperativeHandle=function(e,t,n){return Vo.current.useImperativeHandle(e,t,n)},eo.useInsertionEffect=function(e,t){return Vo.current.useInsertionEffect(e,t)},eo.useLayoutEffect=function(e,t){return Vo.current.useLayoutEffect(e,t)},eo.useMemo=function(e,t){return Vo.current.useMemo(e,t)},eo.useReducer=function(e,t,n){return Vo.current.useReducer(e,t,n)},eo.useRef=function(e){return Vo.current.useRef(e)},eo.useState=function(e){return Vo.current.useState(e)},eo.useSyncExternalStore=function(e,t,n){return Vo.current.useSyncExternalStore(e,t,n)},eo.useTransition=function(){return Vo.current.useTransition()},eo.version="18.2.0",function(e){e.exports=eo}(Jr);var Yo=Ur("R",Xr(Jr.exports)),Go=Kr({__proto__:null,default:Yo},[Jr.exports]);Ur("$",Go);var Wo={},Ko=Ur("Q",{exports:{}}),Xo={},Zo={exports:{}},Qo={};
2
+ /**
3
+ * @license React
4
+ * scheduler.production.min.js
5
+ *
6
+ * Copyright (c) Facebook, Inc. and its affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */
11
+ !function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var u=2*(r+1)-1,s=e[u],l=u+1,c=e[l];if(0>o(s,n))l<i&&0>o(c,s)?(e[r]=c,e[l]=n,r=l):(e[r]=s,e[u]=n,r=u);else{if(!(l<i&&0>o(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===("undefined"==typeof performance?"undefined":ho(performance))&&"function"==typeof performance.now){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,u=a.now();e.unstable_now=function(){return a.now()-u}}var s=[],l=[],c=1,f=null,d=3,p=!1,h=!1,v=!1,m="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var o=n(l);null!==o;){if(null===o.callback)r(l);else{if(!(o.startTime<=e))break;r(l),o.sortIndex=o.expirationTime,t(s,o)}o=n(l)}}function x(e){if(v=!1,b(e),!h)if(null!==n(s))h=!0,D(w);else{var t=n(l);null!==t&&L(x,t.startTime-e)}}function w(t,o){h=!1,v&&(v=!1,g(k),k=-1),p=!0;var i=d;try{for(b(o),f=n(s);null!==f&&(!(f.expirationTime>o)||t&&!T());){var a=f.callback;if("function"==typeof a){f.callback=null,d=f.priorityLevel;var u=a(f.expirationTime<=o);o=e.unstable_now(),"function"==typeof u?f.callback=u:f===n(s)&&r(s),b(o)}else r(s);f=n(s)}if(null!==f)var c=!0;else{var m=n(l);null!==m&&L(x,m.startTime-o),c=!1}return c}finally{f=null,d=i,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,E=!1,S=null,k=-1,C=5,A=-1;function T(){return!(e.unstable_now()-A<C)}function P(){if(null!==S){var t=e.unstable_now();A=t;var n=!0;try{n=S(!0,t)}finally{n?_():(E=!1,S=null)}}else E=!1}if("function"==typeof y)_=function(){y(P)};else if("undefined"!=typeof MessageChannel){var O=new MessageChannel,R=O.port2;O.port1.onmessage=P,_=function(){R.postMessage(null)}}else _=function(){m(P,0)};function D(e){S=e,E||(E=!0,_())}function L(t,n){k=m((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,D(w))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var n=d;d=t;try{return e()}finally{d=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=d;d=e;try{return t()}finally{d=n}},e.unstable_scheduleCallback=function(r,o,i){var a=e.unstable_now();switch("object"===ho(i)&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,r){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:i,expirationTime:u=i+u,sortIndex:-1},i>a?(r.sortIndex=i,t(l,r),null===n(s)&&r===n(l)&&(v?(g(k),k=-1):v=!0,L(x,i-a))):(r.sortIndex=u,t(s,r),h||p||(h=!0,D(w))),r},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}}(Qo),function(e){e.exports=Qo}(Zo);
12
+ /**
13
+ * @license React
14
+ * react-dom.production.min.js
15
+ *
16
+ * Copyright (c) Facebook, Inc. and its affiliates.
17
+ *
18
+ * This source code is licensed under the MIT license found in the
19
+ * LICENSE file in the root directory of this source tree.
20
+ */
21
+ var $o=Jr.exports,Jo=Zo.exports;function ei(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ti=new Set,ni={};function ri(e,t){oi(e,t),oi(e+"Capture",t)}function oi(e,t){for(ni[e]=t,e=0;e<t.length;e++)ti.add(t[e])}var ii=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ai=Object.prototype.hasOwnProperty,ui=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,si={},li={};function ci(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(ho(t)){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function fi(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var di={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){di[e]=new fi(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];di[t]=new fi(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){di[e]=new fi(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){di[e]=new fi(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){di[e]=new fi(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){di[e]=new fi(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){di[e]=new fi(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){di[e]=new fi(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){di[e]=new fi(e,5,!1,e.toLowerCase(),null,!1,!1)}));var pi=/[\-:]([a-z])/g;function hi(e){return e[1].toUpperCase()}function vi(e,t,n,r){var o=di.hasOwnProperty(t)?di[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(ci(t,n,o,r)&&(n=null),r||null===o?function(e){return!!ai.call(li,e)||!ai.call(si,e)&&(ui.test(e)?li[e]=!0:(si[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(pi,hi);di[t]=new fi(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(pi,hi);di[t]=new fi(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(pi,hi);di[t]=new fi(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){di[e]=new fi(e,1,!1,e.toLowerCase(),null,!1,!1)})),di.xlinkHref=new fi("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){di[e]=new fi(e,1,!1,e.toLowerCase(),null,!0,!0)}));var mi=$o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,gi=Symbol.for("react.element"),yi=Symbol.for("react.portal"),bi=Symbol.for("react.fragment"),xi=Symbol.for("react.strict_mode"),wi=Symbol.for("react.profiler"),_i=Symbol.for("react.provider"),Ei=Symbol.for("react.context"),Si=Symbol.for("react.forward_ref"),ki=Symbol.for("react.suspense"),Ci=Symbol.for("react.suspense_list"),Ai=Symbol.for("react.memo"),Ti=Symbol.for("react.lazy"),Pi=Symbol.for("react.offscreen"),Oi=Symbol.iterator;function Ri(e){return null===e||"object"!==ho(e)?null:"function"==typeof(e=Oi&&e[Oi]||e["@@iterator"])?e:null}var Di,Li=Object.assign;function Mi(e){if(void 0===Di)try{throw Error()}catch(aU){var t=aU.stack.trim().match(/\n( *(at )?)/);Di=t&&t[1]||""}return"\n"+Di+e}var Ni=!1;function Fi(e,t){if(!e||Ni)return"";Ni=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===("undefined"==typeof Reflect?"undefined":ho(Reflect))&&Reflect.construct){try{Reflect.construct(t,[])}catch(jw){var r=jw}Reflect.construct(e,[],t)}else{try{t.call()}catch(jw){r=jw}e.call(t.prototype)}else{try{throw Error()}catch(jw){r=jw}e()}}catch(jw){if(jw&&r&&"string"==typeof jw.stack){for(var o=jw.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,u=i.length-1;1<=a&&0<=u&&o[a]!==i[u];)u--;for(;1<=a&&0<=u;a--,u--)if(o[a]!==i[u]){if(1!==a||1!==u)do{if(a--,0>--u||o[a]!==i[u]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=u);break}}}finally{Ni=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Mi(e):""}function Ii(e){switch(e.tag){case 5:return Mi(e.type);case 16:return Mi("Lazy");case 13:return Mi("Suspense");case 19:return Mi("SuspenseList");case 0:case 2:case 15:return e=Fi(e.type,!1);case 11:return e=Fi(e.type.render,!1);case 1:return e=Fi(e.type,!0);default:return""}}function ji(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case bi:return"Fragment";case yi:return"Portal";case wi:return"Profiler";case xi:return"StrictMode";case ki:return"Suspense";case Ci:return"SuspenseList"}if("object"===ho(e))switch(e.$$typeof){case Ei:return(e.displayName||"Context")+".Consumer";case _i:return(e._context.displayName||"Context")+".Provider";case Si:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Ai:return null!==(t=e.displayName||null)?t:ji(e.type)||"Memo";case Ti:t=e._payload,e=e._init;try{return ji(e(t))}catch(aU){}}return null}function zi(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ji(t);case 8:return t===xi?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function Bi(e){switch(ho(e)){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Ui(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Vi(e){e._valueTracker||(e._valueTracker=function(e){var t=Ui(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Hi(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ui(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function qi(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(iU){return e.body}}function Yi(e,t){var n=t.checked;return Li({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Gi(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Bi(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Wi(e,t){null!=(t=t.checked)&&vi(e,"checked",t,!1)}function Ki(e,t){Wi(e,t);var n=Bi(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Zi(e,t.type,n):t.hasOwnProperty("defaultValue")&&Zi(e,t.type,Bi(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Xi(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Zi(e,t,n){"number"===t&&qi(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Qi=Array.isArray;function $i(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Bi(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Ji(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(ei(91));return Li({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ea(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(ei(92));if(Qi(n)){if(1<n.length)throw Error(ei(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Bi(n)}}function ta(e,t){var n=Bi(t.value),r=Bi(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function na(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ra(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function oa(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ra(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ia,aa=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ia=ia||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ia.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function ua(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var sa={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},la=["Webkit","ms","Moz","O"];function ca(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||sa.hasOwnProperty(e)&&sa[e]?(""+t).trim():t+"px"}function fa(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ca(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(sa).forEach((function(e){la.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),sa[t]=sa[e]}))}));var da=Li({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function pa(e,t){if(t){if(da[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(ei(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(ei(60));if("object"!==ho(t.dangerouslySetInnerHTML)||!("__html"in t.dangerouslySetInnerHTML))throw Error(ei(61))}if(null!=t.style&&"object"!==ho(t.style))throw Error(ei(62))}}function ha(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var va=null;function ma(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ga=null,ya=null,ba=null;function xa(e){if(e=pc(e)){if("function"!=typeof ga)throw Error(ei(280));var t=e.stateNode;t&&(t=vc(t),ga(e.stateNode,e.type,t))}}function wa(e){ya?ba?ba.push(e):ba=[e]:ya=e}function _a(){if(ya){var e=ya,t=ba;if(ba=ya=null,xa(e),t)for(e=0;e<t.length;e++)xa(t[e])}}function Ea(e,t){return e(t)}function Sa(){}var ka=!1;function Ca(e,t,n){if(ka)return e(t,n);ka=!0;try{return Ea(e,t,n)}finally{ka=!1,(null!==ya||null!==ba)&&(Sa(),_a())}}function Aa(e,t){var n=e.stateNode;if(null===n)return null;var r=vc(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(ei(231,t,ho(n)));return n}var Ta=!1;if(ii)try{var Pa={};Object.defineProperty(Pa,"passive",{get:function(){Ta=!0}}),window.addEventListener("test",Pa,Pa),window.removeEventListener("test",Pa,Pa)}catch(oU){Ta=!1}function Oa(e,t,n,r,o,i,a,u,s){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(zw){this.onError(zw)}}var Ra=!1,Da=null,La=!1,Ma=null,Na={onError:function(e){Ra=!0,Da=e}};function Fa(e,t,n,r,o,i,a,u,s){Ra=!1,Da=null,Oa.apply(Na,arguments)}function Ia(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function ja(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function za(e){if(Ia(e)!==e)throw Error(ei(188))}function Ba(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=Ia(e)))throw Error(ei(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return za(o),e;if(i===r)return za(o),t;i=i.sibling}throw Error(ei(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,u=o.child;u;){if(u===n){a=!0,n=o,r=i;break}if(u===r){a=!0,r=o,n=i;break}u=u.sibling}if(!a){for(u=i.child;u;){if(u===n){a=!0,n=i,r=o;break}if(u===r){a=!0,r=i,n=o;break}u=u.sibling}if(!a)throw Error(ei(189))}}if(n.alternate!==r)throw Error(ei(190))}if(3!==n.tag)throw Error(ei(188));return n.stateNode.current===n?e:t}(e),null!==e?Ua(e):null}function Ua(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ua(e);if(null!==t)return t;e=e.sibling}return null}var Va=Jo.unstable_scheduleCallback,Ha=Jo.unstable_cancelCallback,qa=Jo.unstable_shouldYield,Ya=Jo.unstable_requestPaint,Ga=Jo.unstable_now,Wa=Jo.unstable_getCurrentPriorityLevel,Ka=Jo.unstable_ImmediatePriority,Xa=Jo.unstable_UserBlockingPriority,Za=Jo.unstable_NormalPriority,Qa=Jo.unstable_LowPriority,$a=Jo.unstable_IdlePriority,Ja=null,eu=null;var tu=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(nu(e)/ru|0)|0},nu=Math.log,ru=Math.LN2;var ou=64,iu=4194304;function au(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function uu(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var u=a&~o;0!==u?r=au(u):0!==(i&=a)&&(r=au(i))}else 0!==(a=n&~o)?r=au(a):0!==i&&(r=au(i));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!=(4194240&i)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-tu(t)),r|=e[n],t&=~o;return r}function su(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function lu(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function cu(){var e=ou;return 0==(4194240&(ou<<=1))&&(ou=64),e}function fu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function du(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-tu(t)]=n}function pu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-tu(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var hu=0;function vu(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var mu,gu,yu,bu,xu,wu=!1,_u=[],Eu=null,Su=null,ku=null,Cu=new Map,Au=new Map,Tu=[],Pu="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ou(e,t){switch(e){case"focusin":case"focusout":Eu=null;break;case"dragenter":case"dragleave":Su=null;break;case"mouseover":case"mouseout":ku=null;break;case"pointerover":case"pointerout":Cu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Au.delete(t.pointerId)}}function Ru(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=pc(t))&&gu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Du(e){var t=dc(e.target);if(null!==t){var n=Ia(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=ja(n)))return e.blockedOn=t,void xu(e.priority,(function(){yu(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Lu(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=qu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=pc(n))&&gu(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);va=r,n.target.dispatchEvent(r),va=null,t.shift()}return!0}function Mu(e,t,n){Lu(e)&&n.delete(t)}function Nu(){wu=!1,null!==Eu&&Lu(Eu)&&(Eu=null),null!==Su&&Lu(Su)&&(Su=null),null!==ku&&Lu(ku)&&(ku=null),Cu.forEach(Mu),Au.forEach(Mu)}function Fu(e,t){e.blockedOn===t&&(e.blockedOn=null,wu||(wu=!0,Jo.unstable_scheduleCallback(Jo.unstable_NormalPriority,Nu)))}function Iu(e){function t(t){return Fu(t,e)}if(0<_u.length){Fu(_u[0],e);for(var n=1;n<_u.length;n++){var r=_u[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Eu&&Fu(Eu,e),null!==Su&&Fu(Su,e),null!==ku&&Fu(ku,e),Cu.forEach(t),Au.forEach(t),n=0;n<Tu.length;n++)(r=Tu[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Tu.length&&null===(n=Tu[0]).blockedOn;)Du(n),null===n.blockedOn&&Tu.shift()}var ju=mi.ReactCurrentBatchConfig,zu=!0;function Bu(e,t,n,r){var o=hu,i=ju.transition;ju.transition=null;try{hu=1,Vu(e,t,n,r)}finally{hu=o,ju.transition=i}}function Uu(e,t,n,r){var o=hu,i=ju.transition;ju.transition=null;try{hu=4,Vu(e,t,n,r)}finally{hu=o,ju.transition=i}}function Vu(e,t,n,r){if(zu){var o=qu(e,t,n,r);if(null===o)jl(e,t,r,Hu,n),Ou(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Eu=Ru(Eu,e,t,n,r,o),!0;case"dragenter":return Su=Ru(Su,e,t,n,r,o),!0;case"mouseover":return ku=Ru(ku,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Cu.set(i,Ru(Cu.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Au.set(i,Ru(Au.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Ou(e,r),4&t&&-1<Pu.indexOf(e)){for(;null!==o;){var i=pc(o);if(null!==i&&mu(i),null===(i=qu(e,t,n,r))&&jl(e,t,r,Hu,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else jl(e,t,r,null,n)}}var Hu=null;function qu(e,t,n,r){if(Hu=null,null!==(e=dc(e=ma(r))))if(null===(t=Ia(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=ja(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Hu=e,null}function Yu(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Wa()){case Ka:return 1;case Xa:return 4;case Za:case Qa:return 16;case $a:return 536870912;default:return 16}default:return 16}}var Gu=null,Wu=null,Ku=null;function Xu(){if(Ku)return Ku;var e,t,n=Wu,r=n.length,o="value"in Gu?Gu.value:Gu.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Ku=o.slice(e,1<t?1-t:void 0)}function Zu(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Qu(){return!0}function $u(){return!1}function Ju(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?Qu:$u,this.isPropagationStopped=$u,this}return Li(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Qu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Qu)},persist:function(){},isPersistent:Qu}),t}var es,ts,ns,rs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},os=Ju(rs),is=Li({},rs,{view:0,detail:0}),as=Ju(is),us=Li({},is,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bs,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ns&&(ns&&"mousemove"===e.type?(es=e.screenX-ns.screenX,ts=e.screenY-ns.screenY):ts=es=0,ns=e),es)},movementY:function(e){return"movementY"in e?e.movementY:ts}}),ss=Ju(us),ls=Ju(Li({},us,{dataTransfer:0})),cs=Ju(Li({},is,{relatedTarget:0})),fs=Ju(Li({},rs,{animationName:0,elapsedTime:0,pseudoElement:0})),ds=Li({},rs,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ps=Ju(ds),hs=Ju(Li({},rs,{data:0})),vs={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ms={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},gs={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ys(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=gs[e])&&!!t[e]}function bs(){return ys}var xs=Li({},is,{key:function(e){if(e.key){var t=vs[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Zu(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ms[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bs,charCode:function(e){return"keypress"===e.type?Zu(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Zu(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ws=Ju(xs),_s=Ju(Li({},us,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Es=Ju(Li({},is,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bs})),Ss=Ju(Li({},rs,{propertyName:0,elapsedTime:0,pseudoElement:0})),ks=Li({},us,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Cs=Ju(ks),As=[9,13,27,32],Ts=ii&&"CompositionEvent"in window,Ps=null;ii&&"documentMode"in document&&(Ps=document.documentMode);var Os=ii&&"TextEvent"in window&&!Ps,Rs=ii&&(!Ts||Ps&&8<Ps&&11>=Ps),Ds=String.fromCharCode(32),Ls=!1;function Ms(e,t){switch(e){case"keyup":return-1!==As.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ns(e){return"object"===ho(e=e.detail)&&"data"in e?e.data:null}var Fs=!1;var Is={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function js(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Is[e.type]:"textarea"===t}function zs(e,t,n,r){wa(r),0<(t=Bl(t,"onChange")).length&&(n=new os("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Bs=null,Us=null;function Vs(e){Dl(e,0)}function Hs(e){if(Hi(hc(e)))return e}function qs(e,t){if("change"===e)return t}var Ys=!1;if(ii){var Gs;if(ii){var Ws="oninput"in document;if(!Ws){var Ks=document.createElement("div");Ks.setAttribute("oninput","return;"),Ws="function"==typeof Ks.oninput}Gs=Ws}else Gs=!1;Ys=Gs&&(!document.documentMode||9<document.documentMode)}function Xs(){Bs&&(Bs.detachEvent("onpropertychange",Zs),Us=Bs=null)}function Zs(e){if("value"===e.propertyName&&Hs(Us)){var t=[];zs(t,Us,e,ma(e)),Ca(Vs,t)}}function Qs(e,t,n){"focusin"===e?(Xs(),Us=n,(Bs=t).attachEvent("onpropertychange",Zs)):"focusout"===e&&Xs()}function $s(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Hs(Us)}function Js(e,t){if("click"===e)return Hs(t)}function el(e,t){if("input"===e||"change"===e)return Hs(t)}var tl="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function nl(e,t){if(tl(e,t))return!0;if("object"!==ho(e)||null===e||"object"!==ho(t)||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!ai.call(t,o)||!tl(e[o],t[o]))return!1}return!0}function rl(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ol(e,t){var n,r=rl(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=rl(r)}}function il(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?il(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function al(){for(var e=window,t=qi();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(Dw){n=!1}if(!n)break;t=qi((e=t.contentWindow).document)}return t}function ul(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function sl(e){var t=al(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&il(n.ownerDocument.documentElement,n)){if(null!==r&&ul(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ol(n,i);var a=ol(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var ll=ii&&"documentMode"in document&&11>=document.documentMode,cl=null,fl=null,dl=null,pl=!1;function hl(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;pl||null==cl||cl!==qi(r)||("selectionStart"in(r=cl)&&ul(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},dl&&nl(dl,r)||(dl=r,0<(r=Bl(fl,"onSelect")).length&&(t=new os("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=cl)))}function vl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ml={animationend:vl("Animation","AnimationEnd"),animationiteration:vl("Animation","AnimationIteration"),animationstart:vl("Animation","AnimationStart"),transitionend:vl("Transition","TransitionEnd")},gl={},yl={};function bl(e){if(gl[e])return gl[e];if(!ml[e])return e;var t,n=ml[e];for(t in n)if(n.hasOwnProperty(t)&&t in yl)return gl[e]=n[t];return e}ii&&(yl=document.createElement("div").style,"AnimationEvent"in window||(delete ml.animationend.animation,delete ml.animationiteration.animation,delete ml.animationstart.animation),"TransitionEvent"in window||delete ml.transitionend.transition);var xl=bl("animationend"),wl=bl("animationiteration"),_l=bl("animationstart"),El=bl("transitionend"),Sl=new Map,kl="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Cl(e,t){Sl.set(e,t),ri(t,[e])}for(var Al=0;Al<kl.length;Al++){var Tl=kl[Al];Cl(Tl.toLowerCase(),"on"+(Tl[0].toUpperCase()+Tl.slice(1)))}Cl(xl,"onAnimationEnd"),Cl(wl,"onAnimationIteration"),Cl(_l,"onAnimationStart"),Cl("dblclick","onDoubleClick"),Cl("focusin","onFocus"),Cl("focusout","onBlur"),Cl(El,"onTransitionEnd"),oi("onMouseEnter",["mouseout","mouseover"]),oi("onMouseLeave",["mouseout","mouseover"]),oi("onPointerEnter",["pointerout","pointerover"]),oi("onPointerLeave",["pointerout","pointerover"]),ri("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ri("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ri("onBeforeInput",["compositionend","keypress","textInput","paste"]),ri("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ri("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ri("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ol=new Set("cancel close invalid load scroll toggle".split(" ").concat(Pl));function Rl(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,u,s){if(Fa.apply(this,arguments),Ra){if(!Ra)throw Error(ei(198));var l=Da;Ra=!1,Da=null,La||(La=!0,Ma=l)}}(r,t,void 0,e),e.currentTarget=null}function Dl(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var u=r[a],s=u.instance,l=u.currentTarget;if(u=u.listener,s!==i&&o.isPropagationStopped())break e;Rl(o,u,l),i=s}else for(a=0;a<r.length;a++){if(s=(u=r[a]).instance,l=u.currentTarget,u=u.listener,s!==i&&o.isPropagationStopped())break e;Rl(o,u,l),i=s}}}if(La)throw e=Ma,La=!1,Ma=null,e}function Ll(e,t){var n=t[lc];void 0===n&&(n=t[lc]=new Set);var r=e+"__bubble";n.has(r)||(Il(t,e,2,!1),n.add(r))}function Ml(e,t,n){var r=0;t&&(r|=4),Il(n,e,r,t)}var Nl="_reactListening"+Math.random().toString(36).slice(2);function Fl(e){if(!e[Nl]){e[Nl]=!0,ti.forEach((function(t){"selectionchange"!==t&&(Ol.has(t)||Ml(t,!1,e),Ml(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Nl]||(t[Nl]=!0,Ml("selectionchange",!1,t))}}function Il(e,t,n,r){switch(Yu(t)){case 1:var o=Bu;break;case 4:o=Uu;break;default:o=Vu}n=o.bind(null,t,n,e),o=void 0,!Ta||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function jl(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var u=r.stateNode.containerInfo;if(u===o||8===u.nodeType&&u.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==u;){if(null===(a=dc(u)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}u=u.parentNode}}r=r.return}Ca((function(){var r=i,o=ma(n),a=[];e:{var u=Sl.get(e);if(void 0!==u){var s=os,l=e;switch(e){case"keypress":if(0===Zu(n))break e;case"keydown":case"keyup":s=ws;break;case"focusin":l="focus",s=cs;break;case"focusout":l="blur",s=cs;break;case"beforeblur":case"afterblur":s=cs;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=ss;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=ls;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Es;break;case xl:case wl:case _l:s=fs;break;case El:s=Ss;break;case"scroll":s=as;break;case"wheel":s=Cs;break;case"copy":case"cut":case"paste":s=ps;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=_s}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==u?u+"Capture":null:u;c=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==d&&(null!=(v=Aa(h,d))&&c.push(zl(h,v,p)))),f)break;h=h.return}0<c.length&&(u=new s(u,l,null,n,o),a.push({event:u,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(u="mouseover"===e||"pointerover"===e)||n===va||!(l=n.relatedTarget||n.fromElement)||!dc(l)&&!l[sc])&&(s||u)&&(u=o.window===o?o:(u=o.ownerDocument)?u.defaultView||u.parentWindow:window,s?(s=r,null!==(l=(l=n.relatedTarget||n.toElement)?dc(l):null)&&(l!==(f=Ia(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(s=null,l=r),s!==l)){if(c=ss,v="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=_s,v="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==s?u:hc(s),p=null==l?u:hc(l),(u=new c(v,h+"leave",s,n,o)).target=f,u.relatedTarget=p,v=null,dc(o)===r&&((c=new c(d,h+"enter",l,n,o)).target=p,c.relatedTarget=f,v=c),f=v,s&&l)e:{for(d=l,h=0,p=c=s;p;p=Ul(p))h++;for(p=0,v=d;v;v=Ul(v))p++;for(;0<h-p;)c=Ul(c),h--;for(;0<p-h;)d=Ul(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Ul(c),d=Ul(d)}c=null}else c=null;null!==s&&Vl(a,u,s,c,!1),null!==l&&null!==f&&Vl(a,f,l,c,!0)}if("select"===(s=(u=r?hc(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===s&&"file"===u.type)var m=qs;else if(js(u))if(Ys)m=el;else{m=$s;var g=Qs}else(s=u.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(m=Js);switch(m&&(m=m(e,r))?zs(a,m,n,o):(g&&g(e,u,r),"focusout"===e&&(g=u._wrapperState)&&g.controlled&&"number"===u.type&&Zi(u,"number",u.value)),g=r?hc(r):window,e){case"focusin":(js(g)||"true"===g.contentEditable)&&(cl=g,fl=r,dl=null);break;case"focusout":dl=fl=cl=null;break;case"mousedown":pl=!0;break;case"contextmenu":case"mouseup":case"dragend":pl=!1,hl(a,n,o);break;case"selectionchange":if(ll)break;case"keydown":case"keyup":hl(a,n,o)}var y;if(Ts)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Fs?Ms(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Rs&&"ko"!==n.locale&&(Fs||"onCompositionStart"!==b?"onCompositionEnd"===b&&Fs&&(y=Xu()):(Wu="value"in(Gu=o)?Gu.value:Gu.textContent,Fs=!0)),0<(g=Bl(r,b)).length&&(b=new hs(b,e,null,n,o),a.push({event:b,listeners:g}),y?b.data=y:null!==(y=Ns(n))&&(b.data=y))),(y=Os?function(e,t){switch(e){case"compositionend":return Ns(t);case"keypress":return 32!==t.which?null:(Ls=!0,Ds);case"textInput":return(e=t.data)===Ds&&Ls?null:e;default:return null}}(e,n):function(e,t){if(Fs)return"compositionend"===e||!Ts&&Ms(e,t)?(e=Xu(),Ku=Wu=Gu=null,Fs=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Rs&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Bl(r,"onBeforeInput")).length&&(o=new hs("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}Dl(a,t)}))}function zl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Bl(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Aa(e,n))&&r.unshift(zl(e,i,o)),null!=(i=Aa(e,t))&&r.push(zl(e,i,o))),e=e.return}return r}function Ul(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Vl(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var u=n,s=u.alternate,l=u.stateNode;if(null!==s&&s===r)break;5===u.tag&&null!==l&&(u=l,o?null!=(s=Aa(n,i))&&a.unshift(zl(n,s,u)):o||null!=(s=Aa(n,i))&&a.push(zl(n,s,u))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Hl=/\r\n?/g,ql=/\u0000|\uFFFD/g;function Yl(e){return("string"==typeof e?e:""+e).replace(Hl,"\n").replace(ql,"")}function Gl(e,t,n){if(t=Yl(t),Yl(e)!==t&&n)throw Error(ei(425))}function Wl(){}var Kl=null,Xl=null;function Zl(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"===ho(t.dangerouslySetInnerHTML)&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Ql="function"==typeof setTimeout?setTimeout:void 0,$l="function"==typeof clearTimeout?clearTimeout:void 0,Jl="function"==typeof Promise?Promise:void 0,ec="function"==typeof queueMicrotask?queueMicrotask:void 0!==Jl?function(e){return Jl.resolve(null).then(e).catch(tc)}:Ql;function tc(e){setTimeout((function(){throw e}))}function nc(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Iu(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Iu(t)}function rc(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function oc(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var ic=Math.random().toString(36).slice(2),ac="__reactFiber$"+ic,uc="__reactProps$"+ic,sc="__reactContainer$"+ic,lc="__reactEvents$"+ic,cc="__reactListeners$"+ic,fc="__reactHandles$"+ic;function dc(e){var t=e[ac];if(t)return t;for(var n=e.parentNode;n;){if(t=n[sc]||n[ac]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=oc(e);null!==e;){if(n=e[ac])return n;e=oc(e)}return t}n=(e=n).parentNode}return null}function pc(e){return!(e=e[ac]||e[sc])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function hc(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(ei(33))}function vc(e){return e[uc]||null}var mc=[],gc=-1;function yc(e){return{current:e}}function bc(e){0>gc||(e.current=mc[gc],mc[gc]=null,gc--)}function xc(e,t){gc++,mc[gc]=e.current,e.current=t}var wc={},_c=yc(wc),Ec=yc(!1),Sc=wc;function kc(e,t){var n=e.type.contextTypes;if(!n)return wc;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Cc(e){return null!=(e=e.childContextTypes)}function Ac(){bc(Ec),bc(_c)}function Tc(e,t,n){if(_c.current!==wc)throw Error(ei(168));xc(_c,t),xc(Ec,n)}function Pc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(ei(108,zi(e)||"Unknown",o));return Li({},n,r)}function Oc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wc,Sc=_c.current,xc(_c,e),xc(Ec,Ec.current),!0}function Rc(e,t,n){var r=e.stateNode;if(!r)throw Error(ei(169));n?(e=Pc(e,t,Sc),r.__reactInternalMemoizedMergedChildContext=e,bc(Ec),bc(_c),xc(_c,e)):bc(Ec),xc(Ec,n)}var Dc=null,Lc=!1,Mc=!1;function Nc(e){null===Dc?Dc=[e]:Dc.push(e)}function Fc(){if(!Mc&&null!==Dc){Mc=!0;var e=0,t=hu;try{var n=Dc;for(hu=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Dc=null,Lc=!1}catch(Lw){throw null!==Dc&&(Dc=Dc.slice(e+1)),Va(Ka,Fc),Lw}finally{hu=t,Mc=!1}}return null}var Ic=[],jc=0,zc=null,Bc=0,Uc=[],Vc=0,Hc=null,qc=1,Yc="";function Gc(e,t){Ic[jc++]=Bc,Ic[jc++]=zc,zc=e,Bc=t}function Wc(e,t,n){Uc[Vc++]=qc,Uc[Vc++]=Yc,Uc[Vc++]=Hc,Hc=e;var r=qc;e=Yc;var o=32-tu(r)-1;r&=~(1<<o),n+=1;var i=32-tu(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,qc=1<<32-tu(t)+o|n<<o|r,Yc=i+e}else qc=1<<i|n<<o|r,Yc=e}function Kc(e){null!==e.return&&(Gc(e,1),Wc(e,1,0))}function Xc(e){for(;e===zc;)zc=Ic[--jc],Ic[jc]=null,Bc=Ic[--jc],Ic[jc]=null;for(;e===Hc;)Hc=Uc[--Vc],Uc[Vc]=null,Yc=Uc[--Vc],Uc[Vc]=null,qc=Uc[--Vc],Uc[Vc]=null}var Zc=null,Qc=null,$c=!1,Jc=null;function ef(e,t){var n=kv(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function tf(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,Zc=e,Qc=rc(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Zc=e,Qc=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Hc?{id:qc,overflow:Yc}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=kv(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Zc=e,Qc=null,!0);default:return!1}}function nf(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function rf(e){if($c){var t=Qc;if(t){var n=t;if(!tf(e,t)){if(nf(e))throw Error(ei(418));t=rc(n.nextSibling);var r=Zc;t&&tf(e,t)?ef(r,n):(e.flags=-4097&e.flags|2,$c=!1,Zc=e)}}else{if(nf(e))throw Error(ei(418));e.flags=-4097&e.flags|2,$c=!1,Zc=e}}}function of(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Zc=e}function af(e){if(e!==Zc)return!1;if(!$c)return of(e),$c=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Zl(e.type,e.memoizedProps)),t&&(t=Qc)){if(nf(e))throw uf(),Error(ei(418));for(;t;)ef(e,t),t=rc(t.nextSibling)}if(of(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(ei(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Qc=rc(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Qc=null}}else Qc=Zc?rc(e.stateNode.nextSibling):null;return!0}function uf(){for(var e=Qc;e;)e=rc(e.nextSibling)}function sf(){Qc=Zc=null,$c=!1}function lf(e){null===Jc?Jc=[e]:Jc.push(e)}var cf=mi.ReactCurrentBatchConfig;function ff(e,t){if(e&&e.defaultProps){for(var n in t=Li({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var df=yc(null),pf=null,hf=null,vf=null;function mf(){vf=hf=pf=null}function gf(e){var t=df.current;bc(df),e._currentValue=t}function yf(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function bf(e,t){pf=e,vf=hf=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(hp=!0),e.firstContext=null)}function xf(e){var t=e._currentValue;if(vf!==e)if(e={context:e,memoizedValue:t,next:null},null===hf){if(null===pf)throw Error(ei(308));hf=e,pf.dependencies={lanes:0,firstContext:e}}else hf=hf.next=e;return t}var wf=null;function _f(e){null===wf?wf=[e]:wf.push(e)}function Ef(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,_f(t)):(n.next=o.next,o.next=n),t.interleaved=n,Sf(e,r)}function Sf(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var kf=!1;function Cf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Af(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Tf(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Pf(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&_h)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Sf(e,n)}return null===(o=r.interleaved)?(t.next=t,_f(r)):(t.next=o.next,o.next=t),r.interleaved=t,Sf(e,n)}function Of(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,pu(e,n)}}function Rf(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Df(e,t,n,r){var o=e.updateQueue;kf=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,u=o.shared.pending;if(null!==u){o.shared.pending=null;var s=u,l=s.next;s.next=null,null===a?i=l:a.next=l,a=s;var c=e.alternate;null!==c&&((u=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===u?c.firstBaseUpdate=l:u.next=l,c.lastBaseUpdate=s))}if(null!==i){var f=o.baseState;for(a=0,c=l=s=null,u=i;;){var d=u.lane,p=u.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var h=e,v=u;switch(d=t,p=n,v.tag){case 1:if("function"==typeof(h=v.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(d="function"==typeof(h=v.payload)?h.call(p,f,d):h))break e;f=Li({},f,d);break e;case 2:kf=!0}}null!==u.callback&&0!==u.lane&&(e.flags|=64,null===(d=o.effects)?o.effects=[u]:d.push(u))}else p={eventTime:p,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},null===c?(l=c=p,s=f):c=c.next=p,a|=d;if(null===(u=u.next)){if(null===(u=o.shared.pending))break;u=(d=u).next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}if(null===c&&(s=f),o.baseState=s,o.firstBaseUpdate=l,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Oh|=a,e.lanes=a,e.memoizedState=f}}function Lf(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(ei(191,o));o.call(r)}}}var Mf=(new $o.Component).refs;function Nf(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Li({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ff={isMounted:function(e){return!!(e=e._reactInternals)&&Ia(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Kh(),o=Xh(e),i=Tf(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Pf(e,i,o))&&(Zh(t,e,o,r),Of(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Kh(),o=Xh(e),i=Tf(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Pf(e,i,o))&&(Zh(t,e,o,r),Of(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Kh(),r=Xh(e),o=Tf(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Pf(e,o,r))&&(Zh(t,e,r,n),Of(t,e,r))}};function If(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!nl(n,r)||!nl(o,i))}function jf(e,t,n){var r=!1,o=wc,i=t.contextType;return"object"===ho(i)&&null!==i?i=xf(i):(o=Cc(t)?Sc:_c.current,i=(r=null!=(r=t.contextTypes))?kc(e,o):wc),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ff,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function zf(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ff.enqueueReplaceState(t,t.state,null)}function Bf(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Mf,Cf(e);var i=t.contextType;"object"===ho(i)&&null!==i?o.context=xf(i):(i=Cc(t)?Sc:_c.current,o.context=kc(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Nf(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Ff.enqueueReplaceState(o,o.state,null),Df(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Uf(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!==ho(e)){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(ei(309));var r=n.stateNode}if(!r)throw Error(ei(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===Mf&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(ei(284));if(!n._owner)throw Error(ei(290,e))}return e}function Vf(e,t){throw e=Object.prototype.toString.call(t),Error(ei(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Hf(e){return(0,e._init)(e._payload)}function qf(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Av(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Rv(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){var i=n.type;return i===bi?c(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===ho(i)&&null!==i&&i.$$typeof===Ti&&Hf(i)===t.type)?((r=o(t,n.props)).ref=Uf(e,t,n),r.return=e,r):((r=Tv(n.type,n.key,n.props,null,e.mode,r)).ref=Uf(e,t,n),r.return=e,r)}function l(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Dv(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,i){return null===t||7!==t.tag?((t=Pv(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Rv(""+t,e.mode,n)).return=e,t;if("object"===ho(t)&&null!==t){switch(t.$$typeof){case gi:return(n=Tv(t.type,t.key,t.props,null,e.mode,n)).ref=Uf(e,null,t),n.return=e,n;case yi:return(t=Dv(t,e.mode,n)).return=e,t;case Ti:return f(e,(0,t._init)(t._payload),n)}if(Qi(t)||Ri(t))return(t=Pv(t,e.mode,n,null)).return=e,t;Vf(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"===ho(n)&&null!==n){switch(n.$$typeof){case gi:return n.key===o?s(e,t,n,r):null;case yi:return n.key===o?l(e,t,n,r):null;case Ti:return d(e,t,(o=n._init)(n._payload),r)}if(Qi(n)||Ri(n))return null!==o?null:c(e,t,n,r,null);Vf(e,n)}return null}function p(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"===ho(r)&&null!==r){switch(r.$$typeof){case gi:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case yi:return l(t,e=e.get(null===r.key?n:r.key)||null,r,o);case Ti:return p(e,t,n,(0,r._init)(r._payload),o)}if(Qi(r)||Ri(r))return c(t,e=e.get(n)||null,r,o,null);Vf(t,r)}return null}function h(o,a,u,s){for(var l=null,c=null,h=a,v=a=0,m=null;null!==h&&v<u.length;v++){h.index>v?(m=h,h=null):m=h.sibling;var g=d(o,h,u[v],s);if(null===g){null===h&&(h=m);break}e&&h&&null===g.alternate&&t(o,h),a=i(g,a,v),null===c?l=g:c.sibling=g,c=g,h=m}if(v===u.length)return n(o,h),$c&&Gc(o,v),l;if(null===h){for(;v<u.length;v++)null!==(h=f(o,u[v],s))&&(a=i(h,a,v),null===c?l=h:c.sibling=h,c=h);return $c&&Gc(o,v),l}for(h=r(o,h);v<u.length;v++)null!==(m=p(h,o,v,u[v],s))&&(e&&null!==m.alternate&&h.delete(null===m.key?v:m.key),a=i(m,a,v),null===c?l=m:c.sibling=m,c=m);return e&&h.forEach((function(e){return t(o,e)})),$c&&Gc(o,v),l}function v(o,a,u,s){var l=Ri(u);if("function"!=typeof l)throw Error(ei(150));if(null==(u=l.call(u)))throw Error(ei(151));for(var c=l=null,h=a,v=a=0,m=null,g=u.next();null!==h&&!g.done;v++,g=u.next()){h.index>v?(m=h,h=null):m=h.sibling;var y=d(o,h,g.value,s);if(null===y){null===h&&(h=m);break}e&&h&&null===y.alternate&&t(o,h),a=i(y,a,v),null===c?l=y:c.sibling=y,c=y,h=m}if(g.done)return n(o,h),$c&&Gc(o,v),l;if(null===h){for(;!g.done;v++,g=u.next())null!==(g=f(o,g.value,s))&&(a=i(g,a,v),null===c?l=g:c.sibling=g,c=g);return $c&&Gc(o,v),l}for(h=r(o,h);!g.done;v++,g=u.next())null!==(g=p(h,o,v,g.value,s))&&(e&&null!==g.alternate&&h.delete(null===g.key?v:g.key),a=i(g,a,v),null===c?l=g:c.sibling=g,c=g);return e&&h.forEach((function(e){return t(o,e)})),$c&&Gc(o,v),l}return function e(r,i,u,s){if("object"===ho(u)&&null!==u&&u.type===bi&&null===u.key&&(u=u.props.children),"object"===ho(u)&&null!==u){switch(u.$$typeof){case gi:e:{for(var l=u.key,c=i;null!==c;){if(c.key===l){if((l=u.type)===bi){if(7===c.tag){n(r,c.sibling),(i=o(c,u.props.children)).return=r,r=i;break e}}else if(c.elementType===l||"object"===ho(l)&&null!==l&&l.$$typeof===Ti&&Hf(l)===c.type){n(r,c.sibling),(i=o(c,u.props)).ref=Uf(r,c,u),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}u.type===bi?((i=Pv(u.props.children,r.mode,s,u.key)).return=r,r=i):((s=Tv(u.type,u.key,u.props,null,r.mode,s)).ref=Uf(r,i,u),s.return=r,r=s)}return a(r);case yi:e:{for(c=u.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===u.containerInfo&&i.stateNode.implementation===u.implementation){n(r,i.sibling),(i=o(i,u.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Dv(u,r.mode,s)).return=r,r=i}return a(r);case Ti:return e(r,i,(c=u._init)(u._payload),s)}if(Qi(u))return h(r,i,u,s);if(Ri(u))return v(r,i,u,s);Vf(r,u)}return"string"==typeof u&&""!==u||"number"==typeof u?(u=""+u,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,u)).return=r,r=i):(n(r,i),(i=Rv(u,r.mode,s)).return=r,r=i),a(r)):n(r,i)}}var Yf=qf(!0),Gf=qf(!1),Wf={},Kf=yc(Wf),Xf=yc(Wf),Zf=yc(Wf);function Qf(e){if(e===Wf)throw Error(ei(174));return e}function $f(e,t){switch(xc(Zf,t),xc(Xf,e),xc(Kf,Wf),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:oa(null,"");break;default:t=oa(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}bc(Kf),xc(Kf,t)}function Jf(){bc(Kf),bc(Xf),bc(Zf)}function ed(e){Qf(Zf.current);var t=Qf(Kf.current),n=oa(t,e.type);t!==n&&(xc(Xf,e),xc(Kf,n))}function td(e){Xf.current===e&&(bc(Kf),bc(Xf))}var nd=yc(0);function rd(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var od=[];function id(){for(var e=0;e<od.length;e++)od[e]._workInProgressVersionPrimary=null;od.length=0}var ad=mi.ReactCurrentDispatcher,ud=mi.ReactCurrentBatchConfig,sd=0,ld=null,cd=null,fd=null,dd=!1,pd=!1,hd=0,vd=0;function md(){throw Error(ei(321))}function gd(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!tl(e[n],t[n]))return!1;return!0}function yd(e,t,n,r,o,i){if(sd=i,ld=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ad.current=null===e||null===e.memoizedState?tp:np,e=n(r,o),pd){i=0;do{if(pd=!1,hd=0,25<=i)throw Error(ei(301));i+=1,fd=cd=null,t.updateQueue=null,ad.current=rp,e=n(r,o)}while(pd)}if(ad.current=ep,t=null!==cd&&null!==cd.next,sd=0,fd=cd=ld=null,dd=!1,t)throw Error(ei(300));return e}function bd(){var e=0!==hd;return hd=0,e}function xd(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===fd?ld.memoizedState=fd=e:fd=fd.next=e,fd}function wd(){if(null===cd){var e=ld.alternate;e=null!==e?e.memoizedState:null}else e=cd.next;var t=null===fd?ld.memoizedState:fd.next;if(null!==t)fd=t,cd=e;else{if(null===e)throw Error(ei(310));e={memoizedState:(cd=e).memoizedState,baseState:cd.baseState,baseQueue:cd.baseQueue,queue:cd.queue,next:null},null===fd?ld.memoizedState=fd=e:fd=fd.next=e}return fd}function _d(e,t){return"function"==typeof t?t(e):t}function Ed(e){var t=wd(),n=t.queue;if(null===n)throw Error(ei(311));n.lastRenderedReducer=e;var r=cd,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var u=a=null,s=null,l=i;do{var c=l.lane;if((sd&c)===c)null!==s&&(s=s.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),r=l.hasEagerState?l.eagerState:e(r,l.action);else{var f={lane:c,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};null===s?(u=s=f,a=r):s=s.next=f,ld.lanes|=c,Oh|=c}l=l.next}while(null!==l&&l!==i);null===s?a=r:s.next=u,tl(r,t.memoizedState)||(hp=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,ld.lanes|=i,Oh|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Sd(e){var t=wd(),n=t.queue;if(null===n)throw Error(ei(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{i=e(i,a.action),a=a.next}while(a!==o);tl(i,t.memoizedState)||(hp=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function kd(){}function Cd(e,t){var n=ld,r=wd(),o=t(),i=!tl(r.memoizedState,o);if(i&&(r.memoizedState=o,hp=!0),r=r.queue,jd(Pd.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==fd&&1&fd.memoizedState.tag){if(n.flags|=2048,Ld(9,Td.bind(null,n,r,o,t),void 0,null),null===Eh)throw Error(ei(349));0!=(30&sd)||Ad(n,t,o)}return o}function Ad(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ld.updateQueue)?(t={lastEffect:null,stores:null},ld.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Td(e,t,n,r){t.value=n,t.getSnapshot=r,Od(t)&&Rd(e)}function Pd(e,t,n){return n((function(){Od(t)&&Rd(e)}))}function Od(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!tl(e,n)}catch(Dw){return!0}}function Rd(e){var t=Sf(e,1);null!==t&&Zh(t,e,1,-1)}function Dd(e){var t=xd();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_d,lastRenderedState:e},t.queue=e,e=e.dispatch=Zd.bind(null,ld,e),[t.memoizedState,e]}function Ld(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ld.updateQueue)?(t={lastEffect:null,stores:null},ld.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Md(){return wd().memoizedState}function Nd(e,t,n,r){var o=xd();ld.flags|=e,o.memoizedState=Ld(1|t,n,void 0,void 0===r?null:r)}function Fd(e,t,n,r){var o=wd();r=void 0===r?null:r;var i=void 0;if(null!==cd){var a=cd.memoizedState;if(i=a.destroy,null!==r&&gd(r,a.deps))return void(o.memoizedState=Ld(t,n,i,r))}ld.flags|=e,o.memoizedState=Ld(1|t,n,i,r)}function Id(e,t){return Nd(8390656,8,e,t)}function jd(e,t){return Fd(2048,8,e,t)}function zd(e,t){return Fd(4,2,e,t)}function Bd(e,t){return Fd(4,4,e,t)}function Ud(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Vd(e,t,n){return n=null!=n?n.concat([e]):null,Fd(4,4,Ud.bind(null,t,e),n)}function Hd(){}function qd(e,t){var n=wd();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&gd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yd(e,t){var n=wd();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&gd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Gd(e,t,n){return 0==(21&sd)?(e.baseState&&(e.baseState=!1,hp=!0),e.memoizedState=n):(tl(n,t)||(n=cu(),ld.lanes|=n,Oh|=n,e.baseState=!0),t)}function Wd(e,t){var n=hu;hu=0!==n&&4>n?n:4,e(!0);var r=ud.transition;ud.transition={};try{e(!1),t()}finally{hu=n,ud.transition=r}}function Kd(){return wd().memoizedState}function Xd(e,t,n){var r=Xh(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qd(e))$d(t,n);else if(null!==(n=Ef(e,t,n,r))){Zh(n,e,r,Kh()),Jd(n,t,r)}}function Zd(e,t,n){var r=Xh(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qd(e))$d(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,u=i(a,n);if(o.hasEagerState=!0,o.eagerState=u,tl(u,a)){var s=t.interleaved;return null===s?(o.next=o,_f(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(jw){}null!==(n=Ef(e,t,o,r))&&(Zh(n,e,r,o=Kh()),Jd(n,t,r))}}function Qd(e){var t=e.alternate;return e===ld||null!==t&&t===ld}function $d(e,t){pd=dd=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Jd(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,pu(e,n)}}var ep={readContext:xf,useCallback:md,useContext:md,useEffect:md,useImperativeHandle:md,useInsertionEffect:md,useLayoutEffect:md,useMemo:md,useReducer:md,useRef:md,useState:md,useDebugValue:md,useDeferredValue:md,useTransition:md,useMutableSource:md,useSyncExternalStore:md,useId:md,unstable_isNewReconciler:!1},tp={readContext:xf,useCallback:function(e,t){return xd().memoizedState=[e,void 0===t?null:t],e},useContext:xf,useEffect:Id,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Nd(4194308,4,Ud.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Nd(4194308,4,e,t)},useInsertionEffect:function(e,t){return Nd(4,2,e,t)},useMemo:function(e,t){var n=xd();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=xd();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Xd.bind(null,ld,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},xd().memoizedState=e},useState:Dd,useDebugValue:Hd,useDeferredValue:function(e){return xd().memoizedState=e},useTransition:function(){var e=Dd(!1),t=e[0];return e=Wd.bind(null,e[1]),xd().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ld,o=xd();if($c){if(void 0===n)throw Error(ei(407));n=n()}else{if(n=t(),null===Eh)throw Error(ei(349));0!=(30&sd)||Ad(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Id(Pd.bind(null,r,i,e),[e]),r.flags|=2048,Ld(9,Td.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=xd(),t=Eh.identifierPrefix;if($c){var n=Yc;t=":"+t+"R"+(n=(qc&~(1<<32-tu(qc)-1)).toString(32)+n),0<(n=hd++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=vd++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},np={readContext:xf,useCallback:qd,useContext:xf,useEffect:jd,useImperativeHandle:Vd,useInsertionEffect:zd,useLayoutEffect:Bd,useMemo:Yd,useReducer:Ed,useRef:Md,useState:function(){return Ed(_d)},useDebugValue:Hd,useDeferredValue:function(e){return Gd(wd(),cd.memoizedState,e)},useTransition:function(){return[Ed(_d)[0],wd().memoizedState]},useMutableSource:kd,useSyncExternalStore:Cd,useId:Kd,unstable_isNewReconciler:!1},rp={readContext:xf,useCallback:qd,useContext:xf,useEffect:jd,useImperativeHandle:Vd,useInsertionEffect:zd,useLayoutEffect:Bd,useMemo:Yd,useReducer:Sd,useRef:Md,useState:function(){return Sd(_d)},useDebugValue:Hd,useDeferredValue:function(e){var t=wd();return null===cd?t.memoizedState=e:Gd(t,cd.memoizedState,e)},useTransition:function(){return[Sd(_d)[0],wd().memoizedState]},useMutableSource:kd,useSyncExternalStore:Cd,useId:Kd,unstable_isNewReconciler:!1};function op(e,t){try{var n="",r=t;do{n+=Ii(r),r=r.return}while(r);var o=n}catch(Mw){o="\nError generating stack: "+Mw.message+"\n"+Mw.stack}return{value:e,source:t,stack:o,digest:null}}function ip(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ap(e,t){try{console.error(t.value)}catch(aU){setTimeout((function(){throw aU}))}}var up="function"==typeof WeakMap?WeakMap:Map;function sp(e,t,n){(n=Tf(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){jh||(jh=!0,zh=r),ap(0,t)},n}function lp(e,t,n){(n=Tf(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ap(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){ap(0,t),"function"!=typeof r&&(null===Bh?Bh=new Set([this]):Bh.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function cp(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new up;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=bv.bind(null,e,t,n),t.then(e,e))}function fp(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function dp(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Tf(-1,1)).tag=2,Pf(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var pp=mi.ReactCurrentOwner,hp=!1;function vp(e,t,n,r){t.child=null===e?Gf(t,null,n,r):Yf(t,e.child,n,r)}function mp(e,t,n,r,o){n=n.render;var i=t.ref;return bf(t,o),r=yd(e,t,n,r,i,o),n=bd(),null===e||hp?($c&&n&&Kc(t),t.flags|=1,vp(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,jp(e,t,o))}function gp(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Cv(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Tv(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,yp(e,t,i,r,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:nl)(a,r)&&e.ref===t.ref)return jp(e,t,o)}return t.flags|=1,(e=Av(i,r)).ref=t.ref,e.return=t,t.child=e}function yp(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(nl(i,r)&&e.ref===t.ref){if(hp=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,jp(e,t,o);0!=(131072&e.flags)&&(hp=!0)}}return wp(e,t,n,r,o)}function bp(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},xc(Ah,Ch),Ch|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,xc(Ah,Ch),Ch|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,xc(Ah,Ch),Ch|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,xc(Ah,Ch),Ch|=r;return vp(e,t,o,n),t.child}function xp(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function wp(e,t,n,r,o){var i=Cc(n)?Sc:_c.current;return i=kc(t,i),bf(t,o),n=yd(e,t,n,r,i,o),r=bd(),null===e||hp?($c&&r&&Kc(t),t.flags|=1,vp(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,jp(e,t,o))}function _p(e,t,n,r,o){if(Cc(n)){var i=!0;Oc(t)}else i=!1;if(bf(t,o),null===t.stateNode)Ip(e,t),jf(t,n,r),Bf(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var s=a.context,l=n.contextType;"object"===ho(l)&&null!==l?l=xf(l):l=kc(t,l=Cc(n)?Sc:_c.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||s!==l)&&zf(t,a,r,l),kf=!1;var d=t.memoizedState;a.state=d,Df(t,r,a,o),s=t.memoizedState,u!==r||d!==s||Ec.current||kf?("function"==typeof c&&(Nf(t,n,c,r),s=t.memoizedState),(u=kf||If(t,n,u,r,d,s,l))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=l,r=u):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Af(e,t),u=t.memoizedProps,l=t.type===t.elementType?u:ff(t.type,u),a.props=l,f=t.pendingProps,d=a.context,"object"===ho(s=n.contextType)&&null!==s?s=xf(s):s=kc(t,s=Cc(n)?Sc:_c.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==f||d!==s)&&zf(t,a,r,s),kf=!1,d=t.memoizedState,a.state=d,Df(t,r,a,o);var h=t.memoizedState;u!==f||d!==h||Ec.current||kf?("function"==typeof p&&(Nf(t,n,p,r),h=t.memoizedState),(l=kf||If(t,n,l,r,d,h,s)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=l):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Ep(e,t,n,r,i,o)}function Ep(e,t,n,r,o,i){xp(e,t);var a=0!=(128&t.flags);if(!r&&!a)return o&&Rc(t,n,!1),jp(e,t,i);r=t.stateNode,pp.current=t;var u=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Yf(t,e.child,null,i),t.child=Yf(t,null,u,i)):vp(e,t,u,i),t.memoizedState=r.state,o&&Rc(t,n,!0),t.child}function Sp(e){var t=e.stateNode;t.pendingContext?Tc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Tc(0,t.context,!1),$f(e,t.containerInfo)}function kp(e,t,n,r,o){return sf(),lf(o),t.flags|=256,vp(e,t,n,r),t.child}var Cp,Ap,Tp,Pp={dehydrated:null,treeContext:null,retryLane:0};function Op(e){return{baseLanes:e,cachePool:null,transitions:null}}function Rp(e,t,n){var r,o=t.pendingProps,i=nd.current,a=!1,u=0!=(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),xc(nd,1&i),null===e)return rf(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=o.children,e=o.fallback,a?(o=t.mode,a=t.child,u={mode:"hidden",children:u},0==(1&o)&&null!==a?(a.childLanes=0,a.pendingProps=u):a=Ov(u,o,0,null),e=Pv(e,o,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Op(n),t.memoizedState=Pp,e):Dp(t,u));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,a){if(n)return 256&t.flags?(t.flags&=-257,Lp(e,t,a,r=ip(Error(ei(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Ov({mode:"visible",children:r.children},o,0,null),(i=Pv(i,o,a,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Yf(t,e.child,null,a),t.child.memoizedState=Op(a),t.memoizedState=Pp,i);if(0==(1&t.mode))return Lp(e,t,a,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var u=r.dgst;return r=u,Lp(e,t,a,r=ip(i=Error(ei(419)),r,void 0))}if(u=0!=(a&e.childLanes),hp||u){if(null!==(r=Eh)){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|a))?0:o)&&o!==i.retryLane&&(i.retryLane=o,Sf(e,o),Zh(r,e,o,-1))}return lv(),Lp(e,t,a,r=ip(Error(ei(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=wv.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Qc=rc(o.nextSibling),Zc=t,$c=!0,Jc=null,null!==e&&(Uc[Vc++]=qc,Uc[Vc++]=Yc,Uc[Vc++]=Hc,qc=e.id,Yc=e.overflow,Hc=t),(t=Dp(t,r.children)).flags|=4096,t)}(e,t,u,o,r,i,n);if(a){a=o.fallback,u=t.mode,r=(i=e.child).sibling;var s={mode:"hidden",children:o.children};return 0==(1&u)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null):(o=Av(i,s)).subtreeFlags=14680064&i.subtreeFlags,null!==r?a=Av(r,a):(a=Pv(a,u,n,null)).flags|=2,a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,u=null===(u=e.child.memoizedState)?Op(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},a.memoizedState=u,a.childLanes=e.childLanes&~n,t.memoizedState=Pp,o}return e=(a=e.child).sibling,o=Av(a,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Dp(e,t){return(t=Ov({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Lp(e,t,n,r){return null!==r&&lf(r),Yf(t,e.child,null,n),(e=Dp(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Mp(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),yf(e.return,t,n)}function Np(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Fp(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(vp(e,t,r.children,n),0!=(2&(r=nd.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Mp(e,n,t);else if(19===e.tag)Mp(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(xc(nd,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===rd(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Np(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===rd(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Np(t,!0,n,null,i);break;case"together":Np(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ip(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function jp(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Oh|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(ei(153));if(null!==t.child){for(n=Av(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Av(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function zp(e,t){if(!$c)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Bp(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Up(e,t,n){var r=t.pendingProps;switch(Xc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bp(t),null;case 1:case 17:return Cc(t.type)&&Ac(),Bp(t),null;case 3:return r=t.stateNode,Jf(),bc(Ec),bc(_c),id(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(af(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==Jc&&(ev(Jc),Jc=null))),Bp(t),null;case 5:td(t);var o=Qf(Zf.current);if(n=t.type,null!==e&&null!=t.stateNode)Ap(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(ei(166));return Bp(t),null}if(e=Qf(Kf.current),af(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[ac]=t,r[uc]=i,e=0!=(1&t.mode),n){case"dialog":Ll("cancel",r),Ll("close",r);break;case"iframe":case"object":case"embed":Ll("load",r);break;case"video":case"audio":for(o=0;o<Pl.length;o++)Ll(Pl[o],r);break;case"source":Ll("error",r);break;case"img":case"image":case"link":Ll("error",r),Ll("load",r);break;case"details":Ll("toggle",r);break;case"input":Gi(r,i),Ll("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Ll("invalid",r);break;case"textarea":ea(r,i),Ll("invalid",r)}for(var a in pa(n,i),o=null,i)if(i.hasOwnProperty(a)){var u=i[a];"children"===a?"string"==typeof u?r.textContent!==u&&(!0!==i.suppressHydrationWarning&&Gl(r.textContent,u,e),o=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==i.suppressHydrationWarning&&Gl(r.textContent,u,e),o=["children",""+u]):ni.hasOwnProperty(a)&&null!=u&&"onScroll"===a&&Ll("scroll",r)}switch(n){case"input":Vi(r),Xi(r,i,!0);break;case"textarea":Vi(r),na(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Wl)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{a=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ra(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[ac]=t,e[uc]=r,Cp(e,t),t.stateNode=e;e:{switch(a=ha(n,r),n){case"dialog":Ll("cancel",e),Ll("close",e),o=r;break;case"iframe":case"object":case"embed":Ll("load",e),o=r;break;case"video":case"audio":for(o=0;o<Pl.length;o++)Ll(Pl[o],e);o=r;break;case"source":Ll("error",e),o=r;break;case"img":case"image":case"link":Ll("error",e),Ll("load",e),o=r;break;case"details":Ll("toggle",e),o=r;break;case"input":Gi(e,r),o=Yi(e,r),Ll("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Li({},r,{value:void 0}),Ll("invalid",e);break;case"textarea":ea(e,r),o=Ji(e,r),Ll("invalid",e)}for(i in pa(n,o),u=o)if(u.hasOwnProperty(i)){var s=u[i];"style"===i?fa(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&aa(e,s):"children"===i?"string"==typeof s?("textarea"!==n||""!==s)&&ua(e,s):"number"==typeof s&&ua(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(ni.hasOwnProperty(i)?null!=s&&"onScroll"===i&&Ll("scroll",e):null!=s&&vi(e,i,s,a))}switch(n){case"input":Vi(e),Xi(e,r,!1);break;case"textarea":Vi(e),na(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Bi(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?$i(e,!!r.multiple,i,!1):null!=r.defaultValue&&$i(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Wl)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Bp(t),null;case 6:if(e&&null!=t.stateNode)Tp(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(ei(166));if(n=Qf(Zf.current),Qf(Kf.current),af(t)){if(r=t.stateNode,n=t.memoizedProps,r[ac]=t,(i=r.nodeValue!==n)&&null!==(e=Zc))switch(e.tag){case 3:Gl(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Gl(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[ac]=t,t.stateNode=r}return Bp(t),null;case 13:if(bc(nd),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if($c&&null!==Qc&&0!=(1&t.mode)&&0==(128&t.flags))uf(),sf(),t.flags|=98560,i=!1;else if(i=af(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(ei(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(ei(317));i[ac]=t}else sf(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Bp(t),i=!1}else null!==Jc&&(ev(Jc),Jc=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&nd.current)?0===Th&&(Th=3):lv())),null!==t.updateQueue&&(t.flags|=4),Bp(t),null);case 4:return Jf(),null===e&&Fl(t.stateNode.containerInfo),Bp(t),null;case 10:return gf(t.type._context),Bp(t),null;case 19:if(bc(nd),null===(i=t.memoizedState))return Bp(t),null;if(r=0!=(128&t.flags),null===(a=i.rendering))if(r)zp(i,!1);else{if(0!==Th||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=rd(e))){for(t.flags|=128,zp(i,!1),null!==(r=a.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(a=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return xc(nd,1&nd.current|2),t.child}e=e.sibling}null!==i.tail&&Ga()>Fh&&(t.flags|=128,r=!0,zp(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=rd(a))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),zp(i,!0),null===i.tail&&"hidden"===i.tailMode&&!a.alternate&&!$c)return Bp(t),null}else 2*Ga()-i.renderingStartTime>Fh&&1073741824!==n&&(t.flags|=128,r=!0,zp(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=i.last)?n.sibling=a:t.child=a,i.last=a)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ga(),t.sibling=null,n=nd.current,xc(nd,r?1&n|2:1&n),t):(Bp(t),null);case 22:case 23:return iv(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Ch)&&(Bp(t),6&t.subtreeFlags&&(t.flags|=8192)):Bp(t),null;case 24:case 25:return null}throw Error(ei(156,t.tag))}function Vp(e,t){switch(Xc(t),t.tag){case 1:return Cc(t.type)&&Ac(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Jf(),bc(Ec),bc(_c),id(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return td(t),null;case 13:if(bc(nd),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(ei(340));sf()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return bc(nd),null;case 4:return Jf(),null;case 10:return gf(t.type._context),null;case 22:case 23:return iv(),null;default:return null}}Cp=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ap=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Qf(Kf.current);var i,a=null;switch(n){case"input":o=Yi(e,o),r=Yi(e,r),a=[];break;case"select":o=Li({},o,{value:void 0}),r=Li({},r,{value:void 0}),a=[];break;case"textarea":o=Ji(e,o),r=Ji(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Wl)}for(l in pa(n,r),n=null,o)if(!r.hasOwnProperty(l)&&o.hasOwnProperty(l)&&null!=o[l])if("style"===l){var u=o[l];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(ni.hasOwnProperty(l)?a||(a=[]):(a=a||[]).push(l,null));for(l in r){var s=r[l];if(u=null!=o?o[l]:void 0,r.hasOwnProperty(l)&&s!==u&&(null!=s||null!=u))if("style"===l)if(u){for(i in u)!u.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&u[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(l,n)),n=s;else"dangerouslySetInnerHTML"===l?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(a=a||[]).push(l,s)):"children"===l?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(l,""+s):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(ni.hasOwnProperty(l)?(null!=s&&"onScroll"===l&&Ll("scroll",e),a||u===s||(a=[])):(a=a||[]).push(l,s))}n&&(a=a||[]).push("style",n);var l=a;(t.updateQueue=l)&&(t.flags|=4)}},Tp=function(e,t,n,r){n!==r&&(t.flags|=4)};var Hp=!1,qp=!1,Yp="function"==typeof WeakSet?WeakSet:Set,Gp=null;function Wp(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(Dw){yv(e,t,Dw)}else n.current=null}function Kp(e,t,n){try{n()}catch(Dw){yv(e,t,Dw)}}var Xp=!1;function Zp(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&Kp(t,n,i)}o=o.next}while(o!==r)}}function Qp(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function $p(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function Jp(e){var t=e.alternate;null!==t&&(e.alternate=null,Jp(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[ac],delete t[uc],delete t[lc],delete t[cc],delete t[fc])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function eh(e){return 5===e.tag||3===e.tag||4===e.tag}function th(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||eh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function nh(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Wl));else if(4!==r&&null!==(e=e.child))for(nh(e,t,n),e=e.sibling;null!==e;)nh(e,t,n),e=e.sibling}function rh(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(rh(e,t,n),e=e.sibling;null!==e;)rh(e,t,n),e=e.sibling}var oh=null,ih=!1;function ah(e,t,n){for(n=n.child;null!==n;)uh(e,t,n),n=n.sibling}function uh(e,t,n){if(eu&&"function"==typeof eu.onCommitFiberUnmount)try{eu.onCommitFiberUnmount(Ja,n)}catch(Fw){}switch(n.tag){case 5:qp||Wp(n,t);case 6:var r=oh,o=ih;oh=null,ah(e,t,n),ih=o,null!==(oh=r)&&(ih?(e=oh,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):oh.removeChild(n.stateNode));break;case 18:null!==oh&&(ih?(e=oh,n=n.stateNode,8===e.nodeType?nc(e.parentNode,n):1===e.nodeType&&nc(e,n),Iu(e)):nc(oh,n.stateNode));break;case 4:r=oh,o=ih,oh=n.stateNode.containerInfo,ih=!0,ah(e,t,n),oh=r,ih=o;break;case 0:case 11:case 14:case 15:if(!qp&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&Kp(n,t,a),o=o.next}while(o!==r)}ah(e,t,n);break;case 1:if(!qp&&(Wp(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(Fw){yv(n,t,Fw)}ah(e,t,n);break;case 21:ah(e,t,n);break;case 22:1&n.mode?(qp=(r=qp)||null!==n.memoizedState,ah(e,t,n),qp=r):ah(e,t,n);break;default:ah(e,t,n)}}function sh(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Yp),t.forEach((function(t){var r=_v.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function lh(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,a=t,u=a;e:for(;null!==u;){switch(u.tag){case 5:oh=u.stateNode,ih=!1;break e;case 3:case 4:oh=u.stateNode.containerInfo,ih=!0;break e}u=u.return}if(null===oh)throw Error(ei(160));uh(i,a,o),oh=null,ih=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(jw){yv(o,t,jw)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ch(t,e),t=t.sibling}function ch(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(lh(t,e),fh(e),4&r){try{Zp(3,e,e.return),Qp(3,e)}catch(Hw){yv(e,e.return,Hw)}try{Zp(5,e,e.return)}catch(Hw){yv(e,e.return,Hw)}}break;case 1:lh(t,e),fh(e),512&r&&null!==n&&Wp(n,n.return);break;case 5:if(lh(t,e),fh(e),512&r&&null!==n&&Wp(n,n.return),32&e.flags){var o=e.stateNode;try{ua(o,"")}catch(Hw){yv(e,e.return,Hw)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,a=null!==n?n.memoizedProps:i,u=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===u&&"radio"===i.type&&null!=i.name&&Wi(o,i),ha(u,a);var l=ha(u,i);for(a=0;a<s.length;a+=2){var c=s[a],f=s[a+1];"style"===c?fa(o,f):"dangerouslySetInnerHTML"===c?aa(o,f):"children"===c?ua(o,f):vi(o,c,f,l)}switch(u){case"input":Ki(o,i);break;case"textarea":ta(o,i);break;case"select":var d=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var p=i.value;null!=p?$i(o,!!i.multiple,p,!1):d!==!!i.multiple&&(null!=i.defaultValue?$i(o,!!i.multiple,i.defaultValue,!0):$i(o,!!i.multiple,i.multiple?[]:"",!1))}o[uc]=i}catch(Hw){yv(e,e.return,Hw)}}break;case 6:if(lh(t,e),fh(e),4&r){if(null===e.stateNode)throw Error(ei(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(Hw){yv(e,e.return,Hw)}}break;case 3:if(lh(t,e),fh(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Iu(t.containerInfo)}catch(Hw){yv(e,e.return,Hw)}break;case 4:default:lh(t,e),fh(e);break;case 13:lh(t,e),fh(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Nh=Ga())),4&r&&sh(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(qp=(l=qp)||c,lh(t,e),qp=l):lh(t,e),fh(e),8192&r){if(l=null!==e.memoizedState,(e.stateNode.isHidden=l)&&!c&&0!=(1&e.mode))for(Gp=e,c=e.child;null!==c;){for(f=Gp=c;null!==Gp;){switch(p=(d=Gp).child,d.tag){case 0:case 11:case 14:case 15:Zp(4,d,d.return);break;case 1:Wp(d,d.return);var h=d.stateNode;if("function"==typeof h.componentWillUnmount){r=d,n=d.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(Hw){yv(r,n,Hw)}}break;case 5:Wp(d,d.return);break;case 22:if(null!==d.memoizedState){vh(f);continue}}null!==p?(p.return=d,Gp=p):vh(f)}c=c.sibling}e:for(c=null,f=e;;){if(5===f.tag){if(null===c){c=f;try{o=f.stateNode,l?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(u=f.stateNode,a=null!=(s=f.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,u.style.display=ca("display",a))}catch(Hw){yv(e,e.return,Hw)}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=l?"":f.memoizedProps}catch(Hw){yv(e,e.return,Hw)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:lh(t,e),fh(e),4&r&&sh(e);case 21:}}function fh(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(eh(n)){var r=n;break e}n=n.return}throw Error(ei(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(ua(o,""),r.flags&=-33),rh(e,th(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;nh(e,th(e),i);break;default:throw Error(ei(161))}}catch(f_){yv(e,e.return,f_)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function dh(e,t,n){Gp=e,ph(e)}function ph(e,t,n){for(var r=0!=(1&e.mode);null!==Gp;){var o=Gp,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Hp;if(!a){var u=o.alternate,s=null!==u&&null!==u.memoizedState||qp;u=Hp;var l=qp;if(Hp=a,(qp=s)&&!l)for(Gp=o;null!==Gp;)s=(a=Gp).child,22===a.tag&&null!==a.memoizedState?mh(o):null!==s?(s.return=a,Gp=s):mh(o);for(;null!==i;)Gp=i,ph(i),i=i.sibling;Gp=o,Hp=u,qp=l}hh(e)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,Gp=i):hh(e)}}function hh(e){for(;null!==Gp;){var t=Gp;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:qp||Qp(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!qp)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ff(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Lf(t,i,r);break;case 3:var a=t.updateQueue;if(null!==a){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Lf(t,a,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var l=t.alternate;if(null!==l){var c=l.memoizedState;if(null!==c){var f=c.dehydrated;null!==f&&Iu(f)}}}break;default:throw Error(ei(163))}qp||512&t.flags&&$p(t)}catch(ix){yv(t,t.return,ix)}}if(t===e){Gp=null;break}if(null!==(n=t.sibling)){n.return=t.return,Gp=n;break}Gp=t.return}}function vh(e){for(;null!==Gp;){var t=Gp;if(t===e){Gp=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Gp=n;break}Gp=t.return}}function mh(e){for(;null!==Gp;){var t=Gp;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Qp(4,t)}catch(f_){yv(t,n,f_)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(f_){yv(t,o,f_)}}var i=t.return;try{$p(t)}catch(f_){yv(t,i,f_)}break;case 5:var a=t.return;try{$p(t)}catch(f_){yv(t,a,f_)}}}catch(f_){yv(t,t.return,f_)}if(t===e){Gp=null;break}var u=t.sibling;if(null!==u){u.return=t.return,Gp=u;break}Gp=t.return}}var gh,yh=Math.ceil,bh=mi.ReactCurrentDispatcher,xh=mi.ReactCurrentOwner,wh=mi.ReactCurrentBatchConfig,_h=0,Eh=null,Sh=null,kh=0,Ch=0,Ah=yc(0),Th=0,Ph=null,Oh=0,Rh=0,Dh=0,Lh=null,Mh=null,Nh=0,Fh=1/0,Ih=null,jh=!1,zh=null,Bh=null,Uh=!1,Vh=null,Hh=0,qh=0,Yh=null,Gh=-1,Wh=0;function Kh(){return 0!=(6&_h)?Ga():-1!==Gh?Gh:Gh=Ga()}function Xh(e){return 0==(1&e.mode)?1:0!=(2&_h)&&0!==kh?kh&-kh:null!==cf.transition?(0===Wh&&(Wh=cu()),Wh):0!==(e=hu)?e:e=void 0===(e=window.event)?16:Yu(e.type)}function Zh(e,t,n,r){if(50<qh)throw qh=0,Yh=null,Error(ei(185));du(e,n,r),0!=(2&_h)&&e===Eh||(e===Eh&&(0==(2&_h)&&(Rh|=n),4===Th&&tv(e,kh)),Qh(e,r),1===n&&0===_h&&0==(1&t.mode)&&(Fh=Ga()+500,Lc&&Fc()))}function Qh(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-tu(i),u=1<<a,s=o[a];-1===s?0!=(u&n)&&0==(u&r)||(o[a]=su(u,t)):s<=t&&(e.expiredLanes|=u),i&=~u}}(e,t);var r=uu(e,e===Eh?kh:0);if(0===r)null!==n&&Ha(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ha(n),1===t)0===e.tag?function(e){Lc=!0,Nc(e)}(nv.bind(null,e)):Nc(nv.bind(null,e)),ec((function(){0==(6&_h)&&Fc()})),n=null;else{switch(vu(r)){case 1:n=Ka;break;case 4:n=Xa;break;case 16:default:n=Za;break;case 536870912:n=$a}n=Ev(n,$h.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function $h(e,t){if(Gh=-1,Wh=0,0!=(6&_h))throw Error(ei(327));var n=e.callbackNode;if(mv()&&e.callbackNode!==n)return null;var r=uu(e,e===Eh?kh:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=cv(e,r);else{t=r;var o=_h;_h|=2;var i=sv();for(Eh===e&&kh===t||(Ih=null,Fh=Ga()+500,av(e,t));;)try{dv();break}catch(Fw){uv(e,Fw)}mf(),bh.current=i,_h=o,null!==Sh?t=0:(Eh=null,kh=0,t=Th)}if(0!==t){if(2===t&&(0!==(o=lu(e))&&(r=o,t=Jh(e,o))),1===t)throw n=Ph,av(e,0),tv(e,r),Qh(e,Ga()),n;if(6===t)tv(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!tl(i(),o))return!1}catch(a){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=cv(e,r))&&(0!==(i=lu(e))&&(r=i,t=Jh(e,i))),1===t))throw n=Ph,av(e,0),tv(e,r),Qh(e,Ga()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(ei(345));case 2:case 5:vv(e,Mh,Ih);break;case 3:if(tv(e,r),(130023424&r)===r&&10<(t=Nh+500-Ga())){if(0!==uu(e,0))break;if(((o=e.suspendedLanes)&r)!==r){Kh(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Ql(vv.bind(null,e,Mh,Ih),t);break}vv(e,Mh,Ih);break;case 4:if(tv(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-tu(r);i=1<<a,(a=t[a])>o&&(o=a),r&=~i}if(r=o,10<(r=(120>(r=Ga()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*yh(r/1960))-r)){e.timeoutHandle=Ql(vv.bind(null,e,Mh,Ih),r);break}vv(e,Mh,Ih);break;default:throw Error(ei(329))}}}return Qh(e,Ga()),e.callbackNode===n?$h.bind(null,e):null}function Jh(e,t){var n=Lh;return e.current.memoizedState.isDehydrated&&(av(e,t).flags|=256),2!==(e=cv(e,t))&&(t=Mh,Mh=n,null!==t&&ev(t)),e}function ev(e){null===Mh?Mh=e:Mh.push.apply(Mh,e)}function tv(e,t){for(t&=~Dh,t&=~Rh,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-tu(t),r=1<<n;e[n]=-1,t&=~r}}function nv(e){if(0!=(6&_h))throw Error(ei(327));mv();var t=uu(e,0);if(0==(1&t))return Qh(e,Ga()),null;var n=cv(e,t);if(0!==e.tag&&2===n){var r=lu(e);0!==r&&(t=r,n=Jh(e,r))}if(1===n)throw n=Ph,av(e,0),tv(e,t),Qh(e,Ga()),n;if(6===n)throw Error(ei(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,vv(e,Mh,Ih),Qh(e,Ga()),null}function rv(e,t){var n=_h;_h|=1;try{return e(t)}finally{0===(_h=n)&&(Fh=Ga()+500,Lc&&Fc())}}function ov(e){null!==Vh&&0===Vh.tag&&0==(6&_h)&&mv();var t=_h;_h|=1;var n=wh.transition,r=hu;try{if(wh.transition=null,hu=1,e)return e()}finally{hu=r,wh.transition=n,0==(6&(_h=t))&&Fc()}}function iv(){Ch=Ah.current,bc(Ah)}function av(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,$l(n)),null!==Sh)for(n=Sh.return;null!==n;){var r=n;switch(Xc(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ac();break;case 3:Jf(),bc(Ec),bc(_c),id();break;case 5:td(r);break;case 4:Jf();break;case 13:case 19:bc(nd);break;case 10:gf(r.type._context);break;case 22:case 23:iv()}n=n.return}if(Eh=e,Sh=e=Av(e.current,null),kh=Ch=t,Th=0,Ph=null,Dh=Rh=Oh=0,Mh=Lh=null,null!==wf){for(t=0;t<wf.length;t++)if(null!==(r=(n=wf[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}wf=null}return e}function uv(e,t){for(;;){var n=Sh;try{if(mf(),ad.current=ep,dd){for(var r=ld.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}dd=!1}if(sd=0,fd=cd=ld=null,pd=!1,hd=0,xh.current=null,null===n||null===n.return){Th=1,Ph=t,Sh=null;break}e:{var i=e,a=n.return,u=n,s=t;if(t=kh,u.flags|=32768,null!==s&&"object"===ho(s)&&"function"==typeof s.then){var l=s,c=u,f=c.tag;if(0==(1&c.mode)&&(0===f||11===f||15===f)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=fp(a);if(null!==p){p.flags&=-257,dp(p,a,u,0,t),1&p.mode&&cp(i,l,t),s=l;var h=(t=p).updateQueue;if(null===h){var v=new Set;v.add(s),t.updateQueue=v}else h.add(s);break e}if(0==(1&t)){cp(i,l,t),lv();break e}s=Error(ei(426))}else if($c&&1&u.mode){var m=fp(a);if(null!==m){0==(65536&m.flags)&&(m.flags|=256),dp(m,a,u,0,t),lf(op(s,u));break e}}i=s=op(s,u),4!==Th&&(Th=2),null===Lh?Lh=[i]:Lh.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Rf(i,sp(0,s,t));break e;case 1:u=s;var g=i.type,y=i.stateNode;if(0==(128&i.flags)&&("function"==typeof g.getDerivedStateFromError||null!==y&&"function"==typeof y.componentDidCatch&&(null===Bh||!Bh.has(y)))){i.flags|=65536,t&=-t,i.lanes|=t,Rf(i,lp(i,u,t));break e}}i=i.return}while(null!==i)}hv(n)}catch(NG){t=NG,Sh===n&&null!==n&&(Sh=n=n.return);continue}break}}function sv(){var e=bh.current;return bh.current=ep,null===e?ep:e}function lv(){0!==Th&&3!==Th&&2!==Th||(Th=4),null===Eh||0==(268435455&Oh)&&0==(268435455&Rh)||tv(Eh,kh)}function cv(e,t){var n=_h;_h|=2;var r=sv();for(Eh===e&&kh===t||(Ih=null,av(e,t));;)try{fv();break}catch(Lw){uv(e,Lw)}if(mf(),_h=n,bh.current=r,null!==Sh)throw Error(ei(261));return Eh=null,kh=0,Th}function fv(){for(;null!==Sh;)pv(Sh)}function dv(){for(;null!==Sh&&!qa();)pv(Sh)}function pv(e){var t=gh(e.alternate,e,Ch);e.memoizedProps=e.pendingProps,null===t?hv(e):Sh=t,xh.current=null}function hv(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Up(n,t,Ch)))return void(Sh=n)}else{if(null!==(n=Vp(n,t)))return n.flags&=32767,void(Sh=n);if(null===e)return Th=6,void(Sh=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Sh=t);Sh=t=e}while(null!==t);0===Th&&(Th=5)}function vv(e,t,n){var r=hu,o=wh.transition;try{wh.transition=null,hu=1,function(e,t,n,r){do{mv()}while(null!==Vh);if(0!=(6&_h))throw Error(ei(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(ei(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-tu(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,i),e===Eh&&(Sh=Eh=null,kh=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Uh||(Uh=!0,Ev(Za,(function(){return mv(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=wh.transition,wh.transition=null;var a=hu;hu=1;var u=_h;_h|=4,xh.current=null,function(e,t){if(Kl=zu,ul(e=al())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(AL){n=null;break e}var a=0,u=-1,s=-1,l=0,c=0,f=e,d=null;t:for(;;){for(var p;f!==n||0!==o&&3!==f.nodeType||(u=a+o),f!==i||0!==r&&3!==f.nodeType||(s=a+r),3===f.nodeType&&(a+=f.nodeValue.length),null!==(p=f.firstChild);)d=f,f=p;for(;;){if(f===e)break t;if(d===n&&++l===o&&(u=a),d===i&&++c===r&&(s=a),null!==(p=f.nextSibling))break;d=(f=d).parentNode}f=p}n=-1===u||-1===s?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Xl={focusedElem:e,selectionRange:n},zu=!1,Gp=t;null!==Gp;)if(e=(t=Gp).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Gp=e;else for(;null!==Gp;){t=Gp;try{var h=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var v=h.memoizedProps,m=h.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:ff(t.type,v),m);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(ei(163))}}catch(AL){yv(t,t.return,AL)}if(null!==(e=t.sibling)){e.return=t.return,Gp=e;break}Gp=t.return}h=Xp,Xp=!1}(e,n),ch(n,e),sl(Xl),zu=!!Kl,Xl=Kl=null,e.current=n,dh(n),Ya(),_h=u,hu=a,wh.transition=i}else e.current=n;if(Uh&&(Uh=!1,Vh=e,Hh=o),0===(i=e.pendingLanes)&&(Bh=null),function(e){if(eu&&"function"==typeof eu.onCommitFiberRoot)try{eu.onCommitFiberRoot(Ja,e,void 0,128==(128&e.current.flags))}catch(t){}}(n.stateNode),Qh(e,Ga()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(jh)throw jh=!1,e=zh,zh=null,e;0!=(1&Hh)&&0!==e.tag&&mv(),0!=(1&(i=e.pendingLanes))?e===Yh?qh++:(qh=0,Yh=e):qh=0,Fc()}(e,t,n,r)}finally{wh.transition=o,hu=r}return null}function mv(){if(null!==Vh){var e=vu(Hh),t=wh.transition,n=hu;try{if(wh.transition=null,hu=16>e?16:e,null===Vh)var r=!1;else{if(e=Vh,Vh=null,Hh=0,0!=(6&_h))throw Error(ei(331));var o=_h;for(_h|=4,Gp=e.current;null!==Gp;){var i=Gp,a=i.child;if(0!=(16&Gp.flags)){var u=i.deletions;if(null!==u){for(var s=0;s<u.length;s++){var l=u[s];for(Gp=l;null!==Gp;){var c=Gp;switch(c.tag){case 0:case 11:case 15:Zp(8,c,i)}var f=c.child;if(null!==f)f.return=c,Gp=f;else for(;null!==Gp;){var d=(c=Gp).sibling,p=c.return;if(Jp(c),c===l){Gp=null;break}if(null!==d){d.return=p,Gp=d;break}Gp=p}}}var h=i.alternate;if(null!==h){var v=h.child;if(null!==v){h.child=null;do{var m=v.sibling;v.sibling=null,v=m}while(null!==v)}}Gp=i}}if(0!=(2064&i.subtreeFlags)&&null!==a)a.return=i,Gp=a;else e:for(;null!==Gp;){if(0!=(2048&(i=Gp).flags))switch(i.tag){case 0:case 11:case 15:Zp(9,i,i.return)}var g=i.sibling;if(null!==g){g.return=i.return,Gp=g;break e}Gp=i.return}}var y=e.current;for(Gp=y;null!==Gp;){var b=(a=Gp).child;if(0!=(2064&a.subtreeFlags)&&null!==b)b.return=a,Gp=b;else e:for(a=y;null!==Gp;){if(0!=(2048&(u=Gp).flags))try{switch(u.tag){case 0:case 11:case 15:Qp(9,u)}}catch(NG){yv(u,u.return,NG)}if(u===a){Gp=null;break e}var x=u.sibling;if(null!==x){x.return=u.return,Gp=x;break e}Gp=u.return}}if(_h=o,Fc(),eu&&"function"==typeof eu.onPostCommitFiberRoot)try{eu.onPostCommitFiberRoot(Ja,e)}catch(NG){}r=!0}return r}finally{hu=n,wh.transition=t}}return!1}function gv(e,t,n){e=Pf(e,t=sp(0,t=op(n,t),1),1),t=Kh(),null!==e&&(du(e,1,t),Qh(e,t))}function yv(e,t,n){if(3===e.tag)gv(e,e,n);else for(;null!==t;){if(3===t.tag){gv(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Bh||!Bh.has(r))){t=Pf(t,e=lp(t,e=op(n,e),1),1),e=Kh(),null!==t&&(du(t,1,e),Qh(t,e));break}}t=t.return}}function bv(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Kh(),e.pingedLanes|=e.suspendedLanes&n,Eh===e&&(kh&n)===n&&(4===Th||3===Th&&(130023424&kh)===kh&&500>Ga()-Nh?av(e,0):Dh|=n),Qh(e,t)}function xv(e,t){0===t&&(0==(1&e.mode)?t=1:(t=iu,0==(130023424&(iu<<=1))&&(iu=4194304)));var n=Kh();null!==(e=Sf(e,t))&&(du(e,t,n),Qh(e,n))}function wv(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),xv(e,n)}function _v(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(ei(314))}null!==r&&r.delete(t),xv(e,n)}function Ev(e,t){return Va(e,t)}function Sv(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kv(e,t,n,r){return new Sv(e,t,n,r)}function Cv(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Av(e,t){var n=e.alternate;return null===n?((n=kv(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Tv(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)Cv(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case bi:return Pv(n.children,o,i,t);case xi:a=8,o|=8;break;case wi:return(e=kv(12,n,t,2|o)).elementType=wi,e.lanes=i,e;case ki:return(e=kv(13,n,t,o)).elementType=ki,e.lanes=i,e;case Ci:return(e=kv(19,n,t,o)).elementType=Ci,e.lanes=i,e;case Pi:return Ov(n,o,i,t);default:if("object"===ho(e)&&null!==e)switch(e.$$typeof){case _i:a=10;break e;case Ei:a=9;break e;case Si:a=11;break e;case Ai:a=14;break e;case Ti:a=16,r=null;break e}throw Error(ei(130,null==e?e:ho(e),""))}return(t=kv(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Pv(e,t,n,r){return(e=kv(7,e,r,t)).lanes=n,e}function Ov(e,t,n,r){return(e=kv(22,e,r,t)).elementType=Pi,e.lanes=n,e.stateNode={isHidden:!1},e}function Rv(e,t,n){return(e=kv(6,e,null,t)).lanes=n,e}function Dv(e,t,n){return(t=kv(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Lv(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=fu(0),this.expirationTimes=fu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Mv(e,t,n,r,o,i,a,u,s){return e=new Lv(e,t,n,u,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=kv(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Cf(i),e}function Nv(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:yi,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Fv(e){if(!e)return wc;e:{if(Ia(e=e._reactInternals)!==e||1!==e.tag)throw Error(ei(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Cc(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(ei(171))}if(1===e.tag){var n=e.type;if(Cc(n))return Pc(e,n,t)}return t}function Iv(e,t,n,r,o,i,a,u,s){return(e=Mv(n,r,!0,e,0,i,0,u,s)).context=Fv(null),n=e.current,(i=Tf(r=Kh(),o=Xh(n))).callback=null!=t?t:null,Pf(n,i,o),e.current.lanes=o,du(e,o,r),Qh(e,r),e}function jv(e,t,n,r){var o=t.current,i=Kh(),a=Xh(o);return n=Fv(n),null===t.context?t.context=n:t.pendingContext=n,(t=Tf(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Pf(o,t,a))&&(Zh(e,o,a,i),Of(e,o,a)),a}function zv(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Bv(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Uv(e,t){Bv(e,t),(e=e.alternate)&&Bv(e,t)}gh=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ec.current)hp=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return hp=!1,function(e,t,n){switch(t.tag){case 3:Sp(t),sf();break;case 5:ed(t);break;case 1:Cc(t.type)&&Oc(t);break;case 4:$f(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;xc(df,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(xc(nd,1&nd.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Rp(e,t,n):(xc(nd,1&nd.current),null!==(e=jp(e,t,n))?e.sibling:null);xc(nd,1&nd.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Fp(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),xc(nd,nd.current),r)break;return null;case 22:case 23:return t.lanes=0,bp(e,t,n)}return jp(e,t,n)}(e,t,n);hp=0!=(131072&e.flags)}else hp=!1,$c&&0!=(1048576&t.flags)&&Wc(t,Bc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ip(e,t),e=t.pendingProps;var o=kc(t,_c.current);bf(t,n),o=yd(null,t,r,e,o,n);var i=bd();return t.flags|=1,"object"===ho(o)&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Cc(r)?(i=!0,Oc(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Cf(t),o.updater=Ff,t.stateNode=o,o._reactInternals=t,Bf(t,r,e,n),t=Ep(null,t,r,!0,i,n)):(t.tag=0,$c&&i&&Kc(t),vp(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ip(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Cv(e)?1:0;if(null!=e){if((e=e.$$typeof)===Si)return 11;if(e===Ai)return 14}return 2}(r),e=ff(r,e),o){case 0:t=wp(null,t,r,e,n);break e;case 1:t=_p(null,t,r,e,n);break e;case 11:t=mp(null,t,r,e,n);break e;case 14:t=gp(null,t,r,ff(r.type,e),n);break e}throw Error(ei(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,wp(e,t,r,o=t.elementType===r?o:ff(r,o),n);case 1:return r=t.type,o=t.pendingProps,_p(e,t,r,o=t.elementType===r?o:ff(r,o),n);case 3:e:{if(Sp(t),null===e)throw Error(ei(387));r=t.pendingProps,o=(i=t.memoizedState).element,Af(e,t),Df(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=kp(e,t,r,n,o=op(Error(ei(423)),t));break e}if(r!==o){t=kp(e,t,r,n,o=op(Error(ei(424)),t));break e}for(Qc=rc(t.stateNode.containerInfo.firstChild),Zc=t,$c=!0,Jc=null,n=Gf(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(sf(),r===o){t=jp(e,t,n);break e}vp(e,t,r,n)}t=t.child}return t;case 5:return ed(t),null===e&&rf(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,Zl(r,o)?a=null:null!==i&&Zl(r,i)&&(t.flags|=32),xp(e,t),vp(e,t,a,n),t.child;case 6:return null===e&&rf(t),null;case 13:return Rp(e,t,n);case 4:return $f(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Yf(t,null,r,n):vp(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,mp(e,t,r,o=t.elementType===r?o:ff(r,o),n);case 7:return vp(e,t,t.pendingProps,n),t.child;case 8:case 12:return vp(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,xc(df,r._currentValue),r._currentValue=a,null!==i)if(tl(i.value,a)){if(i.children===o.children&&!Ec.current){t=jp(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var u=i.dependencies;if(null!==u){a=i.child;for(var s=u.firstContext;null!==s;){if(s.context===r){if(1===i.tag){(s=Tf(-1,n&-n)).tag=2;var l=i.updateQueue;if(null!==l){var c=(l=l.shared).pending;null===c?s.next=s:(s.next=c.next,c.next=s),l.pending=s}}i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),yf(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(10===i.tag)a=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(a=i.return))throw Error(ei(341));a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),yf(a,n,t),a=i.sibling}else a=i.child;if(null!==a)a.return=i;else for(a=i;null!==a;){if(a===t){a=null;break}if(null!==(i=a.sibling)){i.return=a.return,a=i;break}a=a.return}i=a}vp(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,bf(t,n),r=r(o=xf(o)),t.flags|=1,vp(e,t,r,n),t.child;case 14:return o=ff(r=t.type,t.pendingProps),gp(e,t,r,o=ff(r.type,o),n);case 15:return yp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ff(r,o),Ip(e,t),t.tag=1,Cc(r)?(e=!0,Oc(t)):e=!1,bf(t,n),jf(t,r,o),Bf(t,r,o,n),Ep(null,t,r,!0,e,n);case 19:return Fp(e,t,n);case 22:return bp(e,t,n)}throw Error(ei(156,t.tag))};var Vv="function"==typeof reportError?reportError:function(e){console.error(e)};function Hv(e){this._internalRoot=e}function qv(e){this._internalRoot=e}function Yv(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Gv(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Wv(){}function Kv(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var u=o;o=function(){var e=zv(a);u.call(e)}}jv(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=zv(a);i.call(e)}}var a=Iv(t,r,e,0,null,!1,0,"",Wv);return e._reactRootContainer=a,e[sc]=a.current,Fl(8===e.nodeType?e.parentNode:e),ov(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var u=r;r=function(){var e=zv(s);u.call(e)}}var s=Mv(e,0,!1,null,0,!1,0,"",Wv);return e._reactRootContainer=s,e[sc]=s.current,Fl(8===e.nodeType?e.parentNode:e),ov((function(){jv(t,s,n,r)})),s}(n,t,e,o,r);return zv(a)}qv.prototype.render=Hv.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(ei(409));jv(e,t,null,null)},qv.prototype.unmount=Hv.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ov((function(){jv(null,e,null,null)})),t[sc]=null}},qv.prototype.unstable_scheduleHydration=function(e){if(e){var t=bu();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Tu.length&&0!==t&&t<Tu[n].priority;n++);Tu.splice(n,0,e),0===n&&Du(e)}},mu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=au(t.pendingLanes);0!==n&&(pu(t,1|n),Qh(t,Ga()),0==(6&_h)&&(Fh=Ga()+500,Fc()))}break;case 13:ov((function(){var t=Sf(e,1);if(null!==t){var n=Kh();Zh(t,e,1,n)}})),Uv(e,1)}},gu=function(e){if(13===e.tag){var t=Sf(e,134217728);if(null!==t)Zh(t,e,134217728,Kh());Uv(e,134217728)}},yu=function(e){if(13===e.tag){var t=Xh(e),n=Sf(e,t);if(null!==n)Zh(n,e,t,Kh());Uv(e,t)}},bu=function(){return hu},xu=function(e,t){var n=hu;try{return hu=e,t()}finally{hu=n}},ga=function(e,t,n){switch(t){case"input":if(Ki(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=vc(r);if(!o)throw Error(ei(90));Hi(r),Ki(r,o)}}}break;case"textarea":ta(e,n);break;case"select":null!=(t=n.value)&&$i(e,!!n.multiple,t,!1)}},Ea=rv,Sa=ov;var Xv={usingClientEntryPoint:!1,Events:[pc,hc,vc,wa,_a,rv]},Zv={findFiberByHostInstance:dc,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Qv={bundleType:Zv.bundleType,version:Zv.version,rendererPackageName:Zv.rendererPackageName,rendererConfig:Zv.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:mi.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ba(e))?null:e.stateNode},findFiberByHostInstance:Zv.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var $v=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!$v.isDisabled&&$v.supportsFiber)try{Ja=$v.inject(Qv),eu=$v}catch(oU){}}Xo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Xv,Xo.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yv(t))throw Error(ei(200));return Nv(e,t,null,n)},Xo.createRoot=function(e,t){if(!Yv(e))throw Error(ei(299));var n=!1,r="",o=Vv;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Mv(e,1,!1,null,0,n,0,r,o),e[sc]=t.current,Fl(8===e.nodeType?e.parentNode:e),new Hv(t)},Xo.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(ei(188));throw e=Object.keys(e).join(","),Error(ei(268,e))}return e=null===(e=Ba(t))?null:e.stateNode},Xo.flushSync=function(e){return ov(e)},Xo.hydrate=function(e,t,n){if(!Gv(t))throw Error(ei(200));return Kv(null,e,t,!0,n)},Xo.hydrateRoot=function(e,t,n){if(!Yv(e))throw Error(ei(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",a=Vv;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(a=n.onRecoverableError)),t=Iv(t,null,e,1,null!=n?n:null,o,0,i,a),e[sc]=t.current,Fl(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new qv(t)},Xo.render=function(e,t,n){if(!Gv(t))throw Error(ei(200));return Kv(null,e,t,!1,n)},Xo.unmountComponentAtNode=function(e){if(!Gv(e))throw Error(ei(40));return!!e._reactRootContainer&&(ov((function(){Kv(null,null,e,!1,(function(){e._reactRootContainer=null,e[sc]=null}))})),!0)},Xo.unstable_batchedUpdates=rv,Xo.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Gv(n))throw Error(ei(200));if(null==e||void 0===e._reactInternals)throw Error(ei(38));return Kv(e,t,n,!1,r)},Xo.version="18.2.0-next-9e3b772b8-20220608",function(e){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=Xo}(Ko);var Jv=Xr(Ko.exports),em=Ko.exports;function tm(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function nm(e,t){return e.require(t)}Wo.createRoot=em.createRoot,Wo.hydrateRoot=em.hydrateRoot;var rm={};function om(){return tm()?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:rm}function im(e,t,n){var r=n||om(),o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=t())}var am=Object.prototype.toString;function um(e){switch(am.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return gm(e,Error)}}function sm(e,t){return am.call(e)==="[object ".concat(t,"]")}function lm(e){return sm(e,"ErrorEvent")}function cm(e){return sm(e,"DOMError")}function fm(e){return sm(e,"String")}function dm(e){return null===e||"object"!==ho(e)&&"function"!=typeof e}function pm(e){return sm(e,"Object")}function hm(e){return"undefined"!=typeof Event&&gm(e,Event)}function vm(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function mm(e){return"number"==typeof e&&e!=e}function gm(e,t){try{return e instanceof t}catch(n){return!1}}function ym(e,t){try{for(var n,r=e,o=[],i=0,a=0,u=" > ".length;r&&i++<5&&!("html"===(n=bm(r,t))||i>1&&a+o.length*u+n.length>=80);)o.push(n),a+=n.length,r=r.parentNode;return o.reverse().join(" > ")}catch(s){return"<unknown>"}}function bm(e,t){var n,r,o,i,a,u=e,s=[];if(!u||!u.tagName)return"";s.push(u.tagName.toLowerCase());var l=t&&t.length?t.filter((function(e){return u.getAttribute(e)})).map((function(e){return[e,u.getAttribute(e)]})):null;if(l&&l.length)l.forEach((function(e){s.push("[".concat(e[0],'="').concat(e[1],'"]'))}));else if(u.id&&s.push("#".concat(u.id)),(n=u.className)&&fm(n))for(r=n.split(/\s+/),a=0;a<r.length;a++)s.push(".".concat(r[a]));var c=["type","name","title","alt"];for(a=0;a<c.length;a++)o=c[a],(i=u.getAttribute(o))&&s.push("[".concat(o,'="').concat(i,'"]'));return s.join("")}var xm=function(e){oo(n,e);var t=io(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warn";return ro(this,n),(r=t.call(this,e)).message=e,r.name=(this instanceof n?this.constructor:void 0).prototype.constructor.name,Object.setPrototypeOf(uo(r),(this instanceof n?this.constructor:void 0).prototype),r.logLevel=o,r}return no(n)}(so(Error)),wm=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function _m(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.host,r=e.path,o=e.pass,i=e.port,a=e.projectId,u=e.protocol,s=e.publicKey;return"".concat(u,"://").concat(s).concat(t&&o?":".concat(o):"")+"@".concat(n).concat(i?":".concat(i):"","/").concat(r?"".concat(r,"/"):r).concat(a)}function Em(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Sm(e){var t="string"==typeof e?function(e){var t=wm.exec(e);if(!t)throw new xm("Invalid Sentry Dsn: ".concat(e));var n=$r(t.slice(1),6),r=n[0],o=n[1],i=n[2],a=void 0===i?"":i,u=n[3],s=n[4],l=void 0===s?"":s,c="",f=n[5],d=f.split("/");if(d.length>1&&(c=d.slice(0,-1).join("/"),f=d.pop()),f){var p=f.match(/^\d+/);p&&(f=p[0])}return Em({host:u,pass:a,path:c,projectId:f,port:l,protocol:r,publicKey:o})}(e):Em(e);return function(e){if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){var t=e.port,n=e.projectId,r=e.protocol;if(["protocol","publicKey","host","projectId"].forEach((function(t){if(!e[t])throw new xm("Invalid Sentry Dsn: ".concat(t," missing"))})),!n.match(/^\d+$/))throw new xm("Invalid Sentry Dsn: Invalid projectId ".concat(n));if(!function(e){return"http"===e||"https"===e}(r))throw new xm("Invalid Sentry Dsn: Invalid protocol ".concat(r));if(t&&isNaN(parseInt(t,10)))throw new xm("Invalid Sentry Dsn: Invalid port ".concat(t))}}(t),t}var km,Cm=om(),Am="Sentry Logger ",Tm=["debug","info","warn","error","log","assert","trace"];function Pm(e){var t=om();if(!("console"in t))return e();var n=t.console,r={};Tm.forEach((function(e){var o=n[e]&&n[e].__sentry_original__;e in t.console&&o&&(r[e]=n[e],n[e]=o)}));try{return e()}finally{Object.keys(r).forEach((function(e){n[e]=r[e]}))}}function Om(){var e=!1,t={enable:function(){e=!0},disable:function(){e=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?Tm.forEach((function(n){t[n]=function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];e&&Pm((function(){var e;(e=Cm.console)[n].apply(e,["".concat(Am,"[").concat(n,"]:")].concat(r))}))}})):Tm.forEach((function(e){t[e]=function(){}})),t}function Rm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!=typeof e||0===t||e.length<=t?e:"".concat(e.substr(0,t),"...")}function Dm(e,t){if(!Array.isArray(e))return"";for(var n=[],r=0;r<e.length;r++){var o=e[r];try{n.push(String(o))}catch(Lw){n.push("[value cannot be serialized]")}}return n.join(t)}function Lm(e,t){return!!fm(e)&&(sm(t,"RegExp")?t.test(e):"string"==typeof t&&-1!==e.indexOf(t))}function Mm(e,t,n){if(t in e){var r=e[t],o=n(r);if("function"==typeof o)try{Fm(o,r)}catch(i){}e[t]=o}}function Nm(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function Fm(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,Nm(e,"__sentry_original__",t)}function Im(e){return e.__sentry_original__}function jm(e){if(um(e))return Zr({message:e.message,name:e.name,stack:e.stack},Bm(e));if(hm(e)){var t=Zr({type:e.type,target:zm(e.target),currentTarget:zm(e.currentTarget)},Bm(e));return"undefined"!=typeof CustomEvent&&gm(e,CustomEvent)&&(t.detail=e.detail),t}return e}function zm(e){try{return t=e,"undefined"!=typeof Element&&gm(t,Element)?ym(e):Object.prototype.toString.call(e)}catch(n){return"<unknown>"}var t}function Bm(e){if("object"===ho(e)&&null!==e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function Um(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:40,n=Object.keys(jm(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Rm(n[0],t);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>t))return r===n.length?o:Rm(o,t)}return""}function Vm(e){return Hm(e,new Map)}function Hm(e,t){if(pm(e)){if(void 0!==(a=t.get(e)))return a;var n={};t.set(e,n);for(var r=0,o=Object.keys(e);r<o.length;r++){var i=o[r];void 0!==e[i]&&(n[i]=Hm(e[i],t))}return n}if(Array.isArray(e)){var a;if(void 0!==(a=t.get(e)))return a;n=[];return t.set(e,n),e.forEach((function(e){n.push(Hm(e,t))})),n}return e}function qm(e,t){return null!=e?e:t()}km="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?im("logger",Om):Om();function Ym(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.sort((function(e,t){return e[0]-t[0]})).map((function(e){return e[1]}));return function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=[],i=vo(e.split("\n").slice(n));try{for(i.s();!(t=i.n()).done;){var a,u=t.value,s=u.replace(/\(error: (.*)\)/,"$1"),l=vo(r);try{for(l.s();!(a=l.n()).done;){var c=a.value,f=c(s);if(f){o.push(f);break}}}catch(d){l.e(d)}finally{l.f()}}}catch(d){i.e(d)}finally{i.f()}return Wm(o)}}function Gm(e){return Array.isArray(e)?Ym.apply(void 0,Wr(e)):e}function Wm(e){if(!e.length)return[];var t=e,n=t[0].function||"",r=t[t.length-1].function||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(t=t.slice(1)),-1!==r.indexOf("sentryWrapped")&&(t=t.slice(0,-1)),t.slice(0,50).map((function(e){return Zr(Zr({},e),{},{filename:e.filename||t[0].filename,function:e.function||"?"})})).reverse()}var Km="<anonymous>";function Xm(e){try{return e&&"function"==typeof e&&e.name||Km}catch(Lw){return Km}}function Zm(){if(!("fetch"in om()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(Lw){return!1}}function Qm(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}var $m,Jm=om(),eg={},tg={};function ng(e){if(!tg[e])switch(tg[e]=!0,e){case"console":!function(){if(!("console"in Jm))return;Tm.forEach((function(e){e in Jm.console&&Mm(Jm.console,e,(function(t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];og("console",{args:r,level:e}),t&&t.apply(Jm.console,r)}}))}))}();break;case"dom":!function(){if(!("document"in Jm))return;var e=og.bind(null,"dom"),t=fg(e,!0);Jm.document.addEventListener("click",t,!1),Jm.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((function(t){var n=Jm[t]&&Jm[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Mm(n,"addEventListener",(function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{var i=this,a=i.__sentry_instrumentation_handlers__=i.__sentry_instrumentation_handlers__||{},u=a[n]=a[n]||{refCount:0};if(!u.handler){var s=fg(e);u.handler=s,t.call(this,n,s,o)}u.refCount+=1}catch(Lw){}return t.call(this,n,r,o)}})),Mm(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{var o=this,i=o.__sentry_instrumentation_handlers__||{},a=i[t];a&&(a.refCount-=1,a.refCount<=0&&(e.call(this,t,a.handler,r),a.handler=void 0,delete i[t]),0===Object.keys(i).length&&delete o.__sentry_instrumentation_handlers__)}catch(Lw){}return e.call(this,t,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in Jm))return;var e=XMLHttpRequest.prototype;Mm(e,"open",(function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=this,i=n[1],a=o.__sentry_xhr__={method:fm(n[0])?n[0].toUpperCase():n[0],url:n[1]};fm(i)&&"POST"===a.method&&i.match(/sentry_key/)&&(o.__sentry_own_request__=!0);var u=function(){if(4===o.readyState){try{a.status_code=o.status}catch(Lw){}og("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:o})}};return"onreadystatechange"in o&&"function"==typeof o.onreadystatechange?Mm(o,"onreadystatechange",(function(e){return function(){u();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.apply(o,n)}})):o.addEventListener("readystatechange",u),e.apply(o,n)}})),Mm(e,"send",(function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.__sentry_xhr__&&void 0!==n[0]&&(this.__sentry_xhr__.body=n[0]),og("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),e.apply(this,n)}}))}();break;case"fetch":!function(){if(!function(){if(!Zm())return!1;var e=om();if(Qm(e.fetch))return!0;var t=!1,n=e.document;if(n&&"function"==typeof n.createElement)try{var r=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(t=Qm(r.contentWindow.fetch)),n.head.removeChild(r)}catch(o){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return t}())return;Mm(Jm,"fetch",(function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o={args:n,fetchData:{method:ig(n),url:ag(n)},startTimestamp:Date.now()};return og("fetch",Zr({},o)),e.apply(Jm,n).then((function(e){return og("fetch",Zr(Zr({},o),{},{endTimestamp:Date.now(),response:e})),e}),(function(e){throw og("fetch",Zr(Zr({},o),{},{endTimestamp:Date.now(),error:e})),e}))}}))}();break;case"history":!function(){if(!function(){var e=om(),t=e.chrome,n=t&&t.app&&t.app.runtime,r="history"in e&&!!e.history.pushState&&!!e.history.replaceState;return!n&&r}())return;var e=Jm.onpopstate;function t(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.length>2?n[2]:void 0;if(o){var i=$m,a=String(o);$m=a,og("history",{from:i,to:a})}return e.apply(this,n)}}Jm.onpopstate=function(){var t=Jm.location.href,n=$m;if($m=t,og("history",{from:n,to:t}),e)try{for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e.apply(this,o)}catch(a){}},Mm(Jm.history,"pushState",t),Mm(Jm.history,"replaceState",t)}();break;case"error":dg=Jm.onerror,Jm.onerror=function(e,t,n,r,o){return og("error",{column:r,error:o,line:n,msg:e,url:t}),!!dg&&dg.apply(this,arguments)};break;case"unhandledrejection":hg=Jm.onunhandledrejection,Jm.onunhandledrejection=function(e){return og("unhandledrejection",e),!hg||hg.apply(this,arguments)};break;default:return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("unknown instrumentation type:",e))}}function rg(e,t){eg[e]=eg[e]||[],eg[e].push(t),ng(e)}function og(e,t){if(e&&eg[e]){var n,r=vo(eg[e]||[]);try{for(r.s();!(n=r.n()).done;){var o=n.value;try{o(t)}catch(Lw){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.error("Error while triggering instrumentation handler.\nType: ".concat(e,"\nName: ").concat(Xm(o),"\nError:"),Lw)}}}catch(i){r.e(i)}finally{r.f()}}}function ig(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return"Request"in Jm&&gm(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function ag(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return"string"==typeof e[0]?e[0]:"Request"in Jm&&gm(e[0],Request)?e[0].url:String(e[0])}var ug,sg;function lg(e,t){if(!e)return!0;if(e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(Lw){}return!1}function cg(e){if("keypress"!==e.type)return!1;try{var t=e.target;if(!t||!t.tagName)return!0;if("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable)return!1}catch(Lw){}return!0}function fg(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){if(n&&sg!==n&&!cg(n)){var r="keypress"===n.type?"input":n.type;(void 0===ug||lg(sg,n))&&(e({event:n,name:r,global:t}),sg=n),clearTimeout(ug),ug=Jm.setTimeout((function(){ug=void 0}),1e3)}}}var dg=null;var pg,hg=null;function vg(){var e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(var r=0;r<t.length;r++){if(t[r]===n)return!0}return t.push(n),!1},function(n){if(e)t.delete(n);else for(var r=0;r<t.length;r++)if(t[r]===n){t.splice(r,1);break}}]}function mg(){var e=om(),t=e.crypto||e.msCrypto;if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");var n=t&&t.getRandomValues?function(){return t.getRandomValues(new Uint8Array(1))[0]}:function(){return 16*Math.random()};return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(function(e){return(e^(15&n())>>e/4).toString(16)}))}function gg(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function yg(e){var t=e.message,n=e.event_id;if(t)return t;var r=gg(e);return r?r.type&&r.value?"".concat(r.type,": ").concat(r.value):r.type||r.value||n||"<unknown>":n||"<unknown>"}function bg(e,t,n){var r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function xg(e,t){var n=gg(e);if(n){var r=n.mechanism;if(n.mechanism=Zr(Zr(Zr({},{type:"generic",handled:!0}),r),t),t&&"data"in t){var o=Zr(Zr({},r&&r.data),t.data);n.mechanism.data=o}}}function wg(e){if(e&&e.__sentry_captured__)return!0;try{Nm(e,"__sentry_captured__",!0)}catch(t){}return!1}function _g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;try{return Sg("",e,t,n)}catch(r){return{ERROR:"**non-serializable** (".concat(r,")")}}}function Eg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:102400,r=_g(e,t);return Cg(r)>n?Eg(e,t-1,n):r}function Sg(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:vg(),i=$r(o,2),a=i[0],u=i[1];if(null===t||["number","boolean","string"].includes(ho(t))&&!mm(t))return t;var s=kg(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;if(0===n)return s.replace("object ","");if(a(t))return"[Circular ~]";var l=t;if(l&&"function"==typeof l.toJSON)try{var c=l.toJSON();return Sg("",c,n-1,r,o)}catch(m){}var f=Array.isArray(t)?[]:{},d=0,p=jm(t);for(var h in p)if(Object.prototype.hasOwnProperty.call(p,h)){if(d>=r){f[h]="[MaxProperties ~]";break}var v=p[h];f[h]=Sg(h,v,n-1,r,o),d+=1}return u(t),f}function kg(e,t){try{return"domain"===e&&t&&"object"===ho(t)&&t._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":pm(n=t)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: ".concat(Xm(t),"]"):"symbol"===ho(t)?"[".concat(String(t),"]"):"bigint"==typeof t?"[BigInt: ".concat(String(t),"]"):"[object ".concat(Object.getPrototypeOf(t).constructor.name,"]")}catch(r){return"**non-serializable** (".concat(r,")")}var n}function Cg(e){return function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(e))}function Ag(e){return new Pg((function(t){t(e)}))}function Tg(e){return new Pg((function(t,n){n(e)}))}!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(pg||(pg={}));var Pg=function(){function e(t){ro(this,e),e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),e.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(Lw){this._reject(Lw)}}return no(e,[{key:"__init",value:function(){this._state=pg.PENDING}},{key:"__init2",value:function(){this._handlers=[]}},{key:"then",value:function(t,n){var r=this;return new e((function(e,o){r._handlers.push([!1,function(n){if(t)try{e(t(n))}catch(Lw){o(Lw)}else e(n)},function(t){if(n)try{e(n(t))}catch(Lw){o(Lw)}else o(t)}]),r._executeHandlers()}))}},{key:"catch",value:function(e){return this.then((function(e){return e}),e)}},{key:"finally",value:function(t){var n=this;return new e((function(e,r){var o,i;return n.then((function(e){i=!1,o=e,t&&t()}),(function(e){i=!0,o=e,t&&t()})).then((function(){i?r(o):e(o)}))}))}},{key:"__init3",value:function(){var e=this;this._resolve=function(t){e._setResult(pg.RESOLVED,t)}}},{key:"__init4",value:function(){var e=this;this._reject=function(t){e._setResult(pg.REJECTED,t)}}},{key:"__init5",value:function(){var e=this;this._setResult=function(t,n){e._state===pg.PENDING&&(vm(n)?n.then(e._resolve,e._reject):(e._state=t,e._value=n,e._executeHandlers()))}}},{key:"__init6",value:function(){var e=this;this._executeHandlers=function(){if(e._state!==pg.PENDING){var t=e._handlers.slice();e._handlers=[],t.forEach((function(t){t[0]||(e._state===pg.RESOLVED&&t[1](e._value),e._state===pg.REJECTED&&t[2](e._value),t[0]=!0)}))}}}}]),e}();function Og(e){var t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return Tg(new xm("Not adding Promise due to buffer limit reached."));var o=r();return-1===t.indexOf(o)&&t.push(o),o.then((function(){return n(o)})).then(null,(function(){return n(o).then(null,(function(){}))})),o},drain:function(e){return new Pg((function(n,r){var o=t.length;if(!o)return n(!0);var i=setTimeout((function(){e&&e>0&&n(!1)}),e);t.forEach((function(e){Ag(e).then((function(){--o||(clearTimeout(i),n(!0))}),r)}))}))}}}function Rg(e){if(!e)return{};var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}}var Dg=["fatal","error","warning","log","info","debug"];var Lg={nowSeconds:function(){return Date.now()/1e3}};var Mg=tm()?function(){try{return nm(Gr,"perf_hooks").performance}catch(eF){return}}():function(){var e=om().performance;if(e&&e.now)return{now:function(){return e.now()},timeOrigin:Date.now()-e.now()}}(),Ng=void 0===Mg?Lg:{nowSeconds:function(){return(Mg.timeOrigin+Mg.now())/1e3}},Fg=Lg.nowSeconds.bind(Lg),Ig=Ng.nowSeconds.bind(Ng),jg=Ig,zg=function(){var e=om().performance;if(e&&e.now){var t=36e5,n=e.now(),r=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,i=o<t,a=e.timing&&e.timing.navigationStart,u="number"==typeof a?Math.abs(a+n-r):t;return i||u<t?o<=u?e.timeOrigin:a:r}}(),Bg=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Ug(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[e,t]}function Vg(e,t){var n=$r(e,2),r=n[0],o=n[1];return[r,[].concat(Wr(o),[t])]}function Hg(e,t){e[1].forEach((function(e){var n=e[0].type;t(e,n)}))}function qg(e,t){return(t||new TextEncoder).encode(e)}function Yg(e,t){var n=$r(e,2),r=n[0],o=n[1],i=JSON.stringify(r);function a(e){"string"==typeof i?i="string"==typeof e?i+e:[qg(i,t),e]:i.push("string"==typeof e?qg(e,t):e)}var u,s=vo(o);try{for(s.s();!(u=s.n()).done;){var l=$r(u.value,2),c=l[0],f=l[1];a("\n".concat(JSON.stringify(c),"\n")),a("string"==typeof f||f instanceof Uint8Array?f:JSON.stringify(f))}}catch(d){s.e(d)}finally{s.f()}return"string"==typeof i?i:function(e){var t,n=e.reduce((function(e,t){return e+t.length}),0),r=new Uint8Array(n),o=0,i=vo(e);try{for(i.s();!(t=i.n()).done;){var a=t.value;r.set(a,o),o+=a.length}}catch(d){i.e(d)}finally{i.f()}return r}(i)}function Gg(e,t){var n="string"==typeof e.data?qg(e.data,t):e.data;return[Vm({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}var Wg={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function Kg(e){return Wg[e]}function Xg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),n=parseInt("".concat(e),10);if(!isNaN(n))return 1e3*n;var r=Date.parse("".concat(e));return isNaN(r)?6e4:r-t}function Zg(e,t){return e[t]||e.all||0}function Qg(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();return Zg(e,t)>n}function $g(e,t){var n=t.statusCode,r=t.headers,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),i=Zr({},e),a=r&&r["x-sentry-rate-limits"],u=r&&r["retry-after"];if(a){var s,l=vo(a.trim().split(","));try{for(l.s();!(s=l.n()).done;){var c=s.value,f=c.split(":",2),d=$r(f,2),p=d[0],h=d[1],v=parseInt(p,10),m=1e3*(isNaN(v)?60:v);if(h){var g,y=vo(h.split(";"));try{for(y.s();!(g=y.n()).done;){var b=g.value;i[b]=o+m}}catch(x){y.e(x)}finally{y.f()}}else i.all=o+m}}catch(x){l.e(x)}finally{l.f()}}else u?i.all=o+Xg(u,o):429===n&&(i.all=o+6e4);return i}var Jg="baggage",ey=/^sentry-/;function ty(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return[Zr({},e),t,n]}function ny(e){return e[0]}function ry(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e)&&!fm(e)||"number"==typeof e)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("[parseBaggageHeader] Received input value of incompatible type: ",ho(e),e),ty({},"");var n=(fm(e)?e:e.join(",")).split(",").map((function(e){return e.trim()})).filter((function(e){return""!==e&&(t||ey.test(e))}));return n.reduce((function(e,t){var n=$r(e,2),r=n[0],o=n[1],i=$r(t.split("="),2),a=i[0],u=i[1];if(ey.test(a)){var s=decodeURIComponent(a.split("-")[1]);return[Zr(Zr({},r),{},Qr({},s,decodeURIComponent(u))),o,!0]}return[r,""===o?t:"".concat(o,",").concat(t),!0]}),[{},"",!0])}function oy(e,t){if(!e&&!t)return"";var n=t&&ry(t,!0)||void 0,r=n&&n[1];return function(e){return Object.keys(e[0]).reduce((function(t,n){var r=e[0][n],o="".concat("sentry-").concat(encodeURIComponent(n),"=").concat(encodeURIComponent(r)),i=""===t?o:"".concat(t,",").concat(o);return i.length>8192?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Not adding key: ".concat(n," with val: ").concat(r," to baggage due to exceeding baggage size limits.")),t):i}),e[1])}(ty(e&&e[0]||{},r||""))}function iy(e,t){var n=ry(e||"");return(t||!function(e){return 0===Object.keys(e[0]).length}(n))&&function(e){e[2]=!1}(n),n}function ay(e){var t=Ig(),n={sid:mg(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:function(){return function(e){return Vm({sid:"".concat(e.sid),init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?"".concat(e.did):void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)}};return e&&uy(n,e),n}function uy(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Ig(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:mg()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did="".concat(t.did)),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{var n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}var sy=function(){function e(){ro(this,e),this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}return no(e,[{key:"addScopeListener",value:function(e){this._scopeListeners.push(e)}},{key:"addEventProcessor",value:function(e){return this._eventProcessors.push(e),this}},{key:"setUser",value:function(e){return this._user=e||{},this._session&&uy(this._session,{user:e}),this._notifyScopeListeners(),this}},{key:"getUser",value:function(){return this._user}},{key:"getRequestSession",value:function(){return this._requestSession}},{key:"setRequestSession",value:function(e){return this._requestSession=e,this}},{key:"setTags",value:function(e){return this._tags=Zr(Zr({},this._tags),e),this._notifyScopeListeners(),this}},{key:"setTag",value:function(e,t){return this._tags=Zr(Zr({},this._tags),{},Qr({},e,t)),this._notifyScopeListeners(),this}},{key:"setExtras",value:function(e){return this._extra=Zr(Zr({},this._extra),e),this._notifyScopeListeners(),this}},{key:"setExtra",value:function(e,t){return this._extra=Zr(Zr({},this._extra),{},Qr({},e,t)),this._notifyScopeListeners(),this}},{key:"setFingerprint",value:function(e){return this._fingerprint=e,this._notifyScopeListeners(),this}},{key:"setLevel",value:function(e){return this._level=e,this._notifyScopeListeners(),this}},{key:"setTransactionName",value:function(e){return this._transactionName=e,this._notifyScopeListeners(),this}},{key:"setContext",value:function(e,t){return null===t?delete this._contexts[e]:this._contexts=Zr(Zr({},this._contexts),{},Qr({},e,t)),this._notifyScopeListeners(),this}},{key:"setSpan",value:function(e){return this._span=e,this._notifyScopeListeners(),this}},{key:"getSpan",value:function(){return this._span}},{key:"getTransaction",value:function(){var e=this.getSpan();return e&&e.transaction}},{key:"setSession",value:function(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}},{key:"getSession",value:function(){return this._session}},{key:"update",value:function(t){if(!t)return this;if("function"==typeof t){var n=t(this);return n instanceof e?n:this}return t instanceof e?(this._tags=Zr(Zr({},this._tags),t._tags),this._extra=Zr(Zr({},this._extra),t._extra),this._contexts=Zr(Zr({},this._contexts),t._contexts),t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):pm(t)&&(this._tags=Zr(Zr({},this._tags),t.tags),this._extra=Zr(Zr({},this._extra),t.extra),this._contexts=Zr(Zr({},this._contexts),t.contexts),t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}},{key:"clear",value:function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}},{key:"addBreadcrumb",value:function(e,t){var n="number"==typeof t?Math.min(t,100):100;if(n<=0)return this;var r=Zr({timestamp:Fg()},e);return this._breadcrumbs=[].concat(Wr(this._breadcrumbs),[r]).slice(-n),this._notifyScopeListeners(),this}},{key:"clearBreadcrumbs",value:function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}},{key:"addAttachment",value:function(e){return this._attachments.push(e),this}},{key:"getAttachments",value:function(){return this._attachments}},{key:"clearAttachments",value:function(){return this._attachments=[],this}},{key:"applyToEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._extra&&Object.keys(this._extra).length&&(e.extra=Zr(Zr({},this._extra),e.extra)),this._tags&&Object.keys(this._tags).length&&(e.tags=Zr(Zr({},this._tags),e.tags)),this._user&&Object.keys(this._user).length&&(e.user=Zr(Zr({},this._user),e.user)),this._contexts&&Object.keys(this._contexts).length&&(e.contexts=Zr(Zr({},this._contexts),e.contexts)),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts=Zr({trace:this._span.getTraceContext()},e.contexts);var n=this._span.transaction&&this._span.transaction.name;n&&(e.tags=Zr({transaction:n},e.tags))}return this._applyFingerprint(e),e.breadcrumbs=[].concat(Wr(e.breadcrumbs||[]),Wr(this._breadcrumbs)),e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,e.sdkProcessingMetadata=Zr(Zr({},e.sdkProcessingMetadata),this._sdkProcessingMetadata),this._notifyEventProcessors([].concat(Wr(ly()),Wr(this._eventProcessors)),e,t)}},{key:"setSDKProcessingMetadata",value:function(e){return this._sdkProcessingMetadata=Zr(Zr({},this._sdkProcessingMetadata),e),this}},{key:"_notifyEventProcessors",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new Pg((function(i,a){var u=e[o];if(null===t||"function"!=typeof u)i(t);else{var s=u(Zr({},t),n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.id&&null===s&&km.log('Event processor "'.concat(u.id,'" dropped event')),vm(s)?s.then((function(t){return r._notifyEventProcessors(e,t,n,o+1).then(i)})).then(null,a):r._notifyEventProcessors(e,s,n,o+1).then(i).then(null,a)}}))}},{key:"_notifyScopeListeners",value:function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(t){t(e)})),this._notifyingListeners=!1)}},{key:"_applyFingerprint",value:function(e){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}}],[{key:"clone",value:function(t){var n=new e;return t&&(n._breadcrumbs=Wr(t._breadcrumbs),n._tags=Zr({},t._tags),n._extra=Zr({},t._extra),n._contexts=Zr({},t._contexts),n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=Wr(t._eventProcessors),n._requestSession=t._requestSession,n._attachments=Wr(t._attachments)),n}}]),e}();function ly(){return im("globalEventProcessors",(function(){return[]}))}function cy(e){ly().push(e)}var fy=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new sy,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;ro(this,e),this._version=r,e.prototype.__init.call(this),this.getStackTop().scope=n,t&&this.bindClient(t)}return no(e,[{key:"__init",value:function(){this._stack=[{}]}},{key:"isOlderThan",value:function(e){return this._version<e}},{key:"bindClient",value:function(e){this.getStackTop().client=e,e&&e.setupIntegrations&&e.setupIntegrations()}},{key:"pushScope",value:function(){var e=sy.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e}},{key:"popScope",value:function(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}},{key:"withScope",value:function(e){var t=this.pushScope();try{e(t)}finally{this.popScope()}}},{key:"getClient",value:function(){return this.getStackTop().client}},{key:"getScope",value:function(){return this.getStackTop().scope}},{key:"getStack",value:function(){return this._stack}},{key:"getStackTop",value:function(){return this._stack[this._stack.length-1]}},{key:"captureException",value:function(e,t){var n=this._lastEventId=t&&t.event_id?t.event_id:mg(),r=new Error("Sentry syntheticException");return this._withClient((function(o,i){o.captureException(e,Zr(Zr({originalException:e,syntheticException:r},t),{},{event_id:n}),i)})),n}},{key:"captureMessage",value:function(e,t,n){var r=this._lastEventId=n&&n.event_id?n.event_id:mg(),o=new Error(e);return this._withClient((function(i,a){i.captureMessage(e,t,Zr(Zr({originalException:e,syntheticException:o},n),{},{event_id:r}),a)})),r}},{key:"captureEvent",value:function(e,t){var n=t&&t.event_id?t.event_id:mg();return"transaction"!==e.type&&(this._lastEventId=n),this._withClient((function(r,o){r.captureEvent(e,Zr(Zr({},t),{},{event_id:n}),o)})),n}},{key:"lastEventId",value:function(){return this._lastEventId}},{key:"addBreadcrumb",value:function(e,t){var n=this.getStackTop(),r=n.scope,o=n.client;if(r&&o){var i=o.getOptions&&o.getOptions()||{},a=i.beforeBreadcrumb,u=void 0===a?null:a,s=i.maxBreadcrumbs,l=void 0===s?100:s;if(!(l<=0)){var c=Zr({timestamp:Fg()},e),f=u?Pm((function(){return u(c,t)})):c;null!==f&&r.addBreadcrumb(f,l)}}}},{key:"setUser",value:function(e){var t=this.getScope();t&&t.setUser(e)}},{key:"setTags",value:function(e){var t=this.getScope();t&&t.setTags(e)}},{key:"setExtras",value:function(e){var t=this.getScope();t&&t.setExtras(e)}},{key:"setTag",value:function(e,t){var n=this.getScope();n&&n.setTag(e,t)}},{key:"setExtra",value:function(e,t){var n=this.getScope();n&&n.setExtra(e,t)}},{key:"setContext",value:function(e,t){var n=this.getScope();n&&n.setContext(e,t)}},{key:"configureScope",value:function(e){var t=this.getStackTop(),n=t.scope,r=t.client;n&&r&&e(n)}},{key:"run",value:function(e){var t=py(this);try{e(this)}finally{py(t)}}},{key:"getIntegration",value:function(e){var t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(n){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Cannot retrieve integration ".concat(e.id," from the current Hub")),null}}},{key:"startTransaction",value:function(e,t){return this._callExtensionMethod("startTransaction",e,t)}},{key:"traceHeaders",value:function(){return this._callExtensionMethod("traceHeaders")}},{key:"captureSession",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e)return this.endSession();this._sendSessionUpdate()}},{key:"endSession",value:function(){var e=this.getStackTop(),t=e&&e.scope,n=t&&t.getSession();n&&function(e,t){var n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),uy(e,n)}(n),this._sendSessionUpdate(),t&&t.setSession()}},{key:"startSession",value:function(e){var t=this.getStackTop(),n=t.scope,r=t.client,o=r&&r.getOptions()||{},i=o.release,a=o.environment,u=(om().navigator||{}).userAgent,s=ay(Zr(Zr(Zr({release:i,environment:a},n&&{user:n.getUser()}),u&&{userAgent:u}),e));if(n){var l=n.getSession&&n.getSession();l&&"ok"===l.status&&uy(l,{status:"exited"}),this.endSession(),n.setSession(s)}return s}},{key:"shouldSendDefaultPii",value:function(){var e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}},{key:"_sendSessionUpdate",value:function(){var e=this.getStackTop(),t=e.scope,n=e.client;if(t){var r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}}},{key:"_withClient",value:function(e){var t=this.getStackTop(),n=t.scope,r=t.client;r&&e(r,n)}},{key:"_callExtensionMethod",value:function(e){var t=dy(),n=t.__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[e]){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return n.extensions[e].apply(this,o)}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Extension method ".concat(e," couldn't be found, doing nothing."))}}]),e}();function dy(){var e=om();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function py(e){var t=dy(),n=my(t);return gy(t,e),n}function hy(){var e=dy();return vy(e)&&!my(e).isOlderThan(4)||gy(e,new fy),tm()?function(e){try{var t=dy().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return my(e);if(!vy(n)||my(n).isOlderThan(4)){var r=my(e).getStackTop();gy(n,new fy(r.client,sy.clone(r.scope)))}return my(n)}catch(o){return my(e)}}(e):my(e)}function vy(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function my(e){return im("hub",(function(){return new fy}),e)}function gy(e,t){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0)}function yy(e,t){return hy().captureException(e,{captureContext:t})}function by(e){hy().withScope(e)}function xy(e){return"".concat(function(e){var t=e.protocol?"".concat(e.protocol,":"):"",n=e.port?":".concat(e.port):"";return"".concat(t,"//").concat(e.host).concat(n).concat(e.path?"/".concat(e.path):"","/api/")}(e)).concat(e.projectId,"/envelope/")}function wy(e,t){return n=Zr({sentry_key:e.publicKey,sentry_version:"7"},t&&{sentry_client:"".concat(t.name,"/").concat(t.version)}),Object.keys(n).map((function(e){return"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(n[e]))})).join("&");var n}function _y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="string"==typeof t?t:t.tunnel,r="string"!=typeof t&&t._metadata?t._metadata.sdk:void 0;return n||"".concat(xy(e),"?").concat(wy(e,r))}function Ey(e){if(e&&e.sdk){var t=e.sdk;return{name:t.name,version:t.version}}}function Sy(e,t,n,r){var o=Ey(n),i=e.type||"event",a=(e.sdkProcessingMetadata||{}).transactionSampling||{},u=a.method,s=a.rate;!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[].concat(Wr(e.sdk.integrations||[]),Wr(t.integrations||[])),e.sdk.packages=[].concat(Wr(e.sdk.packages||[]),Wr(t.packages||[])))}(e,n&&n.sdk);var l=function(e,t,n,r){var o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baggage,i=o&&ny(o);return Zr(Zr(Zr({event_id:e.event_id,sent_at:(new Date).toISOString()},t&&{sdk:t}),!!n&&{dsn:_m(r)}),"transaction"===e.type&&i&&{trace:Vm(Zr({},i))})}(e,o,r,t);return delete e.sdkProcessingMetadata,Ug(l,[[{type:i,sample_rates:[{id:u,rate:s}]},e]])}var ky=[];function Cy(e){return e.reduce((function(e,t){return e.every((function(e){return t.name!==e.name}))&&e.push(t),e}),[])}function Ay(e){var t=e.defaultIntegrations&&Wr(e.defaultIntegrations)||[],n=e.integrations,r=Wr(Cy(t));Array.isArray(n)?r=[].concat(Wr(r.filter((function(e){return n.every((function(t){return t.name!==e.name}))}))),Wr(Cy(n))):"function"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var o,i=r.map((function(e){return e.name})),a="Debug";-1!==i.indexOf(a)&&(o=r).push.apply(o,Wr(r.splice(i.indexOf(a),1)));return r}var Ty="Not capturing exception because it's already been captured.",Py=function(){function e(t){if(ro(this,e),e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),this._options=t,t.dsn){this._dsn=Sm(t.dsn);var n=_y(this._dsn,t);this._transport=t.transport(Zr(Zr({recordDroppedEvent:this.recordDroppedEvent.bind(this)},t.transportOptions),{},{url:n}))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("No DSN provided, client will not do anything.")}return no(e,[{key:"__init",value:function(){this._integrations={}}},{key:"__init2",value:function(){this._integrationsInitialized=!1}},{key:"__init3",value:function(){this._numProcessing=0}},{key:"__init4",value:function(){this._outcomes={}}},{key:"captureException",value:function(e,t,n){var r=this;if(!wg(e)){var o=t&&t.event_id;return this._process(this.eventFromException(e,t).then((function(e){return r._captureEvent(e,t,n)})).then((function(e){o=e}))),o}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log(Ty)}},{key:"captureMessage",value:function(e,t,n,r){var o=this,i=n&&n.event_id,a=dm(e)?this.eventFromMessage(String(e),t,n):this.eventFromException(e,n);return this._process(a.then((function(e){return o._captureEvent(e,n,r)})).then((function(e){i=e}))),i}},{key:"captureEvent",value:function(e,t,n){if(!(t&&t.originalException&&wg(t.originalException))){var r=t&&t.event_id;return this._process(this._captureEvent(e,t,n).then((function(e){r=e}))),r}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log(Ty)}},{key:"captureSession",value:function(e){this._isEnabled()?"string"!=typeof e.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),uy(e,{init:!1})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("SDK not enabled, will not capture session.")}},{key:"getDsn",value:function(){return this._dsn}},{key:"getOptions",value:function(){return this._options}},{key:"getTransport",value:function(){return this._transport}},{key:"flush",value:function(e){var t=this._transport;return t?this._isClientDoneProcessing(e).then((function(n){return t.flush(e).then((function(e){return n&&e}))})):Ag(!0)}},{key:"close",value:function(e){var t=this;return this.flush(e).then((function(e){return t.getOptions().enabled=!1,e}))}},{key:"setupIntegrations",value:function(){var e,t;this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=(e=this._options.integrations,t={},e.forEach((function(e){t[e.name]=e,-1===ky.indexOf(e.name)&&(e.setupOnce(cy,hy),ky.push(e.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("Integration installed: ".concat(e.name)))})),t),this._integrationsInitialized=!0)}},{key:"getIntegrationById",value:function(e){return this._integrations[e]}},{key:"getIntegration",value:function(e){try{return this._integrations[e.id]||null}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Cannot retrieve integration ".concat(e.id," from the current Client")),null}}},{key:"sendEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._dsn){var n,r=Sy(e,this._dsn,this._options._metadata,this._options.tunnel),o=vo(t.attachments||[]);try{for(o.s();!(n=o.n()).done;){var i=n.value;r=Vg(r,Gg(i,this._options.transportOptions&&this._options.transportOptions.textEncoder))}}catch(a){o.e(a)}finally{o.f()}this._sendEnvelope(r)}}},{key:"sendSession",value:function(e){if(this._dsn){var t=function(e,t,n,r){var o=Ey(n);return Ug(Zr(Zr({sent_at:(new Date).toISOString()},o&&{sdk:o}),!!r&&{dsn:_m(t)}),["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}}},{key:"recordDroppedEvent",value:function(e,t){if(this._options.sendClientReports){var n="".concat(e,":").concat(t);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log('Adding outcome: "'.concat(n,'"')),this._outcomes[n]=this._outcomes[n]+1||1}}},{key:"_updateSessionFromEvent",value:function(e,t){var n=!1,r=!1,o=t.exception&&t.exception.values;if(o){r=!0;var i,a=vo(o);try{for(a.s();!(i=a.n()).done;){var u=i.value.mechanism;if(u&&!1===u.handled){n=!0;break}}}catch(l){a.e(l)}finally{a.f()}}var s="ok"===e.status;(s&&0===e.errors||s&&n)&&(uy(e,Zr(Zr({},n&&{status:"crashed"}),{},{errors:e.errors||Number(r||n)})),this.captureSession(e))}},{key:"_isClientDoneProcessing",value:function(e){var t=this;return new Pg((function(n){var r=0,o=setInterval((function(){0==t._numProcessing?(clearInterval(o),n(!0)):(r+=1,e&&r>=e&&(clearInterval(o),n(!1)))}),1)}))}},{key:"_isEnabled",value:function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}},{key:"_prepareEvent",value:function(e,t,n){var r=this,o=this.getOptions(),i=o.normalizeDepth,a=void 0===i?3:i,u=o.normalizeMaxBreadth,s=void 0===u?1e3:u,l=Zr(Zr({},e),{},{event_id:e.event_id||t.event_id||mg(),timestamp:e.timestamp||Fg()});this._applyClientOptions(l),this._applyIntegrationsMetadata(l);var c=n;t.captureContext&&(c=sy.clone(c).update(t.captureContext));var f=Ag(l);if(c){var d=[].concat(Wr(t.attachments||[]),Wr(c.getAttachments()));d.length&&(t.attachments=d),f=c.applyToEvent(l,t)}return f.then((function(e){return"number"==typeof a&&a>0?r._normalizeEvent(e,a,s):e}))}},{key:"_normalizeEvent",value:function(e,t,n){if(!e)return null;var r=Zr(Zr(Zr(Zr(Zr({},e),e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((function(e){return Zr(Zr({},e),e.data&&{data:_g(e.data,t,n)})}))}),e.user&&{user:_g(e.user,t,n)}),e.contexts&&{contexts:_g(e.contexts,t,n)}),e.extra&&{extra:_g(e.extra,t,n)});return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=_g(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map((function(e){return e.data&&(e.data=_g(e.data,t,n)),e}))),r}},{key:"_applyClientOptions",value:function(e){var t=this.getOptions(),n=t.environment,r=t.release,o=t.dist,i=t.maxValueLength,a=void 0===i?250:i;"environment"in e||(e.environment="environment"in t?n:"production"),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==o&&(e.dist=o),e.message&&(e.message=Rm(e.message,a));var u=e.exception&&e.exception.values&&e.exception.values[0];u&&u.value&&(u.value=Rm(u.value,a));var s=e.request;s&&s.url&&(s.url=Rm(s.url,a))}},{key:"_applyIntegrationsMetadata",value:function(e){var t=Object.keys(this._integrations);t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[].concat(Wr(e.sdk.integrations||[]),t))}},{key:"_captureEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return this._processEvent(e,t,n).then((function(e){return e.event_id}),(function(e){if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){var t=e;"log"===t.logLevel?km.log(t.message):km.warn(t)}}))}},{key:"_processEvent",value:function(e,t,n){var r=this,o=this.getOptions(),i=o.beforeSend,a=o.sampleRate;if(!this._isEnabled())return Tg(new xm("SDK not enabled, will not capture event.","log"));var u="transaction"===e.type;return!u&&"number"==typeof a&&Math.random()>a?(this.recordDroppedEvent("sample_rate","error"),Tg(new xm("Discarding event because it's not included in the random sample (sampling rate = ".concat(a,")"),"log"))):this._prepareEvent(e,t,n).then((function(n){if(null===n)throw r.recordDroppedEvent("event_processor",e.type||"error"),new xm("An event processor returned null, will not send event.","log");return t.data&&!0===t.data.__sentry__||u||!i?n:function(e){var t="`beforeSend` method has to return `null` or a valid event.";if(vm(e))return e.then((function(e){if(!pm(e)&&null!==e)throw new xm(t);return e}),(function(e){throw new xm("beforeSend rejected with ".concat(e))}));if(!pm(e)&&null!==e)throw new xm(t);return e}(i(n,t))})).then((function(o){if(null===o)throw r.recordDroppedEvent("before_send",e.type||"error"),new xm("`beforeSend` returned `null`, will not send event.","log");var i=n&&n.getSession();return!u&&i&&r._updateSessionFromEvent(i,o),r.sendEvent(o,t),o})).then(null,(function(e){if(e instanceof xm)throw e;throw r.captureException(e,{data:{__sentry__:!0},originalException:e}),new xm("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ".concat(e))}))}},{key:"_process",value:function(e){var t=this;this._numProcessing+=1,e.then((function(e){return t._numProcessing-=1,e}),(function(e){return t._numProcessing-=1,e}))}},{key:"_sendEnvelope",value:function(e){this._transport&&this._dsn?this._transport.send(e).then(null,(function(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.error("Error while sending event:",e)})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.error("Transport disabled")}},{key:"_clearOutcomes",value:function(){var e=this._outcomes;return this._outcomes={},Object.keys(e).map((function(t){var n=$r(t.split(":"),2);return{reason:n[0],category:n[1],quantity:e[t]}}))}}]),e}();function Oy(e,t){!0===t.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?km.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=hy(),r=n.getScope();r&&r.update(t.initialScope);var o=new e(t);n.bindClient(o)}function Ry(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Og(e.bufferSize||30),r={},o=function(e){return n.drain(e)};function i(o){var i=[];if(Hg(o,(function(t,n){var o=Kg(n);Qg(r,o)?e.recordDroppedEvent("ratelimit_backoff",o):i.push(t)})),0===i.length)return Ag();var a=Ug(o[0],i),u=function(t){Hg(a,(function(n,r){e.recordDroppedEvent(t,Kg(r))}))};return n.add((function(){return t({body:Yg(a,e.textEncoder)}).then((function(e){void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Sentry responded with status code ".concat(e.statusCode," to sent event.")),r=$g(r,e)}),(function(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.error("Failed while sending event:",e),u("network_error")}))})).then((function(e){return e}),(function(e){if(e instanceof xm)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.error("Skipped sending event due to full buffer"),u("queue_overflow"),Ag();throw e}))}return{send:i,flush:o}}var Dy,Ly="7.11.1",My=function(){function e(){ro(this,e),e.prototype.__init.call(this)}return no(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){Dy=Function.prototype.toString,Function.prototype.toString=function(){for(var e=Im(this)||this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Dy.apply(e,n)}}}],[{key:"__initStatic",value:function(){this.id="FunctionToString"}}]),e}();My.__initStatic();var Ny=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Fy=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ro(this,e),this._options=t,e.prototype.__init.call(this)}return no(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(t,n){var r=function(t){var r=n();if(r){var o=r.getIntegration(e);if(o){var i=r.getClient(),a=i?i.getOptions():{},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{allowUrls:[].concat(Wr(e.allowUrls||[]),Wr(t.allowUrls||[])),denyUrls:[].concat(Wr(e.denyUrls||[]),Wr(t.denyUrls||[])),ignoreErrors:[].concat(Wr(e.ignoreErrors||[]),Wr(t.ignoreErrors||[]),Ny),ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(o._options,a);return function(e,t){if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(Lw){}return!1}(e))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Event dropped due to being internal Sentry Error.\nEvent: ".concat(yg(e))),!0;if(function(e,t){if(!t||!t.length)return!1;return function(e){if(e.message)return[e.message];if(e.exception)try{var t=e.exception.values&&e.exception.values[0]||{},n=t.type,r=void 0===n?"":n,o=t.value,i=void 0===o?"":o;return["".concat(i),"".concat(r,": ").concat(i)]}catch(a){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.error("Cannot extract message for event ".concat(yg(e))),[]}return[]}(e).some((function(e){return t.some((function(t){return Lm(e,t)}))}))}(e,t.ignoreErrors))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: ".concat(yg(e))),!0;if(function(e,t){if(!t||!t.length)return!1;var n=Iy(e);return!!n&&t.some((function(e){return Lm(n,e)}))}(e,t.denyUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: ".concat(yg(e),".\nUrl: ").concat(Iy(e))),!0;if(!function(e,t){if(!t||!t.length)return!0;var n=Iy(e);return!n||t.some((function(e){return Lm(n,e)}))}(e,t.allowUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: ".concat(yg(e),".\nUrl: ").concat(Iy(e))),!0;return!1}(t,u)?null:t}}return t};r.id=this.name,t(r)}}],[{key:"__initStatic",value:function(){this.id="InboundFilters"}}]),e}();function Iy(e){try{var t;try{t=e.exception.values[0].stacktrace.frames}catch(Lw){}return t?function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.length-1;t>=0;t--){var n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(n){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.error("Cannot extract url for event ".concat(yg(e))),null}}function jy(e,t){var n=By(e,t),r={type:t&&t.name,value:Vy(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function zy(e,t){return{exception:{values:[jy(e,t)]}}}function By(e,t){var n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(Uy.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(Lw){}return[]}Fy.__initStatic();var Uy=/Minified React error #\d+;/i;function Vy(e){var t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function Hy(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=r&&r.syntheticException||void 0,a=Yy(e,t,i,o);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),Ag(a)}function qy(e,t,n,r,o){var i;if(lm(t)&&t.error)return zy(e,t.error);if(cm(t)||sm(t,"DOMException")){var a=t;if("stack"in t)i=zy(e,t);else{var u=a.name||(cm(a)?"DOMError":"DOMException"),s=a.message?"".concat(u,": ").concat(a.message):u;bg(i=Yy(e,s,n,r),s)}return"code"in a&&(i.tags=Zr(Zr({},i.tags),{},{"DOMException.code":"".concat(a.code)})),i}return um(t)?zy(e,t):pm(t)||hm(t)?(i=function(e,t,n,r){var o={exception:{values:[{type:hm(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:"Non-Error ".concat(r?"promise rejection":"exception"," captured with keys: ").concat(Um(t))}]},extra:{__serialized__:Eg(t)}};if(n){var i=By(e,n);i.length&&(o.exception.values[0].stacktrace={frames:i})}return o}(e,t,n,o),xg(i,{synthetic:!0}),i):(bg(i=Yy(e,t,n,r),"".concat(t),void 0),xg(i,{synthetic:!0}),i)}function Yy(e,t,n,r){var o={message:t};if(r&&n){var i=By(e,n);i.length&&(o.exception={values:[{value:t,stacktrace:{frames:i}}]})}return o}var Gy="Breadcrumbs",Wy=function(){function e(t){ro(this,e),e.prototype.__init.call(this),this.options=Zr({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}return no(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){this.options.console&&rg("console",Ky),this.options.dom&&rg("dom",function(e){function t(t){var n,r="object"===ho(e)?e.serializeAttribute:void 0;"string"==typeof r&&(r=[r]);try{n=t.event.target?ym(t.event.target,r):ym(t.event,r)}catch(Lw){n="<unknown>"}0!==n.length&&hy().addBreadcrumb({category:"ui.".concat(t.name),message:n},{event:t.event,name:t.name,global:t.global})}return t}(this.options.dom)),this.options.xhr&&rg("xhr",Xy),this.options.fetch&&rg("fetch",Zy),this.options.history&&rg("history",Qy)}}],[{key:"__initStatic",value:function(){this.id=Gy}}]),e}();function Ky(e){var t,n={category:"console",data:{arguments:e.args,logger:"console"},level:(t=e.level,"warn"===t?"warning":Dg.includes(t)?t:"log"),message:Dm(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;n.message="Assertion failed: ".concat(Dm(e.args.slice(1)," ")||"console.assert"),n.data.arguments=e.args.slice(1)}hy().addBreadcrumb(n,{input:e.args,level:e.level})}function Xy(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;var t=e.xhr.__sentry_xhr__||{},n=t.method,r=t.url,o=t.status_code,i=t.body;hy().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:o},type:"http"},{xhr:e.xhr,input:i})}else;}function Zy(e){e.endTimestamp&&(e.fetchData.url.match(/sentry_key/)&&"POST"===e.fetchData.method||(e.error?hy().addBreadcrumb({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args}):hy().addBreadcrumb({category:"fetch",data:Zr(Zr({},e.fetchData),{},{status_code:e.response.status}),type:"http"},{input:e.args,response:e.response})))}function Qy(e){var t=om(),n=e.from,r=e.to,o=Rg(t.location.href),i=Rg(n),a=Rg(r);i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),hy().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}Wy.__initStatic();var $y,Jy=om();function eb(){if($y)return $y;if(Qm(Jy.fetch))return $y=Jy.fetch.bind(Jy);var e=Jy.document,t=Jy.fetch;if(e&&"function"==typeof e.createElement)try{var n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(Lw){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",Lw)}return $y=t.bind(Jy)}var tb=om(),nb=function(e){oo(n,e);var t=io(n);function n(e){var r;return ro(this,n),e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:Ly}],version:Ly},r=t.call(this,e),e.sendClientReports&&tb.document&&tb.document.addEventListener("visibilitychange",(function(){"hidden"===tb.document.visibilityState&&r._flushOutcomes()})),r}return no(n,[{key:"eventFromException",value:function(e,t){return function(e,t,n,r){var o=qy(e,t,n&&n.syntheticException||void 0,r);return xg(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),Ag(o)}(this._options.stackParser,e,t,this._options.attachStacktrace)}},{key:"eventFromMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info",n=arguments.length>2?arguments[2]:void 0;return Hy(this._options.stackParser,e,t,n,this._options.attachStacktrace)}},{key:"sendEvent",value:function(e,t){var r=this.getIntegrationById(Gy);r&&r.options&&r.options.sentry&&hy().addBreadcrumb({category:"sentry.".concat("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:yg(e)},{event:e}),Yr(po(n.prototype),"sendEvent",this).call(this,e,t)}},{key:"_prepareEvent",value:function(e,t,r){return e.platform=e.platform||"javascript",Yr(po(n.prototype),"_prepareEvent",this).call(this,e,t,r)}},{key:"_flushOutcomes",value:function(){var e=this._clearOutcomes();if(0!==e.length)if(this._dsn){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("Sending outcomes:",e);var t,n,r,o=_y(this._dsn,this._options),i=(t=e,Ug((n=this._options.tunnel&&_m(this._dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:r||Fg(),discarded_events:t}]]));try{!function(e,t){"[object Navigator]"===Object.prototype.toString.call(Jy&&Jy.navigator)&&"function"==typeof Jy.navigator.sendBeacon?Jy.navigator.sendBeacon.bind(Jy.navigator)(e,t):Zm()&&eb()(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,(function(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.error(e)}))}(o,Yg(i))}catch(Lw){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.error(Lw)}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("No dsn provided, will not send outcomes");else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("No outcomes to send")}}]),n}(Py);function rb(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eb();function n(n){var r=Zr({body:n.body,method:"POST",referrerPolicy:"origin",headers:e.headers},e.fetchOptions);return t(e.url,r).then((function(e){return{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}}))}return Ry(e,n)}function ob(e){return Ry(e,(function(t){return new Pg((function(n,r){var o=new XMLHttpRequest;for(var i in o.onerror=r,o.onreadystatechange=function(){4===o.readyState&&n({statusCode:o.status,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")}})},o.open("POST",e.url),e.headers)Object.prototype.hasOwnProperty.call(e.headers,i)&&o.setRequestHeader(i,e.headers[i]);o.send(t.body)}))}))}var ib="?";function ab(e,t,n,r){var o={filename:e,function:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}var ub=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,sb=/\((\S*)(?::(\d+))(?::(\d+))\)/,lb=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,cb=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,fb=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,db=[[30,function(e){var t=ub.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){var n=sb.exec(t[2]);n&&(t[2]=n[1],t[3]=n[2],t[4]=n[3])}var r=$r(hb(t[1]||ib,t[2]),2),o=r[0];return ab(r[1],o,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],[50,function(e){var t=lb.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){var n=cb.exec(t[3]);n&&(t[1]=t[1]||"eval",t[3]=n[1],t[4]=n[2],t[5]="")}var r=t[3],o=t[1]||ib,i=$r(hb(o,r),2);return o=i[0],ab(r=i[1],o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],[40,function(e){var t=fb.exec(e);return t?ab(t[2],t[1]||ib,+t[3],t[4]?+t[4]:void 0):void 0}]],pb=Ym.apply(void 0,db),hb=function(e,t){var n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:ib,n?"safari-extension:".concat(t):"safari-web-extension:".concat(t)]:[e,t]},vb=0;function mb(){return vb>0}function gb(){vb+=1,setTimeout((function(){vb-=1}))}function yb(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if("function"!=typeof e)return e;try{var r=e.__sentry_wrapped__;if(r)return r;if(Im(e))return e}catch(Lw){return e}var o=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var o=r.map((function(e){return yb(e,t)}));return e.apply(this,o)}catch(i){throw gb(),by((function(e){e.addEventProcessor((function(e){return t.mechanism&&(bg(e,void 0,void 0),xg(e,t.mechanism)),e.extra=Zr(Zr({},e.extra),{},{arguments:r}),e})),yy(i)})),i}};try{for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e[i])}catch(u){}Fm(o,e),Nm(e,"__sentry_wrapped__",o);try{var a=Object.getOwnPropertyDescriptor(o,"name");a.configurable&&Object.defineProperty(o,"name",{get:function(){return e.name}})}catch(u){}return o}var bb=function(){function e(t){ro(this,e),e.prototype.__init.call(this),e.prototype.__init2.call(this),this._options=Zr({onerror:!0,onunhandledrejection:!0},t)}return no(e,[{key:"__init",value:function(){this.name=e.id}},{key:"__init2",value:function(){this._installFunc={onerror:xb,onunhandledrejection:wb}}},{key:"setupOnce",value:function(){Error.stackTraceLimit=50;var e,t=this._options;for(var n in t){var r=this._installFunc[n];r&&t[n]&&(e=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("Global Handler attached: ".concat(e)),r(),this._installFunc[n]=void 0)}}}],[{key:"__initStatic",value:function(){this.id="GlobalHandlers"}}]),e}();function xb(){rg("error",(function(e){var t=$r(Sb(),3),n=t[0],r=t[1],o=t[2];if(n.getIntegration(bb)){var i=e.msg,a=e.url,u=e.line,s=e.column,l=e.error;if(!(mb()||l&&l.__sentry_own_request__)){var c=void 0===l&&fm(i)?function(e,t,n,r){var o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,i=lm(e)?e.message:e,a="Error",u=i.match(o);u&&(a=u[1],i=u[2]);return _b({exception:{values:[{type:a,value:i}]}},t,n,r)}(i,a,u,s):_b(qy(r,l||i,void 0,o,!1),a,u,s);c.level="error",Eb(n,l,c,"onerror")}}}))}function wb(){rg("unhandledrejection",(function(e){var t=$r(Sb(),3),n=t[0],r=t[1],o=t[2];if(n.getIntegration(bb)){var i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch(u){}if(mb()||i&&i.__sentry_own_request__)return!0;var a=dm(i)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: ".concat(String(i))}]}}:qy(r,i,void 0,o,!0);a.level="error",Eb(n,i,a,"onunhandledrejection")}}))}function _b(e,t,n,r){var o=e.exception=e.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},u=a.stacktrace=a.stacktrace||{},s=u.frames=u.frames||[],l=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,f=fm(t)&&t.length>0?t:function(){var e=om();try{return e.document.location.href}catch(t){return""}}();return 0===s.length&&s.push({colno:l,filename:f,function:"?",in_app:!0,lineno:c}),e}function Eb(e,t,n,r){xg(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function Sb(){var e=hy(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:function(){return[]},attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}bb.__initStatic();var kb=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Cb=function(){function e(t){ro(this,e),e.prototype.__init.call(this),this._options=Zr({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t)}return no(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){var e=om();this._options.setTimeout&&Mm(e,"setTimeout",Ab),this._options.setInterval&&Mm(e,"setInterval",Ab),this._options.requestAnimationFrame&&Mm(e,"requestAnimationFrame",Tb),this._options.XMLHttpRequest&&"XMLHttpRequest"in e&&Mm(XMLHttpRequest.prototype,"send",Pb);var t=this._options.eventTarget;t&&(Array.isArray(t)?t:kb).forEach(Ob)}}],[{key:"__initStatic",value:function(){this.id="TryCatch"}}]),e}();function Ab(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0];return n[0]=yb(o,{mechanism:{data:{function:Xm(e)},handled:!0,type:"instrument"}}),e.apply(this,n)}}function Tb(e){return function(t){return e.apply(this,[yb(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Xm(e)},handled:!0,type:"instrument"}})])}}function Pb(e){return function(){var t=this,n=["onload","onerror","onprogress","onreadystatechange"];n.forEach((function(e){e in t&&"function"==typeof t[e]&&Mm(t,e,(function(t){var n={mechanism:{data:{function:e,handler:Xm(t)},handled:!0,type:"instrument"}},r=Im(t);return r&&(n.mechanism.data.handler=Xm(r)),yb(t,n)}))}));for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e.apply(this,o)}}function Ob(e){var t=om(),n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Mm(n,"addEventListener",(function(t){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=yb(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Xm(r),target:e},handled:!0,type:"instrument"}}))}catch(i){}return t.apply(this,[n,yb(r,{mechanism:{data:{function:"addEventListener",handler:Xm(r),target:e},handled:!0,type:"instrument"}}),o])}})),Mm(n,"removeEventListener",(function(e){return function(t,n,r){var o=n;try{var i=o&&o.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch(Lw){}return e.call(this,t,o,r)}})))}Cb.__initStatic();var Rb="cause",Db=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ro(this,e),e.prototype.__init.call(this),this._key=t.key||Rb,this._limit=t.limit||5}return no(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){var t=hy().getClient();t&&cy((function(n,r){var o=hy().getIntegration(e);return o?function(e,t,n,r,o){if(!(r.exception&&r.exception.values&&o&&gm(o.originalException,Error)))return r;var i=Lb(e,n,o.originalException,t);return r.exception.values=[].concat(Wr(i),Wr(r.exception.values)),r}(t.getOptions().stackParser,o._key,o._limit,n,r):n}))}}],[{key:"__initStatic",value:function(){this.id="LinkedErrors"}}]),e}();function Lb(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];if(!gm(n[r],Error)||o.length+1>=t)return o;var i=jy(e,n[r]);return Lb(e,t,n[r],r,[i].concat(Wr(o)))}Db.__initStatic();var Mb=om(),Nb=function(){function e(){ro(this,e),e.prototype.__init.call(this)}return no(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){cy((function(t){if(hy().getIntegration(e)){if(!Mb.navigator&&!Mb.location&&!Mb.document)return t;var n=t.request&&t.request.url||Mb.location&&Mb.location.href,r=(Mb.document||{}).referrer,o=(Mb.navigator||{}).userAgent,i=Zr(Zr(Zr({},t.request&&t.request.headers),r&&{Referer:r}),o&&{"User-Agent":o}),a=Zr(Zr({},n&&{url:n}),{},{headers:i});return Zr(Zr({},t),{},{request:a})}return t}))}}],[{key:"__initStatic",value:function(){this.id="HttpContext"}}]),e}();Nb.__initStatic();var Fb=function(){function e(){ro(this,e),e.prototype.__init.call(this)}return no(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(t,n){var r=function(t){var r=n().getIntegration(e);if(r){try{if(function(e,t){if(!t)return!1;if(function(e,t){var n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!jb(e,t))return!1;if(!Ib(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){var n=zb(t),r=zb(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!jb(e,t))return!1;if(!Ib(e,t))return!1;return!0}(e,t))return!0;return!1}(t,r._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(o){return r._previousEvent=t}return r._previousEvent=t}return t};r.id=this.name,t(r)}}],[{key:"__initStatic",value:function(){this.id="Dedupe"}}]),e}();function Ib(e,t){var n=Bb(e),r=Bb(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(var o=0;o<r.length;o++){var i=r[o],a=n[o];if(i.filename!==a.filename||i.lineno!==a.lineno||i.colno!==a.colno||i.function!==a.function)return!1}return!0}function jb(e,t){var n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(o){return!1}}function zb(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Bb(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(n){return}}Fb.__initStatic();var Ub=[new Fy,new My,new Cb,new Wy,new bb,new Db,new Fb,new Nb];function Vb(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function Hb(){if(void 0!==om().document){var e=hy();e.captureSession&&(Vb(e),rg("history",(function(e){var t=e.from,n=e.to;void 0!==t&&t!==n&&Vb(hy())})))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}var qb={exports:{}},Yb={},Gb="function"==typeof Symbol&&Symbol.for,Wb=Gb?Symbol.for("react.element"):60103,Kb=Gb?Symbol.for("react.portal"):60106,Xb=Gb?Symbol.for("react.fragment"):60107,Zb=Gb?Symbol.for("react.strict_mode"):60108,Qb=Gb?Symbol.for("react.profiler"):60114,$b=Gb?Symbol.for("react.provider"):60109,Jb=Gb?Symbol.for("react.context"):60110,ex=Gb?Symbol.for("react.async_mode"):60111,tx=Gb?Symbol.for("react.concurrent_mode"):60111,nx=Gb?Symbol.for("react.forward_ref"):60112,rx=Gb?Symbol.for("react.suspense"):60113,ox=Gb?Symbol.for("react.suspense_list"):60120,ix=Gb?Symbol.for("react.memo"):60115,ax=Gb?Symbol.for("react.lazy"):60116,ux=Gb?Symbol.for("react.block"):60121,sx=Gb?Symbol.for("react.fundamental"):60117,lx=Gb?Symbol.for("react.responder"):60118,cx=Gb?Symbol.for("react.scope"):60119;function fx(e){if("object"===ho(e)&&null!==e){var t=e.$$typeof;switch(t){case Wb:switch(e=e.type){case ex:case tx:case Xb:case Qb:case Zb:case rx:return e;default:switch(e=e&&e.$$typeof){case Jb:case nx:case ax:case ix:case $b:return e;default:return t}}case Kb:return t}}}function dx(e){return fx(e)===tx}Yb.AsyncMode=ex,Yb.ConcurrentMode=tx,Yb.ContextConsumer=Jb,Yb.ContextProvider=$b,Yb.Element=Wb,Yb.ForwardRef=nx,Yb.Fragment=Xb,Yb.Lazy=ax,Yb.Memo=ix,Yb.Portal=Kb,Yb.Profiler=Qb,Yb.StrictMode=Zb,Yb.Suspense=rx,Yb.isAsyncMode=function(e){return dx(e)||fx(e)===ex},Yb.isConcurrentMode=dx,Yb.isContextConsumer=function(e){return fx(e)===Jb},Yb.isContextProvider=function(e){return fx(e)===$b},Yb.isElement=function(e){return"object"===ho(e)&&null!==e&&e.$$typeof===Wb},Yb.isForwardRef=function(e){return fx(e)===nx},Yb.isFragment=function(e){return fx(e)===Xb},Yb.isLazy=function(e){return fx(e)===ax},Yb.isMemo=function(e){return fx(e)===ix},Yb.isPortal=function(e){return fx(e)===Kb},Yb.isProfiler=function(e){return fx(e)===Qb},Yb.isStrictMode=function(e){return fx(e)===Zb},Yb.isSuspense=function(e){return fx(e)===rx},Yb.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Xb||e===tx||e===Qb||e===Zb||e===rx||e===ox||"object"===ho(e)&&null!==e&&(e.$$typeof===ax||e.$$typeof===ix||e.$$typeof===$b||e.$$typeof===Jb||e.$$typeof===nx||e.$$typeof===sx||e.$$typeof===lx||e.$$typeof===cx||e.$$typeof===ux)},Yb.typeOf=fx,function(e){e.exports=Yb}(qb);var px=qb.exports,hx={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},vx={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},mx={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},gx={};function yx(e){return px.isMemo(e)?mx:gx[e.$$typeof]||hx}gx[px.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},gx[px.Memo]=mx;var bx=Object.defineProperty,xx=Object.getOwnPropertyNames,wx=Object.getOwnPropertySymbols,_x=Object.getOwnPropertyDescriptor,Ex=Object.getPrototypeOf,Sx=Object.prototype;var kx=function e(t,n,r){if("string"!=typeof n){if(Sx){var o=Ex(n);o&&o!==Sx&&e(t,o,r)}var i=xx(n);wx&&(i=i.concat(wx(n)));for(var a=yx(t),u=yx(n),s=0;s<i.length;++s){var l=i[s];if(!(vx[l]||r&&r[l]||u&&u[l]||a&&a[l])){var c=_x(n,l);try{bx(t,l,c)}catch(Lw){}}}}return t},Cx={exports:{}},Ax={},Tx=Jr.exports,Px=Symbol.for("react.element"),Ox=Symbol.for("react.fragment"),Rx=Object.prototype.hasOwnProperty,Dx=Tx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Lx={key:!0,ref:!0,__self:!0,__source:!0};function Mx(e,t,n){var r,o={},i=null,a=null;for(r in void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(a=t.ref),t)Rx.call(t,r)&&!Lx.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:Px,type:e,key:i,ref:a,props:o,_owner:Dx.current}}Ax.Fragment=Ox,Ax.jsx=Mx,Ax.jsxs=Mx,function(e){e.exports=Ax}(Cx);var Nx=Ur("F",Cx.exports.Fragment),Fx=Ur("j",Cx.exports.jsx),Ix=Ur("b",Cx.exports.jsxs);function jx(e){var t=hy().getClient(),n=e||t&&t.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function zx(e){var t=(e||hy()).getScope();return t&&t.getTransaction()}function Bx(e){return e/1e3}function Ux(){var e=zx();if(e){var t="internal_error";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] Transaction: ".concat(t," -> Global error occured")),e.setStatus(t)}}var Vx=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;ro(this,e),e.prototype.__init.call(this),this._maxlen=t}return no(e,[{key:"__init",value:function(){this.spans=[]}},{key:"add",value:function(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}]),e}();var Hx=function(e){oo(n,e);var t=io(n);function n(e,r){var o;return ro(this,n),o=t.call(this,e),n.prototype.__init.call(uo(o)),o._hub=r||hy(),o._name=e.name||"",o.metadata=Zr(Zr({},e.metadata),{},{spanMetadata:{}}),o._trimEnd=e.trimEnd,o.transaction=uo(o),o}return no(n,[{key:"__init",value:function(){this._measurements={}}},{key:"name",get:function(){return this._name},set:function(e){this._name=e,this.metadata.source="custom"}},{key:"setName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"custom";this.name=e,this.metadata.source=t}},{key:"initSpanRecorder",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;this.spanRecorder||(this.spanRecorder=new Vx(e)),this.spanRecorder.add(this)}},{key:"setMeasurement",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";this._measurements[e]={value:t,unit:n}}},{key:"setMetadata",value:function(e){this.metadata=Zr(Zr({},this.metadata),e)}},{key:"finish",value:function(e){var t=this;if(void 0===this.endTimestamp){if(this.name||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),Yr(po(n.prototype),"finish",this).call(this,e),!0===this.sampled){var r=this.spanRecorder?this.spanRecorder.spans.filter((function(e){return e!==t&&e.endTimestamp})):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((function(e,t){return e.endTimestamp&&t.endTimestamp?e.endTimestamp>t.endTimestamp?e:t:e})).endTimestamp);var o=this.metadata,i=Zr({contexts:{trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:Zr(Zr({},o),{},{baggage:this.getBaggage()})},o.source&&{transaction_info:{source:o.source}});return Object.keys(this._measurements).length>0&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] Finishing ".concat(this.op," transaction: ").concat(this.name,".")),this._hub.captureEvent(i)}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");var a=this._hub.getClient();a&&a.recordDroppedEvent("sample_rate","transaction")}}},{key:"toContext",value:function(){return Vm(Zr(Zr({},Yr(po(n.prototype),"toContext",this).call(this)),{},{name:this.name,trimEnd:this._trimEnd}))}},{key:"updateWithContext",value:function(e){return Yr(po(n.prototype),"updateWithContext",this).call(this,e),this.name=qm(e.name,(function(){return""})),this._trimEnd=e.trimEnd,this}},{key:"getBaggage",value:function(){var e=this.metadata.baggage,t=!e||e[2]?this._populateBaggageWithSentryValues(e):e;return this.metadata.baggage=t,t}},{key:"_populateBaggageWithSentryValues",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ty({}),t=this._hub||hy(),n=t&&t.getClient();if(!n)return e;var r=n.getOptions()||{},o=r.environment,i=r.release,a=n.getDsn()||{},u=a.publicKey,s=this.metadata&&this.metadata.transactionSampling&&this.metadata.transactionSampling.rate&&this.metadata.transactionSampling.rate.toString(),l=t.getScope(),c=l&&l.getUser()||{},f=c.segment,d=this.metadata.source,p=d&&"url"!==d?this.name:void 0;return ty(Vm(Zr({environment:o,release:i,transaction:p,user_segment:f,public_key:u,trace_id:this.traceId,sample_rate:s},ny(e))),"",!1)}}]),n}(function(){function e(t){if(ro(this,e),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),e.prototype.__init6.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp)}return no(e,[{key:"__init2",value:function(){this.traceId=mg()}},{key:"__init3",value:function(){this.spanId=mg().substring(16)}},{key:"__init4",value:function(){this.startTimestamp=jg()}},{key:"__init5",value:function(){this.tags={}}},{key:"__init6",value:function(){this.data={}}},{key:"startChild",value:function(t){var n=new e(Zr(Zr({},t),{},{parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId}));if(n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&n.transaction){var r=t&&t.op||"< unknown op >",o=n.transaction.name||"< unknown name >",i=n.transaction.spanId,a="[Tracing] Starting '".concat(r,"' span on transaction '").concat(o,"' (").concat(i,").");n.transaction.metadata.spanMetadata[n.spanId]={logMessage:a},km.log(a)}return n}},{key:"setTag",value:function(e,t){return this.tags=Zr(Zr({},this.tags),{},Qr({},e,t)),this}},{key:"setData",value:function(e,t){return this.data=Zr(Zr({},this.data),{},Qr({},e,t)),this}},{key:"setStatus",value:function(e){return this.status=e,this}},{key:"setHttpStatus",value:function(e){this.setTag("http.status_code",String(e));var t=function(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(e);return"unknown_error"!==t&&this.setStatus(t),this}},{key:"isSuccess",value:function(){return"ok"===this.status}},{key:"finish",value:function(e){if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){var t=this.transaction.metadata.spanMetadata[this.spanId].logMessage;t&&km.log(t.replace("Starting","Finishing"))}this.endTimestamp="number"==typeof e?e:jg()}},{key:"toTraceparent",value:function(){var e="";return void 0!==this.sampled&&(e=this.sampled?"-1":"-0"),"".concat(this.traceId,"-").concat(this.spanId).concat(e)}},{key:"toContext",value:function(){return Vm({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}},{key:"updateWithContext",value:function(e){var t=this;return this.data=qm(e.data,(function(){return{}})),this.description=e.description,this.endTimestamp=e.endTimestamp,this.op=e.op,this.parentSpanId=e.parentSpanId,this.sampled=e.sampled,this.spanId=qm(e.spanId,(function(){return t.spanId})),this.startTimestamp=qm(e.startTimestamp,(function(){return t.startTimestamp})),this.status=e.status,this.tags=qm(e.tags,(function(){return{}})),this.traceId=qm(e.traceId,(function(){return t.traceId})),this}},{key:"getTraceContext",value:function(){return Vm({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}},{key:"toJSON",value:function(){return Vm({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}]),e}()),qx=1e3,Yx=3e4,Gx=function(e){oo(n,e);var t=io(n);function n(e,r,o,i){var a;return ro(this,n),(a=t.call(this,i))._pushActivity=e,a._popActivity=r,a.transactionSpanId=o,a}return no(n,[{key:"add",value:function(e){var t=this;e.spanId!==this.transactionSpanId&&(e.finish=function(n){e.endTimestamp="number"==typeof n?n:jg(),t._popActivity(e.spanId)},void 0===e.endTimestamp&&this._pushActivity(e.spanId)),Yr(po(n.prototype),"add",this).call(this,e)}}]),n}(Vx),Wx=function(e){oo(n,e);var t=io(n);function n(e,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qx,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Yx,u=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return ro(this,n),(o=t.call(this,e,r))._idleHub=r,o._idleTimeout=i,o._finalTimeout=a,o._onScope=u,n.prototype.__init.call(uo(o)),n.prototype.__init2.call(uo(o)),n.prototype.__init3.call(uo(o)),n.prototype.__init4.call(uo(o)),u&&(Kx(r),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("Setting idle transaction on scope. Span ID: ".concat(o.spanId)),r.configureScope((function(e){return e.setSpan(uo(o))}))),o._startIdleTimeout(),setTimeout((function(){o._finished||(o.setStatus("deadline_exceeded"),o.finish())}),o._finalTimeout),o}return no(n,[{key:"__init",value:function(){this.activities={}}},{key:"__init2",value:function(){this._heartbeatCounter=0}},{key:"__init3",value:function(){this._finished=!1}},{key:"__init4",value:function(){this._beforeFinishCallbacks=[]}},{key:"finish",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:jg();if(this._finished=!0,this.activities={},this.spanRecorder){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op);var r,o=vo(this._beforeFinishCallbacks);try{for(o.s();!(r=o.n()).done;){var i=r.value;i(this,t)}}catch(a){o.e(a)}finally{o.f()}this.spanRecorder.spans=this.spanRecorder.spans.filter((function(n){if(n.spanId===e.spanId)return!0;n.endTimestamp||(n.endTimestamp=t,n.setStatus("cancelled"),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(n,void 0,2)));var r=n.startTimestamp<t;return r||("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(n,void 0,2)),r})),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] flushing IdleTransaction")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] No active IdleTransaction");return this._onScope&&Kx(this._idleHub),Yr(po(n.prototype),"finish",this).call(this,t)}},{key:"registerBeforeFinishCallback",value:function(e){this._beforeFinishCallbacks.push(e)}},{key:"initSpanRecorder",value:function(e){var t=this;if(!this.spanRecorder){this.spanRecorder=new Gx((function(e){t._finished||t._pushActivity(e)}),(function(e){t._finished||t._popActivity(e)}),this.spanId,e),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}},{key:"_cancelIdleTimeout",value:function(){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0)}},{key:"_startIdleTimeout",value:function(e){var t=this;this._cancelIdleTimeout(),this._idleTimeoutID=setTimeout((function(){t._finished||0!==Object.keys(t.activities).length||t.finish(e)}),this._idleTimeout)}},{key:"_pushActivity",value:function(e){this._cancelIdleTimeout(),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] pushActivity: ".concat(e)),this.activities[e]=!0,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] new activities count",Object.keys(this.activities).length)}},{key:"_popActivity",value:function(e){if(this.activities[e]&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] popActivity ".concat(e)),delete this.activities[e],("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){var t=jg()+this._idleTimeout/1e3;this._startIdleTimeout(t)}}},{key:"_beat",value:function(){if(!this._finished){var e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}}},{key:"_pingHeartbeat",value:function(){var e=this;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("pinging Heartbeat -> current counter: ".concat(this._heartbeatCounter)),setTimeout((function(){e._beat()}),5e3)}}]),n}(Hx);function Kx(e){var t=e.getScope();t&&(t.getTransaction()&&t.setSpan(void 0))}function Xx(){var e=this.getScope();if(e){var t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function Zx(e,t,n){return jx(t)?void 0!==e.sampled?(e.setMetadata({transactionSampling:{method:"explicitly_set"}}),e):("function"==typeof t.tracesSampler?(r=t.tracesSampler(n),e.setMetadata({transactionSampling:{method:"client_sampler",rate:Number(r)}})):void 0!==n.parentSampled?(r=n.parentSampled,e.setMetadata({transactionSampling:{method:"inheritance"}})):(r=t.tracesSampleRate,e.setMetadata({transactionSampling:{method:"client_rate",rate:Number(r)}})),function(e){if(mm(e)||"number"!=typeof e&&"boolean"!=typeof e)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ".concat(JSON.stringify(e)," of type ").concat(JSON.stringify(ho(e)),".")),!1;if(e<0||e>1)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ".concat(e,".")),!1;return!0}(r)?r?(e.sampled=Math.random()<r,e.sampled?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] starting ".concat(e.op," transaction - ").concat(e.name)),e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ".concat(Number(r),")")),e)):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] Discarding transaction because ".concat("function"==typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),e.sampled=!1,e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)):(e.sampled=!1,e);var r}function Qx(e,t){var n=this.getClient(),r=n&&n.getOptions()||{},o=new Hx(e,this);return(o=Zx(o,r,Zr({parentSampled:e.parentSampled,transactionContext:e},t))).sampled&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),o}function $x(){var e=dy();if(e.__SENTRY__){var t={mongodb:function(){return new(nm(Gr,"./integrations/node/mongo").Mongo)},mongoose:function(){return new(nm(Gr,"./integrations/node/mongo").Mongo)({mongoose:!0})},mysql:function(){return new(nm(Gr,"./integrations/node/mysql").Mysql)},pg:function(){return new(nm(Gr,"./integrations/node/postgres").Postgres)}},n=Object.keys(t).filter((function(e){return!!function(e){var t;try{t=nm(Gr,e)}catch(Lw){}try{var n=nm(Gr,"process").cwd;t=nm(Gr,"".concat(n(),"/node_modules/").concat(e))}catch(Lw){}return t}(e)})).map((function(e){try{return t[e]()}catch(Lw){return}})).filter((function(e){return e}));n.length>0&&(e.__SENTRY__.integrations=[].concat(Wr(e.__SENTRY__.integrations||[]),Wr(n)))}}var Jx=om();var ew=function(e,t,n){var r;return function(o){t.value>=0&&(o||n)&&(t.delta=t.value-(r||0),(t.delta||void 0===r)&&(r=t.value,e(t)))}},tw=function(e,t){return{name:e,value:qm(t,(function(){return-1})),delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},nw=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(Lw){}},rw=function(e,t){var n=function n(r){"pagehide"!==r.type&&"hidden"!==om().document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},ow=-1,iw=function(){return ow<0&&(ow="hidden"===om().document.visibilityState?0:1/0,rw((function(e){var t=e.timeStamp;ow=t}),!0)),{get firstHiddenTime(){return ow}}},aw={};function uw(e){return"number"==typeof e&&isFinite(e)}function sw(e,t){var n=t.startTimestamp,r=qr(t,Lt);return n&&e.startTimestamp>n&&(e.startTimestamp=n),e.startChild(Zr({startTimestamp:n},r))}var lw=om();function cw(){return lw&&lw.addEventListener&&lw.performance}var fw,dw,pw=0,hw={};function vw(){!function(e,t){var n,r=tw("CLS",0),o=0,i=[],a=function(e){if(e&&!e.hadRecentInput){var t=i[0],a=i[i.length-1];o&&0!==i.length&&e.startTime-a.startTime<1e3&&e.startTime-t.startTime<5e3?(o+=e.value,i.push(e)):(o=e.value,i=[e]),o>r.value&&(r.value=o,r.entries=i,n&&n())}},u=nw("layout-shift",a);u&&(n=ew(e,r,t),rw((function(){u.takeRecords().map(a),n(!0)})))}((function(e){var t=e.entries.pop();t&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Measurements] Adding CLS"),hw.cls={value:e.value,unit:""},dw=t)}))}function mw(e){!function(e,t){var n,r=iw(),o=tw("LCP"),i=function(e){var t=e.startTime;t<r.firstHiddenTime&&(o.value=t,o.entries.push(e)),n&&n()},a=nw("largest-contentful-paint",i);if(a){n=ew(e,o,t);var u=function(){aw[o.id]||(a.takeRecords().map(i),a.disconnect(),aw[o.id]=!0,n(!0))};["keydown","click"].forEach((function(e){addEventListener(e,u,{once:!0,capture:!0})})),rw(u,!0)}}((function(e){var t=e.entries.pop();if(t){var n=Bx(zg),r=Bx(t.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Measurements] Adding LCP"),hw.lcp={value:e.value,unit:"millisecond"},hw["mark.lcp"]={value:n+r,unit:"second"},fw=t}}),e)}function gw(){!function(e,t){var n,r=iw(),o=tw("FID"),i=function(e){n&&e.startTime<r.firstHiddenTime&&(o.value=e.processingStart-e.startTime,o.entries.push(e),n(!0))},a=nw("first-input",i);a&&(n=ew(e,o,t),rw((function(){a.takeRecords().map(i),a.disconnect()}),!0))}((function(e){var t=e.entries.pop();if(t){var n=Bx(zg),r=Bx(t.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Measurements] Adding FID"),hw.fid={value:e.value,unit:"millisecond"},hw["mark.fid"]={value:n+r,unit:"second"}}}))}function yw(e){var t=cw();if(t&&lw.performance.getEntries&&zg){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] Adding & adjusting spans using Performance API");var n,r,o=Bx(zg),i=t.getEntries();i.slice(pw).forEach((function(t){var i=Bx(t.startTime),a=Bx(t.duration);if(!("navigation"===e.op&&o+i<e.startTimestamp))switch(t.entryType){case"navigation":!function(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((function(r){bw(e,t,r,n)})),bw(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),bw(e,t,"fetch",n,"cache","domainLookupStart"),bw(e,t,"domainLookup",n,"DNS"),function(e,t,n){sw(e,{op:"browser",description:"request",startTimestamp:n+Bx(t.requestStart),endTimestamp:n+Bx(t.responseEnd)}),sw(e,{op:"browser",description:"response",startTimestamp:n+Bx(t.responseStart),endTimestamp:n+Bx(t.responseEnd)})}(e,t,n)}(e,t,o),n=o+Bx(t.responseStart),r=o+Bx(t.requestStart);break;case"mark":case"paint":case"measure":var u=function(e,t,n,r,o){var i=o+n,a=i+r;return sw(e,{description:t.name,endTimestamp:a,op:t.entryType,startTimestamp:i}),i}(e,t,i,a,o),s=iw(),l=t.startTime<s.firstHiddenTime;"first-paint"===t.name&&l&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Measurements] Adding FP"),hw.fp={value:t.startTime,unit:"millisecond"},hw["mark.fp"]={value:u,unit:"second"}),"first-contentful-paint"===t.name&&l&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Measurements] Adding FCP"),hw.fcp={value:t.startTime,unit:"millisecond"},hw["mark.fcp"]={value:u,unit:"second"});break;case"resource":var c=t.name.replace(lw.location.origin,"");!function(e,t,n,r,o,i){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;var a={};"transferSize"in t&&(a["Transfer Size"]=t.transferSize);"encodedBodySize"in t&&(a["Encoded Body Size"]=t.encodedBodySize);"decodedBodySize"in t&&(a["Decoded Body Size"]=t.decodedBodySize);var u=i+r;sw(e,{description:n,endTimestamp:u+o,op:t.initiatorType?"resource.".concat(t.initiatorType):"resource",startTimestamp:u,data:a})}(e,t,c,i,a,o)}})),pw=Math.max(i.length-1,0),function(e){var t=lw.navigator;if(!t)return;var n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),uw(n.rtt)&&(hw["connection.rtt"]={value:n.rtt,unit:"millisecond"}),uw(n.downlink)&&(hw["connection.downlink"]={value:n.downlink,unit:""}));uw(t.deviceMemory)&&e.setTag("deviceMemory","".concat(t.deviceMemory," GB"));uw(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===e.op&&("number"==typeof n&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Measurements] Adding TTFB"),hw.ttfb={value:1e3*(n-e.startTimestamp),unit:"millisecond"},"number"==typeof r&&r<=n&&(hw["ttfb.requestTime"]={value:1e3*(n-r),unit:"millisecond"})),["fcp","fp","lcp"].forEach((function(t){if(hw[t]&&!(o>=e.startTimestamp)){var n=hw[t].value,r=o+Bx(n),i=Math.abs(1e3*(r-e.startTimestamp)),a=i-n;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Measurements] Normalized ".concat(t," from ").concat(n," to ").concat(i," (").concat(a,")")),hw[t].value=i}})),hw["mark.fid"]&&hw.fid&&sw(e,{description:"first input delay",endTimestamp:hw["mark.fid"].value+Bx(hw.fid.value),op:"web.vitals",startTimestamp:hw["mark.fid"].value}),"fcp"in hw||delete hw.cls,Object.keys(hw).forEach((function(t){e.setMeasurement(t,hw[t].value,hw[t].unit)})),function(e){fw&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Measurements] Adding LCP Data"),fw.element&&e.setTag("lcp.element",ym(fw.element)),fw.id&&e.setTag("lcp.id",fw.id),fw.url&&e.setTag("lcp.url",fw.url.trim().slice(0,200)),e.setTag("lcp.size",fw.size));dw&&dw.sources&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Measurements] Adding CLS Data"),dw.sources.forEach((function(t,n){return e.setTag("cls.source.".concat(n+1),ym(t.node))})))}(e)),fw=void 0,dw=void 0,hw={}}}function bw(e,t,n,r,o,i){var a=i?t[i]:t["".concat(n,"End")],u=t["".concat(n,"Start")];u&&a&&sw(e,{op:"browser",description:qm(o,(function(){return n})),startTimestamp:r+Bx(u),endTimestamp:r+Bx(a)})}var xw={traceFetch:!0,traceXHR:!0,tracingOrigins:["localhost",/^\//]};function ww(e){var t=Zr(Zr({},xw),e),n=t.traceFetch,r=t.traceXHR,o=t.tracingOrigins,i=t.shouldCreateSpanForRequest,a={},u=function(e){if(a[e])return a[e];var t=o;return a[e]=t.some((function(t){return Lm(e,t)}))&&!Lm(e,"sentry_key"),a[e]},s=u;"function"==typeof i&&(s=function(e){return u(e)&&i(e)});var l={};n&&rg("fetch",(function(e){!function(e,t,n){if(!jx()||!e.fetchData||!t(e.fetchData.url))return;if(e.endTimestamp){var r=e.fetchData.__span;if(!r)return;return void((i=n[r])&&(e.response?i.setHttpStatus(e.response.status):e.error&&i.setStatus("internal_error"),i.finish(),delete n[r]))}var o=zx();if(o){var i=o.startChild({data:Zr(Zr({},e.fetchData),{},{type:"fetch"}),description:"".concat(e.fetchData.method," ").concat(e.fetchData.url),op:"http.client"});e.fetchData.__span=i.spanId,n[i.spanId]=i;var a=e.args[0]=e.args[0],u=e.args[1]=e.args[1]||{};u.headers=function(e,t,n,r){var o=r.headers;gm(e,Request)&&(o=e.headers);if(o)if("function"==typeof o.append)o.append("sentry-trace",n.toTraceparent()),o.append(Jg,oy(t,o.get(Jg)));else if(Array.isArray(o)){var i=o.find((function(e){var t=$r(e,2),n=t[0];t[1];return n===Jg})),a=$r(i,2)[1];o=[].concat(Wr(o),[["sentry-trace",n.toTraceparent()],[Jg,oy(t,a)]])}else o=Zr(Zr({},o),{},{"sentry-trace":n.toTraceparent(),baggage:oy(t,o.baggage)});else o={"sentry-trace":n.toTraceparent(),baggage:oy(t)};return o}(a,o.getBaggage(),i,u)}}(e,s,l)})),r&&rg("xhr",(function(e){!function(e,t,n){if(!jx()||e.xhr&&e.xhr.__sentry_own_request__||!(e.xhr&&e.xhr.__sentry_xhr__&&t(e.xhr.__sentry_xhr__.url)))return;var r=e.xhr.__sentry_xhr__;if(e.endTimestamp){var o=e.xhr.__sentry_xhr_span_id__;if(!o)return;return void((a=n[o])&&(a.setHttpStatus(r.status_code),a.finish(),delete n[o]))}var i=zx();if(i){var a=i.startChild({data:Zr(Zr({},r.data),{},{type:"xhr",method:r.method,url:r.url}),description:"".concat(r.method," ").concat(r.url),op:"http.client"});if(e.xhr.__sentry_xhr_span_id__=a.spanId,n[e.xhr.__sentry_xhr_span_id__]=a,e.xhr.setRequestHeader)try{e.xhr.setRequestHeader("sentry-trace",a.toTraceparent());var u=e.xhr.getRequestHeader&&e.xhr.getRequestHeader(Jg);e.xhr.setRequestHeader(Jg,oy(i.getBaggage(),u))}catch(eF){}}}(e,s,l)}))}var _w=om();var Ew,Sw=Zr({idleTimeout:qx,finalTimeout:Yx,markBackgroundTransactions:!0,routingInstrumentation:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(_w&&_w.location){var r,o=_w.location.href;t&&(r=e({name:_w.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&rg("history",(function(t){var n=t.to,i=t.from;void 0===i&&o&&-1!==o.indexOf(n)?o=void 0:i!==n&&(o=void 0,r&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] Finishing current transaction with op: ".concat(r.op)),r.finish()),r=e({name:_w.location.pathname,op:"navigation",metadata:{source:"url"}}))}))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("Could not initialize routing instrumentation due to invalid location")},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,_experiments:{enableLongTask:!0}},xw),kw=function(){function e(t){ro(this,e),e.prototype.__init.call(this);var n=xw.tracingOrigins;t&&(t.tracingOrigins&&Array.isArray(t.tracingOrigins)?n=t.tracingOrigins:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(this._emitOptionsWarning=!0)),this.options=Zr(Zr(Zr({},Sw),t),{},{tracingOrigins:n});var r=this.options._metricOptions;!function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=cw();t&&zg&&(t.mark&&lw.performance.mark("sentry-tracing-init"),vw(),mw(e),gw())}(r&&r._reportAllChanges),function(e){for(var t=void 0,n=e[0],r=1;r<e.length;){var o=e[r],i=e[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==n)return;"access"===o||"optionalAccess"===o?(t=n,n=i(n)):"call"!==o&&"optionalCall"!==o||(n=i((function(){for(var e,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=n).call.apply(e,[t].concat(o))})),t=void 0)}return n}([this,"access",function(e){return e.options},"access",function(e){return e._experiments},"optionalAccess",function(e){return e.enableLongTask}])&&nw("longtask",(function(e){var t=zx();if(t){var n=Bx(zg+e.startTime),r=Bx(e.duration);t.startChild({description:"Long Task",op:"ui.long-task",startTimestamp:n,endTimestamp:n+r})}}))}return no(e,[{key:"__init",value:function(){this.name="BrowserTracing"}},{key:"setupOnce",value:function(e,t){var n=this;this._getCurrentHub=t,this._emitOptionsWarning&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("[Tracing] We added a reasonable default for you: ".concat(xw.tracingOrigins)));var r=this.options,o=r.routingInstrumentation,i=r.startTransactionOnLocationChange,a=r.startTransactionOnPageLoad,u=r.markBackgroundTransactions,s=r.traceFetch,l=r.traceXHR,c=r.tracingOrigins,f=r.shouldCreateSpanForRequest;o((function(e){return n._createRouteTransaction(e)}),a,i),u&&(Jx&&Jx.document?Jx.document.addEventListener("visibilitychange",(function(){var e=zx();if(Jx.document.hidden&&e){var t="cancelled";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] Transaction: ".concat(t," -> since tab moved to the background, op: ").concat(e.op)),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("[Tracing] Could not set up background tab detection due to lack of global document")),ww({traceFetch:s,traceXHR:l,tracingOrigins:c,shouldCreateSpanForRequest:f})}},{key:"_createRouteTransaction",value:function(e){var t=this;if(this._getCurrentHub){var n=this.options,r=n.beforeNavigate,o=n.idleTimeout,i=n.finalTimeout,a="pageload"===e.op?function(){var e=Cw("sentry-trace"),t=Cw("baggage"),n=e?function(e){var t,n=e.match(Bg);if(n)return"1"===n[3]?t=!0:"0"===n[3]&&(t=!1),{traceId:n[1],parentSampled:t,parentSpanId:n[2]}}(e):void 0,r=iy(t,e);if(n||r)return Zr(Zr({},n&&n),r&&{metadata:{baggage:r}});return}():void 0,u=Zr(Zr(Zr(Zr({},e),a),a&&{metadata:Zr(Zr({},e.metadata),a.metadata)}),{},{trimEnd:!0}),s="function"==typeof r?r(u):u,l=void 0===s?Zr(Zr({},u),{},{sampled:!1}):s;l.metadata=l.name!==u.name?Zr(Zr({},l.metadata),{},{source:"custom"}):l.metadata,!1===l.sampled&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] Will not send ".concat(l.op," transaction because of beforeNavigate.")),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.log("[Tracing] Starting ".concat(l.op," transaction on scope"));var c=function(e,t,n,r,o,i){var a=e.getClient(),u=a&&a.getOptions()||{},s=new Wx(t,e,n,r,o);return(s=Zx(s,u,Zr({parentSampled:t.parentSampled,transactionContext:t},i))).sampled&&s.initSpanRecorder(u._experiments&&u._experiments.maxSpans),s}(this._getCurrentHub(),l,o,i,!0,{location:om().location});return c.registerBeforeFinishCallback((function(e){yw(e),e.setTag("sentry_reportAllChanges",Boolean(t.options._metricOptions&&t.options._metricOptions._reportAllChanges))})),c}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&km.warn("[Tracing] Did not create ".concat(e.op," transaction because _getCurrentHub is invalid."))}}]),e}();function Cw(e){var t=om();if(t.document&&t.document.querySelector){var n=t.document.querySelector("meta[name=".concat(e,"]"));return n?n.getAttribute("content"):null}return null}("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&((Ew=dy()).__SENTRY__&&(Ew.__SENTRY__.extensions=Ew.__SENTRY__.extensions||{},Ew.__SENTRY__.extensions.startTransaction||(Ew.__SENTRY__.extensions.startTransaction=Qx),Ew.__SENTRY__.extensions.traceHeaders||(Ew.__SENTRY__.extensions.traceHeaders=Xx)),tm()&&$x(),rg("error",Ux),rg("unhandledrejection",Ux));var Aw,Tw={exports:{}},Pw={},Ow=Symbol.for("react.element"),Rw=Symbol.for("react.portal"),Dw=Symbol.for("react.fragment"),Lw=Symbol.for("react.strict_mode"),Mw=Symbol.for("react.profiler"),Nw=Symbol.for("react.provider"),Fw=Symbol.for("react.context"),Iw=Symbol.for("react.server_context"),jw=Symbol.for("react.forward_ref"),zw=Symbol.for("react.suspense"),Bw=Symbol.for("react.suspense_list"),Uw=Symbol.for("react.memo"),Vw=Symbol.for("react.lazy"),Hw=Symbol.for("react.offscreen");function qw(e){if("object"===ho(e)&&null!==e){var t=e.$$typeof;switch(t){case Ow:switch(e=e.type){case Dw:case Mw:case Lw:case zw:case Bw:return e;default:switch(e=e&&e.$$typeof){case Iw:case Fw:case jw:case Vw:case Uw:case Nw:return e;default:return t}}case Rw:return t}}}Aw=Symbol.for("react.module.reference"),Pw.ContextConsumer=Fw,Pw.ContextProvider=Nw,Pw.Element=Ow,Pw.ForwardRef=jw,Pw.Fragment=Dw,Pw.Lazy=Vw,Pw.Memo=Uw,Pw.Portal=Rw,Pw.Profiler=Mw,Pw.StrictMode=Lw,Pw.Suspense=zw,Pw.SuspenseList=Bw,Pw.isAsyncMode=function(){return!1},Pw.isConcurrentMode=function(){return!1},Pw.isContextConsumer=function(e){return qw(e)===Fw},Pw.isContextProvider=function(e){return qw(e)===Nw},Pw.isElement=function(e){return"object"===ho(e)&&null!==e&&e.$$typeof===Ow},Pw.isForwardRef=function(e){return qw(e)===jw},Pw.isFragment=function(e){return qw(e)===Dw},Pw.isLazy=function(e){return qw(e)===Vw},Pw.isMemo=function(e){return qw(e)===Uw},Pw.isPortal=function(e){return qw(e)===Rw},Pw.isProfiler=function(e){return qw(e)===Mw},Pw.isStrictMode=function(e){return qw(e)===Lw},Pw.isSuspense=function(e){return qw(e)===zw},Pw.isSuspenseList=function(e){return qw(e)===Bw},Pw.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Dw||e===Mw||e===Lw||e===zw||e===Bw||e===Hw||"object"===ho(e)&&null!==e&&(e.$$typeof===Vw||e.$$typeof===Uw||e.$$typeof===Nw||e.$$typeof===Fw||e.$$typeof===jw||e.$$typeof===Aw||void 0!==e.getModuleId)},Pw.typeOf=qw,function(e){e.exports=Pw}(Tw);function Yw(e){function t(e,r,s,l,d){for(var p,h,v,m,x,_=0,E=0,S=0,k=0,C=0,D=0,M=v=p=0,F=0,I=0,j=0,z=0,B=s.length,U=B-1,V="",H="",q="",Y="";F<B;){if(h=s.charCodeAt(F),F===U&&0!==E+k+S+_&&(0!==E&&(h=47===E?10:47),k=S=_=0,B++,U++),0===E+k+S+_){if(F===U&&(0<I&&(V=V.replace(f,"")),0<V.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:V+=s.charAt(F)}h=59}switch(h){case 123:for(p=(V=V.trim()).charCodeAt(0),v=1,z=++F;F<B;){switch(h=s.charCodeAt(F)){case 123:v++;break;case 125:v--;break;case 47:switch(h=s.charCodeAt(F+1)){case 42:case 47:e:{for(M=F+1;M<U;++M)switch(s.charCodeAt(M)){case 47:if(42===h&&42===s.charCodeAt(M-1)&&F+2!==M){F=M+1;break e}break;case 10:if(47===h){F=M+1;break e}}F=M}}break;case 91:h++;case 40:h++;case 34:case 39:for(;F++<U&&s.charCodeAt(F)!==h;);}if(0===v)break;F++}if(v=s.substring(z,F),0===p&&(p=(V=V.replace(c,"").trim()).charCodeAt(0)),64===p){switch(0<I&&(V=V.replace(f,"")),h=V.charCodeAt(1)){case 100:case 109:case 115:case 45:I=r;break;default:I=R}if(z=(v=t(r,I,v,h,d+1)).length,0<L&&(x=u(3,v,I=n(R,V,j),r,T,A,z,h,d,l),V=I.join(""),void 0!==x&&0===(z=(v=x.trim()).length)&&(h=0,v="")),0<z)switch(h){case 115:V=V.replace(w,a);case 100:case 109:case 45:v=V+"{"+v+"}";break;case 107:v=(V=V.replace(g,"$1 $2"))+"{"+v+"}",v=1===O||2===O&&i("@"+v,3)?"@-webkit-"+v+"@"+v:"@"+v;break;default:v=V+v,112===l&&(H+=v,v="")}else v=""}else v=t(r,n(r,V,j),v,l,d+1);q+=v,v=j=I=M=p=0,V="",h=s.charCodeAt(++F);break;case 125:case 59:if(1<(z=(V=(0<I?V.replace(f,""):V).trim()).length))switch(0===M&&(p=V.charCodeAt(0),45===p||96<p&&123>p)&&(z=(V=V.replace(" ",":")).length),0<L&&void 0!==(x=u(1,V,r,e,T,A,H.length,l,d,l))&&0===(z=(V=x.trim()).length)&&(V="\0\0"),p=V.charCodeAt(0),h=V.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){Y+=V+s.charAt(F);break}default:58!==V.charCodeAt(z-1)&&(H+=o(V,p,h,V.charCodeAt(2)))}j=I=M=p=0,V="",h=s.charCodeAt(++F)}}switch(h){case 13:case 10:47===E?E=0:0===1+p&&107!==l&&0<V.length&&(I=1,V+="\0"),0<L*N&&u(0,V,r,e,T,A,H.length,l,d,l),A=1,T++;break;case 59:case 125:if(0===E+k+S+_){A++;break}default:switch(A++,m=s.charAt(F),h){case 9:case 32:if(0===k+_+E)switch(C){case 44:case 58:case 9:case 32:m="";break;default:32!==h&&(m=" ")}break;case 0:m="\\0";break;case 12:m="\\f";break;case 11:m="\\v";break;case 38:0===k+E+_&&(I=j=1,m="\f"+m);break;case 108:if(0===k+E+_+P&&0<M)switch(F-M){case 2:112===C&&58===s.charCodeAt(F-3)&&(P=C);case 8:111===D&&(P=D)}break;case 58:0===k+E+_&&(M=F);break;case 44:0===E+S+k+_&&(I=1,m+="\r");break;case 34:case 39:0===E&&(k=k===h?0:0===k?h:k);break;case 91:0===k+E+S&&_++;break;case 93:0===k+E+S&&_--;break;case 41:0===k+E+_&&S--;break;case 40:if(0===k+E+_){if(0===p)if(2*C+3*D==533);else p=1;S++}break;case 64:0===E+S+k+_+M+v&&(v=1);break;case 42:case 47:if(!(0<k+_+S))switch(E){case 0:switch(2*h+3*s.charCodeAt(F+1)){case 235:E=47;break;case 220:z=F,E=42}break;case 42:47===h&&42===C&&z+2!==F&&(33===s.charCodeAt(z+2)&&(H+=s.substring(z,F+1)),m="",E=0)}}0===E&&(V+=m)}D=C,C=h,F++}if(0<(z=H.length)){if(I=r,0<L&&(void 0!==(x=u(2,H,I,e,T,A,z,l,d,l))&&0===(H=x).length))return Y+H+q;if(H=I.join(",")+"{"+H+"}",0!=O*P){switch(2!==O||i(H,2)||(P=0),P){case 111:H=H.replace(b,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}P=0}}return Y+H+q}function n(e,t,n){var o=t.trim().split(v);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var u=0;for(e=0===a?"":e[0]+" ";u<i;++u)t[u]=r(e,t[u],n).trim();break;default:var s=u=0;for(t=[];u<i;++u)for(var l=0;l<a;++l)t[s++]=r(e[l]+" ",o[u],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",u=2*t+3*n+4*r;if(944===u){e=a.indexOf(":",9)+1;var s=a.substring(e,a.length-1).trim();return s=a.substring(0,e).trim()+s+";",1===O||2===O&&i(s,1)?"-webkit-"+s+s:s}if(0===O||2===O&&!i(a,1))return a;switch(u){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(s=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+s+a;case 1005:return p.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(s=a.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=a.replace(x,"tb");break;case 232:s=a.replace(x,"tb-rl");break;case 220:s=a.replace(x,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+s+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,u=(s=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:a=a.replace(s,"-webkit-"+s)+";"+a;break;case 207:case 102:a=a.replace(s,"-webkit-"+(102<u?"inline-":"")+"box")+";"+a.replace(s,"-webkit-"+s)+";"+a.replace(s,"-ms-"+s+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return s=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+s+"-ms-flex-"+s+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(E,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(E,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(s,"-webkit-"+s)+a.replace(s,"-moz-"+s.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),M(2!==t?r:r.replace(S,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(_," or ($1)").substring(4):"("+t+")"}function u(e,t,n,r,o,i,a,u,s,c){for(var f,d=0,p=t;d<L;++d)switch(f=D[d].call(l,e,p,n,r,o,i,a,u,s,c)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function s(e){return void 0!==(e=e.prefix)&&(M=null,e?"function"!=typeof e?O=1:(O=2,M=e):O=0),s}function l(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<L){var o=u(-1,n,r,r,T,A,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var i=t(R,r,n,0,0);return 0<L&&(void 0!==(o=u(-2,i,r,r,T,A,i.length,0,0,0))&&(i=o)),"",P=0,A=T=1,i}var c=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,v=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,x=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,_=/([\s\S]*?);/g,E=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,A=1,T=1,P=0,O=1,R=[],D=[],L=0,M=null,N=0;return l.use=function e(t){switch(t){case void 0:case null:L=D.length=0;break;default:if("function"==typeof t)D[L++]=t;else if("object"===ho(t))for(var n=0,r=t.length;n<r;++n)e(t[n]);else N=0|!!t}return e},l.set=s,void 0!==e&&s(e),l}var Gw={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Ww(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Kw=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Xw=Ww((function(e){return Kw.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function Zw(){return(Zw=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Qw=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},$w=function(e){return null!==e&&"object"==ho(e)&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!Tw.exports.typeOf(e)},Jw=Object.freeze([]),e_=Object.freeze({});function t_(e){return"function"==typeof e}function n_(e){return e.displayName||e.name||"Component"}function r_(e){return e&&"string"==typeof e.styledComponentId}var o_="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",i_="undefined"!=typeof window&&"HTMLElement"in window,a_=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&("false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY)),u_={};function s_(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var l_=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&s_(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),u=0,s=t.length;u<s;u++)this.tag.insertRule(a,t[u])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),c_=new Map,f_=new Map,d_=1,p_=function(e){if(c_.has(e))return c_.get(e);for(;f_.has(d_);)d_++;var t=d_++;return c_.set(e,t),f_.set(t,e),t},h_=function(e){return f_.get(e)},v_=function(e,t){t>=d_&&(d_=t+1),c_.set(e,t),f_.set(t,e)},m_="style["+o_+'][data-styled-version="5.3.5"]',g_=new RegExp("^"+o_+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),y_=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},b_=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var u=a.match(g_);if(u){var s=0|parseInt(u[1],10),l=u[2];0!==s&&(v_(l,s),y_(e,l,u[3]),e.getTag().insertRules(s,r)),r.length=0}else r.push(a)}}},x_=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(o_))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(o_,"active"),r.setAttribute("data-styled-version","5.3.5");var a="undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null;return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},w_=function(){function e(e){var t=this.element=x_(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}s_(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),__=function(){function e(e){var t=this.element=x_(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),E_=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),S_=i_,k_={isServer:!i_,useCSSOMInjection:!a_},C_=function(){function e(e,t,n){void 0===e&&(e=e_),void 0===t&&(t={}),this.options=Zw({},k_,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&i_&&S_&&(S_=!1,function(e){for(var t=document.querySelectorAll(m_),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(o_)&&(b_(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return p_(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(Zw({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new E_(o):r?new w_(o):new __(o),new l_(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(p_(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(p_(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(p_(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var i=h_(o);if(void 0!==i){var a=e.names.get(i),u=t.getGroup(o);if(a&&u&&a.size){var s=o_+".g"+o+'[id="'+i+'"]',l="";void 0!==a&&a.forEach((function(e){e.length>0&&(l+=e+",")})),r+=""+u+s+'{content:"'+l+'"}/*!sc*/\n'}}}return r}(this)},e}(),A_=/(a)(d)/gi,T_=function(e){return String.fromCharCode(e+(e>25?39:97))};function P_(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=T_(t%52)+n;return(T_(t%52)+n).replace(A_,"$1-$2")}var O_=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},R_=function(e){return O_(5381,e)};function D_(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(t_(n)&&!r_(n))return!1}return!0}var L_=R_("5.3.5"),M_=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&D_(e),this.componentId=t,this.baseHash=O_(L_,t),this.baseStyle=n,C_.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var i=$_(this.rules,e,t,n).join(""),a=P_(O_(this.baseHash,i)>>>0);if(!t.hasNameForId(r,a)){var u=n(i,"."+a,void 0,r);t.insertRules(r,a,u)}o.push(a),this.staticRulesId=a}else{for(var s=this.rules.length,l=O_(this.baseHash,n.hash),c="",f=0;f<s;f++){var d=this.rules[f];if("string"==typeof d)c+=d;else if(d){var p=$_(d,e,t,n),h=Array.isArray(p)?p.join(""):p;l=O_(l,h+f),c+=h}}if(c){var v=P_(l>>>0);if(!t.hasNameForId(r,v)){var m=n(c,"."+v,void 0,r);t.insertRules(r,v,m)}o.push(v)}}return o.join(" ")},e}(),N_=/^\s*\/\/.*$/gm,F_=[":","[",".","#"];function I_(e){var t,n,r,o,i=void 0===e?e_:e,a=i.options,u=void 0===a?e_:a,s=i.plugins,l=void 0===s?Jw:s,c=new Yw(u),f=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,a,u,s,l,c,f){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),p=function(e,r,i){return 0===r&&-1!==F_.indexOf(i[n.length])||i.match(o)?e:"."+t};function h(e,i,a,u){void 0===u&&(u="&");var s=e.replace(N_,""),l=i&&a?a+" "+i+" { "+s+" }":s;return t=u,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),c(a||!i?"":i,l)}return c.use([].concat(l,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,p))},d,function(e){if(-2===e){var t=f;return f=[],t}}])),h.hash=l.length?l.reduce((function(e,t){return t.name||s_(15),O_(e,t.name)}),5381).toString():"",h}var j_=Yo.createContext();j_.Consumer;var z_=Yo.createContext(),B_=(z_.Consumer,new C_),U_=I_();function V_(){return Jr.exports.useContext(j_)||B_}function H_(){return Jr.exports.useContext(z_)||U_}function q_(e){var t=Jr.exports.useState(e.stylisPlugins),n=t[0],r=t[1],o=V_(),i=Jr.exports.useMemo((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),a=Jr.exports.useMemo((function(){return I_({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return Jr.exports.useEffect((function(){(function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==ho(e)||!e||"object"!==ho(t)||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),s=0;s<i.length;s++){var l=i[s];if(!u(l))return!1;var c=e[l],f=t[l];if(!1===(o=n?n.call(r,c,f,l):void 0)||void 0===o&&c!==f)return!1}return!0})(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),Yo.createElement(j_.Provider,{value:i},Yo.createElement(z_.Provider,{value:a},e.children))}var Y_=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=U_);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return s_(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=U_),this.name+e.hash},e}(),G_=/([A-Z])/,W_=/([A-Z])/g,K_=/^ms-/,X_=function(e){return"-"+e.toLowerCase()};function Z_(e){return G_.test(e)?e.replace(W_,X_).replace(K_,"-ms-"):e}var Q_=function(e){return null==e||!1===e||""===e};function $_(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,u=e.length;a<u;a+=1)""!==(o=$_(e[a],t,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return Q_(e)?"":r_(e)?"."+e.styledComponentId:t_(e)?"function"!=typeof(s=e)||s.prototype&&s.prototype.isReactComponent||!t?e:$_(e(t),t,n,r):e instanceof Y_?n?(e.inject(n,r),e.getName(r)):e:$w(e)?function e(t,n){var r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!Q_(t[a])&&(Array.isArray(t[a])&&t[a].isCss||t_(t[a])?i.push(Z_(a)+":",t[a],";"):$w(t[a])?i.push.apply(i,e(t[a],a)):i.push(Z_(a)+": "+(r=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in Gw?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString();var s}var J_=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function eE(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return t_(e)||$w(e)?J_($_(Qw(Jw,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:J_($_(Qw(e,n)))}var tE=function(e,t,n){return void 0===n&&(n=e_),e.theme!==n.theme&&e.theme||t||n.theme},nE=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,rE=/(^-|-$)/g;function oE(e){return e.replace(nE,"-").replace(rE,"")}var iE=function(e){return P_(R_(e)>>>0)};function aE(e){return"string"==typeof e&&!0}var uE=function(e){return"function"==typeof e||"object"==ho(e)&&null!==e&&!Array.isArray(e)},sE=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function lE(e,t,n){var r=e[n];uE(t)&&uE(r)?cE(r,t):e[n]=t}function cE(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(uE(a))for(var u in a)sE(u)&&lE(e,a[u],u)}return e}var fE=Yo.createContext();fE.Consumer;var dE={};function pE(e,t,n){var r=r_(e),o=!aE(e),i=t.attrs,a=void 0===i?Jw:i,u=t.componentId,s=void 0===u?function(e,t){var n="string"!=typeof e?"sc":oE(e);dE[n]=(dE[n]||0)+1;var r=n+"-"+iE("5.3.5"+n+dE[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):u,l=t.displayName,c=void 0===l?function(e){return aE(e)?"styled."+e:"Styled("+n_(e)+")"}(e):l,f=t.displayName&&t.componentId?oE(t.displayName)+"-"+t.componentId:t.componentId||s,d=r&&e.attrs?Array.prototype.concat(e.attrs,a).filter(Boolean):a,p=t.shouldForwardProp;r&&e.shouldForwardProp&&(p=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var h,v=new M_(n,f,r?e.componentStyle:void 0),m=v.isStatic&&0===a.length,g=function(e,t){return function(e,t,n,r){var o=e.attrs,i=e.componentStyle,a=e.defaultProps,u=e.foldedComponentIds,s=e.shouldForwardProp,l=e.styledComponentId,c=e.target,f=function(e,t,n){void 0===e&&(e=e_);var r=Zw({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,a=e;for(t in t_(a)&&(a=a(r)),a)r[t]=o[t]="className"===t?(n=o[t],i=a[t],n&&i?n+" "+i:n||i):a[t]})),[r,o]}(tE(t,Jr.exports.useContext(fE),a)||e_,t,o),d=f[0],p=f[1],h=function(e,t,n,r){var o=V_(),i=H_();return t?e.generateAndInjectStyles(e_,o,i):e.generateAndInjectStyles(n,o,i)}(i,r,d),v=n,m=p.$as||t.$as||p.as||t.as||c,g=aE(m),y=p!==t?Zw({},t,{},p):t,b={};for(var x in y)"$"!==x[0]&&"as"!==x&&("forwardedAs"===x?b.as=y[x]:(s?s(x,Xw,m):!g||Xw(x))&&(b[x]=y[x]));return t.style&&p.style!==t.style&&(b.style=Zw({},t.style,{},p.style)),b.className=Array.prototype.concat(u,l,h!==l?h:null,t.className,p.className).filter(Boolean).join(" "),b.ref=v,Jr.exports.createElement(m,b)}(h,e,t,m)};return g.displayName=c,(h=Yo.forwardRef(g)).attrs=d,h.componentStyle=v,h.displayName=c,h.shouldForwardProp=p,h.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Jw,h.styledComponentId=f,h.target=r?e.target:e,h.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),i=r&&r+"-"+(aE(e)?e:oE(n_(e)));return pE(e,Zw({},o,{attrs:d,componentId:i}),n)},Object.defineProperty(h,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?cE({},e.defaultProps,t):t}}),h.toString=function(){return"."+h.styledComponentId},o&&kx(h,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),h}var hE=function(e){return function e(t,n,r){if(void 0===r&&(r=e_),!Tw.exports.isValidElementType(n))return s_(1,String(n));var o=function(){return t(n,r,eE.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,Zw({},r,{},o))},o.attrs=function(o){return e(t,n,Zw({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(pE,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){hE[e]=hE(e)}));var vE=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=D_(e),C_.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var o=r($_(this.rules,t,n,r).join(""),""),i=this.componentId+e;n.insertRules(i,i,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&C_.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function mE(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=eE.apply(void 0,[e].concat(n)),i="sc-global-"+iE(JSON.stringify(o)),a=new vE(o,i);function u(e){var t=V_(),n=H_(),r=Jr.exports.useContext(fE),o=Jr.exports.useRef(t.allocateGSInstance(i)).current;return t.server&&s(o,e,t,r,n),Jr.exports.useLayoutEffect((function(){if(!t.server)return s(o,e,t,r,n),function(){return a.removeStyles(o,t)}}),[o,e,t,r,n]),null}function s(e,t,n,r,o){if(a.isStatic)a.renderStyles(e,u_,n,o);else{var i=Zw({},t,{theme:tE(t,r,u.defaultProps)});a.renderStyles(e,i,n,o)}}return Yo.memo(u)}function gE(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=eE.apply(void 0,[e].concat(n)).join(""),i=iE(o);return new Y_(i,o)}var yE=Ur("s",hE),bE={colorPrimary100:"#FFFFFF",colorPrimary99:"#04162d",colorPrimary95:"#C8F9FF",colorPrimary90:"#87F2FF",colorPrimary80:"#4ED8E9",colorPrimary70:"#21BCCC",colorPrimary60:"#00A0AF",colorPrimary50:"#008491",colorPrimary40:"#006974",colorPrimary30:"#004F57",colorPrimary20:"#00363C",colorPrimary10:"#001F23",colorPrimary0:"#000000"},xE={colorNeutral100:"#FFFFFF",colorNeutral99:"#FBFDFD",colorNeutral95:"#EFF1F1",colorNeutral90:"#E0E3E3",colorNeutral80:"#C4C7C7",colorNeutral70:"#A9ACAC",colorNeutral60:"#8E9191",colorNeutral50:"#747878",colorNeutral40:"#5C5F5F",colorNeutral30:"#444747",colorNeutral20:"#2D3131",colorNeutral10:"#191C1D",colorNeutral0:"#000000"},wE={colorBlue70:"#0056D3"},_E=Object.freeze(Object.defineProperty({__proto__:null,primaryColors:bE,neutralColors:xE,blueColors:wE},Symbol.toStringTag,{value:"Module"})),EE={"--ll-color-primary":bE.colorPrimary50,"--ll-color-primary-variant1":bE.colorPrimary40,"--ll-color-background":xE.colorNeutral100,"--ll-color-surface":xE.colorNeutral95,"--ll-color-surface-variant1":xE.colorNeutral90,"--ll-color-surface-variant2":xE.colorNeutral80,"--ll-color-on-primary":xE.colorNeutral100,"--ll-color-on-primary-variant1":xE.colorNeutral90,"--ll-color-on-background":xE.colorNeutral10,"--ll-color-on-background-variant1":xE.colorNeutral30,"--ll-color-on-surface":xE.colorNeutral10,"--ll-color-on-surface-variant1":xE.colorNeutral30,"--ll-color-placeholder":xE.colorNeutral60,"--ll-color-disabled":xE.colorNeutral60,"--ll-color-border":xE.colorNeutral90,"--ll-color-link":wE.colorBlue70},SE={"--ll-border-radius-small":"".concat(4,"px"),"--ll-border-radius-medium":"".concat(8,"px")},kE={"--ll-spacing-auto":"auto","--ll-spacing-base-unit":"".concat(4,"px"),"--ll-spacing-xx-small":"var(--ll-spacing-base-unit)","--ll-spacing-x-small":"calc(var(--ll-spacing-base-unit) * 2)","--ll-spacing-small":"calc(var(--ll-spacing-base-unit) * 3)","--ll-spacing-medium":"calc(var(--ll-spacing-base-unit) * 4)","--ll-spacing-large":"calc(var(--ll-spacing-base-unit) * 6)","--ll-spacing-x-large":"calc(var(--ll-spacing-base-unit) * 8)","--ll-spacing-xx-large":"calc(var(--ll-spacing-base-unit) * 12)","--ll-spacing-xxx-large":"calc(var(--ll-spacing-base-unit) * 16)"},CE=Zr(Zr(Zr(Zr(Zr(Zr(Zr({},EE),SE),{"--ll-shadow-small":"rgb(0 0 0 / 18%) 0px 2px 5px","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"}),kE),{"--ll-font-family":"Inter, sans-serif","--ll-font-family-mono":"Consolas, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Monaco, Courier New, Courier, monospace;"}),{"--ll-font-size-base":"12px","--ll-font-size-h1":"calc(var(--ll-font-size-base) * 4)","--ll-font-size-h2":"calc(var(--ll-font-size-base) * 3)","--ll-font-size-h3":"calc(var(--ll-font-size-base) * 2)","--ll-font-size-h4":"calc(var(--ll-font-size-base) * 1.667)","--ll-font-size-h5":"calc(var(--ll-font-size-base) * 1.5)","--ll-font-size-h6":"calc(var(--ll-font-size-base) * 1.333)","--ll-font-size-p":"calc(var(--ll-font-size-base) * 1.167)","--ll-font-size-caption-1":"var(--ll-font-size-base)","--ll-font-size-caption-2":"calc(var(--ll-font-size-base) * 0.833)"}),{"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"}),AE=Zr(Zr({},CE),{},{"--ll-color-primary":bE.colorPrimary60,"--ll-color-primary-variant1":bE.colorPrimary50,"--ll-color-background":xE.colorNeutral10,"--ll-color-surface":xE.colorNeutral20,"--ll-color-surface-variant1":xE.colorNeutral30,"--ll-color-surface-variant2":xE.colorNeutral40,"--ll-color-on-primary":xE.colorNeutral100,"--ll-color-on-primary-variant1":xE.colorNeutral90,"--ll-color-on-background":xE.colorNeutral99,"--ll-color-on-background-variant1":xE.colorNeutral80,"--ll-color-on-surface":xE.colorNeutral80,"--ll-color-on-surface-variant1":xE.colorNeutral90,"--ll-color-placeholder":xE.colorNeutral70,"--ll-color-disabled":xE.colorNeutral70,"--ll-color-border":xE.colorNeutral30,"--ll-color-link":wE.colorBlue70}),TE=Object.keys(CE).reduce((function(e,t){return Zr(Zr({},e),{},Qr({},t,"var(".concat(t,")")))}),{}),PE={day:CE,night:AE},OE=mE(e||(e=Hr(["\n :root {\n ",";\n }\n"])),(function(e){var t=e.themeName,n=e.overrides;return Zr(Zr({},PE[t||"day"]),n)})),RE={default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}},DE=Object.freeze(Object.defineProperty({__proto__:null,transitions:RE},Symbol.toStringTag,{value:"Module"})),LE=Object.freeze(Object.defineProperty({__proto__:null,screenSizes:{mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560}},Symbol.toStringTag,{value:"Module"})),ME=Zr(Zr({colors:_E},DE),LE);yE.span(o||(o=Hr(["\n display: inline-flex;\n color: ",";\n background-color: ",";\n border-radius: ",";\n line-height: 1;\n font-family: ",";\n font-size: ",";\n justify-content: center;\n\n ",";\n"])),(function(e){return e.textColor}),(function(e){return e.backgroundColor}),TE["--ll-border-radius-small"],TE["--ll-font-family"],TE["--ll-font-size-caption-1"],(function(e){var o=e.size;return"small"===o?eE(t||(t=Hr(["\n padding: calc("," / 2) ",";\n "])),TE["--ll-spacing-xx-small"],TE["--ll-spacing-xx-small"]):"large"===o?eE(n||(n=Hr(["\n padding: calc("," / 2) ",";\n font-size: ",";\n line-height: ",";\n "])),TE["--ll-spacing-small"],TE["--ll-spacing-medium"],TE["--ll-font-size-p"],TE["--ll-font-size-h6"]):eE(r||(r=Hr(["\n padding: "," ",";\n "])),TE["--ll-spacing-xx-small"],TE["--ll-spacing-x-small"])})),Ur({e:4,y:TE,S:ME});var NE,FE={exports:{}},IE={};
22
+ /**
23
+ * @license React
24
+ * react-jsx-runtime.production.min.js
25
+ *
26
+ * Copyright (c) Facebook, Inc. and its affiliates.
27
+ *
28
+ * This source code is licensed under the MIT license found in the
29
+ * LICENSE file in the root directory of this source tree.
30
+ */!function(e){e.exports=function(){if(NE)return IE;NE=1;var e=Yo,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var u,s={},l=null,c=null;for(u in void 0!==a&&(l=""+a),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,u)&&!i.hasOwnProperty(u)&&(s[u]=n[u]);if(e&&e.defaultProps)for(u in n=e.defaultProps)void 0===s[u]&&(s[u]=n[u]);return{$$typeof:t,type:e,key:l,ref:c,props:s,_owner:o.current}}return IE.Fragment=n,IE.jsx=a,IE.jsxs=a,IE}()}(FE);var jE=FE.exports.Fragment,zE=FE.exports.jsx,BE=FE.exports.jsxs,UE=yE.div(i||(i=Hr(["\n height: ","px;\n width: ","px;\n fill: ",";\n display: flex;\n\n & > svg {\n fill: inherit;\n height: 100%;\n width: 100%;\n }\n"])),(function(e){return e.height}),(function(e){return e.width}),(function(e){return e.fill})),VE=function(e){var t=e.SVGElement,n=e.fill,r=void 0===n?"--ll-color-on-background":n,o=e.height,i=void 0===o?24:o,a=e.width;return zE(UE,{fill:r,height:i,width:void 0===a?24:a,children:zE(t,{})})},HE=function(e){var t=e.variant;return"h1"===t?TE["--ll-font-size-h1"]:"h2"===t?TE["--ll-font-size-h2"]:"h3"===t?TE["--ll-font-size-h3"]:"h4"===t?TE["--ll-font-size-h4"]:"h5"===t?TE["--ll-font-size-h5"]:"h6"===t?TE["--ll-font-size-h6"]:"p"===t?TE["--ll-font-size-p"]:"caption1"===t?TE["--ll-font-size-caption-1"]:"caption2"===t?TE["--ll-font-size-caption-2"]:TE["--ll-font-size-h2"]},qE=function(e){var t=e.color;return t in TE?TE[t]:t},YE=yE.span(a||(a=Hr(["\n overflow: hidden;\n display: inline-block;\n width: 100%;\n line-height: ",";\n margin: 0 0 "," 0;\n font-size: inherit;\n font-weight: inherit;\n"])),(function(e){return e.lineHeight||1.45}),(function(e){return e.noMargin?"0":"0.5em"})),GE=yE.div(u||(u=Hr(["\n ","\n"])),(function(e){return eE(s||(s=Hr(["\n text-align: ",";\n font-size: ",";\n font-family: ",";\n color: ",";\n font-weight: ",";\n overflow: hidden;\n display: flex;\n\n svg {\n height: ",";\n fill: ",";\n }\n\n "," {\n ","\n }\n "])),e.align,HE(e),"sans-serif"===e.family?TE["--ll-font-family"]:TE["--ll-font-family-mono"],qE(e),TE[e.weight],HE(e),qE(e),YE,e.noWrap&&eE(l||(l=Hr(["\n text-overflow: ellipsis;\n white-space: nowrap;\n "]))))})),WE=function(e){var t=e.children,n=e.variant,r=void 0===n?"p":n,o=e.align,i=e.color,a=void 0===i?"--ll-color-on-background":i,u=e.noWrap,s=e.noMargin,l=e.lineHeight,c=e.weight,f=void 0===c?"--ll-font-weight-normal":c,d=e.family,p=void 0===d?"sans-serif":d,h=e.className,v=["caption1","caption2","p"].includes(r)?"p":r;return zE(GE,{variant:r,align:o,color:a,noWrap:u,weight:f,family:p,children:zE(YE,{as:v,noMargin:s,className:h,lineHeight:l,children:t})})};function KE(){return KE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KE.apply(this,arguments)}function XE(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];function r(t,r){var o=Jr.exports.createContext(r),i=n.length;function a(t){var n=t.scope,r=t.children,a=qr(t,Nt),u=(null==n?void 0:n[e][i])||o,s=Jr.exports.useMemo((function(){return a}),Object.values(a));return Jr.exports.createElement(u.Provider,{value:s},r)}return n=[].concat(Wr(n),[r]),a.displayName=t+"Provider",[a,function(n,a){var u=(null==a?void 0:a[e][i])||o,s=Jr.exports.useContext(u);if(s)return s;if(void 0!==r)return r;throw new Error("`".concat(n,"` must be used within `").concat(t,"`"))}]}var o=function(){var t=n.map((function(e){return Jr.exports.createContext(e)}));return function(n){var r=(null==n?void 0:n[e])||t;return Jr.exports.useMemo((function(){return Qr({},"__scope".concat(e),Zr(Zr({},n),{},Qr({},e,r)))}),[n,r])}};return o.scopeName=e,[r,ZE.apply(void 0,[o].concat(Wr(t)))]}function ZE(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if(1===t.length)return r;var o=function(){var e=t.map((function(e){return{useScope:e(),scopeName:e.scopeName}}));return function(t){var n=e.reduce((function(e,n){var r=n.useScope,o=n.scopeName,i=r(t)["__scope".concat(o)];return Zr(Zr({},e),i)}),{});return Jr.exports.useMemo((function(){return Qr({},"__scope".concat(r.scopeName),n)}),[n])}};return o.scopeName=r.scopeName,o}function QE(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function $E(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.forEach((function(t){return QE(t,e)}))}}function JE(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Jr.exports.useCallback($E.apply(void 0,t),t)}yE.a(c||(c=Hr(["\n font-family: ",";\n font-size: ",";\n color: ",";\n cursor: pointer;\n\n ","\n"])),TE["--ll-font-family"],TE["--ll-font-size-p"],TE["--ll-color-link"],(function(e){var t=e.lineClamp;return t&&eE(f||(f=Hr(["\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ",";\n "])),t)})),Ur({O:VE,l:WE});var eS=Jr.exports.forwardRef((function(e,t){var n=e.children,r=qr(e,Ft),o=Jr.exports.Children.toArray(n),i=o.find(rS);if(i){var a=i.props.children,u=o.map((function(e){return e===i?Jr.exports.Children.count(a)>1?Jr.exports.Children.only(null):Jr.exports.isValidElement(a)?a.props.children:null:e}));return Jr.exports.createElement(tS,KE({},r,{ref:t}),Jr.exports.isValidElement(a)?Jr.exports.cloneElement(a,void 0,u):null)}return Jr.exports.createElement(tS,KE({},r,{ref:t}),n)}));eS.displayName="Slot";var tS=Jr.exports.forwardRef((function(e,t){var n=e.children,r=qr(e,It);return Jr.exports.isValidElement(n)?Jr.exports.cloneElement(n,Zr(Zr({},function(e,t){var n=Zr({},t),r=function(r){var o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=function(){null==i||i.apply(void 0,arguments),null==o||o.apply(void 0,arguments)}:"style"===r?n[r]=Zr(Zr({},o),i):"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))};for(var o in t)r(o);return Zr(Zr({},e),n)}(r,n.props)),{},{ref:$E(t,n.ref)})):Jr.exports.Children.count(n)>1?Jr.exports.Children.only(null):null}));tS.displayName="SlotClone";var nS=function(e){var t=e.children;return Jr.exports.createElement(Jr.exports.Fragment,null,t)};function rS(e){return Jr.exports.isValidElement(e)&&e.type===nS}var oS=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"].reduce((function(e,t){var n=Jr.exports.forwardRef((function(e,n){var r=e.asChild,o=qr(e,jt),i=r?eS:t;return Jr.exports.useEffect((function(){window[Symbol.for("radix-ui")]=!0}),[]),Jr.exports.createElement(i,KE({},o,{ref:n}))}));return n.displayName="Primitive.".concat(t),Zr(Zr({},e),{},Qr({},t,n))}),{});var iS=Boolean(null==globalThis?void 0:globalThis.document)?Jr.exports.useLayoutEffect:function(){},aS=Go["useId".toString()]||function(){},uS=0;function sS(e){var t=$r(Jr.exports.useState(aS()),2),n=t[0],r=t[1];return iS((function(){e||r((function(e){return null!=e?e:String(uS++)}))}),[e]),e||(n?"radix-".concat(n):"")}var lS=function(e,t){var n=Jr.exports.createContext(t);function r(e){var t=e.children,r=qr(e,Mt),o=Jr.exports.useMemo((function(){return r}),Object.values(r));return Jr.exports.createElement(n.Provider,{value:o},t)}return r.displayName=e+"Provider",[r,function(r){var o=Jr.exports.useContext(n);if(o)return o;if(void 0!==t)return t;throw new Error("`".concat(r,"` must be used within `").concat(e,"`"))}]}("Label",{id:void 0,controlRef:{current:null}}),cS=$r(lS,2),fS=cS[0],dS=cS[1],pS=Jr.exports.forwardRef((function(e,t){var n=e.htmlFor,r=e.id,o=qr(e,zt),i=Jr.exports.useRef(null),a=Jr.exports.useRef(null),u=JE(t,a),s=sS(r);return Jr.exports.useEffect((function(){if(n){var e=document.getElementById(n);if(a.current&&e){var t=function(){return e.getAttribute("aria-labelledby")},r=[s,t()].filter(Boolean).join(" ");return e.setAttribute("aria-labelledby",r),i.current=e,function(){var n,r=null===(n=t())||void 0===n?void 0:n.replace(s,"");""===r?e.removeAttribute("aria-labelledby"):r&&e.setAttribute("aria-labelledby",r)}}}}),[s,n]),Jr.exports.createElement(fS,{id:s,controlRef:i},Jr.exports.createElement(oS.span,KE({role:"label",id:s},o,{ref:u,onMouseDown:function(t){var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()},onClick:function(t){var n;if(null===(n=e.onClick)||void 0===n||n.call(e,t),i.current&&!t.defaultPrevented){var r=i.current.contains(t.target),o=!0===t.isTrusted;!r&&o&&(i.current.click(),i.current.focus())}}})))})),hS=function(e){var t=dS("LabelConsumer"),n=t.controlRef;return Jr.exports.useEffect((function(){e&&(n.current=e)}),[e,n]),t.id},vS=yE(pS)(d||(d=Hr(["\n font-size: ",";\n font-family: ",";\n color: ",";\n"])),TE["--ll-font-size-p"],TE["--ll-font-family"],TE["--ll-color-placeholder"]),mS=function(e){return zE(vS,Zr({},e))},gS=0,yS=gE(p||(p=Hr(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]))),bS={small:16,medium:24,large:32},xS=yE.div(h||(h=Hr(["\n height: ","px;\n width: ","px;\n border: ","px solid ",";\n border-bottom-color: transparent;\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: "," 1s linear infinite;\n"])),(function(e){var t=e.size;return bS[t]}),(function(e){var t=e.size;return bS[t]}),(function(e){var t=e.size;return bS[t]/6}),TE["--ll-color-on-surface-variant1"],yS),wS=function(e){var t=e.size;return zE(xS,{size:void 0===t?"medium":t})},_S={primary:{background:TE["--ll-color-primary"],onBackground:TE["--ll-color-on-primary"],hover:TE["--ll-color-primary-variant1"]}},ES=function(e){var t=e.size;return"".concat("small"===t?32:"large"===t?48:40,"px")},SS=eE(v||(v=Hr(["\n ",";\n\n height: ",";\n"])),(function(e){e.color;return eE(m||(m=Hr(["\n color: ",";\n\n &:disabled {\n cursor: default;\n }\n "])),TE["--ll-color-on-background"])}),ES),kS=eE(g||(g=Hr(["\n ",";\n height: ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t;return eE(y||(y=Hr(["\n background-color: ",";\n color: ",";\n border: 1px solid transparent;\n\n &:hover {\n background-color: ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: default;\n }\n "])),_S[n].background,_S[n].onBackground,_S[n].hover,TE["--ll-color-disabled"])}),ES),CS=eE(b||(b=Hr(["\n ",";\n\n &:hover {\n background-color: rgba(0, 0, 0, 0.03);\n }\n\n height: ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t;return eE(x||(x=Hr(["\n border-color: ",";\n border-width: 1px;\n border-style: solid;\n color: ",";\n "])),_S[n].background,_S[n].background)}),ES),AS=yE.div(w||(w=Hr(["\n display: flex;\n align-items: center;\n margin-right: ",";\n margin-left: calc(-1 * ",");\n"])),TE["--ll-spacing-x-small"],TE["--ll-spacing-xx-small"]),TS=yE.button(_||(_=Hr(["\n font-weight: ",";\n border-radius: ",";\n align-items: center;\n justify-content: center;\n cursor: pointer;\n display: inline-flex;\n background: none;\n border: none;\n box-sizing: border-box;\n\n svg {\n fill: currentColor;\n }\n\n ",";\n ",";\n ",";\n ",";\n"])),TE["--ll-font-weight-normal"],TE["--ll-border-radius-small"],(function(e){return{contained:kS,outlined:CS,text:SS}[e.variant]}),(function(e){var t=e.size;return"large"===t?"svg { height: 24px; }":"small"===t?"svg { height: 12px }":"svg { height: 20px; }"}),(function(e){var t=e.size;return"font-size: ".concat("small"===t?TE["--ll-font-size-caption-1"]:TE["--ll-font-size-p"])}),(function(e){var t=e.size;return"padding: 0 ".concat("small"===t?TE["--ll-spacing-x-small"]:"large"===t?TE["--ll-spacing-medium"]:TE["--ll-spacing-small"])})),PS=Yo.forwardRef((function(e,t){var n=e.children,r=e.disabled,o=void 0!==r&&r,i=e.onClick,a=e.variant,u=void 0===a?"contained":a,s=e.startAdornment,l=e.size,c=void 0===l?"medium":l,f=e.type,d=void 0===f?"button":f,p=e.color,h=e.isLoading,v=e.className;return zE(TS,{variant:u,size:c,onClick:function(e){o||!i||h||i(e)},disabled:o||h,className:v,color:p,type:d,ref:t,children:h?zE(wS,{}):BE(jE,{children:[s&&zE(AS,{children:s}),n]})})}));Ur({k:wS,T:PS}),PS.displayName="Button";var OS=yE.div(E||(E=Hr(["\n display: flex;\n flex-direction: column;\n"]))),RS=yE.div(S||(S=Hr(["\n position: relative;\n"]))),DS=yE(PS)(k||(k=Hr(["\n position: absolute;\n right: 0px;\n top: 0px;\n"]))),LS=yE.input(C||(C=Hr(["\n all: unset;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ",";\n padding: 0 ",";\n height: 30px;\n line-height: 1;\n font-size: ",";\n font-family: ",";\n color: ",";\n background-color: ",";\n border: 1px solid ",";\n width: calc(100% - ",");\n\n &:focus {\n box-shadow: ",";\n }\n"])),TE["--ll-border-radius-small"],TE["--ll-spacing-x-small"],TE["--ll-font-size-p"],TE["--ll-font-family"],TE["--ll-color-on-background"],TE["--ll-color-background"],TE["--ll-color-border"],TE["--ll-spacing-medium"],TE["--ll-shadow-small"]),MS=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 0C4.47 0 0 4.47 0 10C0 15.53 4.47 20 10 20C15.53 20 20 15.53 20 10C20 4.47 15.53 0 10 0ZM10 18C5.59 18 2 14.41 2 10C2 5.59 5.59 2 10 2C14.41 2 18 5.59 18 10C18 14.41 14.41 18 10 18ZM10 8.59L13.59 5L15 6.41L11.41 10L15 13.59L13.59 15L10 11.41L6.41 15L5 13.59L8.59 10L5 6.41L6.41 5L10 8.59Z"})}))};Ur("Z",(function(e){var t=e.value,n=e.label,r=e.placeholder,o=e.className,i=e.autofocus,a=void 0!==i&&i,u=e.onBlur,s=e.onFocus,l=e.onClear,c=e.onChange,f=$r(Jr.exports.useState((function(){return"id-".concat(gS+=1)})),1)[0],d=Jr.exports.useMemo((function(){return n?zE(mS,{htmlFor:f,style:{lineHeight:"26px"},children:n}):null}),[n]);return BE(OS,{children:[d,BE(RS,{children:[zE(LS,{autoFocus:a,className:o,id:f,value:t,onBlur:u,onFocus:s,onChange:c,placeholder:r}),l&&zE(DS,{size:"small",variant:"text",onClick:l,children:zE(MS,{})})]})]})}));function NS(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.checkForDefaultPrevented,o=void 0===r||r;return function(n){if(null==e||e(n),!1===o||!n.defaultPrevented)return null==t?void 0:t(n)}}function FS(e){var t=Jr.exports.useRef(e);return Jr.exports.useEffect((function(){t.current=e})),Jr.exports.useMemo((function(){return function(){for(var e,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return null===(n=t.current)||void 0===n?void 0:(e=n).call.apply(e,[t].concat(o))}}),[])}function IS(e){var t=e.prop,n=e.defaultProp,r=e.onChange,o=void 0===r?function(){}:r,i=function(e){var t=e.defaultProp,n=e.onChange,r=Jr.exports.useState(t),o=$r(r,1)[0],i=Jr.exports.useRef(o),a=FS(n);return Jr.exports.useEffect((function(){i.current!==o&&(a(o),i.current=o)}),[o,i,a]),r}({defaultProp:n,onChange:o}),a=$r(i,2),u=a[0],s=a[1],l=void 0!==t,c=l?t:u,f=FS(o);return[c,Jr.exports.useCallback((function(e){if(l){var n="function"==typeof e?e(t):e;n!==t&&f(n)}else s(e)}),[l,t,s,f])]}function jS(e){var t=Jr.exports.useRef({value:e,previous:e});return Jr.exports.useMemo((function(){return t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous}),[e])}function zS(e){var t=$r(Jr.exports.useState(void 0),2),n=t[0],r=t[1];return iS((function(){if(e){r({width:e.offsetWidth,height:e.offsetHeight});var t=new ResizeObserver((function(t){if(Array.isArray(t)&&t.length){var n,o,i=t[0];if("borderBoxSize"in i){var a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;n=u.inlineSize,o=u.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})}}));return t.observe(e,{box:"border-box"}),function(){return t.unobserve(e)}}r(void 0)}),[e]),n}var BS="Switch",US=$r(XE(BS),2),VS=US[0],HS=(US[1],$r(VS(BS),2)),qS=HS[0],YS=HS[1],GS=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSwitch,r=e["aria-labelledby"],o=e.name,i=e.checked,a=e.defaultChecked,u=e.required,s=e.disabled,l=e.value,c=void 0===l?"on":l,f=e.onCheckedChange,d=qr(e,Bt),p=$r(Jr.exports.useState(null),2),h=p[0],v=p[1],m=JE(t,(function(e){return v(e)})),g=hS(h),y=r||g,b=Jr.exports.useRef(!1),x=!h||Boolean(h.closest("form")),w=$r(IS({prop:i,defaultProp:a,onChange:f}),2),_=w[0],E=void 0!==_&&_,S=w[1];return Jr.exports.createElement(qS,{scope:n,checked:E,disabled:s},Jr.exports.createElement(oS.button,KE({type:"button",role:"switch","aria-checked":E,"aria-labelledby":y,"aria-required":u,"data-state":XS(E),"data-disabled":s?"":void 0,disabled:s,value:c},d,{ref:m,onClick:NS(e.onClick,(function(e){S((function(e){return!e})),x&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())}))})),x&&Jr.exports.createElement(KS,{control:h,bubbles:!b.current,name:o,value:c,checked:E,required:u,disabled:s,style:{transform:"translateX(-100%)"}}))})),WS=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSwitch,r=qr(e,Ut),o=YS("SwitchThumb",n);return Jr.exports.createElement(oS.span,KE({"data-state":XS(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))})),KS=function(e){var t=e.control,n=e.checked,r=e.bubbles,o=void 0===r||r,i=qr(e,Vt),a=Jr.exports.useRef(null),u=jS(n),s=zS(t);return Jr.exports.useEffect((function(){var e=a.current,t=window.HTMLInputElement.prototype,r=Object.getOwnPropertyDescriptor(t,"checked").set;if(u!==n&&r){var i=new Event("click",{bubbles:o});r.call(e,n),e.dispatchEvent(i)}}),[u,n,o]),Jr.exports.createElement("input",KE({type:"checkbox","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:a,style:Zr(Zr(Zr({},e.style),s),{},{position:"absolute",pointerEvents:"none",opacity:0,margin:0})}))};function XS(e){return e?"checked":"unchecked"}var ZS=WS,QS=yE(GS)(A||(A=Hr(["\n all: unset;\n width: 42px;\n height: 24px;\n background-color: ",';\n border-radius: 13px;\n position: relative;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n &[data-state="checked"] {\n background-color: ',";\n }\n"])),TE["--ll-color-disabled"],TE["--ll-color-on-background"]),$S=yE(ZS)(T||(T=Hr(["\n display: block;\n width: 18px;\n height: 18px;\n background-color: ",';\n border-radius: 9px;\n transition: transform 100ms;\n transform: translateX(3px);\n will-change: transform;\n\n &[data-state="checked"] {\n transform: translateX(21px);\n }\n'])),TE["--ll-color-background"]);Ur("a0",(function(e){return zE(QS,Zr(Zr({},e),{},{children:zE($S,{})}))}));function JS(e,t){var n=$r(t,2),r=n[0],o=n[1];return Math.min(o,Math.max(r,e))}var ek=Jr.exports.createContext(void 0);function tk(e){var t=Jr.exports.useContext(ek);return e||t||"ltr"}function nk(e){var t=e+"CollectionProvider",n=$r(XE(t),2),r=n[0],o=n[1],i=$r(r(t,{collectionRef:{current:null},itemMap:new Map}),2),a=i[0],u=i[1],s=e+"CollectionSlot",l=Yo.forwardRef((function(e,t){var n=e.scope,r=e.children,o=JE(t,u(s,n).collectionRef);return Yo.createElement(eS,{ref:o},r)})),c=e+"CollectionItemSlot",f="data-radix-collection-item",d=Yo.forwardRef((function(e,t){var n,r=e.scope,o=e.children,i=qr(e,Ht),a=Yo.useRef(null),s=JE(t,a),l=u(c,r);return Yo.useEffect((function(){return l.itemMap.set(a,Zr({ref:a},i)),function(){l.itemMap.delete(a)}})),Yo.createElement(eS,(Qr(n={},f,""),Qr(n,"ref",s),n),o)}));return[{Provider:function(e){var t=e.scope,n=e.children,r=Yo.useRef(null),o=Yo.useRef(new Map).current;return Yo.createElement(a,{scope:t,itemMap:o,collectionRef:r},n)},Slot:l,ItemSlot:d},function(t){var n=u(e+"CollectionConsumer",t);return Yo.useCallback((function(){var e=n.collectionRef.current;if(!e)return[];var t=Array.from(e.querySelectorAll("[".concat(f,"]")));return Array.from(n.itemMap.values()).sort((function(e,n){return t.indexOf(e.ref.current)-t.indexOf(n.ref.current)}))}),[n.collectionRef,n.itemMap])},o]}var rk=["PageUp","PageDown"],ok=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],ik={ltr:["ArrowDown","Home","ArrowLeft","PageDown"],rtl:["ArrowDown","Home","ArrowRight","PageDown"]},ak="Slider",uk=$r(nk(ak),3),sk=uk[0],lk=uk[1],ck=uk[2],fk=$r(XE(ak,[ck]),2),dk=fk[0],pk=(fk[1],$r(dk(ak),2)),hk=pk[0],vk=pk[1],mk=Jr.exports.forwardRef((function(e,t){var n=e.name,r=e.min,o=void 0===r?0:r,i=e.max,a=void 0===i?100:i,u=e.step,s=void 0===u?1:u,l=e.orientation,c=void 0===l?"horizontal":l,f=e.disabled,d=void 0!==f&&f,p=e.minStepsBetweenThumbs,h=void 0===p?0:p,v=e.defaultValue,m=void 0===v?[o]:v,g=e.value,y=e.onValueChange,b=void 0===y?function(){}:y,x=qr(e,qt),w=$r(Jr.exports.useState(null),2),_=w[0],E=w[1],S=JE(t,(function(e){return E(e)})),k=Jr.exports.useRef(new Set),C=Jr.exports.useRef(0),A="horizontal"===c,T=!_||Boolean(_.closest("form")),P=A?xk:wk,O=IS({prop:g,defaultProp:m,onChange:function(e){var t;null===(t=Wr(k.current)[C.current])||void 0===t||t.focus(),b(e)}}),R=$r(O,2),D=R[0],L=void 0===D?[]:D,M=R[1];function N(e,t){var n=function(e){return(String(e).split(".")[1]||"").length}(s),r=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}(Math.round((e-o)/s)*s+o,n),i=JS(r,[o,a]);M((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=Ok(e,i,t);return Dk(n,h*s)?(C.current=n.indexOf(i),String(n)===String(e)?e:n):e}))}return Jr.exports.createElement(hk,{scope:e.__scopeSlider,disabled:d,min:o,max:a,valueIndexToChangeRef:C,thumbs:k.current,values:L,orientation:c},Jr.exports.createElement(sk.Provider,{scope:e.__scopeSlider},Jr.exports.createElement(sk.Slot,{scope:e.__scopeSlider},Jr.exports.createElement(P,KE({"aria-disabled":d,"data-disabled":d?"":void 0},x,{ref:S,min:o,max:a,onSlideStart:d?void 0:function(e){var t=function(e,t){if(1===e.length)return 0;var n=e.map((function(e){return Math.abs(e-t)})),r=Math.min.apply(Math,Wr(n));return n.indexOf(r)}(L,e);N(e,t)},onSlideMove:d?void 0:function(e){N(e,C.current)},onHomeKeyDown:function(){return!d&&N(o,0)},onEndKeyDown:function(){return!d&&N(a,L.length-1)},onStepKeyDown:function(e){var t=e.event,n=e.direction;if(!d){var r=rk.includes(t.key)||t.shiftKey&&ok.includes(t.key)?10:1,o=C.current;N(L[o]+s*r*n,o)}}})))),T&&L.map((function(e,t){return Jr.exports.createElement(Pk,{key:t,name:n?n+(L.length>1?"[]":""):void 0,value:e})})))})),gk=$r(dk(ak,{startEdge:"left",endEdge:"right",size:"width",direction:1}),2),yk=gk[0],bk=gk[1],xk=Jr.exports.forwardRef((function(e,t){var n=e.min,r=e.max,o=e.dir,i=e.onSlideStart,a=e.onSlideMove,u=e.onStepKeyDown,s=qr(e,Yt),l=$r(Jr.exports.useState(null),2),c=l[0],f=l[1],d=JE(t,(function(e){return f(e)})),p=Jr.exports.useRef(),h=tk(o),v="ltr"===h;function m(e){var t=p.current||c.getBoundingClientRect(),o=Lk([0,t.width],v?[n,r]:[r,n]);return p.current=t,o(e-t.left)}return Jr.exports.createElement(yk,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width"},Jr.exports.createElement(_k,KE({dir:h,"data-orientation":"horizontal"},s,{ref:d,style:Zr(Zr({},s.style),{},Qr({},"--radix-slider-thumb-transform","translateX(-50%)")),onSlideStart:function(e){var t=m(e.clientX);null==i||i(t)},onSlideMove:function(e){var t=m(e.clientX);null==a||a(t)},onSlideEnd:function(){return p.current=void 0},onStepKeyDown:function(e){var t=ik[h].includes(e.key);null==u||u({event:e,direction:t?-1:1})}})))})),wk=Jr.exports.forwardRef((function(e,t){var n=e.min,r=e.max,o=e.onSlideStart,i=e.onSlideMove,a=e.onStepKeyDown,u=qr(e,Gt),s=Jr.exports.useRef(null),l=JE(t,s),c=Jr.exports.useRef();function f(e){var t=c.current||s.current.getBoundingClientRect(),o=Lk([0,t.height],[r,n]);return c.current=t,o(e-t.top)}return Jr.exports.createElement(yk,{scope:e.__scopeSlider,startEdge:"bottom",endEdge:"top",size:"height",direction:1},Jr.exports.createElement(_k,KE({"data-orientation":"vertical"},u,{ref:l,style:Zr(Zr({},u.style),{},Qr({},"--radix-slider-thumb-transform","translateY(50%)")),onSlideStart:function(e){var t=f(e.clientY);null==o||o(t)},onSlideMove:function(e){var t=f(e.clientY);null==i||i(t)},onSlideEnd:function(){return c.current=void 0},onStepKeyDown:function(e){var t=ik.ltr.includes(e.key);null==a||a({event:e,direction:t?-1:1})}})))})),_k=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=e.onSlideStart,o=e.onSlideMove,i=e.onSlideEnd,a=e.onHomeKeyDown,u=e.onEndKeyDown,s=e.onStepKeyDown,l=qr(e,Wt),c=vk(ak,n);return Jr.exports.createElement(oS.span,KE({},l,{ref:t,onKeyDown:NS(e.onKeyDown,(function(e){"Home"===e.key?(a(e),e.preventDefault()):"End"===e.key?(u(e),e.preventDefault()):rk.concat(ok).includes(e.key)&&(s(e),e.preventDefault())})),onPointerDown:NS(e.onPointerDown,(function(e){var t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),c.thumbs.has(t)?t.focus():r(e)})),onPointerMove:NS(e.onPointerMove,(function(e){e.target.hasPointerCapture(e.pointerId)&&o(e)})),onPointerUp:NS(e.onPointerUp,(function(e){var t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),i(e))}))}))})),Ek=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=qr(e,Kt),o=vk("SliderTrack",n);return Jr.exports.createElement(oS.span,KE({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))})),Sk="SliderRange",kk=Jr.exports.forwardRef((function(e,t){var n,r=e.__scopeSlider,o=qr(e,Xt),i=vk(Sk,r),a=bk(Sk,r),u=JE(t,Jr.exports.useRef(null)),s=i.values.length,l=i.values.map((function(e){return Rk(e,i.min,i.max)})),c=s>1?Math.min.apply(Math,Wr(l)):0,f=100-Math.max.apply(Math,Wr(l));return Jr.exports.createElement(oS.span,KE({"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0},o,{ref:u,style:Zr(Zr({},e.style),{},(n={},Qr(n,a.startEdge,c+"%"),Qr(n,a.endEdge,f+"%"),n))}))})),Ck="SliderThumb",Ak=Jr.exports.forwardRef((function(e,t){var n=lk(e.__scopeSlider),r=$r(Jr.exports.useState(null),2),o=r[0],i=r[1],a=JE(t,(function(e){return i(e)})),u=Jr.exports.useMemo((function(){return o?n().findIndex((function(e){return e.ref.current===o})):-1}),[n,o]);return Jr.exports.createElement(Tk,KE({},e,{ref:a,index:u}))})),Tk=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=e.index,o=qr(e,Zt),i=vk(Ck,n),a=bk(Ck,n),u=$r(Jr.exports.useState(null),2),s=u[0],l=u[1],c=JE(t,(function(e){return l(e)})),f=zS(s),d=i.values[r],p=void 0===d?0:Rk(d,i.min,i.max),h=function(e,t){return t>2?"Value ".concat(e+1," of ").concat(t):2===t?["Minimum","Maximum"][e]:void 0}(r,i.values.length),v=null==f?void 0:f[a.size],m=v?function(e,t,n){var r=e/2,o=Lk([0,50],[0,r]);return(r-o(t)*n)*n}(v,p,a.direction):0;return Jr.exports.useEffect((function(){if(s)return i.thumbs.add(s),function(){i.thumbs.delete(s)}}),[s,i.thumbs]),Jr.exports.createElement("span",{style:Qr({transform:"var(--radix-slider-thumb-transform)",position:"absolute"},a.startEdge,"calc(".concat(p,"% + ").concat(m,"px)"))},Jr.exports.createElement(sk.ItemSlot,{scope:e.__scopeSlider},Jr.exports.createElement(oS.span,KE({role:"slider","aria-label":e["aria-label"]||h,"aria-valuemin":i.min,"aria-valuenow":d,"aria-valuemax":i.max,"aria-orientation":i.orientation,"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,tabIndex:i.disabled?void 0:0},o,{ref:c,style:void 0===d?{display:"none"}:e.style,onFocus:NS(e.onFocus,(function(){i.valueIndexToChangeRef.current=r}))}))))})),Pk=function(e){var t=e.value,n=qr(e,Qt),r=Jr.exports.useRef(null),o=jS(t);return Jr.exports.useEffect((function(){var e=r.current,n=window.HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(n,"value").set;if(o!==t&&i){var a=new Event("input",{bubbles:!0});i.call(e,t),e.dispatchEvent(a)}}),[o,t]),Jr.exports.createElement("input",KE({style:{display:"none"}},n,{ref:r,defaultValue:t}))};function Ok(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=Wr(e);return r[n]=t,r.sort((function(e,t){return e-t}))}function Rk(e,t,n){return 100/(n-t)*(e-t)}function Dk(e,t){if(t>0){var n=function(e){return e.slice(0,-1).map((function(t,n){return e[n+1]-t}))}(e);return Math.min.apply(Math,Wr(n))>=t}return!0}function Lk(e,t){return function(n){if(e[0]===e[1]||t[0]===t[1])return t[0];var r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}var Mk=mk,Nk=Ek,Fk=kk,Ik=Ak,jk=yE.div(P||(P=Hr([""]))),zk=yE.div(O||(O=Hr(["\n display: flex;\n align-items: center;\n"]))),Bk=yE(Mk)(R||(R=Hr(["\n position: relative;\n display: flex;\n align-items: center;\n user-select: none;\n touch-action: none;\n height: 20;\n flex: 1;\n"]))),Uk=yE(Ik)(D||(D=Hr(["\n all: unset;\n height: 20px;\n width: 20px;\n border-radius: 50%;\n display: block;\n background-color: ",";\n box-shadow: ",";\n"])),TE["--ll-color-primary"],TE["--ll-shadow-medium"]),Vk=yE(Nk)(L||(L=Hr(["\n height: 4px;\n border-radius: 2px;\n background-color: ",";\n position: relative;\n flex: 1;\n"])),TE["--ll-color-surface-variant1"]),Hk=yE(Fk)(M||(M=Hr(["\n height: 100%;\n position: absolute;\n background-color: ",";\n border-radius: 2px;\n"])),TE["--ll-color-primary"]),qk=yE.div(N||(N=Hr(["\n margin: ",";\n flex-shrink: 0;\n"])),(function(e){return function(e){var t=e.vertical,n=e.spacing,r=TE[n];return t?"".concat(r," 0 0 0"):"0 ".concat(r," 0 0")}(e)})),Yk=function(e){var t=e.vertical,n=void 0!==t&&t,r=e.spacing;return zE(qk,{vertical:n,spacing:void 0===r?"--ll-spacing-auto":r})};Ur({g:Yk,a4:function(e){var t=e.label,n=e.showValue,r=qr(e,$t);return BE(jk,{children:[t&&zE(mS,{style:{lineHeight:"50px"},children:t}),BE(zk,{children:[BE(Bk,Zr(Zr({},r),{},{children:[zE(Vk,{children:zE(Hk,{})}),zE(Uk,{})]})),n&&BE(jE,{children:[zE(Yk,{spacing:"--ll-spacing-small"}),zE(WE,{noMargin:!0,children:r.value})]})]})]})}});var Gk,Wk="dismissableLayer.update",Kk="dismissableLayer.pointerDownOutside",Xk="dismissableLayer.focusOutside",Zk=Jr.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Qk=Jr.exports.forwardRef((function(e,t){var n=e.disableOutsidePointerEvents,r=void 0!==n&&n,o=e.onEscapeKeyDown,i=e.onPointerDownOutside,a=e.onFocusOutside,u=e.onInteractOutside,s=e.onDismiss,l=qr(e,Jt),c=Jr.exports.useContext(Zk),f=$r(Jr.exports.useState(null),2),d=f[0],p=f[1],h=$r(Jr.exports.useState({}),2)[1],v=JE(t,(function(e){return p(e)})),m=Array.from(c.layers),g=$r(Wr(c.layersWithOutsidePointerEventsDisabled).slice(-1),1)[0],y=m.indexOf(g),b=d?m.indexOf(d):-1,x=c.layersWithOutsidePointerEventsDisabled.size>0,w=b>=y,_=function(e){var t=FS(e),n=Jr.exports.useRef(!1),r=Jr.exports.useRef((function(){}));return Jr.exports.useEffect((function(){var e=function(e){if(e.target&&!n.current){var o=function(){Jk(Kk,t,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(document.removeEventListener("click",r.current),r.current=o,document.addEventListener("click",r.current,{once:!0})):o()}n.current=!1},o=window.setTimeout((function(){document.addEventListener("pointerdown",e)}),0);return function(){window.clearTimeout(o),document.removeEventListener("pointerdown",e),document.removeEventListener("click",r.current)}}),[t]),{onPointerDownCapture:function(){return n.current=!0}}}((function(e){var t=e.target,n=Wr(c.branches).some((function(e){return e.contains(t)}));!w||n||(null==i||i(e),null==u||u(e),e.defaultPrevented||null==s||s())})),E=function(e){var t=FS(e),n=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=function(e){e.target&&!n.current&&Jk(Xk,t,{originalEvent:e},{discrete:!1})};return document.addEventListener("focusin",e),function(){return document.removeEventListener("focusin",e)}}),[t]),{onFocusCapture:function(){return n.current=!0},onBlurCapture:function(){return n.current=!1}}}((function(e){var t=e.target;Wr(c.branches).some((function(e){return e.contains(t)}))||(null==a||a(e),null==u||u(e),e.defaultPrevented||null==s||s())}));return function(e){var t=FS(e);Jr.exports.useEffect((function(){var e=function(e){"Escape"===e.key&&t(e)};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}),[t])}((function(e){b===c.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))})),Jr.exports.useEffect((function(){if(d)return r&&(0===c.layersWithOutsidePointerEventsDisabled.size&&(Gk=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),$k(),function(){r&&1===c.layersWithOutsidePointerEventsDisabled.size&&(document.body.style.pointerEvents=Gk)}}),[d,r,c]),Jr.exports.useEffect((function(){return function(){!d||(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),$k())}}),[d,c]),Jr.exports.useEffect((function(){var e=function(){return h({})};return document.addEventListener(Wk,e),function(){return document.removeEventListener(Wk,e)}}),[]),Jr.exports.createElement(oS.div,KE({},l,{ref:v,style:Zr({pointerEvents:x?w?"auto":"none":void 0},e.style),onFocusCapture:NS(e.onFocusCapture,E.onFocusCapture),onBlurCapture:NS(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:NS(e.onPointerDownCapture,_.onPointerDownCapture)}))}));function $k(){var e=new CustomEvent(Wk);document.dispatchEvent(e)}function Jk(e,t,n,r){var o=r.discrete,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?function(e,t){e&&Ko.exports.flushSync((function(){return e.dispatchEvent(t)}))}(i,a):i.dispatchEvent(a)}var eC=0;function tC(){Jr.exports.useEffect((function(){var e,t,n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:nC()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:nC()),eC++,function(){1===eC&&document.querySelectorAll("[data-radix-focus-guard]").forEach((function(e){return e.remove()})),eC--}}),[])}function nC(){var e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var rC="focusScope.autoFocusOnMount",oC="focusScope.autoFocusOnUnmount",iC={bubbles:!1,cancelable:!0},aC=Jr.exports.forwardRef((function(e,t){var n=e.loop,r=void 0!==n&&n,o=e.trapped,i=void 0!==o&&o,a=e.onMountAutoFocus,u=e.onUnmountAutoFocus,s=qr(e,en),l=$r(Jr.exports.useState(null),2),c=l[0],f=l[1],d=FS(a),p=FS(u),h=Jr.exports.useRef(null),v=JE(t,(function(e){return f(e)})),m=Jr.exports.useRef({paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}}).current;Jr.exports.useEffect((function(){if(i){var e=function(e){if(!m.paused&&c){var t=e.target;c.contains(t)?h.current=t:fC(h.current,{select:!0})}},t=function(e){m.paused||!c||c.contains(e.relatedTarget)||fC(h.current,{select:!0})};return document.addEventListener("focusin",e),document.addEventListener("focusout",t),function(){document.removeEventListener("focusin",e),document.removeEventListener("focusout",t)}}}),[i,c,m.paused]),Jr.exports.useEffect((function(){if(c){dC.add(m);var e=document.activeElement;if(!c.contains(e)){var t=new CustomEvent(rC,iC);c.addEventListener(rC,d),c.dispatchEvent(t),t.defaultPrevented||(function(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).select,r=void 0!==n&&n,o=document.activeElement,i=vo(e);try{for(i.s();!(t=i.n()).done;){if(fC(t.value,{select:r}),document.activeElement!==o)return}}catch(a){i.e(a)}finally{i.f()}}(function(e){return e.filter((function(e){return"A"!==e.tagName}))}(uC(c)),{select:!0}),document.activeElement===e&&fC(c))}return function(){c.removeEventListener(rC,d),setTimeout((function(){var t=new CustomEvent(oC,iC);c.addEventListener(oC,p),c.dispatchEvent(t),t.defaultPrevented||fC(null!=e?e:document.body,{select:!0}),c.removeEventListener(oC,p),dC.remove(m)}),0)}}}),[c,d,p,m]);var g=Jr.exports.useCallback((function(e){if((r||i)&&!m.paused){var t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var o=e.currentTarget,a=function(e){var t=uC(e),n=sC(t,e),r=sC(t.reverse(),e);return[n,r]}(o),u=$r(a,2),s=u[0],l=u[1];s&&l?e.shiftKey||n!==l?e.shiftKey&&n===s&&(e.preventDefault(),r&&fC(l,{select:!0})):(e.preventDefault(),r&&fC(s,{select:!0})):n===o&&e.preventDefault()}}}),[r,i,m.paused]);return Jr.exports.createElement(oS.div,KE({tabIndex:-1},s,{ref:v,onKeyDown:g}))}));function uC(e){for(var t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:function(e){var t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});n.nextNode();)t.push(n.currentNode);return t}function sC(e,t){var n,r=vo(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!lC(o,{upTo:t}))return o}}catch(i){r.e(i)}finally{r.f()}}function lC(e,t){var n=t.upTo;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==n&&e===n)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function cC(e){return e instanceof HTMLInputElement&&"select"in e}function fC(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.select,r=void 0!==n&&n;if(e&&e.focus){var o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&cC(e)&&r&&e.select()}}var dC=function(){var e=[];return{add:function(t){var n=e[0];t!==n&&(null==n||n.pause()),(e=pC(e,t)).unshift(t)},remove:function(t){var n;null===(n=(e=pC(e,t))[0])||void 0===n||n.resume()}}}();function pC(e,t){var n=Wr(e),r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}function hC(e){return e.split("-")[0]}function vC(e){return e.split("-")[1]}function mC(e){return["top","bottom"].includes(hC(e))?"x":"y"}function gC(e){return"y"===e?"height":"width"}function yC(e,t,n){var r,o=e.reference,i=e.floating,a=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,s=mC(t),l=gC(s),c=o[l]/2-i[l]/2,f="x"===s;switch(hC(t)){case"top":r={x:a,y:o.y-i.height};break;case"bottom":r={x:a,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:u};break;case"left":r={x:o.x-i.width,y:u};break;default:r={x:o.x,y:o.y}}switch(vC(t)){case"start":r[s]-=c*(n&&f?-1:1);break;case"end":r[s]+=c*(n&&f?-1:1)}return r}var bC=function(){var e=Vr(Br().mark((function e(t,n,r){var o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.placement,i=void 0===o?"bottom":o,a=r.strategy,u=void 0===a?"absolute":a,s=r.middleware,l=void 0===s?[]:s,c=r.platform,e.next=9,null==c.isRTL?void 0:c.isRTL(n);case 9:return f=e.sent,e.next=12,c.getElementRects({reference:t,floating:n,strategy:u});case 12:d=e.sent,p=yC(d,i,f),h=p.x,v=p.y,m=i,g={},y=0,b=0;case 20:if(!(b<l.length)){e.next=52;break}return x=l[b],w=x.name,_=x.fn,e.next=26,_({x:h,y:v,initialPlacement:i,placement:m,strategy:u,middlewareData:g,rects:d,platform:c,elements:{reference:t,floating:n}});case 26:if(E=e.sent,S=E.x,k=E.y,C=E.data,A=E.reset,h=null!=S?S:h,v=null!=k?k:v,g=Zr(Zr({},g),{},Qr({},w,Zr(Zr({},g[w]),C))),!(A&&y<=50)){e.next=49;break}if(y++,e.t0="object"==ho(A),!e.t0){e.next=47;break}if(A.placement&&(m=A.placement),e.t1=A.rects,!e.t1){e.next=46;break}if(!0!==A.rects){e.next=44;break}return e.next=41,c.getElementRects({reference:t,floating:n,strategy:u});case 41:e.t2=e.sent,e.next=45;break;case 44:e.t2=A.rects;case 45:d=e.t2;case 46:T=yC(d,m,f),h=T.x,v=T.y;case 47:return b=-1,e.abrupt("continue",49);case 49:b++,e.next=20;break;case 52:return e.abrupt("return",{x:h,y:v,placement:m,strategy:u,middlewareData:g});case 53:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();function xC(e){return"number"!=typeof e?function(e){return Zr({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function wC(e){return Zr(Zr({},e),{},{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function _C(e,t){return EC.apply(this,arguments)}function EC(){return EC=Vr(Br().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n={}),o=t.x,i=t.y,a=t.platform,u=t.rects,s=t.elements,l=t.strategy,f=(c=n).boundary,d=void 0===f?"clippingAncestors":f,p=c.rootBoundary,h=void 0===p?"viewport":p,v=c.elementContext,m=void 0===v?"floating":v,g=c.altBoundary,y=void 0!==g&&g,b=c.padding,x=xC(void 0===b?0:b),w=s[y?"floating"===m?"reference":"floating":m],e.t0=wC,e.t1=a,e.next=24,null==a.isElement?void 0:a.isElement(w);case 24:if(e.t3=r=e.sent,e.t2=null==e.t3,e.t2){e.next=28;break}e.t2=r;case 28:if(!e.t2){e.next=32;break}e.t4=w,e.next=38;break;case 32:if(e.t5=w.contextElement,e.t5){e.next=37;break}return e.next=36,null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating);case 36:e.t5=e.sent;case 37:e.t4=e.t5;case 38:return e.t6=e.t4,e.t7=d,e.t8=h,e.t9=l,e.t10={element:e.t6,boundary:e.t7,rootBoundary:e.t8,strategy:e.t9},e.next=45,e.t1.getClippingRect.call(e.t1,e.t10);case 45:if(e.t11=e.sent,_=(0,e.t0)(e.t11),e.t12=wC,!a.convertOffsetParentRelativeRectToViewportRelativeRect){e.next=61;break}return e.t14=a,e.t15="floating"===m?Zr(Zr({},u.floating),{},{x:o,y:i}):u.reference,e.next=53,null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating);case 53:return e.t16=e.sent,e.t17=l,e.t18={rect:e.t15,offsetParent:e.t16,strategy:e.t17},e.next=58,e.t14.convertOffsetParentRelativeRectToViewportRelativeRect.call(e.t14,e.t18);case 58:e.t13=e.sent,e.next=62;break;case 61:e.t13=u[m];case 62:return e.t19=e.t13,E=(0,e.t12)(e.t19),e.abrupt("return",{top:_.top-E.top+x.top,bottom:E.bottom-_.bottom+x.bottom,left:_.left-E.left+x.left,right:E.right-_.right+x.right});case 65:case"end":return e.stop()}}),e)}))),EC.apply(this,arguments)}var SC=Math.min,kC=Math.max;function CC(e,t,n){return kC(e,SC(t,n))}var AC=function(e){return{name:"arrow",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T,P,O,R;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(a=(i=null!=e?e:{}).element,u=i.padding,s=void 0===u?0:u,l=t.x,c=t.y,f=t.placement,d=t.rects,p=t.platform,null!=a){n.next=3;break}return n.abrupt("return",{});case 3:return h=xC(s),v={x:l,y:c},m=mC(f),g=vC(f),y=gC(m),n.next=10,p.getDimensions(a);case 10:return b=n.sent,x="y"===m?"top":"left",w="y"===m?"bottom":"right",_=d.reference[y]+d.reference[m]-v[m]-d.floating[y],E=v[m]-d.reference[m],n.next=17,null==p.getOffsetParent?void 0:p.getOffsetParent(a);case 17:return S=n.sent,0===(k=S?"y"===m?S.clientHeight||0:S.clientWidth||0:0)&&(k=d.floating[y]),C=_/2-E/2,A=h[x],T=k-b[y]-h[w],P=k/2-b[y]/2+C,O=CC(A,P,T),R=("start"===g?h[x]:h[w])>0&&P!==O&&d.reference[y]<=d.floating[y]?P<A?A-P:T-P:0,n.abrupt("return",(Qr(o={},m,v[m]-R),Qr(o,"data",(Qr(r={},m,O),Qr(r,"centerOffset",P-O),r)),o));case 22:case"end":return n.stop()}}),n)})))()}}},TC={left:"right",right:"left",bottom:"top",top:"bottom"};function PC(e){return e.replace(/left|right|bottom|top/g,(function(e){return TC[e]}))}function OC(e,t,n){void 0===n&&(n=!1);var r=vC(e),o=mC(e),i=gC(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=PC(a)),{main:a,cross:PC(a)}}var RC={start:"end",end:"start"};function DC(e){return e.replace(/start|end/g,(function(e){return RC[e]}))}var LC=["top","right","bottom","left"];function MC(e){var t=PC(e);return[DC(e),t,DC(t)]}var NC=function(e){return void 0===e&&(e={}),{name:"flip",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T,P,O,R,D,L,M,N,F;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.placement,i=t.middlewareData,a=t.rects,u=t.initialPlacement,s=t.platform,l=t.elements,f=(c=e).mainAxis,d=void 0===f||f,p=c.crossAxis,h=void 0===p||p,v=c.fallbackPlacements,m=c.fallbackStrategy,g=void 0===m?"bestFit":m,y=c.flipAlignment,b=void 0===y||y,x=qr(c,tn),w=hC(o),_=v||(w!==u&&b?MC(u):[PC(u)]),E=[u].concat(Wr(_)),n.next=22,_C(t,x);case 22:if(S=n.sent,k=[],C=(null==(r=i.flip)?void 0:r.overflows)||[],d&&k.push(S[w]),!h){n.next=36;break}return n.t0=OC,n.t1=o,n.t2=a,n.next=31,null==s.isRTL?void 0:s.isRTL(l.floating);case 31:n.t3=n.sent,A=(0,n.t0)(n.t1,n.t2,n.t3),T=A.main,P=A.cross,k.push(S[T],S[P]);case 36:if(C=[].concat(Wr(C),[{placement:o,overflows:k}]),k.every((function(e){return e<=0}))){n.next=51;break}if(D=(null!=(O=null==(R=i.flip)?void 0:R.index)?O:0)+1,!(L=E[D])){n.next=40;break}return n.abrupt("return",{data:{index:D,overflows:C},reset:{placement:L}});case 40:M="bottom",n.t4=g,n.next="bestFit"===n.t4?44:"initialPlacement"===n.t4?47:49;break;case 44:return F=null==(N=C.map((function(e){return[e,e.overflows.filter((function(e){return e>0})).reduce((function(e,t){return e+t}),0)]})).sort((function(e,t){return e[1]-t[1]}))[0])?void 0:N[0].placement,F&&(M=F),n.abrupt("break",49);case 47:return M=u,n.abrupt("break",49);case 49:if(o===M){n.next=51;break}return n.abrupt("return",{reset:{placement:M}});case 51:return n.abrupt("return",{});case 52:case"end":return n.stop()}}),n)})))()}}};function FC(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function IC(e){return LC.some((function(t){return e[t]>=0}))}var jC=function(e){var t=void 0===e?{}:e,n=t.strategy,r=void 0===n?"referenceHidden":n,o=qr(t,nn);return{name:"hide",fn:function(e){return Vr(Br().mark((function t(){var n,i,a,u,s;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.rects,t.t0=r,t.next="referenceHidden"===t.t0?4:"escaped"===t.t0?9:14;break;case 4:return t.next=6,_C(e,Zr(Zr({},o),{},{elementContext:"reference"}));case 6:return i=t.sent,a=FC(i,n.reference),t.abrupt("return",{data:{referenceHiddenOffsets:a,referenceHidden:IC(a)}});case 9:return t.next=11,_C(e,Zr(Zr({},o),{},{altBoundary:!0}));case 11:return u=t.sent,s=FC(u,n.floating),t.abrupt("return",{data:{escapedOffsets:s,escaped:IC(s)}});case 14:return t.abrupt("return",{});case 15:case"end":return t.stop()}}),t)})))()}}};function zC(e,t){return BC.apply(this,arguments)}function BC(){return BC=Vr(Br().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.placement,o=t.platform,i=t.elements,e.next=5,null==o.isRTL?void 0:o.isRTL(i.floating);case 5:return a=e.sent,u=hC(r),s=vC(r),l="x"===mC(r),c=["left","top"].includes(u)?-1:1,f=a&&l?-1:1,d="function"==typeof n?n(t):n,p="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:Zr({mainAxis:0,crossAxis:0,alignmentAxis:null},d),h=p.mainAxis,v=p.crossAxis,m=p.alignmentAxis,e.abrupt("return",(s&&"number"==typeof m&&(v="end"===s?-1*m:m),l?{x:v*f,y:h*c}:{x:h*c,y:v*f}));case 14:case"end":return e.stop()}}),e)}))),BC.apply(this,arguments)}var UC=function(e){return void 0===e&&(e=0),{name:"offset",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.x,o=t.y,n.next=4,zC(t,e);case 4:return i=n.sent,n.abrupt("return",{x:r+i.x,y:o+i.y,data:i});case 6:case"end":return n.stop()}}),n)})))()}}};function VC(e){return"x"===e?"y":"x"}var HC=function(e){return void 0===e&&(e={}),{name:"shift",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.x,i=t.y,a=t.placement,s=(u=e).mainAxis,l=void 0===s||s,c=u.crossAxis,f=void 0!==c&&c,d=u.limiter,p=void 0===d?{fn:function(e){return{x:e.x,y:e.y}}}:d,h=qr(u,rn),v={x:o,y:i},n.next=14,_C(t,h);case 14:return m=n.sent,g=mC(hC(a)),y=VC(g),b=v[g],x=v[y],l&&(w="y"===g?"bottom":"right",_=b+m["y"===g?"top":"left"],E=b-m[w],b=CC(_,b,E)),f&&(S="y"===y?"bottom":"right",k=x+m["y"===y?"top":"left"],C=x-m[S],x=CC(k,x,C)),A=p.fn(Zr(Zr({},t),{},(Qr(r={},g,b),Qr(r,y,x),r))),n.abrupt("return",Zr(Zr({},A),{},{data:{x:A.x-o,y:A.y-i}}));case 22:case"end":return n.stop()}}),n)})))()}}},qC=function(e){return void 0===e&&(e={}),{options:e,fn:function(t){var n,r=t.x,o=t.y,i=t.placement,a=t.rects,u=t.middlewareData,s=e,l=s.offset,c=void 0===l?0:l,f=s.mainAxis,d=void 0===f||f,p=s.crossAxis,h=void 0===p||p,v={x:r,y:o},m=mC(i),g=VC(m),y=v[m],b=v[g],x="function"==typeof c?c(Zr(Zr({},a),{},{placement:i})):c,w="number"==typeof x?{mainAxis:x,crossAxis:0}:Zr({mainAxis:0,crossAxis:0},x);if(d){var _="y"===m?"height":"width",E=a.reference[m]-a.floating[_]+w.mainAxis,S=a.reference[m]+a.reference[_]-w.mainAxis;y<E?y=E:y>S&&(y=S)}if(h){var k,C,A,T,P="y"===m?"width":"height",O=["top","left"].includes(hC(i)),R=a.reference[g]-a.floating[P]+(O&&null!=(k=null==(C=u.offset)?void 0:C[g])?k:0)+(O?0:w.crossAxis),D=a.reference[g]+a.reference[P]+(O?0:null!=(A=null==(T=u.offset)?void 0:T[g])?A:0)-(O?w.crossAxis:0);b<R?b=R:b>D&&(b=D)}return Qr(n={},m,y),Qr(n,g,b),n}}};function YC(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function GC(e){if(null==e)return window;if(!YC(e)){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function WC(e){return GC(e).getComputedStyle(e)}function KC(e){return YC(e)?"":e?(e.nodeName||"").toLowerCase():""}function XC(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function ZC(e){return e instanceof GC(e).HTMLElement}function QC(e){return e instanceof GC(e).Element}function $C(e){return!(("undefined"==typeof ShadowRoot?"undefined":ho(ShadowRoot))>"u")&&(e instanceof GC(e).ShadowRoot||e instanceof ShadowRoot)}function JC(e){var t=WC(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function eA(e){return["table","td","th"].includes(KC(e))}function tA(e){var t=/firefox/i.test(XC()),n=WC(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function nA(){return!/^((?!chrome|android).)*safari/i.test(XC())}var rA=Math.min,oA=Math.max,iA=Math.round;function aA(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);var u=e.getBoundingClientRect(),s=1,l=1;t&&ZC(e)&&(s=e.offsetWidth>0&&iA(u.width)/e.offsetWidth||1,l=e.offsetHeight>0&&iA(u.height)/e.offsetHeight||1);var c=QC(e)?GC(e):window,f=!nA()&&n,d=(u.left+(f&&null!=(r=null==(o=c.visualViewport)?void 0:o.offsetLeft)?r:0))/s,p=(u.top+(f&&null!=(i=null==(a=c.visualViewport)?void 0:a.offsetTop)?i:0))/l,h=u.width/s,v=u.height/l;return{width:h,height:v,top:p,right:d+h,bottom:p+v,left:d,x:d,y:p}}function uA(e){return((function(e){return e instanceof GC(e).Node}(e)?e.ownerDocument:e.document)||window.document).documentElement}function sA(e){return QC(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function lA(e){return aA(uA(e)).left+sA(e).scrollLeft}function cA(e,t,n){var r=ZC(t),o=uA(t),i=aA(e,r&&function(e){var t=aA(e);return iA(t.width)!==e.offsetWidth||iA(t.height)!==e.offsetHeight}(t),"fixed"===n),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==KC(t)||JC(o))&&(a=sA(t)),ZC(t)){var s=aA(t,!0);u.x=s.x+t.clientLeft,u.y=s.y+t.clientTop}else o&&(u.x=lA(o));return{x:i.left+a.scrollLeft-u.x,y:i.top+a.scrollTop-u.y,width:i.width,height:i.height}}function fA(e){return"html"===KC(e)?e:e.assignedSlot||e.parentNode||($C(e)?e.host:null)||uA(e)}function dA(e){return ZC(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function pA(e){for(var t=GC(e),n=dA(e);n&&eA(n)&&"static"===getComputedStyle(n).position;)n=dA(n);return n&&("html"===KC(n)||"body"===KC(n)&&"static"===getComputedStyle(n).position&&!tA(n))?t:n||function(e){var t=fA(e);for($C(t)&&(t=t.host);ZC(t)&&!["html","body"].includes(KC(t));){if(tA(t))return t;t=t.parentNode}return null}(e)||t}function hA(e){if(ZC(e))return{width:e.offsetWidth,height:e.offsetHeight};var t=aA(e);return{width:t.width,height:t.height}}function vA(e){var t=fA(e);return["html","body","#document"].includes(KC(t))?e.ownerDocument.body:ZC(t)&&JC(t)?t:vA(t)}function mA(e,t){var n;void 0===t&&(t=[]);var r=vA(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=GC(r),a=o?[i].concat(i.visualViewport||[],JC(r)?r:[]):r,u=t.concat(a);return o?u:u.concat(mA(a))}function gA(e,t,n){return"viewport"===t?wC(function(e,t){var n=GC(e),r=uA(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,u=0,s=0;if(o){i=o.width,a=o.height;var l=nA();(l||!l&&"fixed"===t)&&(u=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:u,y:s}}(e,n)):QC(t)?function(e,t){var n=aA(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):wC(function(e){var t,n=uA(e),r=sA(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=oA(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=oA(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+lA(e),s=-r.scrollTop;return"rtl"===WC(o||n).direction&&(u+=oA(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:s}}(uA(e)))}function yA(e){var t=mA(e),n=["absolute","fixed"].includes(WC(e).position)&&ZC(e)?pA(e):e;return QC(n)?t.filter((function(e){return QC(e)&&function(e,t){var n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&$C(n)){var r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}(e,n)&&"body"!==KC(e)})):[]}var bA={getClippingRect:function(e){var t=e.element,n=e.boundary,r=e.rootBoundary,o=e.strategy,i=[].concat(Wr("clippingAncestors"===n?yA(t):[].concat(n)),[r]),a=i[0],u=i.reduce((function(e,n){var r=gA(t,n,o);return e.top=oA(r.top,e.top),e.right=rA(r.right,e.right),e.bottom=rA(r.bottom,e.bottom),e.left=oA(r.left,e.left),e}),gA(t,a,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){var t=e.rect,n=e.offsetParent,r=e.strategy,o=ZC(n),i=uA(n);if(n===i)return t;var a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==KC(n)||JC(i))&&(a=sA(n)),ZC(n))){var s=aA(n,!0);u.x=s.x+n.clientLeft,u.y=s.y+n.clientTop}return Zr(Zr({},t),{},{x:t.x-a.scrollLeft+u.x,y:t.y-a.scrollTop+u.y})},isElement:QC,getDimensions:hA,getOffsetParent:pA,getDocumentElement:uA,getElementRects:function(e){var t=e.reference,n=e.floating,r=e.strategy;return{reference:cA(t,pA(n),r),floating:Zr(Zr({},hA(n)),{},{x:0,y:0})}},getClientRects:function(e){return Array.from(e.getClientRects())},isRTL:function(e){return"rtl"===WC(e).direction}};function xA(e,t,n,r){void 0===r&&(r={});var o=r,i=o.ancestorScroll,a=void 0===i||i,u=o.ancestorResize,s=void 0===u||u,l=o.elementResize,c=void 0===l||l,f=o.animationFrame,d=void 0!==f&&f,p=a&&!d,h=s&&!d,v=p||h?[].concat(Wr(QC(e)?mA(e):[]),Wr(mA(t))):[];v.forEach((function(e){p&&e.addEventListener("scroll",n,{passive:!0}),h&&e.addEventListener("resize",n)}));var m=null;if(c){var g=!0;m=new ResizeObserver((function(){g||n(),g=!1})),QC(e)&&!d&&m.observe(e),m.observe(t)}var y,b=d?aA(e):null;return d&&function t(){var r=aA(e);b&&(r.x!==b.x||r.y!==b.y||r.width!==b.width||r.height!==b.height)&&n(),b=r,y=requestAnimationFrame(t)}(),n(),function(){var e;v.forEach((function(e){p&&e.removeEventListener("scroll",n),h&&e.removeEventListener("resize",n)})),null==(e=m)||e.disconnect(),m=null,d&&cancelAnimationFrame(y)}}var wA=("undefined"==typeof document?"undefined":ho(document))<"u"?Jr.exports.useLayoutEffect:Jr.exports.useEffect;function _A(e,t){if(e===t)return!0;if(ho(e)!=ho(t))return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;var n,r,o;if(e&&t&&"object"==ho(e)){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!_A(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){var i=o[r];if(!("_owner"===i&&e.$$typeof||_A(e[i],t[i])))return!1}return!0}return e!=e&&t!=t}function EA(e){var t=void 0===e?{}:e,n=t.middleware,r=t.placement,o=void 0===r?"bottom":r,i=t.strategy,a=void 0===i?"absolute":i,u=t.whileElementsMounted,s=Jr.exports.useRef(null),l=Jr.exports.useRef(null),c=function(e){var t=Jr.exports.useRef(e);return wA((function(){t.current=e})),t}(u),f=Jr.exports.useRef(null),d=$r(Jr.exports.useState({x:null,y:null,strategy:a,placement:o,middlewareData:{}}),2),p=d[0],h=d[1],v=$r(Jr.exports.useState(n),2),m=v[0],g=v[1];_A(null==m?void 0:m.map((function(e){return e.options})),null==n?void 0:n.map((function(e){return e.options})))||g(n);var y=Jr.exports.useCallback((function(){!s.current||!l.current||function(e,t,n){return bC(e,t,Zr({platform:bA},n))}(s.current,l.current,{middleware:m,placement:o,strategy:a}).then((function(e){b.current&&Ko.exports.flushSync((function(){h(e)}))}))}),[m,o,a]);wA((function(){b.current&&y()}),[y]);var b=Jr.exports.useRef(!1);wA((function(){return b.current=!0,function(){b.current=!1}}),[]);var x=Jr.exports.useCallback((function(){if("function"==typeof f.current&&(f.current(),f.current=null),s.current&&l.current)if(c.current){var e=c.current(s.current,l.current,y);f.current=e}else y()}),[y,c]),w=Jr.exports.useCallback((function(e){s.current=e,x()}),[x]),_=Jr.exports.useCallback((function(e){l.current=e,x()}),[x]),E=Jr.exports.useMemo((function(){return{reference:s,floating:l}}),[]);return Jr.exports.useMemo((function(){return Zr(Zr({},p),{},{update:y,refs:E,reference:w,floating:_})}),[p,y,E,w,_])}var SA=function(e){var t=e.element,n=e.padding;return{name:"arrow",options:e,fn:function(e){return function(e){return Object.prototype.hasOwnProperty.call(e,"current")}(t)?null!=t.current?AC({element:t.current,padding:n}).fn(e):{}:t?AC({element:t,padding:n}).fn(e):{}}}},kA=Jr.exports.forwardRef((function(e,t){var n=e.children,r=e.width,o=void 0===r?10:r,i=e.height,a=void 0===i?5:i,u=qr(e,on);return Jr.exports.createElement(oS.svg,KE({},u,{ref:t,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:Jr.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))})),CA=kA,AA="Popper",TA=$r(XE(AA),2),PA=TA[0],OA=TA[1],RA=$r(PA(AA),2),DA=(RA[0],RA[1]),LA=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopper,r=e.virtualRef,o=qr(e,an),i=DA("PopperAnchor",n),a=Jr.exports.useRef(null),u=JE(t,a);return Jr.exports.useEffect((function(){i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:Jr.exports.createElement(oS.div,KE({},o,{ref:u}))})),MA="PopperContent",NA=$r(PA(MA),2),FA=NA[0],IA=NA[1],jA=$r(PA(MA,{hasParent:!1,positionUpdateFns:new Set}),2),zA=jA[0],BA=jA[1],UA=Jr.exports.forwardRef((function(e,t){var n,r,o,i,a,u,s,l,c=e.__scopePopper,f=e.side,d=void 0===f?"bottom":f,p=e.sideOffset,h=void 0===p?0:p,v=e.align,m=void 0===v?"center":v,g=e.alignOffset,y=void 0===g?0:g,b=e.arrowPadding,x=void 0===b?0:b,w=e.collisionBoundary,_=void 0===w?[]:w,E=e.collisionPadding,S=void 0===E?0:E,k=e.sticky,C=void 0===k?"partial":k,A=e.hideWhenDetached,T=void 0!==A&&A,P=e.avoidCollisions,O=void 0===P||P,R=qr(e,un),D=DA(MA,c),L=$r(Jr.exports.useState(null),2),M=L[0],N=L[1],F=JE(t,(function(e){return N(e)})),I=$r(Jr.exports.useState(null),2),j=I[0],z=I[1],B=zS(j),U=null!==(n=null==B?void 0:B.width)&&void 0!==n?n:0,V=null!==(r=null==B?void 0:B.height)&&void 0!==r?r:0,H=d+("center"!==m?"-"+m:""),q="number"==typeof S?S:Zr({top:0,right:0,bottom:0,left:0},S),Y=Array.isArray(_)?_:[_],G=Y.length>0,W={padding:q,boundary:Y.filter(YA),altBoundary:G},K=EA({strategy:"fixed",placement:H,whileElementsMounted:xA,middleware:[UC({mainAxis:h+V,alignmentAxis:y}),O?HC(Zr({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?qC():void 0},W)):void 0,j?SA({element:j,padding:x}):void 0,O?NC(Zr({},W)):void 0,GA({arrowWidth:U,arrowHeight:V}),T?jC({strategy:"referenceHidden"}):void 0].filter(qA)}),X=K.reference,Z=K.floating,Q=K.strategy,$=K.x,J=K.y,ee=K.placement,te=K.middlewareData,ne=K.update;iS((function(){X(D.anchor)}),[X,D.anchor]);var re=null!==$&&null!==J,oe=$r(WA(ee),2),ie=oe[0],ae=oe[1],ue=null===(o=te.arrow)||void 0===o?void 0:o.x,se=null===(i=te.arrow)||void 0===i?void 0:i.y,le=0!==(null===(a=te.arrow)||void 0===a?void 0:a.centerOffset),ce=$r(Jr.exports.useState(),2),fe=ce[0],de=ce[1];iS((function(){M&&de(window.getComputedStyle(M).zIndex)}),[M]);var pe=BA(MA,c),he=pe.hasParent,ve=pe.positionUpdateFns,me=!he;Jr.exports.useLayoutEffect((function(){if(!me)return ve.add(ne),function(){ve.delete(ne)}}),[me,ve,ne]),Jr.exports.useLayoutEffect((function(){me&&re&&Array.from(ve).reverse().forEach((function(e){return requestAnimationFrame(e)}))}),[me,re,ve]);var ge=Zr(Zr({"data-side":ie,"data-align":ae},R),{},{ref:F,style:Zr(Zr({},R.style),{},{animation:re?void 0:"none",opacity:null!==(u=te.hide)&&void 0!==u&&u.referenceHidden?0:void 0})});return Jr.exports.createElement("div",{ref:Z,"data-radix-popper-content-wrapper":"",style:Qr({position:Q,left:0,top:0,transform:re?"translate3d(".concat(Math.round($),"px, ").concat(Math.round(J),"px, 0)"):"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:fe},"--radix-popper-transform-origin",[null===(s=te.transformOrigin)||void 0===s?void 0:s.x,null===(l=te.transformOrigin)||void 0===l?void 0:l.y].join(" "))},Jr.exports.createElement(FA,{scope:c,placedSide:ie,onArrowChange:z,arrowX:ue,arrowY:se,shouldHideArrow:le},me?Jr.exports.createElement(zA,{scope:c,hasParent:!0,positionUpdateFns:ve},Jr.exports.createElement(oS.div,ge)):Jr.exports.createElement(oS.div,ge)))})),VA={top:"bottom",right:"left",bottom:"top",left:"right"},HA=Jr.exports.forwardRef((function(e,t){var n,r=e.__scopePopper,o=qr(e,sn),i=IA("PopperArrow",r),a=VA[i.placedSide];return Jr.exports.createElement("span",{ref:i.onArrowChange,style:(n={position:"absolute",left:i.arrowX,top:i.arrowY},Qr(n,a,0),Qr(n,"transformOrigin",{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide]),Qr(n,"transform",{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide]),Qr(n,"visibility",i.shouldHideArrow?"hidden":void 0),n)},Jr.exports.createElement(CA,KE({},o,{ref:t,style:Zr(Zr({},o.style),{},{display:"block"})})))}));function qA(e){return void 0!==e}function YA(e){return null!==e}var GA=function(e){return{name:"transformOrigin",options:e,fn:function(t){var n,r,o,i,a,u=t.placement,s=t.rects,l=t.middlewareData,c=0!==(null===(n=l.arrow)||void 0===n?void 0:n.centerOffset),f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,p=$r(WA(u),2),h=p[0],v={start:"0%",center:"50%",end:"100%"}[p[1]],m=(null!==(r=null===(o=l.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+f/2,g=(null!==(i=null===(a=l.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+d/2,y="",b="";return"bottom"===h?(y=c?v:"".concat(m,"px"),b="".concat(-d,"px")):"top"===h?(y=c?v:"".concat(m,"px"),b="".concat(s.floating.height+d,"px")):"right"===h?(y="".concat(-d,"px"),b=c?v:"".concat(g,"px")):"left"===h&&(y="".concat(s.floating.width+d,"px"),b=c?v:"".concat(g,"px")),{data:{x:y,y:b}}}}};function WA(e){var t=$r(e.split("-"),2),n=t[0],r=t[1];return[n,void 0===r?"center":r]}var KA=LA,XA=UA,ZA=HA,QA=Jr.exports.forwardRef((function(e,t){var n,r=e.container,o=void 0===r?null==globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body:r,i=qr(e,ln);return o?Jv.createPortal(Jr.exports.createElement(oS.div,KE({},i,{ref:t})),o):null}));var $A=function(e){var t=e.present,n=e.children,r=function(e){var t=$r(Jr.exports.useState(),2),n=t[0],r=t[1],o=Jr.exports.useRef({}),i=Jr.exports.useRef(e),a=Jr.exports.useRef("none"),u=$r(function(e,t){return Jr.exports.useReducer((function(e,n){var r=t[e][n];return null!=r?r:e}),e)}(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),2),s=u[0],l=u[1];return Jr.exports.useEffect((function(){var e=JA(o.current);a.current="mounted"===s?e:"none"}),[s]),iS((function(){var t=o.current,n=i.current;if(n!==e){var r=a.current,u=JA(t);e?l("MOUNT"):"none"===u||"none"===(null==t?void 0:t.display)?l("UNMOUNT"):l(n&&r!==u?"ANIMATION_OUT":"UNMOUNT"),i.current=e}}),[e,l]),iS((function(){if(n){var e=function(e){var t=JA(o.current).includes(e.animationName);e.target===n&&t&&Ko.exports.flushSync((function(){return l("ANIMATION_END")}))},t=function(e){e.target===n&&(a.current=JA(o.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),function(){n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}l("ANIMATION_END")}),[n,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:Jr.exports.useCallback((function(e){e&&(o.current=getComputedStyle(e)),r(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):Jr.exports.Children.only(n),i=JE(r.ref,o.ref);return"function"==typeof n||r.isPresent?Jr.exports.cloneElement(o,{ref:i}):null};function JA(e){return(null==e?void 0:e.animationName)||"none"}$A.displayName="Presence";var eT=new WeakMap,tT=new WeakMap,nT={},rT=0,oT=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return("undefined"==typeof document?"undefined":ho(document))>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),function(e,t,n,r){var o=Array.isArray(e)?e:[e];nT[n]||(nT[n]=new WeakMap);var i=nT[n],a=[],u=new Set,s=new Set(o);return o.forEach((function e(t){!t||u.has(t)||(u.add(t),e(t.parentNode))})),function e(t){!t||s.has(t)||Array.prototype.forEach.call(t.children,(function(t){if(u.has(t))e(t);else{var o=t.getAttribute(r),s=null!==o&&"false"!==o,l=(eT.get(t)||0)+1,c=(i.get(t)||0)+1;eT.set(t,l),i.set(t,c),a.push(t),1===l&&s&&tT.set(t,!0),1===c&&t.setAttribute(n,"true"),s||t.setAttribute(r,"true")}}))}(t),u.clear(),rT++,function(){a.forEach((function(e){var t=eT.get(e)-1,o=i.get(e)-1;eT.set(e,t),i.set(e,o),t||(tT.has(e)||e.removeAttribute(r),tT.delete(e)),o||e.removeAttribute(n)})),--rT||(eT=new WeakMap,eT=new WeakMap,tT=new WeakMap,nT={})}}(r,o,n,"aria-hidden")):function(){return null}},iT=function(){return iT=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},iT.apply(this,arguments)};function aT(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}var uT="right-scroll-bar-position",sT="width-before-scroll-bar";function lT(e,t){return function(e,t){var n=Jr.exports.useState((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}(t||null,(function(t){return e.forEach((function(e){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(e,t)}))}))}function cT(e){return e}var fT=function(e){var t=e.sideCar,n=aT(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return zE(r,Zr({},iT({},n)))};fT.isSideCarExport=!0;var dT=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=cT);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=iT({async:!0,ssr:!1},e),t}(),pT=function(){},hT=Jr.exports.forwardRef((function(e,t){var n=Jr.exports.useRef(null),r=Jr.exports.useState({onScrollCapture:pT,onWheelCapture:pT,onTouchMoveCapture:pT}),o=r[0],i=r[1],a=e.forwardProps,u=e.children,s=e.className,l=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,p=e.noIsolation,h=e.inert,v=e.allowPinchZoom,m=e.as,g=void 0===m?"div":m,y=aT(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=d,x=lT([n,t]),w=iT(iT({},y),o);return BE(jE,{children:[c&&zE(b,{sideCar:dT,removeScrollBar:l,shards:f,noIsolation:p,inert:h,setCallbacks:i,allowPinchZoom:!!v,lockRef:n}),a?Jr.exports.cloneElement(Jr.exports.Children.only(u),iT(iT({},w),{ref:x})):zE(g,Zr(Zr({},iT({},w,{className:s,ref:x})),{},{children:u}))]})}));hT.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},hT.classNames={fullWidth:sT,zeroRight:uT};function vT(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if(("undefined"==typeof __webpack_nonce__?"undefined":ho(__webpack_nonce__))<"u")return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var mT=function(){var e=0,t=null;return{add:function(n){0==e&&(t=vT())&&(function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},gT=function(){var e=function(){var e=mT();return function(t,n){Jr.exports.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])}}();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},yT={left:0,top:0,right:0,gap:0},bT=function(e){return parseInt(e||"",10)||0},xT=function(e){if(void 0===e&&(e="margin"),("undefined"==typeof window?"undefined":ho(window))>"u")return yT;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[bT(n),bT(r),bT(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},wT=gT(),_T=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(uT," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(sT," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(uT," .").concat(uT," {\n right: 0 ").concat(r,";\n }\n \n .").concat(sT," .").concat(sT," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},ET=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=Jr.exports.useMemo((function(){return xT(o)}),[o]);return zE(wT,{styles:_T(i,!t,o,n?"":"!important")})},ST=!1;if(("undefined"==typeof window?"undefined":ho(window))<"u")try{var kT=Object.defineProperty({},"passive",{get:function(){return ST=!0,!0}});window.addEventListener("test",kT,kT),window.removeEventListener("test",kT,kT)}catch(t5){ST=!1}var CT=!!ST&&{passive:!1},AT=function(e,t){var n=t;do{if(("undefined"==typeof ShadowRoot?"undefined":ho(ShadowRoot))<"u"&&n instanceof ShadowRoot&&(n=n.host),TT(e,n)){var r=PT(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},TT=function(e,t){return"v"===e?function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowY&&!(t.overflowY===t.overflowX&&"visible"===t.overflowY)}(t):function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowX&&!(t.overflowY===t.overflowX&&"visible"===t.overflowX)}(t)},PT=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},OT=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},RT=function(e){return[e.deltaX,e.deltaY]},DT=function(e){return e&&"current"in e?e.current:e},LT=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},MT=0,NT=[];var FT=function(e,t){return e.useMedium(t),fT}(dT,(function(e){var t=Jr.exports.useRef([]),n=Jr.exports.useRef([0,0]),r=Jr.exports.useRef(),o=Jr.exports.useState(MT++)[0],i=Jr.exports.useState((function(){return gT()}))[0],a=Jr.exports.useRef(e);Jr.exports.useEffect((function(){a.current=e}),[e]),Jr.exports.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=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))}([e.lockRef.current],(e.shards||[]).map(DT),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var u=Jr.exports.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=OT(e),u=n.current,s="deltaX"in e?e.deltaX:u[0]-i[0],l="deltaY"in e?e.deltaY:u[1]-i[1],c=e.target,f=Math.abs(s)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=AT(f,c);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=AT(f,c)),!d)return!1;if(!r.current&&"changedTouches"in e&&(s||l)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,u=n.target,s=t.contains(u),l=!1,c=a>0,f=0,d=0;do{var p=PT(e,u),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&TT(e,u)&&(f+=v,d+=h),u=u.parentNode}while(!s&&u!==document.body||s&&(t.contains(u)||t===u));return(c&&(o&&0===f||!o&&a>f)||!c&&(o&&0===d||!o&&-a>d))&&(l=!0),l}(p,t,e,"h"===p?s:l,!0)}),[]),s=Jr.exports.useCallback((function(e){var n=e;if(NT.length&&NT[NT.length-1]===i){var r="deltaY"in n?RT(n):OT(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,r)}))[0];if(o&&o.should)return void n.preventDefault();if(!o){var s=(a.current.shards||[]).map(DT).filter(Boolean).filter((function(e){return e.contains(n.target)}));(s.length>0?u(n,s[0]):!a.current.noIsolation)&&n.preventDefault()}}}),[]),l=Jr.exports.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),c=Jr.exports.useCallback((function(e){n.current=OT(e),r.current=void 0}),[]),f=Jr.exports.useCallback((function(t){l(t.type,RT(t),t.target,u(t,e.lockRef.current))}),[]),d=Jr.exports.useCallback((function(t){l(t.type,OT(t),t.target,u(t,e.lockRef.current))}),[]);Jr.exports.useEffect((function(){return NT.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",s,CT),document.addEventListener("touchmove",s,CT),document.addEventListener("touchstart",c,CT),function(){NT=NT.filter((function(e){return e!==i})),document.removeEventListener("wheel",s,CT),document.removeEventListener("touchmove",s,CT),document.removeEventListener("touchstart",c,CT)}}),[]);var p=e.removeScrollBar,h=e.inert;return BE(jE,{children:[h?zE(i,{styles:LT(o)}):null,p?zE(ET,{gapMode:"margin"}):null]})})),IT=Jr.exports.forwardRef((function(e,t){return zE(hT,Zr({},iT({},e,{ref:t,sideCar:FT})))}));IT.classNames=hT.classNames;var jT=IT,zT="Popover",BT=$r(XE(zT,[OA]),2),UT=BT[0],VT=(BT[1],OA()),HT=$r(UT(zT),2),qT=(HT[0],HT[1]),YT=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=qr(e,cn),o=qT("PopoverTrigger",n),i=VT(n),a=JE(t,o.triggerRef),u=Jr.exports.createElement(oS.button,KE({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":eP(o.open)},r,{ref:a,onClick:NS(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?u:Jr.exports.createElement(KA,KE({asChild:!0},i),u)})),GT=$r(UT("PopoverPortal",{forceMount:void 0}),2),WT=(GT[0],GT[1]),KT="PopoverContent",XT=Jr.exports.forwardRef((function(e,t){var n=WT(KT,e.__scopePopover),r=e.forceMount,o=void 0===r?n.forceMount:r,i=qr(e,fn),a=qT(KT,e.__scopePopover);return Jr.exports.createElement($A,{present:o||a.open},a.modal?Jr.exports.createElement(ZT,KE({},i,{ref:t})):Jr.exports.createElement(QT,KE({},i,{ref:t})))})),ZT=Jr.exports.forwardRef((function(e,t){var n=qT(KT,e.__scopePopover),r=Jr.exports.useRef(null),o=JE(t,r),i=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=r.current;if(e)return oT(e)}),[]),Jr.exports.createElement(jT,{as:eS,allowPinchZoom:!0},Jr.exports.createElement($T,KE({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:NS(e.onCloseAutoFocus,(function(e){var t;e.preventDefault(),i.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:NS(e.onPointerDownOutside,(function(e){var t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;i.current=r}),{checkForDefaultPrevented:!1}),onFocusOutside:NS(e.onFocusOutside,(function(e){return e.preventDefault()}),{checkForDefaultPrevented:!1})})))})),QT=Jr.exports.forwardRef((function(e,t){var n=qT(KT,e.__scopePopover),r=Jr.exports.useRef(!1);return Jr.exports.createElement($T,KE({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:function(t){var o,i;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(r.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault());r.current=!1},onInteractOutside:function(t){var o,i;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0);var a=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(a))&&t.preventDefault()}}))})),$T=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=e.trapFocus,o=e.onOpenAutoFocus,i=e.onCloseAutoFocus,a=e.disableOutsidePointerEvents,u=e.onEscapeKeyDown,s=e.onPointerDownOutside,l=e.onFocusOutside,c=e.onInteractOutside,f=qr(e,dn),d=qT(KT,n),p=VT(n);return tC(),Jr.exports.createElement(aC,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},Jr.exports.createElement(Qk,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:l,onDismiss:function(){return d.onOpenChange(!1)}},Jr.exports.createElement(XA,KE({"data-state":eP(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:Zr(Zr({},f.style),{},Qr({},"--radix-popover-content-transform-origin","var(--radix-popper-transform-origin)"))}))))})),JT=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=qr(e,pn),o=VT(n);return Jr.exports.createElement(ZA,KE({},o,r,{ref:t}))}));function eP(e){return e?"open":"closed"}var tP=XT,nP=JT;yE(YT)(F||(F=Hr(["\n background: none;\n border: none;\n padding: 0;\n"]))),yE(tP)(I||(I=Hr(["\n border-radius: ",";\n box-shadow: ",";\n padding: ",";\n"])),TE["--ll-border-radius-small"],TE["--ll-shadow-small"],TE["--ll-spacing-medium"]),yE(nP)(j||(j=Hr(["\n fill: ",";\n"])),TE["--ll-color-background"]);var rP={primary:{background:TE["--ll-color-primary"],onBackground:TE["--ll-color-on-primary"],hover:TE["--ll-color-primary-variant1"]},inverse:{background:"transparent",onBackground:TE["--ll-color-primary"],hover:"rgba(0,0,0,0.05)"},neutral:{background:"transparent",onBackground:TE["--ll-color-on-background-variant1"],hover:"rgba(0,0,0,0.05)"}},oP={small:24,medium:32,large:48},iP=yE.button(z||(z=Hr(["\n ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t,r=e.size,o=void 0===r?"medium":r;return eE(B||(B=Hr(["\n border: none;\n background-color: ",";\n color: ",";\n border-radius: 50%;\n height: ","px;\n width: ","px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 6px;\n\n &:hover {\n background-color: ",";\n }\n\n &:disabled {\n cursor: default;\n background-color: rgba(0, 0, 0, 0.1);\n color: ",";\n }\n "])),rP[n].background,rP[n].onBackground,oP[o],oP[o],rP[n].hover,TE["--ll-color-on-background-variant1"])}));Ur("N",(function(e){var t=e.SVGElement,n=e.disabled,r=void 0!==n&&n,o=e.onClick,i=e.size,a=void 0===i?"medium":i,u=e.type,s=void 0===u?"button":u,l=e.color,c=void 0===l?"primary":l,f=e.isLoading,d=e.className,p=Jr.exports.useMemo((function(){return r?TE["--ll-color-placeholder"]:rP[c].onBackground}),[c,r]);return zE(iP,{size:a,onClick:function(e){r||!o||f||o(e)},disabled:r||f,className:d,color:c,type:s,children:f?zE(wS,{}):zE(VE,{SVGElement:t,width:oP[a]/1.33333,height:oP[a]/1.33333,fill:p})})}));var aP=gE(V||(V=Hr(["\n from {\n background-position: -800px 0;\n }\n\n to {\n background-position: 800px 0;\n }\n"]))),uP=yE.div(H||(H=Hr(["\n border-radius: ",";\n animation: "," 2s linear infinite;\n background: linear-gradient(\n to right,\n /* NOTE: 99.9% of the time we should use colours from theme, since these are\n CSS vars that can be overriden. */\n "," 4%,\n "," 25%,\n "," 36%\n );\n background-size: 800px 100%;\n ","\n"])),TE["--ll-border-radius-medium"],aP,TE["--ll-color-surface-variant1"],TE["--ll-color-surface-variant2"],TE["--ll-color-surface-variant1"],(function(e){var t=e.height,n=e.width;return eE(U||(U=Hr(["\n height: ",";\n width: ",";\n "])),t,n)}));Ur("M",(function(e){var t=e.height,n=e.width,r=e.className;return zE(uP,{height:t,width:n,className:r})}));yE.div(q||(q=Hr(["\n flex: 1;\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),yE.div(Y||(Y=Hr(["\n display: flex;\n flex-direction: column;\n align-items: center;\n"])));var sP=Jr.exports.forwardRef((function(e,t){return Jr.exports.createElement(oS.span,KE({},e,{ref:t,style:Zr({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"},e.style)}))})),lP=[" ","Enter","ArrowUp","ArrowDown"],cP=[" ","Enter"],fP="Select",dP=$r(nk(fP),3),pP=dP[0],hP=dP[1],vP=$r(XE(fP,[dP[2]]),2),mP=vP[0],gP=vP[1],yP=$r(mP(fP),2),bP=yP[0],xP=yP[1],wP=$r(mP(fP),2),_P=wP[0],EP=wP[1],SP=function(e){var t=e.__scopeSelect,n=e.children,r=e.open,o=e.defaultOpen,i=e.onOpenChange,a=e.value,u=e.defaultValue,s=e.onValueChange,l=e.dir,c=e.name,f=e.autoComplete,d=$r(Jr.exports.useState(null),2),p=d[0],h=d[1],v=$r(Jr.exports.useState(null),2),m=v[0],g=v[1],y=$r(Jr.exports.useState(!1),2),b=y[0],x=y[1],w=tk(l),_=$r(IS({prop:r,defaultProp:o,onChange:i}),2),E=_[0],S=void 0!==E&&E,k=_[1],C=$r(IS({prop:a,defaultProp:u,onChange:s}),2),A=C[0],T=C[1],P=Jr.exports.useRef(null),O=!p||Boolean(p.closest("form")),R=$r(Jr.exports.useState(new Set),2),D=R[0],L=R[1],M=Array.from(D).map((function(e){return e.props.value})).join(";");return Jr.exports.createElement(bP,{scope:t,trigger:p,onTriggerChange:h,valueNode:m,onValueNodeChange:g,valueNodeHasChildren:b,onValueNodeHasChildrenChange:x,contentId:sS(),value:A,onValueChange:T,open:S,onOpenChange:k,dir:w,triggerPointerDownPosRef:P},Jr.exports.createElement(pP.Provider,{scope:t},Jr.exports.createElement(_P,{scope:e.__scopeSelect,onNativeOptionAdd:Jr.exports.useCallback((function(e){L((function(t){return new Set(t).add(e)}))}),[]),onNativeOptionRemove:Jr.exports.useCallback((function(e){L((function(t){var n=new Set(t);return n.delete(e),n}))}),[])},n)),O?Jr.exports.createElement(eO,{key:M,"aria-hidden":!0,tabIndex:-1,name:c,autoComplete:f,value:A,onChange:function(e){return T(e.target.value)}},Array.from(D)):null)},kP=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.disabled,o=void 0!==r&&r,i=e["aria-labelledby"],a=qr(e,hn),u=xP("SelectTrigger",n),s=JE(t,u.onTriggerChange),l=hP(n),c=hS(u.trigger),f=i||c,d=tO((function(e){var t=l().filter((function(e){return!e.disabled})),n=t.find((function(e){return e.value===u.value})),r=nO(t,e,n);void 0!==r&&u.onValueChange(r.value)})),p=$r(d,3),h=p[0],v=p[1],m=p[2],g=function(){o||(u.onOpenChange(!0),m())};return Jr.exports.createElement(oS.button,KE({type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-autocomplete":"none","aria-labelledby":f,dir:u.dir,"data-state":u.open?"open":"closed",disabled:o,"data-disabled":o?"":void 0,"data-placeholder":void 0===u.value?"":void 0},a,{ref:s,onPointerDown:NS(a.onPointerDown,(function(e){e.target.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(g(),u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())})),onKeyDown:NS(a.onKeyDown,(function(e){var t=""!==h.current;!(e.ctrlKey||e.altKey||e.metaKey)&&1===e.key.length&&v(e.key),(!t||" "!==e.key)&&lP.includes(e.key)&&(g(),e.preventDefault())}))}))})),CP=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=(e.className,e.style,e.children),o=e.placeholder,i=qr(e,vn),a=xP("SelectValue",n),u=a.onValueNodeHasChildrenChange,s=void 0!==r,l=JE(t,a.onValueNodeChange);return iS((function(){u(s)}),[u,s]),Jr.exports.createElement(oS.span,KE({},i,{ref:l,style:{pointerEvents:"none"}}),void 0===a.value&&void 0!==o?o:r)})),AP=Jr.exports.forwardRef((function(e,t){e.__scopeSelect;var n=e.children,r=qr(e,mn);return Jr.exports.createElement(oS.span,KE({"aria-hidden":!0},r,{ref:t}),n||"▼")})),TP=function(e){return Jr.exports.createElement(QA,KE({asChild:!0},e))},PP="SelectContent",OP=Jr.exports.forwardRef((function(e,t){var n=xP(PP,e.__scopeSelect),r=$r(Jr.exports.useState(),2),o=r[0],i=r[1];return iS((function(){i(new DocumentFragment)}),[]),Jr.exports.createElement(Jr.exports.Fragment,null,n.open?Jr.exports.createElement(NP,KE({},e,{ref:t})):o?Ko.exports.createPortal(Jr.exports.createElement(LP,{scope:e.__scopeSelect},Jr.exports.createElement(pP.Slot,{scope:e.__scopeSelect},Jr.exports.createElement("div",null,e.children))),o):null)})),RP=10,DP=$r(mP(PP),2),LP=DP[0],MP=DP[1],NP=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.onCloseAutoFocus,o=qr(e,gn),i=xP(PP,n),a=$r(Jr.exports.useState(null),2),u=a[0],s=a[1],l=$r(Jr.exports.useState(null),2),c=l[0],f=l[1],d=$r(Jr.exports.useState(null),2),p=d[0],h=d[1],v=JE(t,(function(e){return f(e)})),m=$r(Jr.exports.useState(null),2),g=m[0],y=m[1],b=$r(Jr.exports.useState(null),2),x=b[0],w=b[1],_=hP(n),E=$r(Jr.exports.useState(!1),2),S=E[0],k=E[1],C=Jr.exports.useRef(!0),A=Jr.exports.useRef(!1),T=Jr.exports.useRef(!1);Jr.exports.useEffect((function(){if(c)return oT(c)}),[c]),tC();var P=$r(Jr.exports.useState(),2),O=P[0],R=P[1];iS((function(){c&&R(window.getComputedStyle(c).zIndex)}),[c]);var D=Jr.exports.useCallback((function(e){var t,n=_().map((function(e){return e.ref.current})),r=zr(n),o=r[0],i=$r(r.slice(1).slice(-1),1)[0],a=document.activeElement,u=vo(e);try{for(u.s();!(t=u.n()).done;){var s=t.value;if(s===a||(null==s||s.scrollIntoView({block:"nearest"}),s===o&&p&&(p.scrollTop=0),s===i&&p&&(p.scrollTop=p.scrollHeight),null==s||s.focus(),document.activeElement!==a))return}}catch(l){u.e(l)}finally{u.f()}}),[_,p]),L=Jr.exports.useCallback((function(){if(i.trigger&&i.valueNode&&u&&c&&p&&g&&x){var e=i.trigger.getBoundingClientRect(),t=c.getBoundingClientRect(),n=i.valueNode.getBoundingClientRect(),r=x.getBoundingClientRect();if("rtl"!==i.dir){var o=r.left-t.left,a=n.left-o,s=e.left-a,l=e.width+s,f=Math.max(l,t.width),d=window.innerWidth-RP,h=JS(a,[RP,d-f]);u.style.minWidth=l+"px",u.style.left=h+"px"}else{var v=t.right-r.right,m=window.innerWidth-n.right-v,y=window.innerWidth-e.right-m,b=e.width+y,w=Math.max(b,t.width),E=window.innerWidth-RP,S=JS(m,[RP,E-w]);u.style.minWidth=b+"px",u.style.right=S+"px"}var C=_(),T=window.innerHeight-20,P=p.scrollHeight,O=window.getComputedStyle(c),R=parseInt(O.borderTopWidth,10),D=parseInt(O.paddingTop,10),L=parseInt(O.borderBottomWidth,10),M=R+D+P+parseInt(O.paddingBottom,10)+L,N=Math.min(5*g.offsetHeight,M),F=window.getComputedStyle(p),I=parseInt(F.paddingTop,10),j=parseInt(F.paddingBottom,10),z=e.top+e.height/2-RP,B=T-z,U=g.offsetHeight/2,V=R+D+(g.offsetTop+U),H=M-V;if(V<=z){var q=g===C[C.length-1].ref.current;u.style.bottom="0px";var Y=c.clientHeight-p.offsetTop-p.offsetHeight,G=V+Math.max(B,U+(q?j:0)+Y+L);u.style.height=G+"px"}else{var W=g===C[0].ref.current;u.style.top="0px";var K=Math.max(z,R+p.offsetTop+(W?I:0)+U)+H;u.style.height=K+"px",p.scrollTop=V-z+p.offsetTop}u.style.margin="".concat(RP,"px 0"),u.style.minHeight=N+"px",u.style.maxHeight=T+"px",k(!0),requestAnimationFrame((function(){return A.current=!0}))}}),[_,i.trigger,i.valueNode,u,c,p,g,x,i.dir]);iS((function(){return L()}),[L]);var M=Jr.exports.useCallback((function(){return D([g,c])}),[D,g,c]);Jr.exports.useEffect((function(){S&&M()}),[S,M]);var N=Jr.exports.useCallback((function(e){e&&!0===C.current&&(L(),M(),C.current=!1)}),[L,M]),F=i.onOpenChange,I=i.triggerPointerDownPosRef;Jr.exports.useEffect((function(){if(c){var e={x:0,y:0},t=function(t){var n,r,o,i;e={x:Math.abs(Math.round(t.pageX)-(null!==(n=null===(r=I.current)||void 0===r?void 0:r.x)&&void 0!==n?n:0)),y:Math.abs(Math.round(t.pageY)-(null!==(o=null===(i=I.current)||void 0===i?void 0:i.y)&&void 0!==o?o:0))}},n=function(n){e.x<=10&&e.y<=10?n.preventDefault():c.contains(n.target)||F(!1),document.removeEventListener("pointermove",t),I.current=null};return null!==I.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),function(){document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}}),[c,F,I]),Jr.exports.useEffect((function(){var e=function(){return F(!1)};return window.addEventListener("blur",e),window.addEventListener("resize",e),function(){window.removeEventListener("blur",e),window.removeEventListener("resize",e)}}),[F]);var j=tO((function(e){var t=_().filter((function(e){return!e.disabled})),n=t.find((function(e){return e.ref.current===document.activeElement})),r=nO(t,e,n);r&&setTimeout((function(){return r.ref.current.focus()}))})),z=$r(j,2),B=z[0],U=z[1],V=Jr.exports.useCallback((function(e,t,n){var r=!T.current&&!n;(void 0!==i.value&&i.value===t||r)&&(y(e),r&&(T.current=!0))}),[i.value]),H=Jr.exports.useCallback((function(){return null==c?void 0:c.focus()}),[c]),q=Jr.exports.useCallback((function(e,t,n){var r=!T.current&&!n;(void 0!==i.value&&i.value===t||r)&&w(e)}),[i.value]);return Jr.exports.createElement(LP,{scope:n,contentWrapper:u,content:c,viewport:p,onViewportChange:h,itemRefCallback:V,selectedItem:g,onItemLeave:H,itemTextRefCallback:q,selectedItemText:x,onScrollButtonChange:N,isPositioned:S,shouldExpandOnScrollRef:A,searchRef:B},Jr.exports.createElement(jT,{as:eS,allowPinchZoom:!0},Jr.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:O}},Jr.exports.createElement(aC,{asChild:!0,trapped:i.open,onMountAutoFocus:function(e){e.preventDefault()},onUnmountAutoFocus:NS(r,(function(e){var t;null===(t=i.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}))},Jr.exports.createElement(Qk,KE({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:function(e){return e.preventDefault()}},o,{ref:v,style:Zr({display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none"},o.style),disableOutsidePointerEvents:!0,onFocusOutside:function(e){return e.preventDefault()},onDismiss:function(){return i.onOpenChange(!1)},onKeyDown:NS(o.onKeyDown,(function(e){var t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),!t&&1===e.key.length&&U(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){var n=_().filter((function(e){return!e.disabled})).map((function(e){return e.ref.current}));if(["ArrowUp","End"].includes(e.key)&&(n=n.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){var r=e.target,o=n.indexOf(r);n=n.slice(o+1)}setTimeout((function(){return D(n)})),e.preventDefault()}}))}))))))})),FP=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=qr(e,yn),o=MP("SelectViewport",n),i=JE(t,o.onViewportChange),a=Jr.exports.useRef(0);return Jr.exports.createElement(Jr.exports.Fragment,null,Jr.exports.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),Jr.exports.createElement(pP.Slot,{scope:n},Jr.exports.createElement(oS.div,KE({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:Zr({position:"relative",flex:1,overflow:"auto"},r.style),onScroll:NS(r.onScroll,(function(e){var t=e.currentTarget,n=o.contentWrapper,r=o.shouldExpandOnScrollRef;if(null!=r&&r.current&&n){var i=Math.abs(a.current-t.scrollTop);if(i>0){var u=window.innerHeight-20,s=parseFloat(n.style.minHeight),l=parseFloat(n.style.height),c=Math.max(s,l);if(c<u){var f=c+i,d=Math.min(u,f),p=f-d;n.style.height=d+"px","0px"===n.style.bottom&&(t.scrollTop=p>0?p:0,n.style.justifyContent="flex-end")}}}a.current=t.scrollTop}))}))))})),IP=$r(mP("SelectGroup"),2),jP=IP[0],zP=IP[1],BP=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=qr(e,bn),o=sS();return Jr.exports.createElement(jP,{scope:n,id:o},Jr.exports.createElement(oS.div,KE({role:"group","aria-labelledby":o},r,{ref:t})))})),UP=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=qr(e,xn),o=zP("SelectLabel",n);return Jr.exports.createElement(oS.div,KE({id:o.id},r,{ref:t}))})),VP="SelectItem",HP=$r(mP(VP),2),qP=HP[0],YP=HP[1],GP=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.value,o=e.disabled,i=void 0!==o&&o,a=e.textValue,u=qr(e,wn),s=xP(VP,n),l=MP(VP,n),c=s.value===r,f=$r(Jr.exports.useState(null!=a?a:""),2),d=f[0],p=f[1],h=$r(Jr.exports.useState(!1),2),v=h[0],m=h[1],g=JE(t,(function(e){var t;return null===(t=l.itemRefCallback)||void 0===t?void 0:t.call(l,e,r,i)})),y=sS(),b=function(){i||(s.onValueChange(r),s.onOpenChange(!1))};return Jr.exports.createElement(qP,{scope:n,value:r,disabled:i,textId:y,isSelected:c,onItemTextChange:Jr.exports.useCallback((function(e){p((function(t){var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()}))}),[])},Jr.exports.createElement(pP.ItemSlot,{scope:n,value:r,disabled:i,textValue:d},Jr.exports.createElement(oS.div,KE({role:"option","aria-labelledby":y,"data-highlighted":v?"":void 0,"aria-selected":c&&v,"data-state":c?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1},u,{ref:g,onFocus:NS(u.onFocus,(function(){return m(!0)})),onBlur:NS(u.onBlur,(function(){return m(!1)})),onPointerUp:NS(u.onPointerUp,b),onPointerMove:NS(u.onPointerMove,(function(e){var t;i?null===(t=l.onItemLeave)||void 0===t||t.call(l):e.currentTarget.focus({preventScroll:!0})})),onPointerLeave:NS(u.onPointerLeave,(function(e){var t;e.currentTarget===document.activeElement&&(null===(t=l.onItemLeave)||void 0===t||t.call(l))})),onKeyDown:NS(u.onKeyDown,(function(e){var t;""!==(null===(t=l.searchRef)||void 0===t?void 0:t.current)&&" "===e.key||(cP.includes(e.key)&&b()," "===e.key&&e.preventDefault())}))}))))})),WP="SelectItemText",KP=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=(e.className,e.style,qr(e,_n)),o=xP(WP,n),i=MP(WP,n),a=YP(WP,n),u=EP(WP,n),s=$r(Jr.exports.useState(null),2),l=s[0],c=s[1],f=JE(t,(function(e){return c(e)}),a.onItemTextChange,(function(e){var t;return null===(t=i.itemTextRefCallback)||void 0===t?void 0:t.call(i,e,a.value,a.disabled)})),d=null==l?void 0:l.textContent,p=Jr.exports.useMemo((function(){return Jr.exports.createElement("option",{key:a.value,value:a.value,disabled:a.disabled},d)}),[a.disabled,a.value,d]),h=u.onNativeOptionAdd,v=u.onNativeOptionRemove;return iS((function(){return h(p),function(){return v(p)}}),[h,v,p]),Jr.exports.createElement(Jr.exports.Fragment,null,Jr.exports.createElement(oS.span,KE({id:a.textId},r,{ref:f})),a.isSelected&&o.valueNode&&!o.valueNodeHasChildren?Ko.exports.createPortal(r.children,o.valueNode):null)})),XP=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=qr(e,En);return YP("SelectItemIndicator",n).isSelected?Jr.exports.createElement(oS.span,KE({"aria-hidden":!0},r,{ref:t})):null})),ZP=Jr.exports.forwardRef((function(e,t){var n=MP("SelectScrollUpButton",e.__scopeSelect),r=$r(Jr.exports.useState(!1),2),o=r[0],i=r[1],a=JE(t,n.onScrollButtonChange);return iS((function(){if(n.viewport&&n.isPositioned){var e=function(){var e=t.scrollTop>0;i(e)},t=n.viewport;return e(),t.addEventListener("scroll",e),function(){return t.removeEventListener("scroll",e)}}}),[n.viewport,n.isPositioned]),o?Jr.exports.createElement($P,KE({},e,{ref:a,onAutoScroll:function(){var e=n.viewport,t=n.selectedItem;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}})):null})),QP=Jr.exports.forwardRef((function(e,t){var n=MP("SelectScrollDownButton",e.__scopeSelect),r=$r(Jr.exports.useState(!1),2),o=r[0],i=r[1],a=JE(t,n.onScrollButtonChange);return iS((function(){if(n.viewport&&n.isPositioned){var e=function(){var e=t.scrollHeight-t.clientHeight,n=Math.ceil(t.scrollTop)<e;i(n)},t=n.viewport;return e(),t.addEventListener("scroll",e),function(){return t.removeEventListener("scroll",e)}}}),[n.viewport,n.isPositioned]),o?Jr.exports.createElement($P,KE({},e,{ref:a,onAutoScroll:function(){var e=n.viewport,t=n.selectedItem;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}})):null})),$P=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.onAutoScroll,o=qr(e,Sn),i=MP("SelectScrollButton",n),a=Jr.exports.useRef(null),u=hP(n),s=Jr.exports.useCallback((function(){null!==a.current&&(window.clearInterval(a.current),a.current=null)}),[]);return Jr.exports.useEffect((function(){return function(){return s()}}),[s]),iS((function(){var e,t=u().find((function(e){return e.ref.current===document.activeElement}));null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})}),[u]),Jr.exports.createElement(oS.div,KE({"aria-hidden":!0},o,{ref:t,style:Zr({flexShrink:0},o.style),onPointerMove:NS(o.onPointerMove,(function(){var e;null===(e=i.onItemLeave)||void 0===e||e.call(i),null===a.current&&(a.current=window.setInterval(r,50))})),onPointerLeave:NS(o.onPointerLeave,(function(){s()}))}))})),JP=Jr.exports.forwardRef((function(e,t){e.__scopeSelect;var n=qr(e,kn);return Jr.exports.createElement(oS.div,KE({"aria-hidden":!0},n,{ref:t}))})),eO=Jr.exports.forwardRef((function(e,t){var n=e.value,r=qr(e,Cn),o=Jr.exports.useRef(null),i=JE(t,o),a=jS(n);return Jr.exports.useEffect((function(){var e=o.current,t=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(t,"value").set;if(a!==n&&r){var i=new Event("change",{bubbles:!0});r.call(e,n),e.dispatchEvent(i)}}),[a,n]),Jr.exports.createElement(sP,{asChild:!0},Jr.exports.createElement("select",KE({},r,{ref:i,defaultValue:n})))}));function tO(e){var t=FS(e),n=Jr.exports.useRef(""),r=Jr.exports.useRef(0),o=Jr.exports.useCallback((function(e){var o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout((function(){return e("")}),1e3))}(o)}),[t]),i=Jr.exports.useCallback((function(){n.current="",window.clearTimeout(r.current)}),[]);return Jr.exports.useEffect((function(){return function(){return window.clearTimeout(r.current)}}),[]),[n,o,i]}function nO(e,t,n){var r=t.length>1&&Array.from(t).every((function(e){return e===t[0]}))?t[0]:t,o=n?e.indexOf(n):-1,i=function(e,t){return e.map((function(n,r){return e[(t+r)%e.length]}))}(e,Math.max(o,0));1===r.length&&(i=i.filter((function(e){return e!==n})));var a=i.find((function(e){return e.textValue.toLowerCase().startsWith(r.toLowerCase())}));return a!==n?a:void 0}eO.displayName="BubbleSelect";var rO,oO=SP,iO=kP,aO=CP,uO=AP,sO=TP,lO=OP,cO=FP,fO=BP,dO=UP,pO=GP,hO=KP,vO=XP,mO=ZP,gO=QP,yO=JP,bO=Object.freeze(Object.defineProperty({__proto__:null,createSelectScope:gP,Select:SP,SelectTrigger:kP,SelectValue:CP,SelectIcon:AP,SelectPortal:TP,SelectContent:OP,SelectViewport:FP,SelectGroup:BP,SelectLabel:UP,SelectItem:GP,SelectItemText:KP,SelectItemIndicator:XP,SelectScrollUpButton:ZP,SelectScrollDownButton:QP,SelectSeparator:JP,Root:oO,Trigger:iO,Value:aO,Icon:uO,Portal:sO,Content:lO,Viewport:cO,Group:fO,Label:dO,Item:pO,ItemText:hO,ItemIndicator:vO,ScrollUpButton:mO,ScrollDownButton:gO,Separator:yO},Symbol.toStringTag,{value:"Module"})),xO=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("g",{clipPath:"url(#clip0_17_2062)",children:Fx("path",{d:"M7.41 8.58997L12 13.17L16.59 8.58997L18 9.99997L12 16L6 9.99997L7.41 8.58997Z"})})}))},wO=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("g",{clipPath:"url(#clip0_17_4631)",children:Fx("path",{d:"M9.00016 16.17L4.83016 12L3.41016 13.41L9.00016 19L21.0002 6.99997L19.5902 5.58997L9.00016 16.17Z"})})}))},_O=yE(iO)(G||(G=Hr(["\n display: inline-flex;\n align-items: center;\n justify-content: space-between;\n background-color: ",";\n border-radius: ",";\n border: 1px solid ",";\n color: ",";\n padding: "," ","\n "," ",";\n flex: 1;\n height: ",";\n font-size: ",";\n"])),TE["--ll-color-background"],TE["--ll-border-radius-small"],TE["--ll-color-border"],TE["--ll-color-on-background-variant1"],TE["--ll-spacing-xx-small"],TE["--ll-spacing-x-small"],TE["--ll-spacing-xx-small"],TE["--ll-spacing-small"],(function(e){return"medium"===e.size?"32px":"40px"}),(function(e){return"medium"===e.size?TE["--ll-font-size-p"]:TE["--ll-font-size-h6"]})),EO=yE(AP)(W||(W=Hr(["\n margin-left: ",";\n"])),TE["--ll-spacing-x-small"]),SO=yE(lO)(K||(K=Hr(["\n overflow: hidden;\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n min-width: 120px;\n z-index: 2;\n font-size: ",";\n"])),TE["--ll-color-background"],TE["--ll-border-radius-small"],TE["--ll-shadow-medium"],(function(e){return"medium"===e.size?TE["--ll-font-size-p"]:TE["--ll-font-size-h6"]})),kO=yE(pO)(X||(X=Hr(["\n font-family: ",";\n font-size: inherit;\n padding: "," ","\n "," ",";\n outline: none;\n border-radius: ",";\n position: relative;\n color: ",";\n cursor: default;\n\n &[data-highlighted] {\n background-color: ",";\n color: ",";\n }\n"])),TE["--ll-font-family"],TE["--ll-spacing-xx-small"],TE["--ll-spacing-x-large"],TE["--ll-spacing-xx-small"],TE["--ll-spacing-large"],TE["--ll-border-radius-small"],TE["--ll-color-on-surface-variant1"],TE["--ll-color-primary"],TE["--ll-color-on-primary"]),CO=yE(vO)(Z||(Z=Hr(["\n position: absolute;\n left: 0;\n height: 100%;\n left: 0;\n bottom: 0;\n width: ",";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n"])),TE["--ll-spacing-large"]),AO=yE(cO)(Q||(Q=Hr(["\n font-size: inherit;\n padding: ",";\n"])),TE["--ll-spacing-base-unit"]),TO=yE(sO)($||($=Hr(["\n z-index: 1;\n"]))),PO=Object.freeze(Object.defineProperty({__proto__:null,Trigger:_O,SelectIcon:EO,Content:SO,Item:kO,ItemIndicator:CO,Viewport:AO,Portal:TO},Symbol.toStringTag,{value:"Module"})),OO=bO.Root,RO=PO.Portal;Ur("f",Object.freeze(Object.defineProperty({__proto__:null,Root:OO,Trigger:function(e){var t=e.size,n=void 0===t?"medium":t,r=e.children,o=qr(e,An);return BE(_O,Zr(Zr({size:n},o),{},{children:[r,zE(AP,{children:zE(VE,{SVGElement:xO,fill:TE["--ll-color-on-background-variant1"],height:20})})]}))},Content:function(e){var t=e.size,n=void 0===t?"medium":t,r=e.children,o=qr(e,Tn);return zE(SO,Zr(Zr({size:n},o),{},{children:zE(AO,{children:r})}))},Item:function(e){var t=e.children,n=qr(e,Pn);return BE(kO,Zr(Zr({},n),{},{children:[zE(hO,{children:t}),zE(CO,{children:zE(VE,{SVGElement:wO,fill:"currentColor",height:12})})]}))},Portal:RO},Symbol.toStringTag,{value:"Module"})));function DO(){return Ur("W",DO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}),DO.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(rO||(rO={}));var LO="beforeunload";function MO(e,t,n){return Math.min(Math.max(e,t),n)}function NO(e){e.preventDefault(),e.returnValue=""}function FO(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function IO(){return Math.random().toString(36).substr(2,8)}function jO(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,o=void 0===r?"":r,i=e.hash,a=void 0===i?"":i;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function zO(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}
31
+ /**
32
+ * react-location
33
+ *
34
+ * Copyright (c) TanStack
35
+ *
36
+ * This source code is licensed under the MIT license found in the
37
+ * LICENSE.md file in the root directory of this source tree.
38
+ *
39
+ * @license MIT
40
+ */function BO(){return BO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BO.apply(this,arguments)}function UO(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function VO(e){if(!e)return"";var t=decodeURIComponent(e);return"false"!==t&&("true"===t||(0*+t==0?+t:t))}var HO=["children","location","__experimental__snapshot"],qO=["location","__experimental__snapshot"],YO=["basepath","routes"],GO=Jr.exports.createContext(null),WO=Jr.exports.createContext(null),KO=Jr.exports.createContext(null),XO=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),ZO=XO?Jr.exports.useLayoutEffect:Jr.exports.useEffect,QO=function(){return XO?function(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function o(){var e=n.location,t=e.pathname,o=e.search,i=e.hash,a=r.state||{};return[a.idx,{pathname:t,search:o,hash:i,state:a.usr||null,key:a.key||"default"}]}var i=null;n.addEventListener("popstate",(function(){if(i)f.call(i),i=null;else{var e=rO.Pop,t=o(),n=t[0],r=t[1];if(f.length){if(null!=n){var a=s-n;a&&(i={action:e,location:r,retry:function(){g(-1*a)}},g(a))}}else m(e)}}));var a=rO.Pop,u=o(),s=u[0],l=u[1],c=FO(),f=FO();function d(e){return"string"==typeof e?e:jO(e)}function p(e,t){return void 0===t&&(t=null),DO({pathname:l.pathname,hash:"",search:""},"string"==typeof e?zO(e):e,{state:t,key:IO()})}function h(e,t){return[{usr:e.state,key:e.key,idx:t},d(e)]}function v(e,t,n){return!f.length||(f.call({action:e,location:t,retry:n}),!1)}function m(e){a=e;var t=o();s=t[0],l=t[1],c.call({action:a,location:l})}function g(e){r.go(e)}null==s&&(s=0,r.replaceState(DO({},r.state,{idx:s}),""));var y={get action(){return a},get location(){return l},createHref:d,push:function e(t,o){var i=rO.Push,a=p(t,o);if(v(i,a,(function(){e(t,o)}))){var u=h(a,s+1),l=u[0],c=u[1];try{r.pushState(l,"",c)}catch(f){n.location.assign(c)}m(i)}},replace:function e(t,n){var o=rO.Replace,i=p(t,n);if(v(o,i,(function(){e(t,n)}))){var a=h(i,s),u=a[0],l=a[1];r.replaceState(u,"",l),m(o)}},go:g,back:function(){g(-1)},forward:function(){g(1)},listen:function(e){return c.push(e)},block:function(e){var t=f.push(e);return 1===f.length&&n.addEventListener(LO,NO),function(){t(),f.length||n.removeEventListener(LO,NO)}}};return y}():function(e){void 0===e&&(e={});var t=e,n=t.initialEntries,r=void 0===n?["/"]:n,o=t.initialIndex,i=r.map((function(e){return DO({pathname:"/",search:"",hash:"",state:null,key:IO()},"string"==typeof e?zO(e):e)})),a=MO(null==o?i.length-1:o,0,i.length-1),u=rO.Pop,s=i[a],l=FO(),c=FO();function f(e,t){return void 0===t&&(t=null),DO({pathname:s.pathname,search:"",hash:""},"string"==typeof e?zO(e):e,{state:t,key:IO()})}function d(e,t,n){return!c.length||(c.call({action:e,location:t,retry:n}),!1)}function p(e,t){u=e,s=t,l.call({action:u,location:s})}function h(e){var t=MO(a+e,0,i.length-1),n=rO.Pop,r=i[t];d(n,r,(function(){h(e)}))&&(a=t,p(n,r))}var v={get index(){return a},get action(){return u},get location(){return s},createHref:function(e){return"string"==typeof e?e:jO(e)},push:function e(t,n){var r=rO.Push,o=f(t,n);d(r,o,(function(){e(t,n)}))&&(a+=1,i.splice(a,i.length,o),p(r,o))},replace:function e(t,n){var r=rO.Replace,o=f(t,n);d(r,o,(function(){e(t,n)}))&&(i[a]=o,p(r,o))},go:h,back:function(){h(-1)},forward:function(){h(1)},listen:function(e){return l.push(e)},block:function(e){return c.push(e)}};return v}()},$O=function(){function e(){ro(this,e),this.listeners=[]}return no(e,[{key:"subscribe",value:function(e){var t=this;return this.listeners.push(e),function(){t.listeners=t.listeners.filter((function(t){return t!==e}))}}},{key:"notify",value:function(){this.listeners.forEach((function(e){return e()}))}}]),e}(),JO=function(e){oo(n,e);var t=io(n);function n(e){var r,o,i;return ro(this,n),(r=t.call(this)).isTransitioning=!1,r.history=(null==e?void 0:e.history)||QO(),r.stringifySearch=null!=(o=null==e?void 0:e.stringifySearch)?o:TR,r.parseSearch=null!=(i=null==e?void 0:e.parseSearch)?i:AR,r.current=r.parseLocation(r.history.location),r.destroy=r.history.listen((function(e){r.current=r.parseLocation(e.location,r.current),r.notify()})),r}return no(n,[{key:"buildNext",value:function(e,t){var n,r,o,i;void 0===e&&(e="/"),void 0===t&&(t={});var a=BO({},this.current,t.from),u=function(e,t,n){t=t.replace(new RegExp("^"+e),"/"),n=n.replace(new RegExp("^"+e),"/");var r=xR(t),o=xR(n);o.forEach((function(e,t){if("/"===e.value)t?t===o.length-1&&r.push(e):r=[e];else if(".."===e.value)r.pop();else{if("."===e.value)return;r.push(e)}}));var i=yR([e].concat(Wr(r.map((function(e){return e.value})))));return bR(i)}(e,a.pathname,""+(null!=(n=t.to)?n:".")),s=null!=(r=t.__searchFilters)&&r.length?t.__searchFilters.reduce((function(e,t){return t(e)}),a.search):a.search,l=!0===t.search?s:t.search?null!=(o=gR(t.search,s))?o:{}:null!=(i=t.__searchFilters)&&i.length?s:{},c=_R(a.search,l),f=this.stringifySearch(c),d=!0===t.hash?a.hash:gR(t.hash,a.hash);return{pathname:u,search:c,searchStr:f,hash:d=d?"#"+d:"",href:""+u+f+d,key:t.key}}},{key:"navigate",value:function(e,t){this.current=e,this.navigateTimeout&&clearTimeout(this.navigateTimeout);var n="replace";return t||(n="push"),this.parseLocation(this.history.location).href===this.current.href&&!this.current.key&&(n="replace"),"replace"===n?this.history.replace({pathname:this.current.pathname,hash:this.current.hash,search:this.current.searchStr}):this.history.push({pathname:this.current.pathname,hash:this.current.hash,search:this.current.searchStr})}},{key:"parseLocation",value:function(e,t){var n,r=this.parseSearch(e.search);return{pathname:e.pathname,searchStr:e.search,search:_R(null==t?void 0:t.search,r),hash:null!=(n=e.hash.split("#").reverse()[0])?n:"",href:""+e.pathname+e.search+e.hash,key:e.key}}}]),n}($O);function eR(e){return Fx(WO.Provider,Zr({},e))}function tR(e){var t=e.children,n=e.location,r=e.__experimental__snapshot,o=UO(e,HO),i=Jr.exports.useRef(null);i.current||(i.current=new rR({location:n,__experimental__snapshot:r,routes:o.routes}));var a=i.current,u=$r(Jr.exports.useReducer((function(){return{}}),{}),2),s=(u[0],u[1]);return a.update(o),ZO((function(){return a.subscribe((function(){s()}))}),[]),ZO((function(){return a.updateLocation(n.current).unsubscribe}),[n.current.key]),Jr.exports.createElement(GO.Provider,{value:{location:n}},Jr.exports.createElement(KO.Provider,{value:{router:a}},Fx(nR,{}),Fx(eR,{value:[a.rootMatch].concat(Wr(a.state.matches)),children:null!=t?t:Fx(hR,{})})))}function nR(){var e=oR(),t=pR(),n=dR();return ZO((function(){t({to:".",search:!0,hash:!0}).href!==e.current.href&&n({to:".",search:!0,hash:!0,fromCurrent:!0,replace:!0})}),[]),null}var rR=function(e){oo(n,e);var t=io(n);function n(e){var r,o;ro(this,n);var i=e.location,a=e.__experimental__snapshot,u=UO(e,qO);(r=t.call(this)).routesById={},r.update=function(e){var t=e.basepath,n=e.routes,o=UO(e,YO);Object.assign(uo(r),o),r.basepath=bR("/"+(null!=t?t:"")),r.routesById={};r.routes=function e(t,n){return t.map((function(t){var i,a,u,s,l=null!=(i=t.path)?i:"*",c=yR(["root"===(null==n?void 0:n.id)?"":null==n?void 0:n.id,(null==l?void 0:l.replace(/(.)\/$/,"$1"))+(t.id?"-"+t.id:"")]);if(t=BO({},t,{pendingMs:null!=(a=t.pendingMs)?a:null==o?void 0:o.defaultPendingMs,pendingMinMs:null!=(u=t.pendingMinMs)?u:null==o?void 0:o.defaultPendingMinMs,id:c}),r.routesById[c])throw new Error;return r.routesById[c]=t,t.children=null!=(s=t.children)&&s.length?e(t.children,t):void 0,t}))}(n),r.rootMatch={id:"root",params:{},search:{},pathname:r.basepath,route:null,ownData:{},data:{},isLoading:!1,status:"resolved"}},r.setState=function(e){var t=e({state:r.state,pending:r.pending});r.state=t.state,r.pending=t.pending,r.cleanMatchCache(),r.notify()},r.matchCache={},r.cleanMatchCache=function(){var e,t,n,o=[].concat(Wr(null!=(e=null==uo(r)?void 0:r.state.matches)?e:[]),Wr(null!=(t=null==uo(r)||null==(n=r.pending)?void 0:n.matches)?t:[])).map((function(e){return e.id}));Object.values(r.matchCache).forEach((function(e){var t;if(e.updatedAt&&!o.includes(e.id)){var n=Date.now()-(null!=(t=e.updatedAt)?t:0);(!e.maxAge||n>e.maxAge)&&(e.route.unloader&&e.route.unloader(e),delete r.matchCache[e.id])}}))},r.updateLocation=function(e){var t,n=new Promise((function(n){var o=new aR(uo(r),e);r.setState((function(e){return BO({},e,{pending:{location:o.location,matches:o.matches}})})),t=o.subscribe((function(){var e=r.state.matches;e.filter((function(e){return!o.matches.find((function(t){return t.id===e.id}))})).forEach((function(e){null==e.onExit||e.onExit(e)})),e.filter((function(e){return o.matches.find((function(t){return t.id===e.id}))})).forEach((function(e){null==e.route.onTransition||e.route.onTransition(e)})),o.matches.filter((function(t){return!e.find((function(e){return e.id===t.id}))})).forEach((function(e){e.onExit=null==e.route.onMatch?void 0:e.route.onMatch(e)})),r.setState((function(e){return BO({},e,{state:{location:o.location,matches:o.matches},pending:void 0})})),n()})),o.loadData(),o.startPending()}));return{promise:n,unsubscribe:t}},r.__experimental__createSnapshot=function(){return{location:r.state.location,matches:r.state.matches.map((function(e){var t=e.ownData;return{id:e.id,ownData:t}}))}},r.update(u);var s=[];if(a){var l=new aR(uo(r),i.current);l.matches.forEach((function(e,t){var n,r,o,i;if(e.id!==(null==(n=a.matches[t])?void 0:n.id))throw new Error("Router hydration mismatch: "+e.id+" !== "+(null==(i=a.matches[t])?void 0:i.id));e.ownData=null!=(r=null==(o=a.matches[t])?void 0:o.ownData)?r:{}})),uR(l.matches),s=l.matches}return r.state={location:null!=(o=null==a?void 0:a.location)?o:i.current,matches:s},i.subscribe((function(){return r.notify()})),r}return no(n)}($O);function oR(){var e=Jr.exports.useContext(GO);return mR(!!e,"useLocation must be used within a <ReactLocation />"),e.location}var iR=no((function e(t){var n=this;ro(this,e),this.status="loading",this.ownData={},this.data={},this.isLoading=!1,this.notify=function(e){var t;null==(t=n.matchLoader)||t.preNotify(e?n:void 0)},this.assignMatchLoader=function(e){n.matchLoader=e},this.startPending=function(){n.pendingTimeout&&clearTimeout(n.pendingTimeout),void 0!==n.route.pendingMs&&(n.pendingTimeout=setTimeout((function(){var e;"loading"===n.status&&(n.status="pending"),null==(e=n.notify)||e.call(n),void 0!==n.route.pendingMinMs&&(n.pendingMinPromise=new Promise((function(e){return setTimeout(e,n.route.pendingMinMs)})))}),n.route.pendingMs))},this.load=function(e){var t,r;if(n.maxAge=null!=(t=null!=(r=e.maxAge)?r:n.route.loaderMaxAge)?t:e.router.defaultLoaderMaxAge,!n.loaderPromise){var o=n.route.import;n.loaderPromise=(o?(n.isLoading=!0,o({params:n.params,search:n.search}).then((function(e){n.route=BO({},n.route,e)}))):Promise.resolve()).then((function(){var t=[];["element","errorElement","pendingElement"].forEach((function(e){var r=n.route[e];n[e]||("function"==typeof r?(n.isLoading=!0,t.push(r(n).then((function(t){n[e]=t})))):n[e]=n.route[e])}));var r=n.route.loader,o=r?new Promise(function(){var t=Vr(Br().mark((function t(o){var i,a,u;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.isLoading=!0,i=function(e){n.updatedAt=Date.now(),o(n.ownData),n.status=e},a=function(e){n.ownData=e,n.error=void 0,i("resolved")},u=function(e){console.error(e),n.error=e,i("rejected")},t.prev=4,t.t0=a,t.next=8,r(n,{parentMatch:e.parentMatch,dispatch:function(){var e=Vr(Br().mark((function e(t){var r;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"resolve"===t.type?a(t.data):"reject"===t.type?u(t.error):"loading"===t.type?n.isLoading=!0:"maxAge"===t.type&&(n.maxAge=t.maxAge),n.updatedAt=Date.now(),null==(r=n.notify)||r.call(n,!0);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()});case 8:t.t1=t.sent,(0,t.t0)(t.t1),t.next=15;break;case 12:t.prev=12,t.t2=t.catch(4),u(t.t2);case 15:case"end":return t.stop()}}),t,null,[[4,12]])})));return function(e){return t.apply(this,arguments)}}()):Promise.resolve();return Promise.all([].concat(t,[o])).then((function(){n.status="resolved",n.isLoading=!1,n.startPending=void 0})).then((function(){return n.pendingMinPromise})).then((function(){var e;n.pendingTimeout&&clearTimeout(n.pendingTimeout),null==(e=n.notify)||e.call(n,!0)}))})).then((function(){return n.ownData}))}},Object.assign(this,t)})),aR=function(e){oo(n,e);var t=io(n);function n(e,r){var o,i;ro(this,n),o=t.call(this),i=uo(o),o.preNotifiedMatches=[],o.status="pending",o.preNotify=function(e){e&&(o.preNotifiedMatches.includes(e)||o.preNotifiedMatches.push(e)),e&&o.preNotifiedMatches.length!==o.matches.length||(o.status="resolved",uR(o.matches),o.notify())},o.loadData=function(){var e=Vr(Br().mark((function e(t){var n,r;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(void 0===t?{}:t).maxAge,i.router.cleanMatchCache(),null!=(n=i.matches)&&n.length){e.next=5;break}return i.preNotify(),e.abrupt("return");case 5:return i.firstRenderPromises=[],i.matches.forEach((function(e,t){var n,o,a=null==(n=i.matches)?void 0:n[t-1];null==e.assignMatchLoader||e.assignMatchLoader(i),null==e.load||e.load({maxAge:r,parentMatch:a,router:i.router}),null==(o=i.firstRenderPromises)||o.push(e.loaderPromise)})),e.next=9,Promise.all(i.firstRenderPromises).then((function(){return i.preNotify(),i.matches}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),o.load=function(){var e=Vr(Br().mark((function e(t){var n;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(void 0===t?{}:t).maxAge,e.next=3,i.loadData({maxAge:n});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),o.startPending=Vr(Br().mark((function e(){return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o.matches.forEach((function(e){return null==e.startPending?void 0:e.startPending()}));case 1:case"end":return e.stop()}}),e)}))),o.router=e,o.location=r,o.matches=[];var a=lR(o.router,o.location);return o.matches=null==a?void 0:a.map((function(e){return o.router.matchCache[e.id]||(o.router.matchCache[e.id]=new iR(e)),o.router.matchCache[e.id]})),o}return no(n)}($O);function uR(e){null==e||e.forEach((function(t,n){var r,o=null==e?void 0:e[n-1];t.data=BO({},null!=(r=null==o?void 0:o.data)?r:{},t.ownData)}))}function sR(){var e=Jr.exports.useContext(KO);if(!e)throw mR(!0,"You are trying to use useRouter() outside of ReactLocation!"),new Error;return e.router}function lR(e,t){if(!e.routes.length)return[];var n=[],r=function(){var o=Vr(Br().mark((function o(i,a){var u,s,l,c,f,d,p,h;return Br().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(s=a.pathname,l=a.params,c=null!=e&&e.filterRoutes?null==e?void 0:e.filterRoutes(i):i,f=c.find((function(n){var r,o,i=yR([s,n.path]),a=!!("/"!==n.path||null!=(r=n.children)&&r.length),u=vR(t,{to:i,search:n.search,fuzzy:a,caseSensitive:null!=(o=n.caseSensitive)?o:e.caseSensitive});return u&&(l=BO({},l,u)),!!u}))){o.next=5;break}return o.abrupt("return");case 5:d=cR(f.path,l),s=yR([s,d]),p=cR(f.id,l,!0),h={id:p,route:f,params:l,pathname:s,search:t.search},n.push(h),null!=(u=f.children)&&u.length&&r(f.children,h);case 11:case"end":return o.stop()}}),o)})));return function(e,t){return o.apply(this,arguments)}}();return r(e.routes,e.rootMatch),n}function cR(e,t,n){return yR(xR(e).map((function(e){return"*"!==e.value||n?"param"===e.type?null!=(r=t[e.value.substring(1)])?r:"":e.value:"";var r})))}function fR(){return Jr.exports.useContext(WO)}function dR(){var e,t=oR(),n=null==(e=fR())?void 0:e[0],r=pR();return wR((function(e){var o,i=e.search,a=e.hash,u=e.replace,s=e.from,l=e.to,c=e.fromCurrent;c=null!=(o=c)?o:void 0===l;var f=r({to:l,search:i,hash:a,from:c?t.current:null!=s?s:{pathname:n.pathname}});t.navigate(f,u)}))}function pR(){var e=oR(),t=sR();return wR((function(n){var r=e.buildNext(t.basepath,n),o=lR(t,r).map((function(e){var t;return null!=(t=e.route.searchFilters)?t:[]})).flat().filter(Boolean);return e.buildNext(t.basepath,BO({},n,{__searchFilters:o}))}))}function hR(){var e,t=sR(),n=zr(fR()),r=(n[0],n.slice(1)),o=r[0];if(!o)return null;var i=null!=(e=o.errorElement)?e:t.defaultErrorElement,a=function(){var e,n;if("rejected"===o.status){if(i)return i;if(!t.useErrorBoundary)return"An unknown error occured!";throw o.error}var r=null!=(e=o.pendingElement)?e:t.defaultPendingElement;if("loading"===o.status)return null;if("pending"===o.status&&(o.route.pendingMs||r))return null!=r?r:null;var a=null!=(n=o.element)?n:t.defaultElement;return null!=a?a:Fx(hR,{})}();return Fx(eR,{value:r,children:a})}function vR(e,t){var n=function(e,t){var n,r=xR(e.pathname),o=xR(""+(null!=(n=t.to)?n:"*")),i={},a=function(){for(var e=0;e<Math.max(r.length,o.length);e++){var n=r[e],a=o[e],u=e===o.length-1,s=e===r.length-1;if(a){if("wildcard"===a.type)return!(null==n||!n.value)&&(i["*"]=yR(r.slice(e).map((function(e){return e.value}))),!0);if("pathname"===a.type){if("/"===a.value&&(null==n||!n.value))return!0;if(n)if(t.caseSensitive){if(a.value!==n.value)return!1}else if(a.value.toLowerCase()!==n.value.toLowerCase())return!1}if(!n)return!1;"param"===a.type&&(i[a.value.substring(1)]=n.value)}if(u&&!s)return!!t.fuzzy}return!0}();return a?i:void 0}(e,t),r=function(e,t){return!(!t.search||!t.search(e.search))}(e,t);if((!t.to||n)&&(!t.search||r))return null!=n?n:{}}function mR(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function gR(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}function yR(e){return bR(e.filter(Boolean).join("/"))}function bR(e){return(""+e).replace(/\/{2,}/g,"/")}function xR(e){if(!e)return[];var t=[];if("/"===(e=bR(e)).slice(0,1)&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),!e)return t;var n=e.split("/").filter(Boolean);return t.push.apply(t,Wr(n.map((function(e){return e.startsWith("*")?{type:"wildcard",value:e}:":"===e.charAt(0)?{type:"param",value:e}:{type:"pathname",value:e}})))),"/"===e.slice(-1)&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),t}function wR(e){var t=Jr.exports.useRef(),n=Jr.exports.useRef(e);return n.current=e,t.current||(t.current=function(){return n.current.apply(n,arguments)}),t.current}function _R(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||ER(e)&&ER(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},u=0,s=0;s<i;s++){var l=n?s:o[s];a[l]=_R(e[l],t[l]),a[l]===e[l]&&u++}return r===i&&u===r?e:a}return t}function ER(e){if(!SR(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!SR(n)&&!!n.hasOwnProperty("isPrototypeOf")}function SR(e){return"[object Object]"===Object.prototype.toString.call(e)}var kR,CR,AR=(kR=JSON.parse,function(e){"?"===e.substring(0,1)&&(e=e.substring(1));var t=function(e){for(var t,n,r={},o=e.split("&");t=o.shift();)void 0!==r[n=(t=t.split("=")).shift()]?r[n]=[].concat(r[n],VO(t.shift())):r[n]=VO(t.shift());return r}(e);for(var n in t){var r=t[n];if("string"==typeof r)try{t[n]=kR(r)}catch(o){}}return t}),TR=(CR=JSON.stringify,function(e){(e=BO({},e))&&Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n||void 0===n)delete e[t];else if(n&&"object"===ho(n)&&null!==n)try{e[t]=CR(n)}catch(r){}}));var t=function(e,t){var n,r,o,i="";for(n in e)if(void 0!==(o=e[n]))if(Array.isArray(o))for(r=0;r<o.length;r++)i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o[r]);else i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o);return(t||"")+i}(e).toString();return t?"?"+t:""});function PR(e,t){return PR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},PR(e,t)}var OR={error:null},RR=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state=OR,t.resetErrorBoundary=function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];null==t.props.onReset||(e=t.props).onReset.apply(e,r),t.reset()},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,PR(t,n),r.getDerivedStateFromError=function(e){return{error:e}};var o=r.prototype;return o.reset=function(){this.setState(OR)},o.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).onError)||n.call(r,e,t)},o.componentDidUpdate=function(e,t){var n,r,o=this.state.error,i=this.props.resetKeys;null!==o&&null!==t.error&&function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length!==t.length||e.some((function(e,n){return!Object.is(e,t[n])}))}(e.resetKeys,i)&&(null==(n=(r=this.props).onResetKeysChange)||n.call(r,e.resetKeys,i),this.reset())},o.render=function(){var e=this.state.error,t=this.props,n=t.fallbackRender,r=t.FallbackComponent,o=t.fallback;if(null!==e){var i={error:e,resetErrorBoundary:this.resetErrorBoundary};if(Jr.exports.isValidElement(o))return o;if("function"==typeof n)return n(i);if(r)return Fx(r,Zr({},i));throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},r}(Jr.exports.Component),DR=function(){function e(){ro(this,e),this.listeners=[],this.subscribe=this.subscribe.bind(this)}return no(e,[{key:"subscribe",value:function(e){var t=this;return this.listeners.push(e),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(t){return t!==e})),t.onUnsubscribe()}}},{key:"hasListeners",value:function(){return this.listeners.length>0}},{key:"onSubscribe",value:function(){}},{key:"onUnsubscribe",value:function(){}}]),e}();Ur("o",DR);var LR=Ur("v","undefined"==typeof window);function MR(){}function NR(e){return"number"==typeof e&&e>=0&&e!==1/0}function FR(e,t){return Math.max(e+(t||0)-Date.now(),0)}function IR(e,t,n){return XR(e)?"function"==typeof t?Zr(Zr({},n),{},{queryKey:e,queryFn:t}):Zr(Zr({},t),{},{queryKey:e}):e}function jR(e,t,n){return XR(e)?[Zr(Zr({},t),{},{queryKey:e}),n]:[e||{},t]}function zR(e,t){var n=e.type,r=void 0===n?"all":n,o=e.exact,i=e.fetchStatus,a=e.predicate,u=e.queryKey,s=e.stale;if(XR(u))if(o){if(t.queryHash!==UR(u,t.options))return!1}else if(!HR(t.queryKey,u))return!1;if("all"!==r){var l=t.isActive();if("active"===r&&!l)return!1;if("inactive"===r&&l)return!1}return("boolean"!=typeof s||t.isStale()===s)&&((void 0===i||i===t.state.fetchStatus)&&!(a&&!a(t)))}function BR(e,t){var n=e.exact,r=e.fetching,o=e.predicate,i=e.mutationKey;if(XR(i)){if(!t.options.mutationKey)return!1;if(n){if(VR(t.options.mutationKey)!==VR(i))return!1}else if(!HR(t.options.mutationKey,i))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function UR(e,t){return((null==t?void 0:t.queryKeyHashFn)||VR)(e)}function VR(e){return JSON.stringify(e,(function(e,t){return WR(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function HR(e,t){return qR(e,t)}function qR(e,t){return e===t||ho(e)===ho(t)&&(!(!e||!t||"object"!==ho(e)||"object"!==ho(t))&&!Object.keys(t).some((function(n){return!qR(e[n],t[n])})))}function YR(e,t){if(e===t)return e;var n=GR(e)&&GR(t);if(n||WR(e)&&WR(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},u=0,s=0;s<i;s++){var l=n?s:o[s];a[l]=YR(e[l],t[l]),a[l]===e[l]&&u++}return r===i&&u===r?e:a}return t}function GR(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function WR(e){if(!KR(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!KR(n)&&!!n.hasOwnProperty("isPrototypeOf")}function KR(e){return"[object Object]"===Object.prototype.toString.call(e)}function XR(e){return Array.isArray(e)}function ZR(e){return new Promise((function(t){setTimeout(t,e)}))}function QR(e){ZR(0).then(e)}function $R(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?YR(e,t):t}var JR=Ur("D",new(function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),(e=t.call(this)).setup=function(e){if(!LR&&window.addEventListener){var t=function(){return e()};return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),function(){window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}},e}return no(n,[{key:"onSubscribe",value:function(){this.cleanup||this.setEventListener(this.setup)}},{key:"onUnsubscribe",value:function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}},{key:"setEventListener",value:function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setFocused(e):n.onFocus()}))}},{key:"setFocused",value:function(e){this.focused=e,e&&this.onFocus()}},{key:"onFocus",value:function(){this.listeners.forEach((function(e){e()}))}},{key:"isFocused",value:function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}]),n}(DR))),eD=new(function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),(e=t.call(this)).setup=function(e){if(!LR&&window.addEventListener){var t=function(){return e()};return window.addEventListener("online",t,!1),window.addEventListener("offline",t,!1),function(){window.removeEventListener("online",t),window.removeEventListener("offline",t)}}},e}return no(n,[{key:"onSubscribe",value:function(){this.cleanup||this.setEventListener(this.setup)}},{key:"onUnsubscribe",value:function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}},{key:"setEventListener",value:function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setOnline(e):n.onOnline()}))}},{key:"setOnline",value:function(e){this.online=e,e&&this.onOnline()}},{key:"onOnline",value:function(){this.listeners.forEach((function(e){e()}))}},{key:"isOnline",value:function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}}]),n}(DR));function tD(e){return Math.min(1e3*Math.pow(2,e),3e4)}function nD(e){return"online"!==(null!=e?e:"online")||eD.isOnline()}var rD=no((function e(t){ro(this,e),this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}));function oD(e){return e instanceof rD}function iD(e){var t,n,r,o=!1,i=0,a=!1,u=new Promise((function(e,t){n=e,r=t})),s=function(){return!JR.isFocused()||"always"!==e.networkMode&&!eD.isOnline()},l=function(r){a||(a=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),n(r))},c=function(n){a||(a=!0,null==e.onError||e.onError(n),null==t||t(),r(n))},f=function(){return new Promise((function(n){t=function(e){if(a||!s())return n(e)},null==e.onPause||e.onPause()})).then((function(){t=void 0,a||null==e.onContinue||e.onContinue()}))},d=function t(){if(!a){var n;try{n=e.fn()}catch(r){n=Promise.reject(r)}Promise.resolve(n).then(l).catch((function(n){var r,u;if(!a){var l=null!=(r=e.retry)?r:3,d=null!=(u=e.retryDelay)?u:tD,p="function"==typeof d?d(i,n):d,h=!0===l||"number"==typeof l&&i<l||"function"==typeof l&&l(i,n);!o&&h?(i++,null==e.onFail||e.onFail(i,n),ZR(p).then((function(){if(s())return f()})).then((function(){o?c(n):t()}))):c(n)}}))}};return nD(e.networkMode)?d():f().then(d),{promise:u,cancel:function(t){a||(c(new rD(t)),null==e.abort||e.abort())},continue:function(){null==t||t()},cancelRetry:function(){o=!0},continueRetry:function(){o=!1}}}var aD=console;var uD,sD,lD,cD,fD,dD,pD=Ur("J",(uD=[],sD=0,lD=function(e){e()},cD=function(e){e()},dD=function(){var e=uD;uD=[],e.length&&QR((function(){cD((function(){e.forEach((function(e){lD(e)}))}))}))},{batch:function(e){var t;sD++;try{t=e()}finally{--sD||dD()}return t},batchCalls:function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];fD((function(){e.apply(void 0,n)}))}},schedule:fD=function(e){sD?uD.push(e):QR((function(){lD(e)}))},setNotifyFunction:function(e){lD=e},setBatchNotifyFunction:function(e){cD=e}})),hD=function(){function e(){ro(this,e)}return no(e,[{key:"destroy",value:function(){this.clearGcTimeout()}},{key:"scheduleGc",value:function(){var e=this;this.clearGcTimeout(),NR(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))}},{key:"updateCacheTime",value:function(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:LR?1/0:3e5)}},{key:"clearGcTimeout",value:function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}]),e}(),vD=function(e){oo(n,e);var t=io(n);function n(e){var r,o,i,a,u;return ro(this,n),(r=t.call(this)).abortSignalConsumed=!1,r.defaultOptions=e.defaultOptions,r.setOptions(e.options),r.observers=[],r.cache=e.cache,r.logger=e.logger||aD,r.queryKey=e.queryKey,r.queryHash=e.queryHash,r.initialState=e.state||(o=r.options,i="function"==typeof o.initialData?o.initialData():o.initialData,a=void 0!==o.initialData?"function"==typeof o.initialDataUpdatedAt?o.initialDataUpdatedAt():o.initialDataUpdatedAt:0,{data:i,dataUpdateCount:0,dataUpdatedAt:(u=void 0!==i)?null!=a?a:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:u?"success":"loading",fetchStatus:"idle"}),r.state=r.initialState,r.meta=e.meta,r}return no(n,[{key:"setOptions",value:function(e){this.options=Zr(Zr({},this.defaultOptions),e),this.meta=null==e?void 0:e.meta,this.updateCacheTime(this.options.cacheTime)}},{key:"optionalRemove",value:function(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}},{key:"setData",value:function(e,t){var n=$R(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}},{key:"setState",value:function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}},{key:"cancel",value:function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(MR).catch(MR):Promise.resolve()}},{key:"destroy",value:function(){Yr(po(n.prototype),"destroy",this).call(this),this.cancel({silent:!0})}},{key:"reset",value:function(){this.destroy(),this.setState(this.initialState)}},{key:"isActive",value:function(){return this.observers.some((function(e){return!1!==e.options.enabled}))}},{key:"isDisabled",value:function(){return this.getObserversCount()>0&&!this.isActive()}},{key:"isStale",value:function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))}},{key:"isStaleByTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.state.isInvalidated||!this.state.dataUpdatedAt||!FR(this.state.dataUpdatedAt,e)}},{key:"onFocus",value:function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}},{key:"onOnline",value:function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}},{key:"addObserver",value:function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}},{key:"removeObserver",value:function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}},{key:"getObserversCount",value:function(){return this.observers.length}},{key:"invalidate",value:function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}},{key:"fetch",value:function(e,t){var n,r,o=this;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var i;return null==(i=this.retryer)||i.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var a=this.observers.find((function(e){return e.options.queryFn}));a&&this.setOptions(a.options)}Array.isArray(this.options.queryKey);var u=function(){if("function"==typeof AbortController)return new AbortController}(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=function(e){Object.defineProperty(e,"signal",{enumerable:!0,get:function(){if(u)return o.abortSignalConsumed=!0,u.signal}})};l(s);var c,f={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:function(){return o.options.queryFn?(o.abortSignalConsumed=!1,o.options.queryFn(s)):Promise.reject("Missing queryFn")},meta:this.meta};(l(f),null==(n=this.options.behavior)||n.onFetch(f),this.revertState=this.state,"idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=f.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(c=f.fetchOptions)?void 0:c.meta});var d=function(e){var t,n;(oD(e)&&e.silent||o.dispatch({type:"error",error:e}),oD(e))||(null==(t=(n=o.cache.config).onError)||t.call(n,e,o));o.isFetchingOptimistic||o.scheduleGc(),o.isFetchingOptimistic=!1};return this.retryer=iD({fn:f.fetchFn,abort:null==u?void 0:u.abort.bind(u),onSuccess:function(e){var t,n;void 0!==e?(o.setData(e),null==(t=(n=o.cache.config).onSuccess)||t.call(n,e,o),o.isFetchingOptimistic||o.scheduleGc(),o.isFetchingOptimistic=!1):d(new Error("Query data cannot be undefined"))},onError:d,onFail:function(){o.dispatch({type:"failed"})},onPause:function(){o.dispatch({type:"pause"})},onContinue:function(){o.dispatch({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode}),this.promise=this.retryer.promise,this.promise}},{key:"dispatch",value:function(e){var t=this;this.state=function(n){var r,o;switch(e.type){case"failed":return Zr(Zr({},n),{},{fetchFailureCount:n.fetchFailureCount+1});case"pause":return Zr(Zr({},n),{},{fetchStatus:"paused"});case"continue":return Zr(Zr({},n),{},{fetchStatus:"fetching"});case"fetch":return Zr(Zr({},n),{},{fetchFailureCount:0,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:nD(t.options.networkMode)?"fetching":"paused"},!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return Zr(Zr({},n),{},{data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:null!=(o=e.dataUpdatedAt)?o:Date.now(),error:null,isInvalidated:!1,status:"success"},!e.manual&&{fetchStatus:"idle",fetchFailureCount:0});case"error":var i=e.error;return oD(i)&&i.revert&&t.revertState?Zr({},t.revertState):Zr(Zr({},n),{},{error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchStatus:"idle",status:"error"});case"invalidate":return Zr(Zr({},n),{},{isInvalidated:!0});case"setState":return Zr(Zr({},n),e.state)}}(this.state),pD.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"updated",action:e})}))}}]),n}(hD);var mD=function(e){oo(n,e);var t=io(n);function n(e){var r;return ro(this,n),(r=t.call(this)).config=e||{},r.queries=[],r.queriesMap={},r}return no(n,[{key:"build",value:function(e,t,n){var r,o=t.queryKey,i=null!=(r=t.queryHash)?r:UR(o,t),a=this.get(i);return a||(a=new vD({cache:this,logger:e.getLogger(),queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(a)),a}},{key:"add",value:function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}},{key:"remove",value:function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}},{key:"clear",value:function(){var e=this;pD.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))}},{key:"get",value:function(e){return this.queriesMap[e]}},{key:"getAll",value:function(){return this.queries}},{key:"find",value:function(e,t){var n=$r(jR(e,t),1)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(e){return zR(n,e)}))}},{key:"findAll",value:function(e,t){var n=$r(jR(e,t),1)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return zR(n,e)})):this.queries}},{key:"notify",value:function(e){var t=this;pD.batch((function(){t.listeners.forEach((function(t){t(e)}))}))}},{key:"onFocus",value:function(){var e=this;pD.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))}},{key:"onOnline",value:function(){var e=this;pD.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))}}]),n}(DR),gD=function(e){oo(r,e);var t,n=io(r);function r(e){var t;return ro(this,r),(t=n.call(this)).options=Zr(Zr({},e.defaultOptions),e.options),t.mutationId=e.mutationId,t.mutationCache=e.mutationCache,t.logger=e.logger||aD,t.observers=[],t.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},t.meta=e.meta,t.updateCacheTime(t.options.cacheTime),t.scheduleGc(),t}return no(r,[{key:"setState",value:function(e){this.dispatch({type:"setState",state:e})}},{key:"addObserver",value:function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}},{key:"removeObserver",value:function(e){this.observers=this.observers.filter((function(t){return t!==e})),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}},{key:"optionalRemove",value:function(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}},{key:"continue",value:function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}},{key:"execute",value:(t=Vr(Br().mark((function e(){var t,n,r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w=this;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(){var e;return w.retryer=iD({fn:function(){return w.options.mutationFn?w.options.mutationFn(w.state.variables):Promise.reject("No mutationFn found")},onFail:function(){w.dispatch({type:"failed"})},onPause:function(){w.dispatch({type:"pause"})},onContinue:function(){w.dispatch({type:"continue"})},retry:null!=(e=w.options.retry)?e:0,retryDelay:w.options.retryDelay,networkMode:w.options.networkMode}),w.retryer.promise},n="loading"===this.state.status,e.prev=2,n){e.next=10;break}return this.dispatch({type:"loading",variables:this.options.variables}),null==(l=(c=this.mutationCache.config).onMutate)||l.call(c,this.state.variables,this),e.next=8,null==(f=(d=this.options).onMutate)?void 0:f.call(d,this.state.variables);case 8:(p=e.sent)!==this.state.context&&this.dispatch({type:"loading",context:p,variables:this.state.variables});case 10:return e.next=12,t();case 12:return h=e.sent,null==(r=(o=this.mutationCache.config).onSuccess)||r.call(o,h,this.state.variables,this.state.context,this),e.next=16,null==(i=(a=this.options).onSuccess)?void 0:i.call(a,h,this.state.variables,this.state.context);case 16:return e.next=18,null==(u=(s=this.options).onSettled)?void 0:u.call(s,h,null,this.state.variables,this.state.context);case 18:return this.dispatch({type:"success",data:h}),e.abrupt("return",h);case 22:return e.prev=22,e.t0=e.catch(2),e.prev=24,null==(v=(m=this.mutationCache.config).onError)||v.call(m,e.t0,this.state.variables,this.state.context,this),e.next=29,null==(g=(y=this.options).onError)?void 0:g.call(y,e.t0,this.state.variables,this.state.context);case 29:return e.next=31,null==(b=(x=this.options).onSettled)?void 0:b.call(x,void 0,e.t0,this.state.variables,this.state.context);case 31:throw e.t0;case 32:return e.prev=32,this.dispatch({type:"error",error:e.t0}),e.finish(32);case 35:case"end":return e.stop()}}),e,this,[[2,22],[24,,32,35]])}))),function(){return t.apply(this,arguments)})},{key:"dispatch",value:function(e){var t=this;this.state=function(n){switch(e.type){case"failed":return Zr(Zr({},n),{},{failureCount:n.failureCount+1});case"pause":return Zr(Zr({},n),{},{isPaused:!0});case"continue":return Zr(Zr({},n),{},{isPaused:!1});case"loading":return Zr(Zr({},n),{},{context:e.context,data:void 0,error:null,isPaused:!nD(t.options.networkMode),status:"loading",variables:e.variables});case"success":return Zr(Zr({},n),{},{data:e.data,error:null,status:"success",isPaused:!1});case"error":return Zr(Zr({},n),{},{data:void 0,error:e.error,failureCount:n.failureCount+1,isPaused:!1,status:"error"});case"setState":return Zr(Zr({},n),e.state)}}(this.state),pD.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify({mutation:t,type:"updated",action:e})}))}}]),r}(hD);var yD=function(e){oo(n,e);var t=io(n);function n(e){var r;return ro(this,n),(r=t.call(this)).config=e||{},r.mutations=[],r.mutationId=0,r}return no(n,[{key:"build",value:function(e,t,n){var r=new gD({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r}},{key:"add",value:function(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}},{key:"remove",value:function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),this.notify({type:"removed",mutation:e})}},{key:"clear",value:function(){var e=this;pD.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))}},{key:"getAll",value:function(){return this.mutations}},{key:"find",value:function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((function(t){return BR(e,t)}))}},{key:"findAll",value:function(e){return this.mutations.filter((function(t){return BR(e,t)}))}},{key:"notify",value:function(e){var t=this;pD.batch((function(){t.listeners.forEach((function(t){t(e)}))}))}},{key:"resumePausedMutations",value:function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return pD.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(MR)}))}),Promise.resolve())}))}}]),n}(DR);function bD(){return{onFetch:function(e){e.fetchFn=function(){var t,n,r,o,i,a,u,s,l,c=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,f=null==(r=e.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,d=null==f?void 0:f.pageParam,p="forward"===(null==f?void 0:f.direction),h="backward"===(null==f?void 0:f.direction),v=(null==(i=e.state.data)?void 0:i.pages)||[],m=(null==(a=e.state.data)?void 0:a.pageParams)||[],g=m,y=!1,b=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},x=function(e,t,n,r){return g=r?[t].concat(Wr(g)):[].concat(Wr(g),[t]),r?[n].concat(Wr(e)):[].concat(Wr(e),[n])},w=function(t,n,r,o){if(y)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);var i,a={queryKey:e.queryKey,pageParam:r,meta:e.meta};i=a,Object.defineProperty(i,"signal",{enumerable:!0,get:function(){var t,n;return null!=(t=e.signal)&&t.aborted?y=!0:null==(n=e.signal)||n.addEventListener("abort",(function(){y=!0})),e.signal}});var u=b(a);return Promise.resolve(u).then((function(e){return x(t,r,e,o)}))};if(v.length)if(p){var _=void 0!==d,E=_?d:xD(e.options,v);u=w(v,_,E)}else if(h){var S=void 0!==d,k=S?d:(s=e.options,l=v,null==s.getPreviousPageParam?void 0:s.getPreviousPageParam(l[0],l));u=w(v,S,k,!0)}else!function(){g=[];var t=void 0===e.options.getNextPageParam,n=!c||!v[0]||c(v[0],0,v);u=n?w([],t,m[0]):Promise.resolve(x([],m[0],v[0]));for(var r=function(n){u=u.then((function(r){if(!c||!v[n]||c(v[n],n,v)){var o=t?m[n]:xD(e.options,r);return w(r,t,o)}return Promise.resolve(x(r,m[n],v[n]))}))},o=1;o<v.length;o++)r(o)}();else u=w([]);var C=u.then((function(e){return{pages:e,pageParams:g}}));return C}}}}function xD(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var wD=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ro(this,e),this.queryCache=t.queryCache||new mD,this.mutationCache=t.mutationCache||new yD,this.logger=t.logger||aD,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}return no(e,[{key:"mount",value:function(){var e=this;this.unsubscribeFocus=JR.subscribe((function(){JR.isFocused()&&(e.resumePausedMutations(),e.queryCache.onFocus())})),this.unsubscribeOnline=eD.subscribe((function(){eD.isOnline()&&(e.resumePausedMutations(),e.queryCache.onOnline())}))}},{key:"unmount",value:function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)}},{key:"isFetching",value:function(e,t){var n=$r(jR(e,t),1)[0];return n.fetchStatus="fetching",this.queryCache.findAll(n).length}},{key:"isMutating",value:function(e){return this.mutationCache.findAll(Zr(Zr({},e),{},{fetching:!0})).length}},{key:"getQueryData",value:function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}},{key:"getQueriesData",value:function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))}},{key:"setQueryData",value:function(e,t,n){var r=this.queryCache.find(e),o=function(e,t){return"function"==typeof e?e(t):e}(t,null==r?void 0:r.state.data);if(void 0!==o){var i=IR(e),a=this.defaultQueryOptions(i);return this.queryCache.build(this,a).setData(o,Zr(Zr({},n),{},{manual:!0}))}}},{key:"setQueriesData",value:function(e,t,n){var r=this;return pD.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var o=e.queryKey;return[o,r.setQueryData(o,t,n)]}))}))}},{key:"getQueryState",value:function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}},{key:"removeQueries",value:function(e,t){var n=$r(jR(e,t),1)[0],r=this.queryCache;pD.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))}},{key:"resetQueries",value:function(e,t,n){var r=this,o=$r(jR(e,t,n),2),i=o[0],a=o[1],u=this.queryCache,s=Zr({type:"active"},i);return pD.batch((function(){return u.findAll(i).forEach((function(e){e.reset()})),r.refetchQueries(s,a)}))}},{key:"cancelQueries",value:function(e,t,n){var r=this,o=$r(jR(e,t,n),2),i=o[0],a=o[1],u=void 0===a?{}:a;void 0===u.revert&&(u.revert=!0);var s=pD.batch((function(){return r.queryCache.findAll(i).map((function(e){return e.cancel(u)}))}));return Promise.all(s).then(MR).catch(MR)}},{key:"invalidateQueries",value:function(e,t,n){var r=this,o=$r(jR(e,t,n),2),i=o[0],a=o[1];return pD.batch((function(){var e,t;if(r.queryCache.findAll(i).forEach((function(e){e.invalidate()})),"none"===i.refetchType)return Promise.resolve();var n=Zr(Zr({},i),{},{type:null!=(e=null!=(t=i.refetchType)?t:i.type)?e:"active"});return r.refetchQueries(n,a)}))}},{key:"refetchQueries",value:function(e,t,n){var r=this,o=$r(jR(e,t,n),2),i=o[0],a=o[1],u=pD.batch((function(){return r.queryCache.findAll(i).filter((function(e){return!e.isDisabled()})).map((function(e){var t;return e.fetch(void 0,Zr(Zr({},a),{},{cancelRefetch:null==(t=null==a?void 0:a.cancelRefetch)||t,meta:{refetchPage:i.refetchPage}}))}))})),s=Promise.all(u).then(MR);return null!=a&&a.throwOnError||(s=s.catch(MR)),s}},{key:"fetchQuery",value:function(e,t,n){var r=IR(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)}},{key:"prefetchQuery",value:function(e,t,n){return this.fetchQuery(e,t,n).then(MR).catch(MR)}},{key:"fetchInfiniteQuery",value:function(e,t,n){var r=IR(e,t,n);return r.behavior=bD(),this.fetchQuery(r)}},{key:"prefetchInfiniteQuery",value:function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(MR).catch(MR)}},{key:"resumePausedMutations",value:function(){return this.mutationCache.resumePausedMutations()}},{key:"getQueryCache",value:function(){return this.queryCache}},{key:"getMutationCache",value:function(){return this.mutationCache}},{key:"getLogger",value:function(){return this.logger}},{key:"getDefaultOptions",value:function(){return this.defaultOptions}},{key:"setDefaultOptions",value:function(e){this.defaultOptions=e}},{key:"setQueryDefaults",value:function(e,t){var n=this.queryDefaults.find((function(t){return VR(e)===VR(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}},{key:"getQueryDefaults",value:function(e){if(e){var t=this.queryDefaults.find((function(t){return HR(e,t.queryKey)}));return null==t?void 0:t.defaultOptions}}},{key:"setMutationDefaults",value:function(e,t){var n=this.mutationDefaults.find((function(t){return VR(e)===VR(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}},{key:"getMutationDefaults",value:function(e){if(e){var t=this.mutationDefaults.find((function(t){return HR(e,t.mutationKey)}));return null==t?void 0:t.defaultOptions}}},{key:"defaultQueryOptions",value:function(e){if(null!=e&&e._defaulted)return e;var t=Zr(Zr(Zr(Zr({},this.defaultOptions.queries),this.getQueryDefaults(null==e?void 0:e.queryKey)),e),{},{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=UR(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}},{key:"defaultMutationOptions",value:function(e){return null!=e&&e._defaulted?e:Zr(Zr(Zr(Zr({},this.defaultOptions.mutations),this.getMutationDefaults(null==e?void 0:e.mutationKey)),e),{},{_defaulted:!0})}},{key:"clear",value:function(){this.queryCache.clear(),this.mutationCache.clear()}}]),e}(),_D=Jr.exports.createContext(void 0),ED=Jr.exports.createContext(!1);function SD(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=_D),window.ReactQueryClientContext):_D)}Ur("K",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=Jr.exports.useContext(SD(t,Jr.exports.useContext(ED)));if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n}));var kD=function(e){var t=e.client,n=e.children,r=e.context,o=e.contextSharing,i=void 0!==o&&o;Jr.exports.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=SD(r,i);return Fx(ED.Provider,{value:!r&&i,children:Fx(a.Provider,{value:t,children:n})})},CD=Ur("_",(function(e,t,n){return e()})),AD=function(e){return e.LOCAL_CONTENT="local-content",e.DATA_EXPLORER="data-explorer",e}(AD||{}),TD=new JO,PD=Yo.lazy((function(){return CD((function(){return Gr.import("./index-legacy.ee970dd3.js")}),void 0)})),OD=Yo.lazy((function(){return CD((function(){return Gr.import("./index-legacy.8274fd62.js")}),void 0)})),RD=function(e){var t=e.children,n=[{path:"/sdks-app/".concat("v1","/",AD.LOCAL_CONTENT),element:Fx(PD,{})},{path:"/sdks-app/".concat("v1","/",AD.DATA_EXPLORER),element:Fx(OD,{})}];return Fx(tR,{location:TD,routes:n,children:t})},DD=Object.defineProperty,LD=function(e,t,n){return function(e,t,n){t in e?DD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!=ho(t)?t+"":t,n),n};function MD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ND={exports:{}};!function(e){var t=function(){var e=Object.defineProperty,t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,o=function(t,n,r){return n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r},i=function(e,i){for(var a in i||(i={}))n.call(i,a)&&o(e,a,i[a]);if(t){var u,s=vo(t(i));try{for(s.s();!(u=s.n()).done;){a=u.value;r.call(i,a)&&o(e,a,i[a])}}catch(l){s.e(l)}finally{s.f()}}return e},a={};!function(t,n){for(var r in function(t){e(t,"__esModule",{value:!0})}(t),n)e(t,r,{get:n[r],enumerable:!0})}(a,{DEFAULT_UUID_LENGTH:function(){return s},default:function(){return f}});var u="4.4.4",s=6,l={dictionary:"alphanum",shuffle:!0,debug:!1,length:s},c=function(e){oo(n,e);var t=io(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ro(this,n),(e=t.call(this)).dictIndex=0,e.dictRange=[],e.lowerBound=0,e.upperBound=0,e.dictLength=0,e._digit_first_ascii=48,e._digit_last_ascii=58,e._alpha_lower_first_ascii=97,e._alpha_lower_last_ascii=123,e._hex_last_ascii=103,e._alpha_upper_first_ascii=65,e._alpha_upper_last_ascii=91,e._number_dict_ranges={digits:[e._digit_first_ascii,e._digit_last_ascii]},e._alpha_dict_ranges={lowerCase:[e._alpha_lower_first_ascii,e._alpha_lower_last_ascii],upperCase:[e._alpha_upper_first_ascii,e._alpha_upper_last_ascii]},e._alpha_lower_dict_ranges={lowerCase:[e._alpha_lower_first_ascii,e._alpha_lower_last_ascii]},e._alpha_upper_dict_ranges={upperCase:[e._alpha_upper_first_ascii,e._alpha_upper_last_ascii]},e._alphanum_dict_ranges={digits:[e._digit_first_ascii,e._digit_last_ascii],lowerCase:[e._alpha_lower_first_ascii,e._alpha_lower_last_ascii],upperCase:[e._alpha_upper_first_ascii,e._alpha_upper_last_ascii]},e._alphanum_lower_dict_ranges={digits:[e._digit_first_ascii,e._digit_last_ascii],lowerCase:[e._alpha_lower_first_ascii,e._alpha_lower_last_ascii]},e._alphanum_upper_dict_ranges={digits:[e._digit_first_ascii,e._digit_last_ascii],upperCase:[e._alpha_upper_first_ascii,e._alpha_upper_last_ascii]},e._hex_dict_ranges={decDigits:[e._digit_first_ascii,e._digit_last_ascii],alphaDigits:[e._alpha_lower_first_ascii,e._hex_last_ascii]},e.log=function(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=[].concat(r);if(i[0]="[short-unique-id] ".concat(r[0]),!0===e.debug&&("undefined"==typeof console?"undefined":ho(console))<"u"&&null!==console)return(t=console).log.apply(t,Wr(i))},e.setDictionary=function(t,n){var r;if(t&&Array.isArray(t)&&t.length>1)r=t;else{var o;r=[],e.dictIndex=o=0;var i="_".concat(t,"_dict_ranges"),a=e[i];Object.keys(a).forEach((function(t){var n=t;for(e.dictRange=a[n],e.lowerBound=e.dictRange[0],e.upperBound=e.dictRange[1],e.dictIndex=o=e.lowerBound;e.lowerBound<=e.upperBound?o<e.upperBound:o>e.upperBound;e.dictIndex=e.lowerBound<=e.upperBound?o+=1:o-=1)r.push(String.fromCharCode(e.dictIndex))}))}n&&(r=r.sort((function(){return Math.random()-.5}))),e.dict=r,e.dictLength=e.dict.length,e.counter=0},e.seq=function(){return e.sequentialUUID()},e.sequentialUUID=function(){var t,n,r="";t=e.counter;do{n=t%e.dictLength,t=Math.trunc(t/e.dictLength),r+=e.dict[n]}while(0!==t);return e.counter+=1,r},e.randomUUID=function(){var t,n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.uuidLength||s;if(null===o||ho(o)>"u"||o<1)throw new Error("Invalid UUID Length Provided");for(t="",r=0;r<o;r+=1)n=parseInt((Math.random()*e.dictLength).toFixed(0),10)%e.dictLength,t+=e.dict[n];return t},e.availableUUIDs=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.uuidLength;return parseFloat(Math.pow(Wr(new Set(e.dict)).length,t).toFixed(0))},e.approxMaxBeforeCollision=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.availableUUIDs(e.uuidLength);return parseFloat(Math.sqrt(Math.PI/2*t).toFixed(20))},e.collisionProbability=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.availableUUIDs(e.uuidLength),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.uuidLength;return parseFloat((e.approxMaxBeforeCollision(t)/e.availableUUIDs(n)).toFixed(20))},e.uniqueness=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.availableUUIDs(e.uuidLength),n=parseFloat((1-e.approxMaxBeforeCollision(t)/t).toFixed(20));return n>1?1:n<0?0:n},e.getVersion=function(){return e.version},e.stamp=function(t){if("number"!=typeof t||t<10)throw new Error("Param finalLength must be number greater than 10");var n=Math.floor(+new Date/1e3).toString(16),r=t-9,o=Math.round(Math.random()*(r>15?15:r)),i=e.randomUUID(r);return"".concat(i.substr(0,o)).concat(n).concat(i.substr(o)).concat(o.toString(16))},e.parseStamp=function(e){if(e.length<10)throw new Error("Stamp length invalid");var t=parseInt(e.substr(e.length-1,1),16);return new Date(1e3*parseInt(e.substr(t,8),16))};var o=i(i({},l),r);e.counter=0,e.debug=!1,e.dict=[],e.version=u;var a=o.dictionary,c=o.shuffle,f=o.length;return ao(e,(e.uuidLength=f,e.setDictionary(a,c),e.debug=o.debug,e.log(e.dict),e.log("Generator instantiated with Dictionary Size ".concat(e.dictLength)),new Proxy(uo(e),{apply:function(t,n,r){var o;return(o=e).randomUUID.apply(o,Wr(r))}})))}return no(n)}(so(Function)),f=c;return f.default=c,a}();e.exports=t.default,("undefined"==typeof window?"undefined":ho(window))<"u"&&(t=t.default)}(ND);var FD=new(MD(ND.exports))({length:10}),ID=function(){function e(t,n){var r=this;ro(this,e),LD(this,"connection"),LD(this,"channelId"),LD(this,"boundMessageHandler"),LD(this,"onMessageHandlers",[]),LD(this,"resolveConnection"),LD(this,"channelNodeId"),LD(this,"crossOrigin"),LD(this,"message",(function(e,t,n){return r.crossOrigin?r.postMessage(e,t,n):r.customEventMessage(e,t,n)})),this.channelId=null!=t?t:"DEFAULT",this.channelNodeId="channel-node-".concat(FD()),this.crossOrigin=n,this.connection=new Promise((function(e){r.resolveConnection=e})),this.boundMessageHandler=this.handleMessage.bind(this)}var t,n;return no(e,[{key:"disconnect",value:function(){var e=this;this.onMessageHandlers=[],window.removeEventListener(this.channelId,this.boundMessageHandler),this.connection=new Promise((function(t){e.resolveConnection=t}))}},{key:"onMessage",value:function(e){this.onMessageHandlers.push(e)}},{key:"removeMessageHandler",value:function(e){var t=this.onMessageHandlers.findIndex((function(t){return t===e}));this.onMessageHandlers.splice(t,1)}},{key:"customEventMessage",value:function(e,t,n){var r=new CustomEvent(this.channelId,{detail:{eventId:n,channelId:this.channelId,channelNodeId:this.channelNodeId,name:e,data:t}});window.dispatchEvent(r)}},{key:"postMessage",value:function(e,t,n){var r,o,i;null==(i=null==(r=this.crossOrigin)?void 0:r.window)||i.postMessage({eventId:n,channelId:this.channelId,channelNodeId:this.channelNodeId,name:e,data:t},null==(o=this.crossOrigin)?void 0:o.targetOrigin)}},{key:"eventRequest",value:(n=Vr(Br().mark((function e(t,n){var r,o=this;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=FD(),e.abrupt("return",new Promise((function(e){o.onMessage((function t(n){var i=n.eventId;r===i&&(o.removeMessageHandler(t),e(n))})),o.message(t,n,r)})));case 2:case"end":return e.stop()}}),e)}))),function(e,t){return n.apply(this,arguments)})},{key:"waitForEvent",value:(t=Vr(Br().mark((function e(t){var n=this;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){n.onMessage((function r(o){var i=o.name;t===i&&(n.removeMessageHandler(r),e(o))}))})));case 1:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})},{key:"handleMessage",value:function(t){var n,r;if(e.isCustomEvent(t))r=t.detail;else{if(this.crossOrigin&&!this.crossOrigin.targetOrigin.includes(t.origin)&&"*"!==(null==(n=this.crossOrigin)?void 0:n.targetOrigin))return;r=t.data}var o=r,i=o.channelId,a=o.channelNodeId;this.channelId===i&&this.channelNodeId!==a&&this.onMessageHandlers.forEach((function(e){e(r)}))}}],[{key:"isCustomEvent",value:function(e){return void 0!==e.detail}}]),e}(),jD=function(e){oo(n,e);var t=io(n);function n(){return ro(this,n),t.apply(this,arguments)}return no(n,[{key:"connect",value:function(){var e=this;return window.addEventListener(this.crossOrigin?"message":this.channelId,this.boundMessageHandler),this.eventRequest("CONNECT").then((function(t){e.resolveConnection(t)})),this.connection}}]),n}(ID),zD=1/0,BD=17976931348623157e292,UD=NaN,VD="[object Symbol]",HD=/^\s+|\s+$/g,qD=/^[-+]0x[0-9a-f]+$/i,YD=/^0b[01]+$/i,GD=/^0o[0-7]+$/i,WD=parseInt,KD=Object.prototype.toString;function XD(e,t){var n;if("function"!=typeof t)throw new TypeError("Expected a function");return e=function(e){var t=function(e){if(!e)return 0===e?e:0;if((e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==ho(e)||function(e){return!!e&&"object"==ho(e)}(e)&&KD.call(e)==VD}(e))return UD;if(ZD(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ZD(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(HD,"");var n=YD.test(e);return n||GD.test(e)?WD(e.slice(2),n?2:8):qD.test(e)?UD:+e}(e))===zD||e===-1/0){return(e<0?-1:1)*BD}return e==e?e:0}(e),n=t%1;return t==t?n?t-n:t:0}(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}function ZD(e){var t=ho(e);return!!e&&("object"==t||"function"==t)}var QD=function(e){return XD(2,e)},$D=function(e){return"object"===ho(e)&&null!==e&&!Array.isArray(e)};function JD(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;var o=n.shift();return $D(e)&&$D(o)&&Object.keys(o).forEach((function(t){$D(o[t])?(e[t]||Object.assign(e,Qr({},t,{})),JD(e[t],o[t])):Object.assign(e,Qr({},t,o[t]))})),JD.apply(void 0,[e].concat(n))}var eL=Ur("a",(function(e,t){var n=$r(Jr.exports.useState(e),2),r=n[0],o=n[1];return Jr.exports.useEffect((function(){var n=setTimeout((function(){o(e)}),t);return function(){clearTimeout(n)}}),[e,t]),r})),tL=function(e){return e.GET_STATE="get-state",e.GET_STATE_RESPONSE="get-state-response",e.SET_STATE="set-state",e.ON_CHANGE="on-change",e}(tL||{}),nL={locale:"en"},rL={"local-content":{globalOptions:nL,options:{zoom:16,pitch:0,bearing:0,cooperativeGestures:!0}},"data-explorer":{globalOptions:nL,options:{}}},oL=QD((function(){return Yo.createContext({})})),iL=Ur("u",(function(){var e=Yo.useContext(oL());if(!e)throw new Error("useStateManagerContext must be used under StateManagerProvider");return e})),aL=Yo.memo((function(e){var t,n,r,o,i,a,u=e.children,s=oL(),l=oR().current.search,c=Yo.useRef(l),f=oR().current.pathname.split("/"),d=f[f.length-1],p=rL[d],h=Yo.useRef(),v=$r(Jr.exports.useState(!1),2),m=v[0],g=v[1],y=$r(Jr.exports.useState(p),2),b=y[0],x=y[1],w=eL(b,500),_=dR(),E=function(e){c.current=e,x(e)},S=function(e){var t;e.name===tL.GET_STATE&&(null===(t=h.current)||void 0===t||t.message(tL.GET_STATE_RESPONSE,c.current,e.eventId));e.name===tL.SET_STATE&&E(e.data)};t=function(){var e=new jD(l.channelId,{targetOrigin:document.referrer,window:window.parent});h.current=e,null==e||e.onMessage(S),null==e||e.connect().then((function(e){var t=JD(b,e.data);E(t),g(!0)}))},n=Jr.exports.useRef(t),r=Jr.exports.useRef(),o=Jr.exports.useRef(!1),i=Jr.exports.useRef(!1),a=$r(Jr.exports.useState(0),2)[1],o.current&&(i.current=!0),Jr.exports.useEffect((function(){return o.current||(r.current=n.current(),o.current=!0),a((function(e){return e+1})),function(){i.current&&r.current&&r.current()}}),[]);var k=function(e){var t;null===(t=h.current)||void 0===t||t.message(tL.ON_CHANGE,e)};Jr.exports.useEffect((function(){_({search:function(){return w}})}),[w]),Jr.exports.useEffect((function(){b.options&&k({type:"options",data:b.options})}),[b.options]);var C=Jr.exports.useMemo((function(){return{sdkState:b,setSdkState:E,onChange:k}}),[b,E,k]);return m?Fx(s.Provider,{value:C,children:u}):null}));aL.displayName="StateManagerProvider";var uL={en:function(){return CD((function(){return Gr.import("./index-legacy.93d69255.js")}),void 0)},fr:function(){return CD((function(){return Gr.import("./index-legacy.46f64d17.js")}),void 0)}},sL={en:function(){return CD((function(){return Gr.import("./index-legacy.57bc6187.js")}),void 0)},fr:function(){return CD((function(){return Gr.import("./index-legacy.c4bf8ae2.js")}),void 0)}},lL={"local-content":function(e){return sL[e]()},"data-explorer":function(e){return uL[e]()}},cL=QD((function(){return Yo.createContext({})})),fL=(Ur("i",(function(){var e=Jr.exports.useContext(cL());if(!e)throw new Error("useLangauges must be used under LanguagesProvider");return e})),function(e){var t,n=e.children,r=$r(Jr.exports.useState(!0),2),o=r[0],i=r[1],a=$r(Jr.exports.useState(),2),u=a[0],s=a[1],l=(null===(t=iL().sdkState.globalOptions)||void 0===t?void 0:t.locale)||"en",c=cL(),f=oR().current.pathname.split("/"),d=f[f.length-1],p=lL[d];if(Jr.exports.useEffect((function(){i(!0),p(l).then((function(e){s(e.translations)})).finally((function(){i(!1)}))}),[l,p]),o)return null;if(!u)throw new Error("No translations were found.");return Fx(c.Provider,{value:{translations:u},children:n})}),dL=Object.defineProperty,pL=function(e,t,n){return function(e,t,n){t in e?dL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!=ho(t)?t+"":t,n),n};function hL(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vL={exports:{}},mL={exports:{}},gL=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}},yL=gL,bL=Object.prototype.toString;function xL(e){return Array.isArray(e)}function wL(e){return ho(e)>"u"}function _L(e){return"[object ArrayBuffer]"===bL.call(e)}function EL(e){return null!==e&&"object"==ho(e)}function SL(e){if("[object Object]"!==bL.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function kL(e){return"[object Function]"===bL.call(e)}function CL(e,t){if(!(null===e||ho(e)>"u"))if("object"!=ho(e)&&(e=[e]),xL(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var AL={isArray:xL,isArrayBuffer:_L,isBuffer:function(e){return null!==e&&!wL(e)&&null!==e.constructor&&!wL(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===bL.call(e)},isArrayBufferView:function(e){return("undefined"==typeof ArrayBuffer?"undefined":ho(ArrayBuffer))<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&_L(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:EL,isPlainObject:SL,isUndefined:wL,isDate:function(e){return"[object Date]"===bL.call(e)},isFile:function(e){return"[object File]"===bL.call(e)},isBlob:function(e){return"[object Blob]"===bL.call(e)},isFunction:kL,isStream:function(e){return EL(e)&&kL(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===bL.call(e)},isStandardBrowserEnv:function(){return(!(("undefined"==typeof navigator?"undefined":ho(navigator))<"u")||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&(("undefined"==typeof window?"undefined":ho(window))<"u"&&("undefined"==typeof document?"undefined":ho(document))<"u")},forEach:CL,merge:function e(){var t={};function n(n,r){SL(t[r])&&SL(n)?t[r]=e(t[r],n):SL(n)?t[r]=e({},n):xL(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)CL(arguments[r],n);return t},extend:function(e,t,n){return CL(t,(function(t,r){e[r]=n&&"function"==typeof t?yL(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}},TL=AL;function PL(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var OL=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(TL.isURLSearchParams(t))r=t.toString();else{var o=[];TL.forEach(t,(function(e,t){null===e||ho(e)>"u"||(TL.isArray(e)?t+="[]":e=[e],TL.forEach(e,(function(e){TL.isDate(e)?e=e.toISOString():TL.isObject(e)&&(e=JSON.stringify(e)),o.push(PL(t)+"="+PL(e))})))})),r=o.join("&")}if(r){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e},RL=AL;function DL(){this.handlers=[]}DL.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},DL.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},DL.prototype.forEach=function(e){RL.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var LL,ML,NL,FL,IL,jL,zL,BL,UL,VL,HL,qL,YL,GL,WL,KL,XL,ZL,QL,$L,JL=DL,eM=AL,tM=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e},nM={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};function rM(){if(ML)return LL;ML=1;var e=tM;return LL=function(t,n,r,o,i){var a=new Error(t);return e(a,n,r,o,i)},LL}function oM(){if(qL)return HL;qL=1;var e=(BL||(BL=1,zL=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}),zL),t=(VL||(VL=1,UL=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}),UL);return HL=function(n,r){return n&&!e(r)?t(n,r):r},HL}function iM(){if(ZL)return XL;function e(e){this.message=e}return ZL=1,e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,XL=e}function aM(){if($L)return QL;$L=1;var e=AL,t=function(){if(FL)return NL;FL=1;var e=rM();return NL=function(t,n,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?n(e("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)},NL}(),n=function(){if(jL)return IL;jL=1;var e=AL;return IL=e.isStandardBrowserEnv()?{write:function(t,n,r,o,i,a){var u=[];u.push(t+"="+encodeURIComponent(n)),e.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),e.isString(o)&&u.push("path="+o),e.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},IL}(),r=OL,o=oM(),i=function(){if(GL)return YL;GL=1;var e=AL,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return YL=function(n){var r,o,i,a={};return n&&e.forEach(n.split("\n"),(function(n){if(i=n.indexOf(":"),r=e.trim(n.substr(0,i)).toLowerCase(),o=e.trim(n.substr(i+1)),r){if(a[r]&&t.indexOf(r)>=0)return;a[r]="set-cookie"===r?(a[r]?a[r]:[]).concat([o]):a[r]?a[r]+", "+o:o}})),a},YL}(),a=function(){if(KL)return WL;KL=1;var e=AL;return WL=e.isStandardBrowserEnv()?function(){var t,n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var t=e;return n&&(r.setAttribute("href",t),t=r.href),r.setAttribute("href",t),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(n){var r=e.isString(n)?o(n):n;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0},WL}(),u=rM(),s=nM,l=iM();return QL=function(c){return new Promise((function(f,d){var p,h=c.data,v=c.headers,m=c.responseType;function g(){c.cancelToken&&c.cancelToken.unsubscribe(p),c.signal&&c.signal.removeEventListener("abort",p)}e.isFormData(h)&&delete v["Content-Type"];var y=new XMLHttpRequest;if(c.auth){var b=c.auth.username||"",x=c.auth.password?unescape(encodeURIComponent(c.auth.password)):"";v.Authorization="Basic "+btoa(b+":"+x)}var w=o(c.baseURL,c.url);function _(){if(y){var e="getAllResponseHeaders"in y?i(y.getAllResponseHeaders()):null,n={data:m&&"text"!==m&&"json"!==m?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:e,config:c,request:y};t((function(e){f(e),g()}),(function(e){d(e),g()}),n),y=null}}if(y.open(c.method.toUpperCase(),r(w,c.params,c.paramsSerializer),!0),y.timeout=c.timeout,"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){!y||4!==y.readyState||0===y.status&&(!y.responseURL||0!==y.responseURL.indexOf("file:"))||setTimeout(_)},y.onabort=function(){!y||(d(u("Request aborted",c,"ECONNABORTED",y)),y=null)},y.onerror=function(){d(u("Network Error",c,null,y)),y=null},y.ontimeout=function(){var e=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",t=c.transitional||s;c.timeoutErrorMessage&&(e=c.timeoutErrorMessage),d(u(e,c,t.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},e.isStandardBrowserEnv()){var E=(c.withCredentials||a(w))&&c.xsrfCookieName?n.read(c.xsrfCookieName):void 0;E&&(v[c.xsrfHeaderName]=E)}"setRequestHeader"in y&&e.forEach(v,(function(e,t){ho(h)>"u"&&"content-type"===t.toLowerCase()?delete v[t]:y.setRequestHeader(t,e)})),e.isUndefined(c.withCredentials)||(y.withCredentials=!!c.withCredentials),m&&"json"!==m&&(y.responseType=c.responseType),"function"==typeof c.onDownloadProgress&&y.addEventListener("progress",c.onDownloadProgress),"function"==typeof c.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",c.onUploadProgress),(c.cancelToken||c.signal)&&(p=function(e){!y||(d(!e||e&&e.type?new l("canceled"):e),y.abort(),y=null)},c.cancelToken&&c.cancelToken.subscribe(p),c.signal&&(c.signal.aborted?p():c.signal.addEventListener("abort",p))),h||(h=null),y.send(h)}))},QL}var uM=AL,sM=function(e,t){eM.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))},lM=tM,cM={"Content-Type":"application/x-www-form-urlencoded"};function fM(e,t){!uM.isUndefined(e)&&uM.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var dM={transitional:nM,adapter:function(){var e;return(("undefined"==typeof XMLHttpRequest?"undefined":ho(XMLHttpRequest))<"u"||("undefined"==typeof process?"undefined":ho(process))<"u"&&"[object process]"===Object.prototype.toString.call(process))&&(e=aM()),e}(),transformRequest:[function(e,t){return sM(t,"Accept"),sM(t,"Content-Type"),uM.isFormData(e)||uM.isArrayBuffer(e)||uM.isBuffer(e)||uM.isStream(e)||uM.isFile(e)||uM.isBlob(e)?e:uM.isArrayBufferView(e)?e.buffer:uM.isURLSearchParams(e)?(fM(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):uM.isObject(e)||t&&"application/json"===t["Content-Type"]?(fM(t,"application/json"),function(e,t,n){if(uM.isString(e))try{return(t||JSON.parse)(e),uM.trim(e)}catch(Bw){if("SyntaxError"!==Bw.name)throw Bw}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||dM.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||r&&uM.isString(e)&&e.length)try{return JSON.parse(e)}catch(oU){if(o)throw"SyntaxError"===oU.name?lM(oU,this,"E_JSON_PARSE"):oU}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};uM.forEach(["delete","get","head"],(function(e){dM.headers[e]={}})),uM.forEach(["post","put","patch"],(function(e){dM.headers[e]=uM.merge(cM)}));var pM,hM,vM=dM,mM=AL,gM=vM;function yM(){return hM||(hM=1,pM=function(e){return!(!e||!e.__CANCEL__)}),pM}var bM=AL,xM=function(e,t,n){var r=this||gM;return mM.forEach(n,(function(n){e=n.call(r,e,t)})),e},wM=yM(),_M=vM,EM=iM();function SM(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new EM("canceled")}var kM,CM,AM=AL,TM=function(e,t){t=t||{};var n={};function r(e,t){return AM.isPlainObject(e)&&AM.isPlainObject(t)?AM.merge(e,t):AM.isPlainObject(t)?AM.merge({},t):AM.isArray(t)?t.slice():t}function o(n){return AM.isUndefined(t[n])?AM.isUndefined(e[n])?void 0:r(void 0,e[n]):r(e[n],t[n])}function i(e){if(!AM.isUndefined(t[e]))return r(void 0,t[e])}function a(n){return AM.isUndefined(t[n])?AM.isUndefined(e[n])?void 0:r(void 0,e[n]):r(void 0,t[n])}function u(n){return n in t?r(e[n],t[n]):n in e?r(void 0,e[n]):void 0}var s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};return AM.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=s[e]||o,r=t(e);AM.isUndefined(r)&&t!==u||(n[e]=r)})),n};function PM(){return CM||(CM=1,kM={version:"0.26.1"}),kM}var OM=PM().version,RM={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){RM[e]=function(n){return ho(n)===e||"a"+(t<1?"n ":" ")+e}}));var DM={};RM.transitional=function(e,t,n){function r(e,t){return"[Axios v"+OM+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,i){if(!1===e)throw new Error(r(o," has been removed"+(t?" in "+t:"")));return t&&!DM[o]&&(DM[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var LM,MM,NM,FM,IM,jM,zM={assertOptions:function(e,t,n){if("object"!=ho(e))throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var u=e[i],s=void 0===u||a(u,i,e);if(!0!==s)throw new TypeError("option "+i+" must be "+s)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:RM},BM=AL,UM=OL,VM=JL,HM=function(e){return SM(e),e.headers=e.headers||{},e.data=xM.call(e,e.data,e.headers,e.transformRequest),e.headers=bM.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),bM.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||_M.adapter)(e).then((function(t){return SM(e),t.data=xM.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return wM(t)||(SM(e),t&&t.response&&(t.response.data=xM.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},qM=TM,YM=zM,GM=YM.validators;function WM(e){this.defaults=e,this.interceptors={request:new VM,response:new VM}}WM.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=qM(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&YM.assertOptions(n,{silentJSONParsing:GM.transitional(GM.boolean),forcedJSONParsing:GM.transitional(GM.boolean),clarifyTimeoutError:GM.transitional(GM.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var i,a=[];if(this.interceptors.response.forEach((function(e){a.push(e.fulfilled,e.rejected)})),!o){var u=[HM,void 0];for(Array.prototype.unshift.apply(u,r),u=u.concat(a),i=Promise.resolve(t);u.length;)i=i.then(u.shift(),u.shift());return i}for(var s=t;r.length;){var l=r.shift(),c=r.shift();try{s=l(s)}catch(Dw){c(Dw);break}}try{i=HM(s)}catch(Dw){return Promise.reject(Dw)}for(;a.length;)i=i.then(a.shift(),a.shift());return i},WM.prototype.getUri=function(e){return e=qM(this.defaults,e),UM(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},BM.forEach(["delete","get","head","options"],(function(e){WM.prototype[e]=function(t,n){return this.request(qM(n||{},{method:e,url:t,data:(n||{}).data}))}})),BM.forEach(["post","put","patch"],(function(e){WM.prototype[e]=function(t,n,r){return this.request(qM(r||{},{method:e,url:t,data:n}))}}));var KM=AL,XM=gL,ZM=WM,QM=TM;var $M=function e(t){var n=new ZM(t),r=XM(ZM.prototype.request,n);return KM.extend(r,ZM.prototype,n),KM.extend(r,n),r.create=function(n){return e(QM(t,n))},r}(vM);$M.Axios=ZM,$M.Cancel=iM(),$M.CancelToken=function(){if(MM)return LM;MM=1;var e=iM();function t(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t((function(t){r.reason||(r.reason=new e(t),n(r.reason))}))}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},t.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},t.source=function(){var e,n=new t((function(t){e=t}));return{token:n,cancel:e}},LM=t}(),$M.isCancel=yM(),$M.VERSION=PM().version,$M.all=function(e){return Promise.all(e)},$M.spread=(FM||(FM=1,NM=function(e){return function(t){return e.apply(null,t)}}),NM),$M.isAxiosError=function(){if(jM)return IM;jM=1;var e=AL;return IM=function(t){return e.isObject(t)&&!0===t.isAxiosError},IM}(),mL.exports=$M,mL.exports.default=$M,function(e){e.exports=mL.exports}(vL);var JM=hL(vL.exports),eN=function(e,t){return JM.create({baseURL:{VITE_HERE_API_KEY:"KDL0aAzsbOcv7p53P2ovno2izfDOe93hyzZRrayktbE",VITE_API_KEY:"V3 fJThgHrWKzWZXfqwvpGdlx3d8ujnxmT3.d299c257-027b-46f6-b79b-4832b4475fc1",VITE_REACT_APP_MAPTILER_KEY:"9jNGatuzs05Q1oNlctEs",VITE_SEGMENT_KEY:"c0SISxJpICLXxstkrSppa4uxwYzBQbqf",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_API_URL||"https://api.locallogic.co/v3/",headers:{Accept:"application/json",Authorization:e},params:t})},tN=Ur("a2",function(e){return e[e.groceries=0]="groceries",e[e.groceries_specialized=1]="groceries_specialized",e[e.shopping=2]="shopping",e[e.nightlife=3]="nightlife",e[e.restaurants=4]="restaurants",e[e.cafes=5]="cafes",e[e.daycares=6]="daycares",e[e.bus_stops=7]="bus_stops",e[e.rapid_transit_stations=8]="rapid_transit_stations",e[e.train_stations=9]="train_stations",e[e.parks=10]="parks",e[e.healthy_restaurants=11]="healthy_restaurants",e[e.fitness=12]="fitness",e[e.sport_facilities=13]="sport_facilities",e[e.health_care=14]="health_care",e[e.pet_care=15]="pet_care",e[e.car_fueling_stations=16]="car_fueling_stations",e[e.art_culture_science=17]="art_culture_science",e[e.home_improvement=18]="home_improvement",e[e.personal_care=19]="personal_care",e}(tN||{}));function nN(e){this._maxSize=e,this.clear()}nN.prototype.clear=function(){this._size=0,this._values=Object.create(null)},nN.prototype.get=function(e){return this._values[e]},nN.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var rN=/[^.^\]^[]+|(?=\[\]|\.\.)/g,oN=/^\d+$/,iN=/^\d/,aN=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,uN=/^\s*(['"]?)(.*?)(\1)\s*$/,sN=new nN(512),lN=new nN(512),cN=new nN(512),fN={Cache:nN,split:pN,normalizePath:dN,setter:function(e){var t=dN(e);return lN.get(e)||lN.set(e,(function(e,n){for(var r=0,o=t.length,i=e;r<o-1;){var a=t[r];if("__proto__"===a||"constructor"===a||"prototype"===a)return e;i=i[t[r++]]}i[t[r]]=n}))},getter:function(e,t){var n=dN(e);return cN.get(e)||cN.set(e,(function(e){for(var r=0,o=n.length;r<o;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(hN(t)||oN.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,o,i,a,u=e.length;for(o=0;o<u;o++)(r=e[o])&&(vN(r)&&(r='"'+r+'"'),i=!(a=hN(r))&&/^\d+$/.test(r),t.call(n,r,a,i,o,e))}(Array.isArray(e)?e:pN(e),t,n)}};function dN(e){return sN.get(e)||sN.set(e,pN(e).map((function(e){return e.replace(uN,"$2")})))}function pN(e){return e.match(rN)||[""]}function hN(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function vN(e){return!hN(e)&&(function(e){return e.match(iN)&&!e.match(oN)}(e)||function(e){return aN.test(e)}(e))}var mN=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,gN=function(e){return e.match(mN)||[]},yN=function(e,t){return gN(e).join(t).toLowerCase()},bN=function(e){return gN(e).reduce((function(e,t){return"".concat(e).concat(e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase())}),"")},xN=bN,wN=function(e){return yN(e,"_")},_N={exports:{}};function EN(e,t){var n=e.length,r=new Array(n),o={},i=n,a=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var o=e[n];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}(t),u=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!u.has(e[0])||!u.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)o[i]||s(e[i],i,new Set);return r;function s(e,t,i){if(i.has(e)){var l;try{l=", node was:"+JSON.stringify(e)}catch(d){l=""}throw new Error("Cyclic dependency"+l)}if(!u.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!o[t]){o[t]=!0;var c=a.get(e)||new Set;if(t=(c=Array.from(c)).length){i.add(e);do{var f=c[--t];s(f,u.get(f),i)}while(t);i.delete(e)}r[--n]=e}}}_N.exports=function(e){return EN(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var o=e[n];t.add(o[0]),t.add(o[1])}return Array.from(t)}(e),e)},_N.exports.array=EN;var SN=Object.prototype.toString,kN=Error.prototype.toString,CN=RegExp.prototype.toString,AN=("undefined"==typeof Symbol?"undefined":ho(Symbol))<"u"?Symbol.prototype.toString:function(){return""},TN=/^Symbol\((.*)\)(.*)$/;function PN(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}function ON(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e||!0===e||!1===e)return""+e;var n=ho(e);if("number"===n)return PN(e);if("string"===n)return t?'"'.concat(e,'"'):e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return AN.call(e).replace(TN,"Symbol($1)");var r=SN.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+kN.call(e)+"]":"RegExp"===r?CN.call(e):null}function RN(e,t){var n=ON(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){var r=ON(this[e],t);return null!==r?r:n}),2)}function DN(e){return null==e?[]:[].concat(e)}var LN=/\$\{\s*(\w+)\s*\}/g,MN=function(e){oo(n,e);var t=io(n);function n(e,r,o,i){var a;return ro(this,n),(a=t.call(this)).value=void 0,a.path=void 0,a.type=void 0,a.errors=void 0,a.params=void 0,a.inner=void 0,a.name="ValidationError",a.value=r,a.path=o,a.type=i,a.errors=[],a.inner=[],DN(e).forEach((function(e){var t;n.isError(e)?((t=a.errors).push.apply(t,Wr(e.errors)),a.inner=a.inner.concat(e.inner.length?e.inner:e)):a.errors.push(e)})),a.message=a.errors.length>1?"".concat(a.errors.length," errors occurred"):a.errors[0],Error.captureStackTrace&&Error.captureStackTrace(uo(a),n),a}return no(n,null,[{key:"formatError",value:function(e,t){var n=t.label||t.path||"this";return n!==t.path&&(t=Object.assign({},t,{path:n})),"string"==typeof e?e.replace(LN,(function(e,n){return RN(t[n])})):"function"==typeof e?e(t):e}},{key:"isError",value:function(e){return e&&"ValidationError"===e.name}}]),n}(so(Error)),NN={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(e){var t=e.path,n=e.type,r=e.value,o=e.originalValue,i=null!=o&&o!==r?" (cast from the value `".concat(RN(o,!0),"`)."):".";return"mixed"!==n?"".concat(t," must be a `").concat(n,"` type, but the final value was: `").concat(RN(r,!0),"`")+i:"".concat(t," must match the configured type. The validated value was: `").concat(RN(r,!0),"`")+i}},FN={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},IN={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},jN={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},zN={isValue:"${path} field must be ${value}"},BN={noUnknown:"${path} field has unspecified keys: ${unknown}"},UN={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"};Object.assign(Object.create(null),{mixed:NN,string:FN,number:IN,date:jN,object:BN,array:UN,boolean:zN});var VN=function(e){return e&&e.__isYupSchema__},HN=function(){function e(t,n){ro(this,e),this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}return no(e,[{key:"resolve",value:function(e,t){var n=this.refs.map((function(e){return e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context)})),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!VN(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}}],[{key:"fromOptions",value:function(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var r=n.is,o=n.then,i=n.otherwise,a="function"==typeof r?r:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every((function(e){return e===r}))};return new e(t,(function(e,t){var n,r=a.apply(void 0,Wr(e))?o:i;return null!=(n=null==r?void 0:r(t))?n:t}))}}]),e}();var qN="$",YN=".",GN=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(ro(this,e),this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof t)throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),""===t)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===qN,this.isValue=this.key[0]===YN,this.isSibling=!this.isContext&&!this.isValue;var r=this.isContext?qN:this.isValue?YN:"";this.path=this.key.slice(r.length),this.getter=this.path&&fN.getter(this.path,!0),this.map=n.map}return no(e,[{key:"getValue",value:function(e,t,n){var r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}},{key:"cast",value:function(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}},{key:"resolve",value:function(){return this}},{key:"describe",value:function(){return{type:"ref",key:this.key}}},{key:"toString",value:function(){return"Ref(".concat(this.key,")")}}],[{key:"isRef",value:function(e){return e&&e.__isYupRef}}]),e}();GN.prototype.__isYupRef=!0;var WN=function(e){return null==e},KN=["value","path","label","options","originalValue","spec","sync"];function XN(e){function t(t,n,r){var o=t.value,i=t.path,a=void 0===i?"":i,u=t.label,s=t.options,l=t.originalValue,c=t.spec,f=t.sync,d=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&(o[n]=e[n]);return o}(t,KN),p=e.name,h=e.test,v=e.params,m=e.message,g=e.skipAbsent,y=s.parent,b=s.context,x=s.abortEarly;function w(e){return GN.isRef(e)?e.getValue(o,y,b):e}function _(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({value:o,originalValue:l,label:u,path:e.path||a,spec:c},v,e.params),n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];t[i]=w(t[i])}var s=new MN(MN.formatError(e.message||m,t),o,t.path,e.type||p);return s.params=t,s}var E=(void 0===x?d.schema.spec.abortEarly:x)?n:r,S=Object.assign({path:a,parent:y,type:p,createError:_,resolve:w,options:s,originalValue:l},d),k=function(e){MN.isError(e)?E(e):e?r(null):E(_())},C=function(e){MN.isError(e)?E(e):n(e)},A=g&&WN(o);if(f){var T;try{var P;if("function"==typeof(null==(P=T=!!A||h.call(S,o,S))?void 0:P.then))throw new Error('Validation test of type: "'.concat(S.type,'" returned a Promise during a synchronous validate. This test will finish after the validate call has returned'))}catch(zw){return void C(zw)}k(T)}else try{Promise.resolve(!!A||h.call(S,o,S)).then(k,C)}catch(zw){C(zw)}}return t.OPTIONS=e,t}var ZN=function(e){return e.substr(0,e.length-1).substr(1)};function QN(e,t,n){var r,o,i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return t?(fN.forEach(t,(function(u,s,l){var c=s?ZN(u):u,f="tuple"===(e=e.resolve({context:a,parent:r,value:n})).type,d=l?parseInt(c,10):0;if(e.innerType||f){if(f&&!l)throw new Error('Yup.reach cannot implicitly index into a tuple type. the path part "'.concat(i,'" must contain an index to the tuple element, e.g. "').concat(i,'[0]"'));if(n&&d>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: ".concat(u,", in the path: ").concat(t,". because there is no value at that index. "));r=n,n=n&&n[d],e=f?e.spec.types[d]:e.innerType}if(!l){if(!e.fields||!e.fields[c])throw new Error("The schema does not contain the path: ".concat(t,". (failed at: ").concat(i,' which is a type: "').concat(e.type,'")'));r=n,n=n&&n[c],e=e.fields[c]}o=c,i=s?"["+u+"]":"."+u})),{schema:e,parent:r,parentPath:o}):{parent:r,parentPath:t,schema:e}}var $N=function(){function e(){ro(this,e),this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}return no(e,[{key:"size",get:function(){return this.list.size+this.refs.size}},{key:"describe",value:function(){var e,t=[],n=vo(this.list);try{for(n.s();!(e=n.n()).done;){var r=e.value;t.push(r)}}catch(u){n.e(u)}finally{n.f()}var o,i=vo(this.refs);try{for(i.s();!(o=i.n()).done;){var a=$r(o.value,2)[1];t.push(a.describe())}}catch(u){i.e(u)}finally{i.f()}return t}},{key:"toArray",value:function(){return Array.from(this.list).concat(Array.from(this.refs.values()))}},{key:"resolveAll",value:function(e){return this.toArray().reduce((function(t,n){return t.concat(GN.isRef(n)?e(n):n)}),[])}},{key:"add",value:function(e){GN.isRef(e)?this.refs.set(e.key,e):this.list.add(e)}},{key:"delete",value:function(e){GN.isRef(e)?this.refs.delete(e.key):this.list.delete(e)}},{key:"clone",value:function(){var t=new e;return t.list=new Set(this.list),t.refs=new Map(this.refs),t}},{key:"merge",value:function(e,t){var n=this.clone();return e.list.forEach((function(e){return n.add(e)})),e.refs.forEach((function(e){return n.add(e)})),t.list.forEach((function(e){return n.delete(e)})),t.refs.forEach((function(e){return n.delete(e)})),n}}]),e}();function JN(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map;if(VN(e)||!e||"object"!=ho(e))return e;if(n.has(e))return n.get(e);if(e instanceof Date)t=new Date(e.getTime()),n.set(e,t);else if(e instanceof RegExp)t=new RegExp(e),n.set(e,t);else if(Array.isArray(e)){t=new Array(e.length),n.set(e,t);for(var r=0;r<e.length;r++)t[r]=JN(e[r],n)}else if(e instanceof Map){t=new Map,n.set(e,t);var o,i=vo(e.entries());try{for(i.s();!(o=i.n()).done;){var a=$r(o.value,2),u=a[0],s=a[1];t.set(u,JN(s,n))}}catch(g){i.e(g)}finally{i.f()}}else if(e instanceof Set){t=new Set,n.set(e,t);var l,c=vo(e);try{for(c.s();!(l=c.n()).done;){var f=l.value;t.add(JN(f,n))}}catch(g){c.e(g)}finally{c.f()}}else{if(!(e instanceof Object))throw Error("Unable to clone ".concat(e));t={},n.set(e,t);for(var d=0,p=Object.entries(e);d<p.length;d++){var h=$r(p[d],2),v=h[0],m=h[1];t[v]=JN(m,n)}}return t}var eF=function(){function e(t){var n=this;ro(this,e),this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new $N,this._blacklist=new $N,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((function(){n.typeError(NN.notType)})),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,optional:!0,coerce:!0},null==t?void 0:t.spec),this.withMutation((function(e){e.nonNullable()}))}return no(e,[{key:"_type",get:function(){return this.type}},{key:"clone",value:function(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;var t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=Wr(this.deps),t.conditions=Wr(this.conditions),t.tests=Wr(this.tests),t.transforms=Wr(this.transforms),t.spec=JN(Object.assign({},this.spec,e)),t}},{key:"label",value:function(e){var t=this.clone();return t.spec.label=e,t}},{key:"meta",value:function(){if(0===arguments.length)return this.spec.meta;var e=this.clone();return e.spec.meta=Object.assign(e.spec.meta||{},arguments.length<=0?void 0:arguments[0]),e}},{key:"withMutation",value:function(e){var t=this._mutate;this._mutate=!0;var n=e(this);return this._mutate=t,n}},{key:"concat",value:function(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError("You cannot `concat()` schema's of different types: ".concat(this.type," and ").concat(e.type));var t=this,n=e.clone(),r=Object.assign({},t.spec,n.spec);return n.spec=r,n.internalTests=Object.assign({},t.internalTests,n.internalTests),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation((function(t){e.tests.forEach((function(e){t.test(e.OPTIONS)}))})),n.transforms=[].concat(Wr(t.transforms),Wr(n.transforms)),n}},{key:"isType",value:function(e){return null==e?!!(this.spec.nullable&&null===e||this.spec.optional&&void 0===e):this._typeCheck(e)}},{key:"resolve",value:function(e){var t=this;if(t.conditions.length){var n=t.conditions;(t=t.clone()).conditions=[],t=(t=n.reduce((function(t,n){return n.resolve(t,e)}),t)).resolve(e)}return t}},{key:"resolveOptions",value:function(e){var t,n,r;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive})}},{key:"cast",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.resolve(Object.assign({value:e},t)),r="ignore-optionality"===t.assert,o=n._cast(e,t);if(!1!==t.assert&&!n.isType(o)){if(r&&WN(o))return o;var i=RN(e),a=RN(o);throw new TypeError("The value of ".concat(t.path||"field",' could not be cast to a value that satisfies the schema type: "').concat(n.type,'". \n\nattempted value: ').concat(i," \n")+(a!==i?"result of cast: ".concat(a):""))}return o}},{key:"_cast",value:function(e,t){var n=this,r=void 0===e?e:this.transforms.reduce((function(t,r){return r.call(n,t,e,n)}),e);return void 0===r&&(r=this.getDefault()),r}},{key:"_validate",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=n.sync,a=n.path,u=n.from,s=void 0===u?[]:u,l=n.originalValue,c=void 0===l?e:l,f=n.strict,d=void 0===f?this.spec.strict:f,p=e;d||(p=this._cast(p,Object.assign({assert:!1},n)));for(var h={value:p,path:a,options:n,originalValue:c,schema:this,label:this.spec.label,spec:this.spec,sync:i,from:s},v=[],m=0,g=Object.values(this.internalTests);m<g.length;m++){var y=g[m];y&&v.push(y)}this.runTests({args:h,value:p,tests:v},r,(function(e){if(e.length)return o(e,p);t.runTests({args:h,value:p,tests:t.tests},r,o)}))}},{key:"runTests",value:function(e,t,n){var r=!1,o=e.tests,i=e.args,a=e.value,u=function(e){r||(r=!0,t(e,a))},s=function(e){r||(r=!0,n(e,a))},l=o.length,c=[];if(!l)return s([]);for(var f=0;f<o.length;f++){(0,o[f])(i,u,(function(e){e&&(c=c.concat(e)),--l<=0&&s(c)}))}}},{key:"asNestedTest",value:function(e){var t,n=this,r=e.key,o=e.index,i=e.parent,a=e.parentPath,u=e.originalParent,s=e.options,l=null!=r?r:o;if(null==l)throw TypeError("Must include `key` or `index` for nested validations");var c="number"==typeof l,f=i[l],d=Object.assign({},s,(Qr(t={strict:!0,parent:i,value:f,originalValue:u[l],key:void 0},c?"index":"key",l),Qr(t,"path",c||l.includes(".")?"".concat(a||"","[").concat(f?l:'"'.concat(l,'"'),"]"):(a?"".concat(a,"."):"")+r),t));return function(e,t,r){return n.resolve(d)._validate(f,d,t,r)}}},{key:"validate",value:function(e,t){var n=this.resolve(Object.assign({},t,{value:e}));return new Promise((function(r,o){return n._validate(e,t,(function(e,t){MN.isError(e)&&(e.value=t),o(e)}),(function(e,t){e.length?o(new MN(e,t)):r(t)}))}))}},{key:"validateSync",value:function(e,t){var n;return this.resolve(Object.assign({},t,{value:e}))._validate(e,Object.assign({},t,{sync:!0}),(function(e,t){throw MN.isError(e)&&(e.value=t),e}),(function(t,r){if(t.length)throw new MN(t,e);n=r})),n}},{key:"isValid",value:function(e,t){return this.validate(e,t).then((function(){return!0}),(function(e){if(MN.isError(e))return!1;throw e}))}},{key:"isValidSync",value:function(e,t){try{return this.validateSync(e,t),!0}catch(Bw){if(MN.isError(Bw))return!1;throw Bw}}},{key:"_getDefault",value:function(){var e=this.spec.default;return null==e?e:"function"==typeof e?e.call(this):JN(e)}},{key:"getDefault",value:function(e){return this.resolve(e||{})._getDefault()}},{key:"default",value:function(e){return 0===arguments.length?this._getDefault():this.clone({default:e})}},{key:"strict",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.clone({strict:e})}},{key:"nullability",value:function(e,t){var n=this.clone({nullable:e});return n.internalTests.nullable=XN({message:t,name:"nullable",test:function(e){return null!==e||this.schema.spec.nullable}}),n}},{key:"optionality",value:function(e,t){var n=this.clone({optional:e});return n.internalTests.optionality=XN({message:t,name:"optionality",test:function(e){return void 0!==e||this.schema.spec.optional}}),n}},{key:"optional",value:function(){return this.optionality(!0)}},{key:"defined",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:NN.defined;return this.optionality(!1,e)}},{key:"nullable",value:function(){return this.nullability(!0)}},{key:"nonNullable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:NN.notNull;return this.nullability(!1,e)}},{key:"required",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:NN.required;return this.clone().withMutation((function(t){return t.nonNullable(e).defined(e)}))}},{key:"notRequired",value:function(){return this.clone().withMutation((function(e){return e.nullable().optional()}))}},{key:"transform",value:function(e){var t=this.clone();return t.transforms.push(e),t}},{key:"test",value:function(){var e;if(void 0===(e=1===arguments.length?"function"==typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(e.message=NN.default),"function"!=typeof e.test)throw new TypeError("`test` is a required parameters");var t=this.clone(),n=XN(e),r=e.exclusive||e.name&&!0===t.exclusiveTests[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return e.name&&(t.exclusiveTests[e.name]=!!e.exclusive),t.tests=t.tests.filter((function(t){return!(t.OPTIONS.name===e.name&&(r||t.OPTIONS.test===n.OPTIONS.test))})),t.tests.push(n),t}},{key:"when",value:function(e,t){!Array.isArray(e)&&"string"!=typeof e&&(t=e,e=".");var n=this.clone(),r=DN(e).map((function(e){return new GN(e)}));return r.forEach((function(e){e.isSibling&&n.deps.push(e.key)})),n.conditions.push("function"==typeof t?new HN(r,t):HN.fromOptions(r,t)),n}},{key:"typeError",value:function(e){var t=this.clone();return t.internalTests.typeError=XN({message:e,name:"typeError",test:function(e){return!(!WN(e)&&!this.schema._typeCheck(e))||this.createError({params:{type:this.schema.type}})}}),t}},{key:"oneOf",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NN.oneOf,n=this.clone();return e.forEach((function(e){n._whitelist.add(e),n._blacklist.delete(e)})),n.internalTests.whiteList=XN({message:t,name:"oneOf",test:function(e){if(void 0===e)return!0;var t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}},{key:"notOneOf",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NN.notOneOf,n=this.clone();return e.forEach((function(e){n._blacklist.add(e),n._whitelist.delete(e)})),n.internalTests.blacklist=XN({message:t,name:"notOneOf",test:function(e){var t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:n}})}}),n}},{key:"strip",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.clone();return t.spec.strip=e,t}},{key:"describe",value:function(e){var t=(e?this.resolve(e):this).clone(),n=t.spec,r=n.label;return{meta:n.meta,label:r,optional:n.optional,nullable:n.nullable,type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map((function(e){return{name:e.OPTIONS.name,params:e.OPTIONS.params}})).filter((function(e,t,n){return n.findIndex((function(t){return t.name===e.name}))===t}))}}}]),e}();eF.prototype.__isYupSchema__=!0;for(var tF=function(){var e=rF[nF];eF.prototype["".concat(e,"At")]=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=QN(this,t,n,r.context),i=o.parent,a=o.parentPath,u=o.schema;return u[e](i&&i[a],Object.assign({},r,{parent:i,path:t}))}},nF=0,rF=["validate","validateSync"];nF<rF.length;nF++)tF();for(var oF=0,iF=["equals","is"];oF<iF.length;oF++){var aF=iF[oF];eF.prototype[aF]=eF.prototype.oneOf}for(var uF=0,sF=["not","nope"];uF<sF.length;uF++){var lF=sF[uF];eF.prototype[lF]=eF.prototype.notOneOf}function cF(){return new fF}var fF=function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),e=t.call(this,{type:"boolean",check:function(e){return e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e}}),e.withMutation((function(){e.transform((function(e,t,n){if(n.spec.coerce&&!n.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e}))})),e}return no(n,[{key:"isTrue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zN.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:function(e){return WN(e)||!0===e}})}},{key:"isFalse",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zN.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:function(e){return WN(e)||!1===e}})}},{key:"default",value:function(e){return Yr(po(n.prototype),"default",this).call(this,e)}},{key:"defined",value:function(e){return Yr(po(n.prototype),"defined",this).call(this,e)}},{key:"optional",value:function(){return Yr(po(n.prototype),"optional",this).call(this)}},{key:"required",value:function(e){return Yr(po(n.prototype),"required",this).call(this,e)}},{key:"notRequired",value:function(){return Yr(po(n.prototype),"notRequired",this).call(this)}},{key:"nullable",value:function(){return Yr(po(n.prototype),"nullable",this).call(this)}},{key:"nonNullable",value:function(e){return Yr(po(n.prototype),"nonNullable",this).call(this,e)}},{key:"strip",value:function(e){return Yr(po(n.prototype),"strip",this).call(this,e)}}]),n}(eF);cF.prototype=fF.prototype;var dF=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,pF=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,hF=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,vF=function(e){return WN(e)||e===e.trim()},mF={}.toString();function gF(){return new yF}var yF=function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),e=t.call(this,{type:"string",check:function(e){return e instanceof String&&(e=e.valueOf()),"string"==typeof e}}),e.withMutation((function(){e.transform((function(e,t,n){if(!n.spec.coerce||n.isType(e)||Array.isArray(e))return e;var r=null!=e&&e.toString?e.toString():e;return r===mF?e:r}))})),e}return no(n,[{key:"required",value:function(e){return Yr(po(n.prototype),"required",this).call(this,e).withMutation((function(t){return t.test({message:e||NN.required,name:"required",skipAbsent:!0,test:function(e){return!!e.length}})}))}},{key:"notRequired",value:function(){return Yr(po(n.prototype),"notRequired",this).call(this).withMutation((function(e){return e.tests.filter((function(e){return"required"!==e.OPTIONS.name})),e}))}},{key:"length",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:FN.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test:function(t){return t.length===this.resolve(e)}})}},{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:FN.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(t){return t.length>=this.resolve(e)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:FN.max;return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test:function(t){return t.length<=this.resolve(e)}})}},{key:"matches",value:function(e,t){var n,r,o,i,a=!1;return t&&("object"==ho(t)?(r=(n=t).excludeEmptyString,a=void 0!==r&&r,o=n.message,i=n.name):o=t),this.test({name:i||"matches",message:o||FN.matches,params:{regex:e},skipAbsent:!0,test:function(t){return""===t&&a||-1!==t.search(e)}})}},{key:"email",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:FN.email;return this.matches(dF,{name:"email",message:e,excludeEmptyString:!0})}},{key:"url",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:FN.url;return this.matches(pF,{name:"url",message:e,excludeEmptyString:!0})}},{key:"uuid",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:FN.uuid;return this.matches(hF,{name:"uuid",message:e,excludeEmptyString:!1})}},{key:"ensure",value:function(){return this.default("").transform((function(e){return null===e?"":e}))}},{key:"trim",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:FN.trim;return this.transform((function(e){return null!=e?e.trim():e})).test({message:e,name:"trim",test:vF})}},{key:"lowercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:FN.lowercase;return this.transform((function(e){return WN(e)?e:e.toLowerCase()})).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:function(e){return WN(e)||e===e.toLowerCase()}})}},{key:"uppercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:FN.uppercase;return this.transform((function(e){return WN(e)?e:e.toUpperCase()})).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:function(e){return WN(e)||e===e.toUpperCase()}})}}]),n}(eF);gF.prototype=yF.prototype;function bF(){return new xF}var xF=function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),e=t.call(this,{type:"number",check:function(e){return e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!function(e){return e!=+e}(e)}}),e.withMutation((function(){e.transform((function(e,t,n){if(!n.spec.coerce)return e;var r=e;if("string"==typeof r){if(""===(r=r.replace(/\s/g,"")))return NaN;r=+r}return n.isType(r)?r:parseFloat(r)}))})),e}return no(n,[{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:IN.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(t){return t>=this.resolve(e)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:IN.max;return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test:function(t){return t<=this.resolve(e)}})}},{key:"lessThan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:IN.lessThan;return this.test({message:t,name:"max",exclusive:!0,params:{less:e},skipAbsent:!0,test:function(t){return t<this.resolve(e)}})}},{key:"moreThan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:IN.moreThan;return this.test({message:t,name:"min",exclusive:!0,params:{more:e},skipAbsent:!0,test:function(t){return t>this.resolve(e)}})}},{key:"positive",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:IN.positive;return this.moreThan(0,e)}},{key:"negative",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:IN.negative;return this.lessThan(0,e)}},{key:"integer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:IN.integer;return this.test({name:"integer",message:e,skipAbsent:!0,test:function(e){return Number.isInteger(e)}})}},{key:"truncate",value:function(){return this.transform((function(e){return WN(e)?e:0|e}))}},{key:"round",value:function(e){var t,n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((function(t){return WN(t)?t:Math[e](t)}))}}]),n}(eF);bF.prototype=xF.prototype;var wF=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var _F=new Date(""),EF=function(e){oo(n,e);var t=io(n);function n(){var e;return ro(this,n),e=t.call(this,{type:"date",check:function(e){return function(e){return"[object Date]"===Object.prototype.toString.call(e)}(e)&&!isNaN(e.getTime())}}),e.withMutation((function(){e.transform((function(e,t,r){return!r.spec.coerce||r.isType(e)?e:(e=function(e){var t,n,r=[1,4,5,6,7,10,11],o=0;if(n=wF.exec(e)){for(var i,a=0;i=r[a];++a)n[i]=+n[i]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(o=60*n[10]+n[11],"+"===n[9]&&(o=0-o)),t=Date.UTC(n[1],n[2],n[3],n[4],n[5]+o,n[6],n[7])):t=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?n.INVALID_DATE:new Date(e))}))})),e}return no(n,[{key:"prepareParam",value:function(e,t){var n;if(GN.isRef(e))n=e;else{var r=this.cast(e);if(!this._typeCheck(r))throw new TypeError("`".concat(t,"` must be a Date or a value that can be `cast()` to a Date"));n=r}return n}},{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:jN.min,n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(e){return e>=this.resolve(n)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:jN.max,n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test:function(e){return e<=this.resolve(n)}})}}]),n}(eF);function SF(e,t){var n=1/0;return e.some((function(e,r){var o;if(null!=(o=t.path)&&o.includes(e))return n=r,!0})),n}function kF(e){return function(t,n){return SF(e,t)-SF(e,n)}}EF.INVALID_DATE=_F,EF.prototype;var CF=function(e,t,n){if("string"!=typeof e)return e;var r=e;try{r=JSON.parse(e)}catch(o){}return n.isType(r)?r:e};function AF(e){if("fields"in e){for(var t={},n=0,r=Object.entries(e.fields);n<r.length;n++){var o=$r(r[n],2),i=o[0],a=o[1];t[i]=AF(a)}return e.setFields(t)}if("array"===e.type){var u=e.optional();return u.innerType&&(u.innerType=AF(u.innerType)),u}return"tuple"===e.type?e.optional().clone({types:e.spec.types.map(AF)}):"optional"in e?e.optional():e}var TF=function(e){return"[object Object]"===Object.prototype.toString.call(e)};function PF(e,t){var n=Object.keys(e.fields);return Object.keys(t).filter((function(e){return-1===n.indexOf(e)}))}var OF=kF([]);function RF(e){return new DF(e)}var DF=function(e){oo(n,e);var t=io(n);function n(e){var r;return ro(this,n),r=t.call(this,{type:"object",check:function(e){return TF(e)||"function"==typeof e}}),r.fields=Object.create(null),r._sortErrors=OF,r._nodes=[],r._excludedEdges=[],r.withMutation((function(){e&&r.shape(e)})),r}return no(n,[{key:"_cast",value:function(e){var t,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Yr(po(n.prototype),"_cast",this).call(this,e,o);if(void 0===i)return this.getDefault();if(!this._typeCheck(i))return i;var a,u=this.fields,s=null!=(t=o.stripUnknown)?t:this.spec.noUnknown,l=[].concat(this._nodes,Object.keys(i).filter((function(e){return!r._nodes.includes(e)}))),c={},f=Object.assign({},o,{parent:c,__validating:o.__validating||!1}),d=!1,p=vo(l);try{for(p.s();!(a=p.n()).done;){var h=a.value,v=u[h],m=h in i;if(v){var g=void 0,y=i[h];f.path=(o.path?"".concat(o.path,"."):"")+h;var b=(v=v.resolve({value:y,context:o.context,parent:c}))instanceof eF?v.spec:void 0,x=null==b?void 0:b.strict;if(null!=b&&b.strip){d=d||h in i;continue}void 0!==(g=o.__validating&&x?i[h]:v.cast(i[h],f))&&(c[h]=g)}else m&&!s&&(c[h]=i[h]);(m!==h in c||c[h]!==i[h])&&(d=!0)}}catch(w){p.e(w)}finally{p.f()}return d?c:i}},{key:"_validate",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=r.from,u=void 0===a?[]:a,s=r.originalValue,l=void 0===s?e:s,c=r.recursive,f=void 0===c?this.spec.recursive:c;r.from=[{schema:this,value:l}].concat(Wr(u)),r.__validating=!0,r.originalValue=l,Yr(po(n.prototype),"_validate",this).call(this,e,r,o,(function(e,n){if(f&&TF(n)){l=l||n;var a,u=[],s=vo(t._nodes);try{for(s.s();!(a=s.n()).done;){var c=a.value,d=t.fields[c];!d||GN.isRef(d)||u.push(d.asNestedTest({options:r,key:c,parent:n,parentPath:r.path,originalParent:l}))}}catch(p){s.e(p)}finally{s.f()}t.runTests({tests:u,value:n},o,(function(r){i(r.sort(t._sortErrors).concat(e),n)}))}else i(e,n)}))}},{key:"clone",value:function(e){var t=Yr(po(n.prototype),"clone",this).call(this,e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}},{key:"concat",value:function(e){for(var t=this,r=Yr(po(n.prototype),"concat",this).call(this,e),o=r.fields,i=0,a=Object.entries(this.fields);i<a.length;i++){var u=$r(a[i],2),s=u[0],l=u[1],c=o[s];o[s]=void 0===c?l:c}return r.withMutation((function(e){return e.setFields(o,t._excludedEdges)}))}},{key:"_getDefault",value:function(){var e=this;if("default"in this.spec)return Yr(po(n.prototype),"_getDefault",this).call(this);if(this._nodes.length){var t={};return this._nodes.forEach((function(n){var r=e.fields[n];t[n]="getDefault"in r?r.getDefault():void 0})),t}}},{key:"setFields",value:function(e,t){var n=this.clone();return n.fields=e,n._nodes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=new Set,o=new Set(t.map((function(e){var t=$r(e,2),n=t[0],r=t[1];return"".concat(n,"-").concat(r)})));function i(e,t){var i=fN.split(e)[0];r.add(i),o.has("".concat(t,"-").concat(i))||n.push([t,i])}for(var a=function(){var t=s[u],n=e[t];r.add(t),GN.isRef(n)&&n.isSibling?i(n.path,t):VN(n)&&"deps"in n&&n.deps.forEach((function(e){return i(e,t)}))},u=0,s=Object.keys(e);u<s.length;u++)a();return _N.exports.array(Array.from(r),n).reverse()}(e,t),n._sortErrors=kF(Object.keys(e)),t&&(n._excludedEdges=t),n}},{key:"shape",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.clone().withMutation((function(n){var r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[].concat(Wr(n._excludedEdges),Wr(t))),n.setFields(Object.assign(n.fields,e),r)}))}},{key:"partial",value:function(){for(var e={},t=0,n=Object.entries(this.fields);t<n.length;t++){var r=$r(n[t],2),o=r[0],i=r[1];e[o]="optional"in i&&i.optional instanceof Function?i.optional():i}return this.setFields(e)}},{key:"deepPartial",value:function(){return AF(this)}},{key:"pick",value:function(e){var t,n={},r=vo(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;this.fields[o]&&(n[o]=this.fields[o])}}catch(i){r.e(i)}finally{r.f()}return this.setFields(n)}},{key:"omit",value:function(e){var t,n=Object.assign({},this.fields),r=vo(e);try{for(r.s();!(t=r.n()).done;){delete n[t.value]}}catch(o){r.e(o)}finally{r.f()}return this.setFields(n)}},{key:"from",value:function(e,t,n){var r=fN.getter(e,!0);return this.transform((function(o){if(!o)return o;var i=o;return function(e,t){var n=Wr(fN.normalizePath(t));if(1===n.length)return n[0]in e;var r=n.pop(),o=fN.getter(fN.join(n),!0)(e);return!(!o||!(r in o))}(o,e)&&(i=Object.assign({},o),n||delete i[e],i[t]=r(o)),i}))}},{key:"json",value:function(){return this.transform(CF)}},{key:"noUnknown",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:BN.noUnknown;"boolean"!=typeof e&&(t=e,e=!0);var n=this.test({name:"noUnknown",exclusive:!0,message:t,test:function(t){if(null==t)return!0;var n=PF(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}},{key:"unknown",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:BN.noUnknown;return this.noUnknown(!e,t)}},{key:"transformKeys",value:function(e){return this.transform((function(t){if(!t)return t;for(var n={},r=0,o=Object.keys(t);r<o.length;r++){var i=o[r];n[e(i)]=t[i]}return n}))}},{key:"camelCase",value:function(){return this.transformKeys(xN)}},{key:"snakeCase",value:function(){return this.transformKeys(wN)}},{key:"constantCase",value:function(){return this.transformKeys((function(e){return wN(e).toUpperCase()}))}},{key:"describe",value:function(e){var t=Yr(po(n.prototype),"describe",this).call(this,e);t.fields={};for(var r=0,o=Object.entries(this.fields);r<o.length;r++){var i,a=$r(o[r],2),u=a[0],s=a[1],l=e;null!=(i=l)&&i.value&&(l=Object.assign({},l,{parent:l.value,value:l.value[u]})),t.fields[u]=s.describe(l)}return t}}]),n}(eF);function LF(e){return new MF(e)}RF.prototype=DF.prototype;var MF=function(e){oo(n,e);var t=io(n);function n(e){var r;return ro(this,n),r=t.call(this,{type:"array",check:function(e){return Array.isArray(e)}}),r.innerType=void 0,r.innerType=e,r}return no(n,[{key:"_cast",value:function(e,t){var r=this,o=Yr(po(n.prototype),"_cast",this).call(this,e,t);if(!this._typeCheck(o)||!this.innerType)return o;var i=!1,a=o.map((function(e,n){var o=r.innerType.cast(e,Object.assign({},t,{path:"".concat(t.path||"","[").concat(n,"]")}));return o!==e&&(i=!0),o}));return i?a:o}},{key:"_validate",value:function(e){var t,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,u=this.innerType,s=null!=(t=o.recursive)?t:this.spec.recursive;null!=o.originalValue&&o.originalValue,Yr(po(n.prototype),"_validate",this).call(this,e,o,i,(function(t,n){if(s&&u&&r._typeCheck(n)){for(var l=new Array(n.length),c=0;c<n.length;c++){var f;l[c]=u.asNestedTest({options:o,index:c,parent:n,parentPath:o.path,originalParent:null!=(f=o.originalValue)?f:e})}r.runTests({value:n,tests:l},i,(function(e){return a(e.concat(t),n)}))}else a(t,n)}))}},{key:"clone",value:function(e){var t=Yr(po(n.prototype),"clone",this).call(this,e);return t.innerType=this.innerType,t}},{key:"json",value:function(){return this.transform(CF)}},{key:"concat",value:function(e){var t=Yr(po(n.prototype),"concat",this).call(this,e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}},{key:"of",value:function(e){var t=this.clone();if(!VN(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+RN(e));return t.innerType=e,t}},{key:"length",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:UN.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test:function(t){return t.length===this.resolve(e)}})}},{key:"min",value:function(e,t){return t=t||UN.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(t){return t.length>=this.resolve(e)}})}},{key:"max",value:function(e,t){return t=t||UN.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test:function(t){return t.length<=this.resolve(e)}})}},{key:"ensure",value:function(){var e=this;return this.default((function(){return[]})).transform((function(t,n){return e._typeCheck(t)?t:null==n?[]:[].concat(n)}))}},{key:"compact",value:function(e){var t=e?function(t,n,r){return!e(t,n,r)}:function(e){return!!e};return this.transform((function(e){return null!=e?e.filter(t):e}))}},{key:"describe",value:function(e){var t=Yr(po(n.prototype),"describe",this).call(this);if(this.innerType){var r,o=e;null!=(r=o)&&r.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[0]})),t.innerType=this.innerType.describe(e)}return t}}]),n}(eF);LF.prototype=MF.prototype;var NF=new RegExp("(".concat(Object.keys(tN).filter((function(e){return Number.isNaN(Number(e))})).join("|"),")")),FF=RF({lat:bF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:bF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:bF().max(30),radius:bF().max(25e3),include:LF().of(gF().matches(NF,"Must be a valid Score category.").required()).required()}),IF=Ur("a1",function(e){return e[e.pedestrian_friendly=0]="pedestrian_friendly",e[e.cycling_friendly=1]="cycling_friendly",e[e.transit_friendly=2]="transit_friendly",e[e.car_friendly=3]="car_friendly",e[e.parks=4]="parks",e[e.groceries=5]="groceries",e[e.shopping=6]="shopping",e[e.nightlife=7]="nightlife",e[e.restaurants=8]="restaurants",e[e.cafes=9]="cafes",e[e.daycares=10]="daycares",e[e.primary_schools=11]="primary_schools",e[e.high_schools=12]="high_schools",e[e.quiet=13]="quiet",e[e.greenery=14]="greenery",e[e.historic=15]="historic",e[e.vibrant=16]="vibrant",e[e.wellness=17]="wellness",e}(IF||{})),jF=new RegExp("(".concat(Object.keys(IF).filter((function(e){return Number.isNaN(Number(e))})).join("|"),")")),zF=RF({lat:bF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:bF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geographyIds:LF().of(gF().required()),geographyLevels:LF().of(gF().matches(/10|20|30/,"Must be a valid Geography level.").required()),locationScoresRounding:cF(),include:LF().of(gF().matches(jF,"Must be a valid Score category.").required())}),BF=RF({lat:bF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:bF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:bF().max(30,"Must use a limit between 1 and 30."),radius:bF().max(25e3,"Must use a radius between 1 and 25000.")}),UF=RF({lat:bF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:bF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geogId:gF()}),VF=RF({lat:bF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:bF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required()}),HF=RF({lat:bF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:bF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),radius:bF().max(5e3)}),qF="LocalLogicClient/",YF=function(e){oo(n,e);var t=io(n);function n(e){var r,o=e.message;return ro(this,n),(r=t.call(this,o)).name=qF+r.constructor.name,r}return no(n)}(so(Error)),GF=function(e){oo(n,e);var t=io(n);function n(e){var r,o=e.message,i=e.response;return ro(this,n),r=t.call(this,o),pL(uo(r),"statusCode"),pL(uo(r),"statusText"),pL(uo(r),"data"),r.name=qF+r.constructor.name,r.statusCode=null==i?void 0:i.status,r.statusText=null==i?void 0:i.statusText,r.data=null==i?void 0:i.data,r}return no(n)}(so(Error)),WF=function(e){oo(n,e);var t=io(n);function n(e){var r,o=e.message;return ro(this,n),(r=t.call(this,o)).name=qF+r.constructor.name,r}return no(n)}(so(Error)),KF=function(e){throw e instanceof MN?new YF(e):JM.isAxiosError(e)?new GF(e):new WF(e)},XF=function(e,t,n){var r=n.value;return n.value=function(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=r.apply(this,t);return o&&o instanceof Promise?o.catch((function(e){KF(e)})):o}catch(o){KF(o)}},n},ZF=Object.defineProperty,QF=Object.getOwnPropertyDescriptor,$F=function(e,t,n,r){for(var o,i=r>1?void 0:r?QF(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&ZF(t,n,i),i},JF=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{locale:"en"};ro(this,e),pL(this,"requests"),pL(this,"options"),this.requests=eN(t,n),this.options=n}return no(e,[{key:"getPois",value:function(e){return function(e){return function(){var t=Vr(Br().mark((function t(n){var r,o,i,a,u,s;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,FF.validate(n);case 2:return r=t.sent,o=r.lat,i=r.lng,a=r.limit,u=r.radius,s=r.include,t.next=10,e.get("/pois",{params:{lat:o,lng:i,limit:a,radius:u,include:null==s?void 0:s.join(",")}});case 10:return t.abrupt("return",t.sent.data.data);case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}(this.requests)(e)}},{key:"getScores",value:function(e){return function(e){return function(){var t=Vr(Br().mark((function t(n){var r,o,i,a,u,s,l,c;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,zF.validate(n);case 2:return r=t.sent,o=r.lat,i=r.lng,a=r.include,u=r.geographyIds,s=r.geographyLevels,l=r.locationScoresRounding,c=void 0===l||l,t.next=12,e.get("/scores",{params:{lat:o,lng:i,include:null==a?void 0:a.join(","),geography_levels:null==s?void 0:s.join(","),geography_ids:null==u?void 0:u.join(","),location_scores_rounding:c?".5":"none"}});case 12:return t.abrupt("return",t.sent.data.data);case 13:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}(this.requests)(e)}},{key:"getSchools",value:function(e){return function(e){return function(){var t=Vr(Br().mark((function t(n){var r,o,i,a,u;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,BF.validate(n);case 2:return r=t.sent,o=r.lat,i=r.lng,a=r.limit,u=r.radius,t.next=9,e.get("/schools",{params:{lat:o,lng:i,limit:a,radius:u}});case 9:return t.abrupt("return",t.sent.data.data);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}(this.requests)(e)}},{key:"getProfiles",value:function(e){return function(e){return function(){var t=Vr(Br().mark((function t(n){var r,o,i,a;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,UF.validate(n);case 2:return r=t.sent,o=r.lat,i=r.lng,a=r.geogId,t.next=8,e.get("/profiles",{params:{lat:o,lng:i,geog_id:a}});case 8:return t.abrupt("return",t.sent.data.data);case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}(this.requests)(e)}},{key:"getGeographies",value:function(e){return function(e){return function(){var t=Vr(Br().mark((function t(n){var r,o,i;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,VF.validate(n);case 2:return r=t.sent,o=r.lat,i=r.lng,t.next=7,e.get("/geographies",{params:{lat:o,lng:i}});case 7:return t.abrupt("return",t.sent.data.data);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}(this.requests)(e)}},{key:"getDemographics",value:function(e){return function(e){return function(){var t=Vr(Br().mark((function t(n){var r,o,i,a;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,HF.validate(n);case 2:return r=t.sent,o=r.lat,i=r.lng,a=r.radius,t.next=8,e.get("/demographics",{params:{lat:o,lng:i,radius:a}});case 8:return t.abrupt("return",t.sent.data.data.attributes);case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}(this.requests)(e)}}]),e}();$F([XF],JF.prototype,"getPois",1),$F([XF],JF.prototype,"getScores",1),$F([XF],JF.prototype,"getSchools",1),$F([XF],JF.prototype,"getProfiles",1),$F([XF],JF.prototype,"getGeographies",1),$F([XF],JF.prototype,"getDemographics",1);var eI=function(e,t){return eI=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])},eI(e,t)};function tI(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}eI(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var nI=function(){return nI=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},nI.apply(this,arguments)};function rI(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function oI(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function iI(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))}var aI=("undefined"==typeof process||process.env,"production"),uI=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},sI={measureLayout:uI(["layout","layoutId","drag"]),animation:uI(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:uI(["exit"]),drag:uI(["drag","dragControls"]),focus:uI(["whileFocus"]),hover:uI(["whileHover","onHoverStart","onHoverEnd"]),tap:uI(["whileTap","onTap","onTapStart","onTapCancel"]),pan:uI(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:uI(["whileInView","onViewportEnter","onViewportLeave"])};var lI=Jr.exports.createContext({strict:!1}),cI=Object.keys(sI),fI=cI.length;var dI=Jr.exports.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),pI=Jr.exports.createContext({});var hI=Jr.exports.createContext(null),vI="undefined"!=typeof document,mI=vI?Jr.exports.useLayoutEffect:Jr.exports.useEffect,gI={current:null},yI=!1;function bI(){return!yI&&function(){if(yI=!0,vI)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return gI.current=e.matches};e.addListener(t),t()}else gI.current=!1}(),oI(Jr.exports.useState(gI.current),1)[0]}function xI(e,t,n,r){var o,i,a=Jr.exports.useContext(lI),u=Jr.exports.useContext(pI).visualElement,s=Jr.exports.useContext(hI),l=(o=bI(),"never"!==(i=Jr.exports.useContext(dI).reducedMotion)&&("always"===i||o)),c=Jr.exports.useRef(void 0);r||(r=a.renderer),!c.current&&r&&(c.current=r(e,{visualState:t,parent:u,props:n,presenceId:null==s?void 0:s.id,blockInitialAnimation:!1===(null==s?void 0:s.initial),shouldReduceMotion:l}));var f=c.current;return mI((function(){null==f||f.syncRender()})),Jr.exports.useEffect((function(){var e;null===(e=null==f?void 0:f.animationState)||void 0===e||e.animateChanges()})),mI((function(){return function(){return null==f?void 0:f.notifyUnmount()}}),[]),f}function wI(e){return"object"===ho(e)&&Object.prototype.hasOwnProperty.call(e,"current")}function _I(e,t,n){return Jr.exports.useCallback((function(r){var o;r&&(null===(o=e.mount)||void 0===o||o.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):wI(n)&&(n.current=r))}),[t])}function EI(e){return Array.isArray(e)}function SI(e){return"string"==typeof e||EI(e)}function kI(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),"string"==typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),t}function CI(e,t,n){var r=e.getProps();return kI(r,t,null!=n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function AI(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||SI(e.initial)||SI(e.animate)||SI(e.whileHover)||SI(e.whileDrag)||SI(e.whileTap)||SI(e.whileFocus)||SI(e.exit)}function TI(e){return Boolean(AI(e)||e.variants)}function PI(e){var t=function(e,t){if(AI(e)){var n=e.initial,r=e.animate;return{initial:!1===n||SI(n)?n:void 0,animate:SI(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,Jr.exports.useContext(pI)),n=t.initial,r=t.animate;return Jr.exports.useMemo((function(){return{initial:n,animate:r}}),[OI(n),OI(r)])}function OI(e){return Array.isArray(e)?e.join(" "):e}function RI(e){var t=Jr.exports.useRef(null);return null===t.current&&(t.current=e()),t.current}var DI={hasAnimatedSinceResize:!0,hasEverUpdated:!1},LI=1;var MI=Jr.exports.createContext({}),NI=Jr.exports.createContext({});var FI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return tI(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,n=e.props;t&&t.setProps(n)},t.prototype.render=function(){return this.props.children},t}(Yo.Component);function II(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.projectionNodeConstructor,o=e.useRender,i=e.useVisualState,a=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?sI.projectionNodeConstructor=e[t]:sI[t].Component=e[t])}(t),Jr.exports.forwardRef((function(e,u){var s=function(e){var t,n=e.layoutId,r=null===(t=Jr.exports.useContext(MI))||void 0===t?void 0:t.id;return r&&void 0!==n?r+"-"+n:n}(e);e=nI(nI({},e),{layoutId:s});var l=Jr.exports.useContext(dI),c=null,f=PI(e),d=l.isStatic?void 0:RI((function(){if(DI.hasEverUpdated)return LI++})),p=i(e,l.isStatic);return!l.isStatic&&vI&&(f.visualElement=xI(a,p,nI(nI({},l),e),n),function(e,t,n,r){var o,i=t.layoutId,a=t.layout,u=t.drag,s=t.dragConstraints,l=t.layoutScroll,c=Jr.exports.useContext(NI);r&&n&&!(null==n?void 0:n.projection)&&(n.projection=new r(e,n.getLatestValues(),null===(o=n.parent)||void 0===o?void 0:o.projection),n.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:Boolean(u)||s&&wI(s),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"==typeof a?a:"both",initialPromotionConfig:c,layoutScroll:l}))}(d,e,f.visualElement,r||sI.projectionNodeConstructor),c=function(e,t,n){var r=[],o=Jr.exports.useContext(lI);if(!t)return null;"production"!==aI&&n&&o.strict;for(var i=0;i<fI;i++){var a=cI[i],u=sI[a],s=u.isEnabled,l=u.Component;s(e)&&l&&r.push(Fx(l,Zr({},nI({key:a},e,{visualElement:t}))))}return r}(e,f.visualElement,t)),Ix(FI,{visualElement:f.visualElement,props:nI(nI({},l),e),children:[c,Fx(pI.Provider,{value:f,children:o(a,e,d,_I(p,f.visualElement,u),p,l.isStatic,f.visualElement)})]})}))}function jI(e){function t(t,n){return void 0===n&&(n={}),II(e(t,n))}if("undefined"==typeof Proxy)return t;var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var zI=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function BI(e){return"string"==typeof e&&!e.includes("-")&&!!(zI.indexOf(e)>-1||/[A-Z]/.test(e))}var UI={};var VI=["","X","Y","Z"],HI=["transformPerspective","x","y","z"];function qI(e,t){return HI.indexOf(e)-HI.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return VI.forEach((function(t){return HI.push(e+t)}))}));var YI=new Set(HI);function GI(e){return YI.has(e)}var WI=new Set(["originX","originY","originZ"]);function KI(e){return WI.has(e)}function XI(e,t){var n=t.layout,r=t.layoutId;return GI(e)||KI(e)||(n||void 0!==r)&&(!!UI[e]||"opacity"===e)}var ZI=function(e){return Boolean(null!==e&&"object"===ho(e)&&e.getVelocity)},QI={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function $I(e){return e.startsWith("--")}var JI=function(e,t){return t&&"number"==typeof e?t.transform(e):e},ej=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},tj=function(e){return e%1?Number(e.toFixed(5)):e},nj=/(-)?([\d]*\.?[\d])+/g,rj=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,oj=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function ij(e){return"string"==typeof e}var aj={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},uj=Object.assign(Object.assign({},aj),{transform:ej(0,1)}),sj=Object.assign(Object.assign({},aj),{default:1}),lj=function(e){return{test:function(t){return ij(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return"".concat(t).concat(e)}}},cj=lj("deg"),fj=lj("%"),dj=lj("px"),pj=lj("vh"),hj=lj("vw"),vj=Object.assign(Object.assign({},fj),{parse:function(e){return fj.parse(e)/100},transform:function(e){return fj.transform(100*e)}}),mj=function(e,t){return function(n){return Boolean(ij(n)&&oj.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},gj=function(e,t,n){return function(r){var o;if(!ij(r))return r;var i=$r(r.match(nj),4),a=i[0],u=i[1],s=i[2],l=i[3];return Qr(o={},e,parseFloat(a)),Qr(o,t,parseFloat(u)),Qr(o,n,parseFloat(s)),Qr(o,"alpha",void 0!==l?parseFloat(l):1),o}},yj={test:mj("hsl","hue"),parse:gj("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha,i=void 0===o?1:o;return"hsla("+Math.round(t)+", "+fj.transform(tj(n))+", "+fj.transform(tj(r))+", "+tj(uj.transform(i))+")"}},bj=ej(0,255),xj=Object.assign(Object.assign({},aj),{transform:function(e){return Math.round(bj(e))}}),wj={test:mj("rgb","red"),parse:gj("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha,i=void 0===o?1:o;return"rgba("+xj.transform(t)+", "+xj.transform(n)+", "+xj.transform(r)+", "+tj(uj.transform(i))+")"}};var _j={test:mj("#"),parse:function(e){var t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:wj.transform},Ej={test:function(e){return wj.test(e)||_j.test(e)||yj.test(e)},parse:function(e){return wj.test(e)?wj.parse(e):yj.test(e)?yj.parse(e):_j.parse(e)},transform:function(e){return ij(e)?e:e.hasOwnProperty("red")?wj.transform(e):yj.transform(e)}},Sj="${c}",kj="${n}";function Cj(e){"number"==typeof e&&(e="".concat(e));var t=[],n=0,r=e.match(rj);r&&(n=r.length,e=e.replace(rj,Sj),t.push.apply(t,Wr(r.map(Ej.parse))));var o=e.match(nj);return o&&(e=e.replace(nj,kj),t.push.apply(t,Wr(o.map(aj.parse)))),{values:t,numColors:n,tokenised:e}}function Aj(e){return Cj(e).values}function Tj(e){var t=Cj(e),n=t.values,r=t.numColors,o=t.tokenised,i=n.length;return function(e){for(var t=o,n=0;n<i;n++)t=t.replace(n<r?Sj:kj,n<r?Ej.transform(e[n]):tj(e[n]));return t}}var Pj=function(e){return"number"==typeof e?0:e};var Oj={test:function(e){var t,n,r,o;return isNaN(e)&&ij(e)&&(null!==(n=null===(t=e.match(nj))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(rj))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Aj,createTransformer:Tj,getAnimatableNone:function(e){var t=Aj(e);return Tj(e)(t.map(Pj))}},Rj=new Set(["brightness","contrast","saturate","opacity"]);function Dj(e){var t=$r(e.slice(0,-1).split("("),2),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=$r(r.match(nj)||[],1)[0];if(!o)return e;var i=r.replace(o,""),a=Rj.has(n)?1:0;return o!==r&&(a*=100),n+"("+a+i+")"}var Lj=/([a-z-]*)\(.*?\)/g,Mj=Object.assign(Object.assign({},Oj),{getAnimatableNone:function(e){var t=e.match(Lj);return t?t.map(Dj).join(" "):e}}),Nj=nI(nI({},aj),{transform:Math.round}),Fj={borderWidth:dj,borderTopWidth:dj,borderRightWidth:dj,borderBottomWidth:dj,borderLeftWidth:dj,borderRadius:dj,radius:dj,borderTopLeftRadius:dj,borderTopRightRadius:dj,borderBottomRightRadius:dj,borderBottomLeftRadius:dj,width:dj,maxWidth:dj,height:dj,maxHeight:dj,size:dj,top:dj,right:dj,bottom:dj,left:dj,padding:dj,paddingTop:dj,paddingRight:dj,paddingBottom:dj,paddingLeft:dj,margin:dj,marginTop:dj,marginRight:dj,marginBottom:dj,marginLeft:dj,rotate:cj,rotateX:cj,rotateY:cj,rotateZ:cj,scale:sj,scaleX:sj,scaleY:sj,scaleZ:sj,skew:cj,skewX:cj,skewY:cj,distance:dj,translateX:dj,translateY:dj,translateZ:dj,x:dj,y:dj,z:dj,perspective:dj,transformPerspective:dj,opacity:uj,originX:vj,originY:vj,originZ:dj,zIndex:Nj,fillOpacity:uj,strokeOpacity:uj,numOctaves:Nj};function Ij(e,t,n,r){var o,i=e.style,a=e.vars,u=e.transform,s=e.transformKeys,l=e.transformOrigin;s.length=0;var c=!1,f=!1,d=!0;for(var p in t){var h=t[p];if($I(p))a[p]=h;else{var v=Fj[p],m=JI(h,v);if(GI(p)){if(c=!0,u[p]=m,s.push(p),!d)continue;h!==(null!==(o=v.default)&&void 0!==o?o:0)&&(d=!1)}else KI(p)?(l[p]=m,f=!0):i[p]=m}}c?i.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,u=void 0===a||a,s=t.allowTransformNone,l=void 0===s||s,c="";i.sort(qI);for(var f=!1,d=i.length,p=0;p<d;p++){var h=i[p];c+="".concat(QI[h]||h,"(").concat(o[h],") "),"z"===h&&(f=!0)}return!f&&u?c+="translateZ(0)":c=c.trim(),r?c=r(o,n?"":c):l&&n&&(c="none"),c}(e,n,d,r):r?i.transform=r({},""):!t.transform&&i.transform&&(i.transform="none"),f&&(i.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,i=e.originZ,a=void 0===i?0:i;return"".concat(n," ").concat(o," ").concat(a)}(l))}var jj=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function zj(e,t,n){for(var r in t)ZI(t[r])||XI(r,n)||(e[r]=t[r])}function Bj(e,t,n){var r={};return zj(r,e.style||{},e),Object.assign(r,function(e,t,n){var r=e.transformTemplate;return Jr.exports.useMemo((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};Ij(e,t,{enableHardwareAcceleration:!n},r);var o=e.style;return nI(nI({},e.vars),o)}),[t])}(e,t,n)),e.transformValues&&(r=e.transformValues(r)),r}function Uj(e,t,n){var r={},o=Bj(e,t,n);return Boolean(e.drag)&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),r.style=o,r}var Vj=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Hj(e){return Vj.has(e)}var qj,Yj=function(e){return!Hj(e)};try{(qj=require("@emotion/is-prop-valid").default)&&(Yj=function(e){return e.startsWith("on")?!Hj(e):qj(e)})}catch(zX){}function Gj(e,t,n){return"string"==typeof e?e:dj.transform(t+n*e)}var Wj={offset:"stroke-dashoffset",array:"stroke-dasharray"},Kj={offset:"strokeDashoffset",array:"strokeDasharray"};function Xj(e,t,n,r){var o=t.attrX,i=t.attrY,a=t.originX,u=t.originY,s=t.pathLength,l=t.pathSpacing,c=void 0===l?1:l,f=t.pathOffset,d=void 0===f?0:f;Ij(e,rI(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r),e.attrs=e.style,e.style={};var p=e.attrs,h=e.style,v=e.dimensions;p.transform&&(v&&(h.transform=p.transform),delete p.transform),v&&(void 0!==a||void 0!==u||h.transform)&&(h.transformOrigin=function(e,t,n){var r=Gj(t,e.x,e.width),o=Gj(n,e.y,e.height);return"".concat(r," ").concat(o)}(v,void 0!==a?a:.5,void 0!==u?u:.5)),void 0!==o&&(p.x=o),void 0!==i&&(p.y=i),void 0!==s&&function(e,t,n,r,o){void 0===n&&(n=1),void 0===r&&(r=0),void 0===o&&(o=!0),e.pathLength=1;var i=o?Wj:Kj;e[i.offset]=dj.transform(-r);var a=dj.transform(t),u=dj.transform(n);e[i.array]="".concat(a," ").concat(u)}(p,s,c,d,!1)}var Zj=function(){return nI(nI({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function Qj(e,t){var n=Jr.exports.useMemo((function(){var n=Zj();return Xj(n,t,{enableHardwareAcceleration:!1},e.transformTemplate),nI(nI({},n.attrs),{style:nI({},n.style)})}),[t]);if(e.style){var r={};zj(r,e.style,e),n.style=nI(nI({},r),n.style)}return n}function $j(e){void 0===e&&(e=!1);return function(t,n,r,o,i,a){var u=i.latestValues,s=(BI(t)?Qj:Uj)(n,u,a),l=function(e,t,n){var r={};for(var o in e)(Yj(o)||!0===n&&Hj(o)||!t&&!Hj(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),c=nI(nI(nI({},l),s),{ref:o});return r&&(c["data-projection-id"]=r),Jr.exports.createElement(t,c)}}var Jj=/([a-z])([A-Z])/g,ez=function(e){return e.replace(Jj,"$1-$2").toLowerCase()};function tz(e,t,n,r){var o=t.style,i=t.vars;for(var a in Object.assign(e.style,o,r&&r.getProjectionStyles(n)),i)e.style.setProperty(a,i[a])}var nz=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function rz(e,t,n,r){for(var o in tz(e,t,void 0,r),t.attrs)e.setAttribute(nz.has(o)?o:ez(o),t.attrs[o])}function oz(e){var t=e.style,n={};for(var r in t)(ZI(t[r])||XI(r,e))&&(n[r]=t[r]);return n}function iz(e){var t=oz(e);for(var n in e){if(ZI(e[n]))t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]}return t}function az(e){return"object"===ho(e)&&"function"==typeof e.start}var uz=function(e){return Array.isArray(e)},sz=function(e){return uz(e)?e[e.length-1]||0:e};function lz(e){var t=ZI(e)?e.get():e;return function(e){return Boolean(e&&"object"===ho(e)&&e.mix&&e.toValue)}(t)?t.toValue():t}function cz(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,u={latestValues:dz(t,n,r,o),renderState:i()};return a&&(u.mount=function(e){return a(t,e,u)}),u}var fz=function(e){return function(t,n){var r=Jr.exports.useContext(pI),o=Jr.exports.useContext(hI);return n?cz(e,t,r,o):RI((function(){return cz(e,t,r,o)}))}};function dz(e,t,n,r){var o={},i=!1===(null==n?void 0:n.initial),a=r(e);for(var u in a)o[u]=lz(a[u]);var s=e.initial,l=e.animate,c=AI(e),f=TI(e);t&&f&&!c&&!1!==e.inherit&&(null!=s||(s=t.initial),null!=l||(l=t.animate));var d=i||!1===s,p=d?l:s;p&&"boolean"!=typeof p&&!az(p)&&(Array.isArray(p)?p:[p]).forEach((function(t){var n=kI(e,t);if(n){var r=n.transitionEnd;n.transition;var i=rI(n,["transitionEnd","transition"]);for(var a in i){var u=i[a];if(Array.isArray(u))u=u[d?u.length-1:0];null!==u&&(o[a]=u)}for(var a in r)o[a]=r[a]}}));return o}var pz,hz={useVisualState:fz({scrapeMotionValuesFromProps:iz,createRenderState:Zj,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(Lw){r.dimensions={x:0,y:0,width:0,height:0}}Xj(r,o,{enableHardwareAcceleration:!1},e.transformTemplate),rz(t,r)}})},vz={useVisualState:fz({scrapeMotionValuesFromProps:oz,createRenderState:jj})};function mz(e,t,n,r){return void 0===r&&(r={passive:!0}),e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}function gz(e,t,n,r){Jr.exports.useEffect((function(){var o=e.current;if(n&&o)return mz(o,t,n,r)}),[e,t,n,r])}function yz(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function bz(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(pz||(pz={}));var xz={pageX:0,pageY:0};function wz(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||xz;return{x:n[t+"X"],y:n[t+"Y"]}}function _z(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Ez(e,t){return void 0===t&&(t="page"),{point:bz(e)?wz(e,t):_z(e,t)}}var Sz=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,Ez(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},kz={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Cz={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Az(e){return vI&&null===window.onpointerdown?e:vI&&null===window.ontouchstart?Cz[e]:vI&&null===window.onmousedown?kz[e]:e}function Tz(e,t,n,r){return mz(e,Az(t),Sz(n,"pointerdown"===t),r)}function Pz(e,t,n,r){return gz(e,Az(t),n&&Sz(n,"pointerdown"===t),r)}function Oz(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var Rz=Oz("dragHorizontal"),Dz=Oz("dragVertical");function Lz(e){var t=!1;if("y"===e)t=Dz();else if("x"===e)t=Rz();else{var n=Rz(),r=Dz();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function Mz(){var e=Lz(!0);return!e||(e(),!1)}function Nz(e,t,n){return function(r,o){var i;yz(r)&&!Mz()&&(null===(i=e.animationState)||void 0===i||i.setActive(pz.Hover,t),null==n||n(r,o))}}var Fz=function e(t,n){return!!n&&(t===n||e(t,n.parentElement))};function Iz(e){return Jr.exports.useEffect((function(){return function(){return e()}}),[])}var jz=function(e,t,n){return Math.min(Math.max(n,e),t)},zz=.001;function Bz(e){var t,n,r=e.duration,o=void 0===r?800:r,i=e.bounce,a=void 0===i?.25:i,u=e.velocity,s=void 0===u?0:u,l=e.mass,c=void 0===l?1:l,f=1-a;f=jz(.05,1,f),o=jz(.01,10,o/1e3),f<1?(t=function(e){var t=e*f,n=t*o,r=t-s,i=Uz(e,f),a=Math.exp(-n);return zz-r/i*a},n=function(e){var n=e*f*o,r=n*s+s,i=Math.pow(f,2)*Math.pow(e,2)*o,a=Math.exp(-n),u=Uz(Math.pow(e,2),f);return(-t(e)+zz>0?-1:1)*((r-i)*a)/u}):(t=function(e){return Math.exp(-e*o)*((e-s)*o+1)-.001},n=function(e){return Math.exp(-e*o)*(o*o*(s-e))});var d=function(e,t,n){for(var r=n,o=1;o<12;o++)r-=e(r)/t(r);return r}(t,n,5/o);if(o*=1e3,isNaN(d))return{stiffness:100,damping:10,duration:o};var p=Math.pow(d,2)*c;return{stiffness:p,damping:2*f*Math.sqrt(c*p),duration:o}}function Uz(e,t){return e*Math.sqrt(1-t*t)}var Vz=["duration","bounce"],Hz=["stiffness","damping","mass"];function qz(e,t){return t.some((function(t){return void 0!==e[t]}))}function Yz(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.restSpeed,a=void 0===i?2:i,u=e.restDelta,s=rI(e,["from","to","restSpeed","restDelta"]),l={done:!1,value:n},c=function(e){var t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!qz(e,Hz)&&qz(e,Vz)){var n=Bz(e);(t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(s),f=c.stiffness,d=c.damping,p=c.mass,h=c.velocity,v=c.duration,m=c.isResolvedFromDuration,g=Gz,y=Gz;function b(){var e=h?-h/1e3:0,t=o-n,r=d/(2*Math.sqrt(f*p)),i=Math.sqrt(f/p)/1e3;if(void 0===u&&(u=Math.min(Math.abs(o-n)/100,.4)),r<1){var a=Uz(i,r);g=function(n){var u=Math.exp(-r*i*n);return o-u*((e+r*i*t)/a*Math.sin(a*n)+t*Math.cos(a*n))},y=function(n){var o=Math.exp(-r*i*n);return r*i*o*(Math.sin(a*n)*(e+r*i*t)/a+t*Math.cos(a*n))-o*(Math.cos(a*n)*(e+r*i*t)-a*t*Math.sin(a*n))}}else if(1===r)g=function(n){return o-Math.exp(-i*n)*(t+(e+i*t)*n)};else{var s=i*Math.sqrt(r*r-1);g=function(n){var a=Math.exp(-r*i*n),u=Math.min(s*n,300);return o-a*((e+r*i*t)*Math.sinh(u)+s*t*Math.cosh(u))/s}}}return b(),{next:function(e){var t=g(e);if(m)l.done=e>=v;else{var n=1e3*y(e),r=Math.abs(n)<=a,i=Math.abs(o-t)<=u;l.done=r&&i}return l.value=l.done?o:t,l},flipTarget:function(){h=-h;var e=[o,n];n=e[0],o=e[1],b()}}}Yz.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var Gz=function(e){return 0},Wz=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},Kz=function(e,t,n){return-n*e+n*t+e};function Xz(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Zz(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha;t/=360,r/=100;var i=0,a=0,u=0;if(n/=100){var s=r<.5?r*(1+n):r+n-r*n,l=2*r-s;i=Xz(l,s,t+1/3),a=Xz(l,s,t),u=Xz(l,s,t-1/3)}else i=a=u=r;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*u),alpha:o}}var Qz=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},$z=[_j,wj,yj],Jz=function(e){return $z.find((function(t){return t.test(e)}))},eB=function(e,t){var n=Jz(e),r=Jz(t),o=n.parse(e),i=r.parse(t);n===yj&&(o=Zz(o),n=wj),r===yj&&(i=Zz(i),r=wj);var a=Object.assign({},o);return function(e){for(var t in a)"alpha"!==t&&(a[t]=Qz(o[t],i[t],e));return a.alpha=Kz(o.alpha,i.alpha,e),n.transform(a)}},tB=function(e){return"number"==typeof e},nB=function(e,t){return function(n){return t(e(n))}},rB=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(nB)};function oB(e,t){return tB(e)?function(n){return Kz(e,t,n)}:Ej.test(e)?eB(e,t):sB(e,t)}var iB=function(e,t){var n=Wr(e),r=n.length,o=e.map((function(e,n){return oB(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},aB=function(e,t){var n=Object.assign(Object.assign({},e),t),r={};for(var o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=oB(e[o],t[o]));return function(e){for(var t in r)n[t]=r[t](e);return n}};function uB(e){for(var t=Oj.parse(e),n=t.length,r=0,o=0,i=0,a=0;a<n;a++)r||"number"==typeof t[a]?r++:void 0!==t[a].hue?i++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:i}}var sB=function(e,t){var n=Oj.createTransformer(t),r=uB(e),o=uB(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?rB(iB(r.parsed,o.parsed),n):function(n){return"".concat(n>0?t:e)}},lB=function(e,t){return function(n){return Kz(e,t,n)}};function cB(e,t,n){for(var r=[],o=n||function(e){return"number"==typeof e?lB:"string"==typeof e?Ej.test(e)?eB:sB:Array.isArray(e)?iB:"object"===ho(e)?aB:void 0}(e[0]),i=e.length-1,a=0;a<i;a++){var u=o(e[a],e[a+1]);if(t){var s=Array.isArray(t)?t[a]:t;u=rB(s,u)}r.push(u)}return r}function fB(e,t){var n=$r(e,2),r=n[0],o=n[1],i=$r(t,1)[0];return function(e){return i(Wz(r,o,e))}}function dB(e,t){var n=e.length,r=n-1;return function(o){var i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){for(var u=1;u<n&&!(e[u]>o||u===r);u++);i=u-1}var s=Wz(e[i],e[i+1],o);return t[i](s)}}function pB(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.clamp,o=void 0===r||r,i=n.ease,a=n.mixer,u=e.length;t.length,!i||!Array.isArray(i)||i.length,e[0]>e[u-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var s=cB(t,i,a),l=2===u?fB(e,s):dB(e,s);return o?function(t){return l(jz(e[0],e[u-1],t))}:l}var hB,vB=function(e){return function(t){return 1-e(1-t)}},mB=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},gB=function(e){return function(t){return t*t*((e+1)*t-e)}},yB=function(e){return e},bB=(hB=2,function(e){return Math.pow(e,hB)}),xB=vB(bB),wB=mB(bB),_B=function(e){return 1-Math.sin(Math.acos(e))},EB=vB(_B),SB=mB(EB),kB=gB(1.525),CB=vB(kB),AB=mB(kB),TB=function(e){var t=gB(e);return function(e){return(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))}}(1.525),PB=function(e){if(1===e||0===e)return e;var t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},OB=vB(PB);function RB(e,t){return e.map((function(){return t||wB})).splice(0,e.length-1)}function DB(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.ease,a=e.offset,u=e.duration,s=void 0===u?300:u,l={done:!1,value:n},c=Array.isArray(o)?o:[n,o],f=function(e,t){return e.map((function(e){return e*t}))}(a&&a.length===c.length?a:function(e){var t=e.length;return e.map((function(e,n){return 0!==n?n/(t-1):0}))}(c),s);function d(){return pB(f,c,{ease:Array.isArray(i)?i:RB(c,i)})}var p=d();return{next:function(e){return l.value=p(e),l.done=e>=s,l},flipTarget:function(){c.reverse(),p=d()}}}var LB={keyframes:DB,spring:Yz,decay:function(e){var t=e.velocity,n=void 0===t?0:t,r=e.from,o=void 0===r?0:r,i=e.power,a=void 0===i?.8:i,u=e.timeConstant,s=void 0===u?350:u,l=e.restDelta,c=void 0===l?.5:l,f=e.modifyTarget,d={done:!1,value:o},p=a*n,h=o+p,v=void 0===f?h:f(h);return v!==h&&(p=v-o),{next:function(e){var t=-p*Math.exp(-e/s);return d.done=!(t>c||t<-c),d.value=d.done?v:v+t,d},flipTarget:function(){}}}};var MB=1/60*1e3,NB="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},FB="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(NB())}),MB)};var IB=!0,jB=!1,zB=!1,BB={delta:0,timestamp:0},UB=["read","update","preRender","render","postRender"],VB=UB.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],r=0,o=!1,i=!1,a=new WeakSet,u={schedule:function(e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&o,u=i?t:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&a.add(e),-1===u.indexOf(e)&&(u.push(e),i&&o&&(r=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:function(s){if(o)i=!0;else{o=!0;var l=[n,t];if(t=l[0],(n=l[1]).length=0,r=t.length)for(var c=0;c<r;c++){var f=t[c];f(s),a.has(f)&&(u.schedule(f),e())}o=!1,i&&(i=!1,u.process(s))}}};return u}((function(){return jB=!0})),e}),{}),HB=UB.reduce((function(e,t){var n=VB[t];return e[t]=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return jB||KB(),n.schedule(e,t,r)},e}),{}),qB=UB.reduce((function(e,t){return e[t]=VB[t].cancel,e}),{}),YB=UB.reduce((function(e,t){return e[t]=function(){return VB[t].process(BB)},e}),{}),GB=function(e){return VB[e].process(BB)},WB=function e(t){jB=!1,BB.delta=IB?MB:Math.max(Math.min(t-BB.timestamp,40),1),BB.timestamp=t,zB=!0,UB.forEach(GB),zB=!1,jB&&(IB=!1,FB(e))},KB=function(){jB=!0,IB=!0,zB||FB(WB)},XB=function(){return BB};function ZB(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return e-t-n}var QB=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return HB.update(t,!0)},stop:function(){return qB.update(t)}}};function $B(e){var t,n,r,o,i,a=e.from,u=e.autoplay,s=void 0===u||u,l=e.driver,c=void 0===l?QB:l,f=e.elapsed,d=void 0===f?0:f,p=e.repeat,h=void 0===p?0:p,v=e.repeatType,m=void 0===v?"loop":v,g=e.repeatDelay,y=void 0===g?0:g,b=e.onPlay,x=e.onStop,w=e.onComplete,_=e.onRepeat,E=e.onUpdate,S=rI(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),k=S.to,C=0,A=S.duration,T=!1,P=!0,O=function(e){if(Array.isArray(e.to))return DB;if(LB[e.type])return LB[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?DB:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Yz:DB}(S);(null===(n=(t=O).needsInterpolation)||void 0===n?void 0:n.call(t,a,k))&&(i=pB([0,100],[a,k],{clamp:!1}),a=0,k=100);var R=O(Object.assign(Object.assign({},S),{from:a,to:k}));function D(){C++,"reverse"===m?d=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?t-(e-t)+n:ZB(t+-e,t,n)}(d,A,y,P=C%2==0):(d=ZB(d,A,y),"mirror"===m&&R.flipTarget()),T=!1,_&&_()}function L(e){if(P||(e=-e),d+=e,!T){var t=R.next(Math.max(0,d));o=t.value,i&&(o=i(o)),T=P?t.done:d<=0}null==E||E(o),T&&(0===C&&(null!=A||(A=d)),C<h?function(e,t,n,r){return r?e>=t+n:e<=-n}(d,A,y,P)&&D():(r.stop(),w&&w()))}return s&&(null==b||b(),(r=c(L)).start()),{stop:function(){null==x||x(),r.stop()}}}function JB(e,t){return t?e*(1e3/t):0}var eU=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},tU=function(e){return eU(e)&&e.hasOwnProperty("z")},nU=function(e,t){return Math.abs(e-t)};function rU(e,t){if(tB(e)&&tB(t))return nU(e,t);if(eU(e)&&eU(t)){var n=nU(e.x,t.x),r=nU(e.y,t.y),o=tU(e)&&tU(t)?nU(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var oU=function(e,t){return 1-3*t+3*e},iU=function(e,t){return 3*t-6*e},aU=function(e){return 3*e},uU=function(e,t,n){return((oU(t,n)*e+iU(t,n))*e+aU(t))*e},sU=function(e,t,n){return 3*oU(t,n)*e*e+2*iU(t,n)*e+aU(t)};var lU=.1;function cU(e,t,n,r){if(e===t&&n===r)return yB;for(var o=new Float32Array(11),i=0;i<11;++i)o[i]=uU(i*lU,e,n);function a(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=lU;--i;var a=r+(t-o[i])/(o[i+1]-o[i])*lU,u=sU(a,e,n);return u>=.001?function(e,t,n,r){for(var o=0;o<8;++o){var i=sU(t,n,r);if(0===i)return t;t-=(uU(t,n,r)-e)/i}return t}(t,a,e,n):0===u?a:function(e,t,n,r,o){var i,a,u=0;do{(i=uU(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a}while(Math.abs(i)>1e-7&&++u<10);return a}(t,r,r+lU,e,n)}return function(e){return 0===e||1===e?e:uU(a(e),t,r)}}var fU=new Set;var dU=new WeakMap,pU=new WeakMap,hU=function(e){var t;null===(t=dU.get(e.target))||void 0===t||t(e)},vU=function(e){e.forEach(hU)};function mU(e,t,n){var r=function(e){var t=e.root,n=rI(e,["root"]),r=t||document;pU.has(r)||pU.set(r,{});var o=pU.get(r),i=JSON.stringify(n);return o[i]||(o[i]=new IntersectionObserver(vU,nI({root:t},n))),o[i]}(t);return dU.set(e,n),r.observe(e),function(){dU.delete(e),r.unobserve(e)}}var gU={some:0,all:1};function yU(e,t,n,r){var o=r.root,i=r.margin,a=r.amount,u=void 0===a?"some":a,s=r.once;Jr.exports.useEffect((function(){if(e){var r={root:null==o?void 0:o.current,rootMargin:i,threshold:"number"==typeof u?u:gU[u]};return mU(n.getInstance(),r,(function(e){var r,o=e.isIntersecting;if(t.isInView!==o&&(t.isInView=o,!s||o||!t.hasEnteredView)){o&&(t.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(pz.InView,o);var i=n.getProps(),a=o?i.onViewportEnter:i.onViewportLeave;null==a||a(e)}}))}}),[e,o,i,u])}function bU(e,t,n,r){var o=r.fallback,i=void 0===o||o;Jr.exports.useEffect((function(){var r,o;e&&i&&("production"!==aI&&(r="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",!1||fU.has(r)||(console.warn(r),o&&console.warn(o),fU.add(r))),requestAnimationFrame((function(){var e;t.hasEnteredView=!0;var r=n.getProps().onViewportEnter;null==r||r(null),null===(e=n.animationState)||void 0===e||e.setActive(pz.InView,!0)})))}),[e])}var xU=function(e){return function(t){return e(t),null}},wU={inView:xU((function(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,o=e.onViewportLeave,i=e.viewport,a=void 0===i?{}:i,u=Jr.exports.useRef({hasEnteredView:!1,isInView:!1}),s=Boolean(n||r||o);a.once&&u.current.hasEnteredView&&(s=!1),("undefined"==typeof IntersectionObserver?bU:yU)(s,u.current,t,a)})),tap:xU((function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,i=e.visualElement,a=t||n||r||o,u=Jr.exports.useRef(!1),s=Jr.exports.useRef(null),l={passive:!(n||t||r||h)};function c(){var e;null===(e=s.current)||void 0===e||e.call(s),s.current=null}function f(){var e;return c(),u.current=!1,null===(e=i.animationState)||void 0===e||e.setActive(pz.Tap,!1),!Mz()}function d(e,n){f()&&(Fz(i.getInstance(),e.target)?null==t||t(e,n):null==r||r(e,n))}function p(e,t){f()&&(null==r||r(e,t))}function h(e,t){var r;c(),u.current||(u.current=!0,s.current=rB(Tz(window,"pointerup",d,l),Tz(window,"pointercancel",p,l)),null===(r=i.animationState)||void 0===r||r.setActive(pz.Tap,!0),null==n||n(e,t))}Pz(i,"pointerdown",a?h:void 0,l),Iz(c)})),focus:xU((function(e){var t=e.whileFocus,n=e.visualElement;gz(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(pz.Focus,!0)}:void 0),gz(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(pz.Focus,!1)}:void 0)})),hover:xU((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;Pz(o,"pointerenter",t||r?Nz(o,!0,t):void 0,{passive:!t}),Pz(o,"pointerleave",n||r?Nz(o,!1,n):void 0,{passive:!n})}))},_U=0,EU=function(){return _U++};function SU(){var e=Jr.exports.useContext(hI);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=RI(EU);Jr.exports.useEffect((function(){return r(o)}),[]);return!t&&n?[!1,function(){return null==n?void 0:n(o)}]:[!0]}function kU(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var CU=function(e){return 1e3*e},AU={linear:yB,easeIn:bB,easeInOut:wB,easeOut:xB,circIn:_B,circInOut:SB,circOut:EB,backIn:kB,backInOut:AB,backOut:CB,anticipate:TB,bounceIn:OB,bounceInOut:function(e){return e<.5?.5*(1-PB(1-2*e)):.5*PB(2*e-1)+.5},bounceOut:PB},TU=function(e){if(Array.isArray(e)){e.length;var t=oI(e,4);return cU(t[0],t[1],t[2],t[3])}return"string"==typeof e?AU[e]:e},PU=function(e,t){return"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Oj.test(t)||t.startsWith("url(")))},OU=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},RU=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},DU=function(){return{type:"keyframes",ease:"linear",duration:.3}},LU=function(e){return{type:"keyframes",duration:.8,values:e}},MU={x:OU,y:OU,z:OU,rotate:OU,rotateX:OU,rotateY:OU,rotateZ:OU,scaleX:RU,scaleY:RU,scale:RU,opacity:DU,backgroundColor:DU,color:DU,default:RU},NU=nI(nI({},Fj),{color:Ej,backgroundColor:Ej,outlineColor:Ej,fill:Ej,stroke:Ej,borderColor:Ej,borderTopColor:Ej,borderRightColor:Ej,borderBottomColor:Ej,borderLeftColor:Ej,filter:Mj,WebkitFilter:Mj}),FU=function(e){return NU[e]};function IU(e,t){var n,r=FU(e);return r!==Mj&&(r=Oj),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var jU=!1;function zU(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,i=e.loop,a=rI(e,["ease","times","yoyo","flip","loop"]),u=nI({},a);return n&&(u.offset=n),a.duration&&(u.duration=CU(a.duration)),a.repeatDelay&&(u.repeatDelay=CU(a.repeatDelay)),t&&(u.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(TU):TU(t)),"tween"===a.type&&(u.type="keyframes"),(r||i||o)&&(r?u.repeatType="reverse":i?u.repeatType="loop":o&&(u.repeatType="mirror"),u.repeat=i||r||o||a.repeat),"spring"!==a.type&&(u.type="keyframes"),u}function BU(e,t,n){var r;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=iI([],oI(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=rI(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=nI(nI({},e),function(e,t){var n;return n=uz(t)?LU:MU[e]||MU.default,nI({to:t},n(t))}(n,t.to))),nI(nI({},t),zU(e))}function UU(e,t,n,r,o){var i,a=qU(r,e),u=null!==(i=a.from)&&void 0!==i?i:t.get(),s=PU(e,n);return"none"===u&&s&&"string"==typeof n?u=IU(e,n):VU(u)&&"string"==typeof n?u=HU(n):!Array.isArray(n)&&VU(n)&&"string"==typeof u&&(n=HU(u)),PU(e,u)&&s&&!1!==a.type?function(){var r={from:u,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===a.type||"decay"===a.type?function(e){var t,n=e.from,r=void 0===n?0:n,o=e.velocity,i=void 0===o?0:o,a=e.min,u=e.max,s=e.power,l=void 0===s?.8:s,c=e.timeConstant,f=void 0===c?750:c,d=e.bounceStiffness,p=void 0===d?500:d,h=e.bounceDamping,v=void 0===h?10:h,m=e.restDelta,g=void 0===m?1:m,y=e.modifyTarget,b=e.driver,x=e.onUpdate,w=e.onComplete,_=e.onStop;function E(e){return void 0!==a&&e<a||void 0!==u&&e>u}function S(e){return void 0===a?u:void 0===u||Math.abs(a-e)<Math.abs(u-e)?a:u}function k(e){null==t||t.stop(),t=$B(Object.assign(Object.assign({},e),{driver:b,onUpdate:function(t){var n;null==x||x(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:w,onStop:_}))}function C(e){k(Object.assign({type:"spring",stiffness:p,damping:v,restDelta:g},e))}if(E(r))C({from:r,velocity:i,to:S(r)});else{var A=l*i+r;void 0!==y&&(A=y(A));var T,P,O=S(A),R=O===a?-1:1;k({type:"decay",from:r,velocity:i,timeConstant:f,power:l,restDelta:g,modifyTarget:y,onUpdate:E(A)?function(e){T=P,P=e,i=JB(e-T,XB().delta),(1===R&&e>O||-1===R&&e<O)&&C({from:e,to:O,velocity:i})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}(nI(nI({},r),a)):$B(nI(nI({},BU(a,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=a.onUpdate)||void 0===t||t.call(a,e)},onComplete:function(){var e;r.onComplete(),null===(e=a.onComplete)||void 0===e||e.call(a)}}))}:function(){var e,r,i=sz(n);return t.set(i),o(),null===(e=null==a?void 0:a.onUpdate)||void 0===e||e.call(a,i),null===(r=null==a?void 0:a.onComplete)||void 0===r||r.call(a),{stop:function(){}}}}function VU(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function HU(e){return"number"==typeof e?0:IU("",e)}function qU(e,t){return e[t]||e.default||e}function YU(e,t,n,r){return void 0===r&&(r={}),jU&&(r={type:!1}),t.start((function(o){var i,a,u=UU(e,t,n,r,o),s=function(e,t){var n,r;return null!==(r=null!==(n=(qU(e,t)||{}).delay)&&void 0!==n?n:e.delay)&&void 0!==r?r:0}(r,e),l=function(){return a=u()};return s?i=window.setTimeout(l,CU(s)):l(),function(){clearTimeout(i),null==a||a.stop()}}))}var GU=function(e){return/^\-?\d*\.?\d+$/.test(e)},WU=function(e){return/^0[^.\s]+$/.test(e)};function KU(e,t){-1===e.indexOf(t)&&e.push(t)}function XU(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var ZU=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return KU(this.subscriptions,e),function(){return XU(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),QU=function(){function e(e){var t,n=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new ZU,this.velocityUpdateSubscribers=new ZU,this.renderSubscribers=new ZU,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=XB(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,HB.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return HB.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?JB(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function $U(e){return new QU(e)}var JU=function(e){return function(t){return t.test(e)}},eV=[aj,dj,fj,cj,hj,pj,{test:function(e){return"auto"===e},parse:function(e){return e}}],tV=function(e){return eV.find(JU(e))},nV=iI(iI([],oI(eV),!1),[Ej,Oj],!1),rV=function(e){return nV.find(JU(e))};function oV(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,$U(n))}function iV(e,t){if(t)return(t[e]||t.default||t).from}function aV(e,t,n){var r;void 0===n&&(n={});var o=CI(e,t,n.custom),i=(o||{}).transition,a=void 0===i?e.getDefaultTransition()||{}:i;n.transitionOverride&&(a=n.transitionOverride);var u=o?function(){return uV(e,o,n)}:function(){return Promise.resolve()},s=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o=a.delayChildren,i=void 0===o?0:o,u=a.staggerChildren,s=a.staggerDirection;return function(e,t,n,r,o,i){void 0===n&&(n=0);void 0===r&&(r=0);void 0===o&&(o=1);var a=[],u=(e.variantChildren.size-1)*r,s=1===o?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),u-e*r};return Array.from(e.variantChildren).sort(sV).forEach((function(e,r){a.push(aV(e,t,nI(nI({},i),{delay:n+s(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(a)}(e,t,i+r,u,s,n)}:function(){return Promise.resolve()},l=a.when;if(l){var c=oI("beforeChildren"===l?[u,s]:[s,u],2),f=c[0],d=c[1];return f().then(d)}return Promise.all([u(),s(n.delay)])}function uV(e,t,n){var r,o=void 0===n?{}:n,i=o.delay,a=void 0===i?0:i,u=o.transitionOverride,s=o.type,l=e.makeTargetAnimatable(t),c=l.transition,f=void 0===c?e.getDefaultTransition():c,d=l.transitionEnd,p=rI(l,["transition","transitionEnd"]);u&&(f=u);var h=[],v=s&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[s]);for(var m in p){var g=e.getValue(m),y=p[m];if(!(!g||void 0===y||v&&lV(v,m))){var b=nI({delay:a},f);e.shouldReduceMotion&&GI(m)&&(b=nI(nI({},b),{type:!1,delay:0}));var x=YU(m,g,y,b);h.push(x)}}return Promise.all(h).then((function(){d&&function(e,t){var n=CI(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,i=void 0===o?{}:o;r.transition;var a=rI(r,["transitionEnd","transition"]);for(var u in a=nI(nI({},a),i))oV(e,u,sz(a[u]))}(e,d)}))}function sV(e,t){return e.sortNodePosition(t)}function lV(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var cV=[pz.Animate,pz.InView,pz.Focus,pz.Hover,pz.Tap,pz.Drag,pz.Exit],fV=iI([],oI(cV),!1).reverse(),dV=cV.length;function pV(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(t),Array.isArray(t)){var o=t.map((function(t){return aV(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=aV(e,t,n);else{var i="function"==typeof t?CI(e,t,n.custom):t;r=uV(e,i,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}function hV(e){var t=pV(e),n=function(){var e;return(e={})[pz.Animate]=vV(!0),e[pz.InView]=vV(),e[pz.Hover]=vV(),e[pz.Tap]=vV(),e[pz.Drag]=vV(),e[pz.Focus]=vV(),e[pz.Exit]=vV(),e}(),r={},o=!0,i=function(t,n){var r=CI(e,n);if(r){r.transition;var o=r.transitionEnd,i=rI(r,["transition","transitionEnd"]);t=nI(nI(nI({},t),i),o)}return t};function a(a,u){for(var s,l=e.getProps(),c=e.getVariantContext(!0)||{},f=[],d=new Set,p={},h=1/0,v=function(t){var r=fV[t],v=n[r],m=null!==(s=l[r])&&void 0!==s?s:c[r],g=SI(m),y=r===u?v.isActive:null;!1===y&&(h=t);var b=m===c[r]&&m!==l[r]&&g;if(b&&o&&e.manuallyAnimateOnMount&&(b=!1),v.protectedKeys=nI({},p),!v.isActive&&null===y||!m&&!v.prevProp||az(m)||"boolean"==typeof m)return"continue";var x=function(e,t){if("string"==typeof t)return t!==e;if(EI(t))return!kU(t,e);return!1}(v.prevProp,m),w=x||r===u&&v.isActive&&!b&&g||t>h&&g,_=Array.isArray(m)?m:[m],E=_.reduce(i,{});!1===y&&(E={});var S=v.prevResolvedValues,k=void 0===S?{}:S,C=nI(nI({},k),E),A=function(e){w=!0,d.delete(e),v.needsAnimating[e]=!0};for(var T in C){var P=E[T],O=k[T];p.hasOwnProperty(T)||(P!==O?uz(P)&&uz(O)?!kU(P,O)||x?A(T):v.protectedKeys[T]=!0:void 0!==P?A(T):d.add(T):void 0!==P&&d.has(T)?A(T):v.protectedKeys[T]=!0)}v.prevProp=m,v.prevResolvedValues=E,v.isActive&&(p=nI(nI({},p),E)),o&&e.blockInitialAnimation&&(w=!1),w&&!b&&f.push.apply(f,iI([],oI(_.map((function(e){return{animation:e,options:nI({type:r},a)}}))),!1))},m=0;m<dV;m++)v(m);if(r=nI({},p),d.size){var g={};d.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(g[t]=n)})),f.push({animation:g})}var y=Boolean(f.length);return o&&!1===l.initial&&!e.manuallyAnimateOnMount&&(y=!1),o=!1,y?t(f):Promise.resolve()}return{isAnimated:function(e){return void 0!==r[e]},animateChanges:a,setActive:function(t,r,o){var i;if(n[t].isActive===r)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;var u=a(o,t);for(var s in n)n[s].protectedKeys={};return u},setAnimateFunction:function(n){t=n(e)},getState:function(){return n}}}function vV(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var mV={animation:xU((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=hV(t)),az(n)&&Jr.exports.useEffect((function(){return n.subscribe(t)}),[n])})),exit:xU((function(e){var t=e.custom,n=e.visualElement,r=oI(SU(),2),o=r[0],i=r[1],a=Jr.exports.useContext(hI);Jr.exports.useEffect((function(){var e,r;n.isPresent=o;var u=null===(e=n.animationState)||void 0===e?void 0:e.setActive(pz.Exit,!o,{custom:null!==(r=null==a?void 0:a.custom)&&void 0!==r?r:t});!o&&(null==u||u.then(i))}),[o])}))},gV=function(){function e(e,t,n){var r=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=xV(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=rU(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,i=XB().timestamp;r.history.push(nI(nI({},o),{timestamp:i}));var a=r.handlers,u=a.onStart,s=a.onMove;t||(u&&u(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),s&&s(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=yV(t,r.transformPagePoint),yz(e)&&0===e.buttons?r.handlePointerUp(e,t):HB.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=xV(yV(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)},!(bz(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var i=yV(Ez(e),this.transformPagePoint),a=i.point,u=XB().timestamp;this.history=[nI(nI({},a),{timestamp:u})];var s=t.onSessionStart;s&&s(e,xV(i,this.history)),this.removeListeners=rB(Tz(window,"pointermove",this.handlePointerMove),Tz(window,"pointerup",this.handlePointerUp),Tz(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),qB.update(this.updatePoint)},e}();function yV(e,t){return t?{point:t(e.point)}:e}function bV(e,t){return{x:e.x-t.x,y:e.y-t.y}}function xV(e,t){var n=e.point;return{point:n,delta:bV(n,_V(t)),offset:bV(n,wV(t)),velocity:EV(t,.1)}}function wV(e){return e[0]}function _V(e){return e[e.length-1]}function EV(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=_V(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>CU(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function SV(e){return e.max-e.min}function kV(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),rU(e,t)<n}function CV(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=Kz(t.min,t.max,e.origin),e.scale=SV(n)/SV(t),(kV(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Kz(n.min,n.max,e.origin)-e.originPoint,(kV(e.translate)||isNaN(e.translate))&&(e.translate=0)}function AV(e,t,n,r){CV(e.x,t.x,n.x,null==r?void 0:r.originX),CV(e.y,t.y,n.y,null==r?void 0:r.originY)}function TV(e,t,n){e.min=n.min+t.min,e.max=e.min+SV(t)}function PV(e,t,n){e.min=t.min-n.min,e.max=e.min+SV(t)}function OV(e,t,n){PV(e.x,t.x,n.x),PV(e.y,t.y,n.y)}function RV(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function DV(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=oI([o,r],2))[0],o=n[1]),{min:r,max:o}}var LV=.35;function MV(e,t,n){return{min:NV(e,t),max:NV(e,n)}}function NV(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function FV(e){return[e("x"),e("y")]}function IV(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function jV(e){return void 0===e||1===e}function zV(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!jV(t)||!jV(n)||!jV(r)}function BV(e){return zV(e)||UV(e.x)||UV(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function UV(e){return e&&"0%"!==e}function VV(e,t,n){return n+t*(e-n)}function HV(e,t,n,r,o){return void 0!==o&&(e=VV(e,o,r)),VV(e,n,r)+t}function qV(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=HV(e.min,t,n,r,o),e.max=HV(e.max,t,n,r,o)}function YV(e,t){var n=t.x,r=t.y;qV(e.x,n.translate,n.scale,n.originPoint),qV(e.y,r.translate,r.scale,r.originPoint)}function GV(e,t){e.min=e.min+t,e.max=e.max+t}function WV(e,t,n){var r=oI(n,3),o=r[0],i=r[1],a=r[2],u=void 0!==t[a]?t[a]:.5,s=Kz(e.min,e.max,u);qV(e,t[o],t[i],s,t.scale)}var KV=["x","scaleX","originX"],XV=["y","scaleY","originY"];function ZV(e,t){WV(e.x,t,KV),WV(e.y,t,XV)}function QV(e,t){return IV(function(e,t){if(!t)return e;var n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}var $V=new WeakMap,JV=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}return e.prototype.start=function(e,t){var n=this,r=(void 0===t?{}:t).snapToCursor,o=void 0!==r&&r;if(!1!==this.visualElement.isPresent){this.panSession=new gV(e,{onSessionStart:function(e){n.stopAnimation(),o&&n.snapToCursor(Ez(e,"page").point)},onStart:function(e,t){var r,o=n.getProps(),i=o.drag,a=o.dragPropagation,u=o.onDragStart;(!i||a||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=Lz(i),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),FV((function(e){var t,r,o=n.getAxisMotionValue(e).get()||0;if(fj.test(o)){var i=null===(r=null===(t=n.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===r?void 0:r.actual[e];if(i)o=SV(i)*(parseFloat(o)/100)}n.originPoint[e]=o})),null==u||u(e,t),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(pz.Drag,!0))},onMove:function(e,t){var r=n.getProps(),o=r.dragPropagation,i=r.dragDirectionLock,a=r.onDirectionLock,u=r.onDrag;if(o||n.openGlobalLock){var s=t.offset;if(i&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==n.currentDirection&&(null==a||a(n.currentDirection)));n.updateAxis("x",t.point,s),n.updateAxis("y",t.point,s),n.visualElement.syncRender(),null==u||u(e,t)}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(e,t){var n=this.isDragging;if(this.cancel(),n){var r=t.velocity;this.startAnimation(r);var o=this.getProps().onDragEnd;null==o||o(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(pz.Drag,!1)},e.prototype.updateAxis=function(e,t,n){var r=this.getProps().drag;if(n&&eH(e,r,this.currentDirection)){var o=this.getAxisMotionValue(e),i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?Kz(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?Kz(o,e,n.max):Math.min(e,o)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),n=t.dragConstraints,r=t.dragElastic,o=(this.visualElement.projection||{}).layout,i=this.constraints;n&&wI(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!o)&&function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:RV(e.x,r,i),y:RV(e.y,n,o)}}(o.actual,n),this.elastic=function(e){return void 0===e&&(e=LV),!1===e?e=0:!0===e&&(e=LV),{x:MV(e,"left","right"),y:MV(e,"top","bottom")}}(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&FV((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!wI(t))return!1;var r=t.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var i=function(e,t,n){var r=QV(e,n),o=t.scroll;return o&&(GV(r.x,o.x),GV(r.y,o.y)),r}(r,o.root,this.visualElement.getTransformPagePoint()),a=function(e,t){return{x:DV(e.x,t.x),y:DV(e.y,t.y)}}(o.layout.actual,i);if(n){var u=n(function(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}(a));this.hasMutatedConstraints=!!u,u&&(a=IV(u))}return a},e.prototype.startAnimation=function(e){var t=this,n=this.getProps(),r=n.drag,o=n.dragMomentum,i=n.dragElastic,a=n.dragTransition,u=n.dragSnapToOrigin,s=n.onDragTransitionEnd,l=this.constraints||{},c=FV((function(n){var s;if(eH(n,r,t.currentDirection)){var c=null!==(s=null==l?void 0:l[n])&&void 0!==s?s:{};u&&(c={min:0,max:0});var f=i?200:1e6,d=i?40:1e7,p=nI(nI({type:"inertia",velocity:o?e[n]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},a),c);return t.startAxisValueAnimation(n,p)}}));return Promise.all(c).then(s)},e.prototype.startAxisValueAnimation=function(e,t){return YU(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;FV((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,n,r="_drag"+e.toUpperCase(),o=this.visualElement.getProps()[r];return o||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)},e.prototype.snapToCursor=function(e){var t=this;FV((function(n){if(eH(n,t.getProps().drag,t.currentDirection)){var r=t.visualElement.projection,o=t.getAxisMotionValue(n);if(r&&r.layout){var i=r.layout.actual[n],a=i.min,u=i.max;o.set(e[n]-Kz(a,u,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,n=this.getProps(),r=n.drag,o=n.dragConstraints,i=this.visualElement.projection;if(wI(o)&&i&&this.constraints){this.stopAnimation();var a={x:0,y:0};FV((function(e){var n,r,o,i,u,s=t.getAxisMotionValue(e);if(s){var l=s.get();a[e]=(n={min:l,max:l},r=t.constraints[e],o=.5,i=SV(n),(u=SV(r))>i?o=Wz(r.min,r.max-i,n.min):i>u&&(o=Wz(n.min,n.max-u,r.min)),jz(0,1,o))}}));var u=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=u?u({},""):"none",null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout(),this.resolveConstraints(),FV((function(e){if(eH(e,r,null)){var n=t.getAxisMotionValue(e),o=t.constraints[e],i=o.min,u=o.max;n.set(Kz(i,u,a[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;$V.set(this.visualElement,this);var n=Tz(this.visualElement.getInstance(),"pointerdown",(function(e){var n=t.getProps(),r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=function(){wI(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},o=this.visualElement.projection,i=o.addEventListener("measure",r);o&&!o.layout&&(null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout()),r();var a=mz(window,"resize",(function(){return t.scalePositionWithinConstraints()}));return o.addEventListener("didUpdate",(function(e){var n=e.delta,r=e.hasLayoutChanged;t.isDragging&&r&&(FV((function(e){var r=t.getAxisMotionValue(e);r&&(t.originPoint[e]+=n[e].translate,r.set(r.get()+n[e].translate))})),t.visualElement.syncRender())})),function(){a(),n(),i()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,o=void 0!==r&&r,i=e.dragPropagation,a=void 0!==i&&i,u=e.dragConstraints,s=void 0!==u&&u,l=e.dragElastic,c=void 0===l?LV:l,f=e.dragMomentum,d=void 0===f||f;return nI(nI({},e),{drag:n,dragDirectionLock:o,dragPropagation:a,dragConstraints:s,dragElastic:c,dragMomentum:d})},e}();function eH(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var tH={pan:xU((function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,i=e.visualElement,a=t||n||r||o,u=Jr.exports.useRef(null),s=Jr.exports.useContext(dI).transformPagePoint,l={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){u.current=null,r&&r(e,t)}};Jr.exports.useEffect((function(){null!==u.current&&u.current.updateHandlers(l)})),Pz(i,"pointerdown",a&&function(e){u.current=new gV(e,l,{transformPagePoint:s})}),Iz((function(){return u.current&&u.current.end()}))})),drag:xU((function(e){var t=e.dragControls,n=e.visualElement,r=RI((function(){return new JV(n)}));Jr.exports.useEffect((function(){return t&&t.subscribe(r)}),[r,t]),Jr.exports.useEffect((function(){return r.addListeners()}),[r])}))},nH=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];var rH=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,i=e.makeTargetAnimatable,a=e.measureViewportBox,u=e.render,s=e.readValueFromInstance,l=e.removeValueFromRenderState,c=e.sortNodePosition,f=e.scrapeMotionValuesFromProps;return function(e,t){var d=e.parent,p=e.props,h=e.presenceId,v=e.blockInitialAnimation,m=e.visualState,g=e.shouldReduceMotion;void 0===t&&(t={});var y,b,x=!1,w=m.latestValues,_=m.renderState,E=function(){var e=nH.map((function(){return new ZU})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){nH.forEach((function(r){var o,i="on"+r,a=e[i];null===(o=t[r])||void 0===o||o.call(t),a&&(t[r]=n[i](a))}))}};return e.forEach((function(e,t){n["on"+nH[t]]=function(t){return e.add(t)},n["notify"+nH[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,iI([],oI(t),!1))}})),n}(),S=new Map,k=new Map,C={},A=nI({},w);function T(){y&&x&&(P(),u(y,_,p.style,I.projection))}function P(){r(I,_,w,t,p)}function O(){E.notifyUpdate(w)}function R(e,t){var n=t.onChange((function(t){w[e]=t,p.onUpdate&&HB.update(O,!1,!0)})),r=t.onRenderRequest(I.scheduleRender);k.set(e,(function(){n(),r()}))}var D=f(p);for(var L in D){var M=D[L];void 0!==w[L]&&ZI(M)&&M.set(w[L],!1)}var N=AI(p),F=TI(p),I=nI(nI({treeType:n,current:null,depth:d?d.depth+1:0,parent:d,children:new Set,presenceId:h,shouldReduceMotion:g,variantChildren:F?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==d?void 0:d.isMounted()),blockInitialAnimation:v,isMounted:function(){return Boolean(y)},mount:function(e){x=!0,y=I.current=e,I.projection&&I.projection.mount(e),F&&d&&!N&&(b=null==d?void 0:d.addVariantChild(I)),S.forEach((function(e,t){return R(t,e)})),null==d||d.children.add(I),I.setProps(p)},unmount:function(){var e;null===(e=I.projection)||void 0===e||e.unmount(),qB.update(O),qB.render(T),k.forEach((function(e){return e()})),null==b||b(),null==d||d.children.delete(I),E.clearAllListeners(),y=void 0,x=!1},addVariantChild:function(e){var t,n=I.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return c&&n===e.treeType?c(I.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return F?I:null==d?void 0:d.getClosestVariantNode()},getLayoutId:function(){return p.layoutId},getInstance:function(){return y},getStaticValue:function(e){return w[e]},setStaticValue:function(e,t){return w[e]=t},getLatestValues:function(){return w},setVisibility:function(e){I.isVisible!==e&&(I.isVisible=e,I.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),i(I,e,p,t)},measureViewportBox:function(){return a(y,p)},addValue:function(e,t){I.hasValue(e)&&I.removeValue(e),S.set(e,t),w[e]=t.get(),R(e,t)},removeValue:function(e){var t;S.delete(e),null===(t=k.get(e))||void 0===t||t(),k.delete(e),delete w[e],l(e,_)},hasValue:function(e){return S.has(e)},getValue:function(e,t){var n=S.get(e);return void 0===n&&void 0!==t&&(n=$U(t),I.addValue(e,n)),n},forEachValue:function(e){return S.forEach(e)},readValue:function(e){var n;return null!==(n=w[e])&&void 0!==n?n:s(y,e,t)},setBaseTarget:function(e,t){A[e]=t},getBaseTarget:function(e){if(o){var t=o(p,e);if(void 0!==t&&!ZI(t))return t}return A[e]}},E),{build:function(){return P(),_},scheduleRender:function(){HB.render(T,!1,!0)},syncRender:T,setProps:function(e){(e.transformTemplate||p.transformTemplate)&&I.scheduleRender(),p=e,E.updatePropListeners(e),C=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(ZI(i))e.addValue(o,i);else if(ZI(a))e.addValue(o,$U(i));else if(a!==i)if(e.hasValue(o)){var u=e.getValue(o);!u.hasAnimated&&u.set(i)}else e.addValue(o,$U(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(I,f(p),C)},getProps:function(){return p},getVariant:function(e){var t;return null===(t=p.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return p.transition},getTransformPagePoint:function(){return p.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==d?void 0:d.getVariantContext();if(!N){var t=(null==d?void 0:d.getVariantContext())||{};return void 0!==p.initial&&(t.initial=p.initial),t}for(var n={},r=0;r<iH;r++){var o=oH[r],i=p[o];(SI(i)||!1===i)&&(n[o]=i)}return n}});return I}},oH=iI(["initial"],oI(cV),!1),iH=oH.length;function aH(e){return"string"==typeof e&&e.startsWith("var(--")}var uH=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function sH(e,t,n){var r=oI(function(e){var t=uH.exec(e);if(!t)return[,];var n=oI(t,3);return[n[1],n[2]]}(e),2),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():aH(i)?sH(i,t):i}}var lH,cH=new Set(["width","height","top","left","right","bottom","x","y"]),fH=function(e){return cH.has(e)},dH=function(e,t){e.set(t,!1),e.set(t)},pH=function(e){return e===aj||e===dj};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(lH||(lH={}));var hH=function(e,t){return parseFloat(e.split(", ")[t])},vH=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return hH(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?hH(a[1],e):0}},mH=new Set(["x","y","z"]),gH=HI.filter((function(e){return!mH.has(e)}));var yH={width:function(e,t){var n=e.x,r=t.paddingLeft,o=void 0===r?"0":r,i=t.paddingRight,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},height:function(e,t){var n=e.y,r=t.paddingTop,o=void 0===r?"0":r,i=t.paddingBottom,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:vH(4,13),y:vH(5,14)},bH=function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=nI({},t),r=nI({},r);var o=Object.keys(t).filter(fH),i=[],a=!1,u=[];if(o.forEach((function(o){var s=e.getValue(o);if(e.hasValue(o)){var l,c=n[o],f=tV(c),d=t[o];if(uz(d)){var p=d.length,h=null===d[0]?1:0;c=d[h],f=tV(c);for(var v=h;v<p;v++)l?tV(d[v]):l=tV(d[v])}else l=tV(d);if(f!==l)if(pH(f)&&pH(l)){var m=s.get();"string"==typeof m&&s.set(parseFloat(m)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&l===dj&&(t[o]=d.map(parseFloat))}else(null==f?void 0:f.transform)&&(null==l?void 0:l.transform)&&(0===c||0===d)?0===c?s.set(l.transform(c)):t[o]=f.transform(d):(a||(i=function(e){var t=[];return gH.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),a=!0),u.push(o),r[o]=void 0!==r[o]?r[o]:t[o],dH(s,d))}})),u.length){var s=u.indexOf("height")>=0?window.pageYOffset:null,l=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,u={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach((function(e){u[e]=yH[e](r,i)})),t.syncRender();var s=t.measureViewportBox();return n.forEach((function(n){var r=t.getValue(n);dH(r,u[n]),e[n]=yH[n](s,i)})),e}(t,e,u);return i.length&&i.forEach((function(t){var n=oI(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),null!==s&&window.scrollTo({top:s}),{target:l,transitionEnd:r}}return{target:t,transitionEnd:r}};function xH(e,t,n,r){return function(e){return Object.keys(e).some(fH)}(t)?bH(e,t,n,r):{target:t,transitionEnd:r}}var wH=function(e,t,n,r){var o=function(e,t,n){var r,o=rI(t,[]),i=e.getInstance();if(!(i instanceof Element))return{target:o,transitionEnd:n};for(var a in n&&(n=nI({},n)),e.forEachValue((function(e){var t=e.get();if(aH(t)){var n=sH(t,i);n&&e.set(n)}})),o){var u=o[a];if(aH(u)){var s=sH(u,i);s&&(o[a]=s,n&&(null!==(r=n[a])&&void 0!==r||(n[a]=u)))}}return{target:o,transitionEnd:n}}(e,t,r);return xH(e,t=o.target,n,r=o.transitionEnd)};var _H={treeType:"dom",readValueFromInstance:function(e,t){if(GI(t)){var n=FU(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return($I(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return QV(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;void 0===r&&(r=!0);var i=t.transition,a=t.transitionEnd,u=rI(t,["transition","transitionEnd"]),s=function(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=iV(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(u,i||{},e);if(o&&(a&&(a=o(a)),u&&(u=o(u)),s&&(s=o(s))),r){!function(e,t,n){var r,o,i,a,u=Object.keys(t).filter((function(t){return!e.hasValue(t)})),s=u.length;if(s)for(var l=0;l<s;l++){var c=u[l],f=t[c],d=null;Array.isArray(f)&&(d=f[0]),null===d&&(d=null!==(o=null!==(r=n[c])&&void 0!==r?r:e.readValue(c))&&void 0!==o?o:t[c]),null!=d&&("string"==typeof d&&(GU(d)||WU(d))?d=parseFloat(d):!rV(d)&&Oj.test(f)&&(d=IU(c,f)),e.addValue(c,$U(d)),null!==(i=(a=n)[c])&&void 0!==i||(a[c]=d),e.setBaseTarget(c,d))}}(e,u,s);var l=wH(e,u,s,a);a=l.transitionEnd,u=l.target}return nI({transition:i,transitionEnd:a},u)},scrapeMotionValuesFromProps:oz,build:function(e,t,n,r,o){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),Ij(t,n,r,o.transformTemplate)},render:tz},EH=rH(_H),SH=rH(nI(nI({},_H),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return GI(t)?(null===(n=FU(t))||void 0===n?void 0:n.default)||0:(t=nz.has(t)?t:ez(t),e.getAttribute(t))},scrapeMotionValuesFromProps:iz,build:function(e,t,n,r,o){Xj(t,n,r,o.transformTemplate)},render:rz})),kH=function(e,t){return BI(e)?SH(t,{enableHardwareAcceleration:!1}):EH(t,{enableHardwareAcceleration:!0})};function CH(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var AH={correct:function(e,t){if(!t.target)return e;if("string"==typeof e){if(!dj.test(e))return e;e=parseFloat(e)}var n=CH(e,t.target.x),r=CH(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},TH="_$css",PH={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(uH,(function(e){return a.push(e),TH})));var u=Oj.parse(e);if(u.length>5)return o;var s=Oj.createTransformer(e),l="number"!=typeof u[0]?1:0,c=r.x.scale*n.x,f=r.y.scale*n.y;u[0+l]/=c,u[1+l]/=f;var d=Kz(c,f,.5);"number"==typeof u[2+l]&&(u[2+l]/=d),"number"==typeof u[3+l]&&(u[3+l]/=d);var p=s(u);if(i){var h=0;p=p.replace(TH,(function(){var e=a[h];return h++,e}))}return p}},OH=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return tI(t,e),t.prototype.componentDidMount=function(){var e,t=this,n=this.props,r=n.visualElement,o=n.layoutGroup,i=n.switchLayoutGroup,a=n.layoutId,u=r.projection;e=RH,Object.assign(UI,e),u&&((null==o?void 0:o.group)&&o.group.add(u),(null==i?void 0:i.register)&&a&&i.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",(function(){t.safeToRemove()})),u.setOptions(nI(nI({},u.options),{onExitComplete:function(){return t.safeToRemove()}}))),DI.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,n=this.props,r=n.layoutDependency,o=n.visualElement,i=n.drag,a=n.isPresent,u=o.projection;return u?(u.isPresent=a,i||e.layoutDependency!==r||void 0===r?u.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?u.promote():u.relegate()||HB.postRender((function(){var e;(null===(e=u.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,n=e.layoutGroup,r=e.switchLayoutGroup,o=t.projection;o&&(o.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(o),(null==r?void 0:r.deregister)&&r.deregister(o))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null==e||e()},t.prototype.render=function(){return null},t}(Yo.Component);var RH={borderRadius:nI(nI({},AH),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:AH,borderTopRightRadius:AH,borderBottomLeftRadius:AH,borderBottomRightRadius:AH,boxShadow:PH},DH={measureLayout:function(e){var t=oI(SU(),2),n=t[0],r=t[1],o=Jr.exports.useContext(MI);return Fx(OH,Zr({},nI({},e,{layoutGroup:o,switchLayoutGroup:Jr.exports.useContext(NI),isPresent:n,safeToRemove:r})))}};var LH=["TopLeft","TopRight","BottomLeft","BottomRight"],MH=LH.length,NH=function(e){return"string"==typeof e?parseFloat(e):e},FH=function(e){return"number"==typeof e||dj.test(e)};function IH(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}var jH=BH(0,.5,EB),zH=BH(.5,.95,yB);function BH(e,t,n){return function(r){return r<e?0:r>t?1:n(Wz(e,t,r))}}function UH(e,t){e.min=t.min,e.max=t.max}function VH(e,t){UH(e.x,t.x),UH(e.y,t.y)}function HH(e,t,n,r,o){return e=VV(e-=t,1/n,r),void 0!==o&&(e=VV(e,1/o,r)),e}function qH(e,t,n,r,o){var i=oI(n,3),a=i[0],u=i[1],s=i[2];!function(e,t,n,r,o,i,a){if(void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===i&&(i=e),void 0===a&&(a=e),fj.test(t)&&(t=parseFloat(t),t=Kz(a.min,a.max,t/100)-a.min),"number"==typeof t){var u=Kz(i.min,i.max,r);e===i&&(u-=t),e.min=HH(e.min,t,n,u,o),e.max=HH(e.max,t,n,u,o)}}(e,t[a],t[u],t[s],t.scale,r,o)}var YH=["x","scaleX","originX"],GH=["y","scaleY","originY"];function WH(e,t,n,r){qH(e.x,t,YH,null==n?void 0:n.x,null==r?void 0:r.x),qH(e.y,t,GH,null==n?void 0:n.y,null==r?void 0:r.y)}function KH(e){return 0===e.translate&&1===e.scale}function XH(e){return KH(e.x)&&KH(e.y)}function ZH(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var QH=function(){function e(){this.members=[]}return e.prototype.add=function(e){KU(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(XU(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,n=this.members.findIndex((function(t){return e===t}));if(0===n)return!1;for(var r=n;r>=0;r--){var o=this.members[r];if(!1!==o.isPresent){t=o;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var n,r=this.lead;e!==r&&(this.prevLead=r,this.lead=e,e.show(),r&&(r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues,e.snapshot.isShared=!0),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&r.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,n,r,o,i;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(i=null===(r=e.resumingFrom)||void 0===r?void 0:(o=r.options).onExitComplete)||void 0===i||i.call(o)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}();function $H(e,t,n){var r=e.x.translate/t.x,o=e.y.translate/t.y,i="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(i+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),n){var a=n.rotate,u=n.rotateX,s=n.rotateY;a&&(i+="rotate(".concat(a,"deg) ")),u&&(i+="rotateX(".concat(u,"deg) ")),s&&(i+="rotateY(".concat(s,"deg) "))}var l=e.x.scale*t.x,c=e.y.scale*t.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(i+="scale(".concat(l,", ").concat(c,")"))?"none":i}var JH=function(e,t){return e.depth-t.depth},eq=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){KU(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){XU(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(JH),this.isDirty=!1,this.children.forEach(e)},e}();function tq(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,o=e.checkIsScrollRoot,i=e.resetTransform;return function(){function e(e,t,r){var o=this;void 0===t&&(t={}),void 0===r&&(r=null==n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){o.isUpdating&&(o.isUpdating=!1,o.clearAllSnapshots())},this.updateProjection=function(){o.nodes.forEach(sq),o.nodes.forEach(lq)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?iI(iI([],oI(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var i=0;i<this.path.length;i++)this.path[i].shouldResetTransform=!0;this.root===this&&(this.nodes=new eq)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new ZU),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.eventHandlers.get(e);null==r||r.notify.apply(r,iI([],oI(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,n){var r,o=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var i=this.options,a=i.layoutId,u=i.layout,s=i.visualElement;if(s&&!s.getInstance()&&s.mount(e),this.root.nodes.add(this),null===(r=this.parent)||void 0===r||r.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(u||a)&&(this.isLayoutDirty=!0),t){var l,c=function(){return o.root.updateBlockedByResize=!1};t(e,(function(){o.root.updateBlockedByResize=!0,clearTimeout(l),l=window.setTimeout(c,250),DI.hasAnimatedSinceResize&&(DI.hasAnimatedSinceResize=!1,o.nodes.forEach(uq))}))}a&&this.root.registerSharedNode(a,this),!1!==this.options.animate&&s&&(a||u)&&this.addEventListener("didUpdate",(function(e){var t,n,r,i,a,u=e.delta,l=e.hasLayoutChanged,c=e.hasRelativeTargetChanged,f=e.layout;if(o.isTreeAnimationBlocked())return o.target=void 0,void(o.relativeTarget=void 0);var d=null!==(n=null!==(t=o.options.transition)&&void 0!==t?t:s.getDefaultTransition())&&void 0!==n?n:vq,p=s.getProps(),h=p.onLayoutAnimationStart,v=p.onLayoutAnimationComplete,m=!o.targetLayout||!ZH(o.targetLayout,f)||c,g=!l&&c;if((null===(r=o.resumeFrom)||void 0===r?void 0:r.instance)||g||l&&(m||!o.currentAnimation)){o.resumeFrom&&(o.resumingFrom=o.resumeFrom,o.resumingFrom.resumingFrom=void 0),o.setAnimationOrigin(u,g);var y=nI(nI({},qU(d,"layout")),{onPlay:h,onComplete:v});s.shouldReduceMotion&&(y.delay=0,y.type=!1),o.startAnimation(y)}else l||0!==o.animationProgress||o.finishAnimation(),o.isLead()&&(null===(a=(i=o.options).onExitComplete)||void 0===a||a.call(i));o.targetLayout=f}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,qB.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(cq))},e.prototype.willUpdate=function(e){var t,n,r;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var o=0;o<this.path.length;o++){var i=this.path[o];i.shouldResetTransform=!0,i.updateScroll()}var a=this.options,u=a.layoutId,s=a.layout;if(void 0!==u||s){var l=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==l?void 0:l(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(iq);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(mq),this.potentialNodes.clear()),this.nodes.forEach(aq),this.nodes.forEach(nq),this.nodes.forEach(rq),this.clearAllSnapshots(),YB.update(),YB.preRender(),YB.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(oq),this.sharedNodes.forEach(fq)},e.prototype.scheduleUpdateProjection=function(){HB.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;HB.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));yq(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++){this.path[t].updateScroll()}var n=this.measure();yq(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null==r?void 0:r.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=o(this.instance),this.scroll=r(this.instance))},e.prototype.resetTransform=function(){var e;if(i){var t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!XH(this.projectionDelta),r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,o=null==r?void 0:r(this.latestValues,""),a=o!==this.prevTransformTemplateValue;t&&(n||BV(this.latestValues)||a)&&(i(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};var t=e.measureViewportBox(),n=this.root.scroll;return n&&(GV(t.x,n.x),GV(t.y,n.y)),t},e.prototype.removeElementScroll=function(e){var t={x:{min:0,max:0},y:{min:0,max:0}};VH(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n],o=r.scroll,i=r.options,a=r.isScrollRoot;if(r!==this.root&&o&&i.layoutScroll){if(a){VH(t,e);var u=this.root.scroll;u&&(GV(t.x,-u.x),GV(t.y,-u.y))}GV(t.x,o.x),GV(t.y,o.y)}}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var n={x:{min:0,max:0},y:{min:0,max:0}};VH(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&ZV(n,{x:-o.scroll.x,y:-o.scroll.y}),BV(o.latestValues)&&ZV(n,o.latestValues)}return BV(this.latestValues)&&ZV(n,this.latestValues),n},e.prototype.removeTransform=function(e){var t,n={x:{min:0,max:0},y:{min:0,max:0}};VH(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];if(o.instance&&BV(o.latestValues)){zV(o.latestValues)&&o.updateSnapshot();var i={x:{min:0,max:0},y:{min:0,max:0}};VH(i,o.measure()),WH(n,o.latestValues,null===(t=o.snapshot)||void 0===t?void 0:t.layout,i)}}return BV(this.latestValues)&&WH(n,this.latestValues),n},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=nI(nI(nI({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},e.prototype.resolveTargetDelta=function(){var e,t,n,r,o=this.options,i=o.layout,a=o.layoutId;this.layout&&(i||a)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},OV(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),VH(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,n=this.relativeTarget,r=this.relativeParent.target,TV(t.x,n.x,r.x),TV(t.y,n.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):VH(this.target,this.layout.actual),YV(this.target,this.targetDelta)):VH(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},OV(this.relativeTargetOrigin,this.target,this.relativeParent.target),VH(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!BV(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,n=t.layout,r=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var o=this.getLead();VH(this.layoutCorrected,this.layout.actual),function(e,t,n,r){var o,i;void 0===r&&(r=!1);var a=n.length;if(a){var u,s;t.x=t.y=1;for(var l=0;l<a;l++)s=(u=n[l]).projectionDelta,"contents"!==(null===(i=null===(o=u.instance)||void 0===o?void 0:o.style)||void 0===i?void 0:i.display)&&(r&&u.options.layoutScroll&&u.scroll&&u!==u.root&&ZV(e,{x:-u.scroll.x,y:-u.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,YV(e,s)),r&&BV(u.latestValues)&&ZV(e,u.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==o);var i=o.target;if(i){this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});var a=this.treeScale.x,u=this.treeScale.y,s=this.projectionTransform;AV(this.projectionDelta,this.layoutCorrected,i,this.latestValues),this.projectionTransform=$H(this.projectionDelta,this.treeScale),this.projectionTransform===s&&this.treeScale.x===a&&this.treeScale.y===u||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",i))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,n,r;void 0===e&&(e=!0),null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var n,r=this;void 0===t&&(t=!1);var o=this.snapshot,i=(null==o?void 0:o.latestValues)||{},a=nI({},this.latestValues),u={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var s={x:{min:0,max:0},y:{min:0,max:0}},l=null==o?void 0:o.isShared,c=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,f=Boolean(l&&!c&&!0===this.options.crossfade&&!this.path.some(hq));this.animationProgress=0,this.mixTargetDelta=function(t){var n,o=t/1e3;dq(u.x,e.x,o),dq(u.y,e.y,o),r.setTargetDelta(u),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(n=r.relativeParent)||void 0===n?void 0:n.layout)&&(OV(s,r.layout.actual,r.relativeParent.layout.actual),function(e,t,n,r){pq(e.x,t.x,n.x,r),pq(e.y,t.y,n.y,r)}(r.relativeTarget,r.relativeTargetOrigin,s,o)),l&&(r.animationValues=a,function(e,t,n,r,o,i){var a,u,s,l;o?(e.opacity=Kz(0,null!==(a=n.opacity)&&void 0!==a?a:1,jH(r)),e.opacityExit=Kz(null!==(u=t.opacity)&&void 0!==u?u:1,0,zH(r))):i&&(e.opacity=Kz(null!==(s=t.opacity)&&void 0!==s?s:1,null!==(l=n.opacity)&&void 0!==l?l:1,r));for(var c=0;c<MH;c++){var f="border".concat(LH[c],"Radius"),d=IH(t,f),p=IH(n,f);void 0===d&&void 0===p||(d||(d=0),p||(p=0),0===d||0===p||FH(d)===FH(p)?(e[f]=Math.max(Kz(NH(d),NH(p),r),0),(fj.test(p)||fj.test(d))&&(e[f]+="%")):e[f]=p)}(t.rotate||n.rotate)&&(e.rotate=Kz(t.rotate||0,n.rotate||0,r))}(a,i,r.latestValues,o,f,c)),r.root.scheduleUpdateProjection(),r.scheduleRender(),r.animationProgress=o},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,n,r=this;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(qB.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=HB.update((function(){DI.hasAnimatedSinceResize=!0,r.currentAnimation=function(e,t,n){void 0===n&&(n={});var r=ZI(e)?e:$U(e);return YU("",r,t,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}(0,1e3,nI(nI({},e),{onUpdate:function(t){var n;r.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),r.completeAnimation()}})),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,n=e.target,r=e.layout,o=e.latestValues;t&&n&&r&&(VH(t,n),ZV(t,o),AV(this.projectionDeltaWithTransform,this.layoutCorrected,t,o))},e.prototype.registerSharedNode=function(e,t){var n,r,o;this.sharedNodes.has(e)||this.sharedNodes.set(e,new QH),this.sharedNodes.get(e).add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(o=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===o?void 0:o.call(r,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,n=t.needsReset,r=t.transition,o=t.preserveFollowOpacity,i=this.getStack();i&&i.promote(this,o),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,n={},r=0;r<VI.length;r++){var o="rotate"+VI[r];e.getStaticValue(o)&&(t=!0,n[o]=e.getStaticValue(o),e.setStaticValue(o,0))}if(t){for(var o in null==e||e.syncRender(),n)e.setStaticValue(o,n[o]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,n,r,o,i,a;void 0===e&&(e={});var u={};if(!this.instance||this.isSVG)return u;if(!this.isVisible)return{visibility:"hidden"};u.visibility="";var s=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=lz(e.pointerEvents)||"",u.transform=s?s(this.latestValues,""):"none",u;var l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){var c={};return this.options.layoutId&&(c.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,c.pointerEvents=lz(e.pointerEvents)||""),this.hasProjected&&!BV(this.latestValues)&&(c.transform=s?s({},""):"none",this.hasProjected=!1),c}var f=l.animationValues||l.latestValues;this.applyTransformsToTarget(),u.transform=$H(this.projectionDeltaWithTransform,this.treeScale,f),s&&(u.transform=s(f,u.transform));var d=this.projectionDelta,p=d.x,h=d.y;for(var v in u.transformOrigin="".concat(100*p.origin,"% ").concat(100*h.origin,"% 0"),l.animationValues?u.opacity=l===this?null!==(o=null!==(r=f.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==o?o:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:u.opacity=l===this?null!==(i=f.opacity)&&void 0!==i?i:"":null!==(a=f.opacityExit)&&void 0!==a?a:0,UI)if(void 0!==f[v]){var m=UI[v],g=m.correct,y=m.applyTo,b=g(f[v],l);if(y)for(var x=y.length,w=0;w<x;w++)u[y[w]]=b;else u[v]=b}return this.options.layoutId&&(u.pointerEvents=l===this?lz(e.pointerEvents)||"":"none"),u},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(iq),this.root.sharedNodes.clear()},e}()}function nq(e){e.updateLayout()}function rq(e){var t,n,r,o,i=null!==(n=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==n?n:e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){var a=e.layout,u=a.actual,s=a.measured;"size"===e.options.animationType?FV((function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=SV(t);t.min=u[e].min,t.max=t.min+n})):"position"===e.options.animationType&&FV((function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=SV(u[e]);t.max=t.min+n}));var l={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};AV(l,u,i.layout);var c={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i.isShared?AV(c,e.applyTransform(s,!0),i.measured):AV(c,u,i.layout);var f=!XH(l),d=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var p=e.relativeParent,h=p.snapshot,v=p.layout;if(h&&v){var m={x:{min:0,max:0},y:{min:0,max:0}};OV(m,i.layout,h.layout);var g={x:{min:0,max:0},y:{min:0,max:0}};OV(g,u,v.actual),ZH(m,g)||(d=!0)}}e.notifyListeners("didUpdate",{layout:u,snapshot:i,delta:c,layoutDelta:l,hasLayoutChanged:f,hasRelativeTargetChanged:d})}else e.isLead()&&(null===(o=(r=e.options).onExitComplete)||void 0===o||o.call(r));e.options.transition=void 0}function oq(e){e.clearSnapshot()}function iq(e){e.clearMeasurements()}function aq(e){var t=e.options.visualElement;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function uq(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function sq(e){e.resolveTargetDelta()}function lq(e){e.calcProjection()}function cq(e){e.resetRotation()}function fq(e){e.removeLeadSnapshot()}function dq(e,t,n){e.translate=Kz(t.translate,0,n),e.scale=Kz(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function pq(e,t,n,r){e.min=Kz(t.min,n.min,r),e.max=Kz(t.max,n.max,r)}function hq(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var vq={duration:.45,ease:[.4,0,.1,1]};function mq(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var o=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function gq(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function yq(e){gq(e.x),gq(e.y)}var bq,xq=tq({attachResizeListener:function(e,t){return mz(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),wq={current:void 0},_q=tq({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!wq.current){var e=new xq(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),wq.current=e}return wq.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),Eq=nI(nI(nI(nI({},mV),wU),tH),DH),Sq=Ur("X",jI((function(e,t){return function(e,t,n,r,o){var i=t.forwardMotionProps,a=void 0!==i&&i,u=BI(e)?hz:vz;return nI(nI({},u),{preloadedFeatures:n,useRender:$j(a),createVisualElement:r,projectionNodeConstructor:o,Component:e})}(e,t,Eq,kH,_q)}))),kq={exports:{}},Cq={};!function(e){e.exports=function(){if(bq)return Cq;bq=1;var e=Yo,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var u,s={},l=null,c=null;for(u in void 0!==a&&(l=""+a),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,u)&&!i.hasOwnProperty(u)&&(s[u]=n[u]);if(e&&e.defaultProps)for(u in n=e.defaultProps)void 0===s[u]&&(s[u]=n[u]);return{$$typeof:t,type:e,key:l,ref:c,props:s,_owner:o.current}}return Cq.Fragment=n,Cq.jsx=a,Cq.jsxs=a,Cq}()}(kq);var Aq,Tq=kq.exports.Fragment,Pq=kq.exports.jsx,Oq=kq.exports.jsxs,Rq={colorPrimary100:"#FFFFFF",colorPrimary99:"#04162d",colorPrimary95:"#C8F9FF",colorPrimary90:"#87F2FF",colorPrimary80:"#4ED8E9",colorPrimary70:"#21BCCC",colorPrimary60:"#00A0AF",colorPrimary50:"#008491",colorPrimary40:"#006974",colorPrimary30:"#004F57",colorPrimary20:"#00363C",colorPrimary10:"#001F23",colorPrimary0:"#000000"},Dq={colorNeutral100:"#FFFFFF",colorNeutral99:"#FBFDFD",colorNeutral95:"#EFF1F1",colorNeutral90:"#E0E3E3",colorNeutral80:"#C4C7C7",colorNeutral70:"#A9ACAC",colorNeutral60:"#8E9191",colorNeutral50:"#747878",colorNeutral40:"#5C5F5F",colorNeutral30:"#444747",colorNeutral20:"#2D3131",colorNeutral10:"#191C1D",colorNeutral0:"#000000"},Lq={colorBlue70:"#0056D3"},Mq=Object.freeze(Object.defineProperty({__proto__:null,primaryColors:Rq,neutralColors:Dq,blueColors:Lq},Symbol.toStringTag,{value:"Module"})),Nq={"--ll-color-primary":Rq.colorPrimary50,"--ll-color-primary-variant1":Rq.colorPrimary40,"--ll-color-background":Dq.colorNeutral100,"--ll-color-surface":Dq.colorNeutral95,"--ll-color-surface-variant1":Dq.colorNeutral90,"--ll-color-surface-variant2":Dq.colorNeutral80,"--ll-color-on-primary":Dq.colorNeutral100,"--ll-color-on-primary-variant1":Dq.colorNeutral90,"--ll-color-on-background":Dq.colorNeutral10,"--ll-color-on-background-variant1":Dq.colorNeutral30,"--ll-color-on-surface":Dq.colorNeutral10,"--ll-color-on-surface-variant1":Dq.colorNeutral30,"--ll-color-placeholder":Dq.colorNeutral60,"--ll-color-disabled":Dq.colorNeutral60,"--ll-color-border":Dq.colorNeutral90,"--ll-color-link":Lq.colorBlue70},Fq={"--ll-border-radius-small":"".concat(4,"px"),"--ll-border-radius-medium":"".concat(8,"px")},Iq={"--ll-spacing-auto":"auto","--ll-spacing-base-unit":"".concat(4,"px"),"--ll-spacing-xx-small":"var(--ll-spacing-base-unit)","--ll-spacing-x-small":"calc(var(--ll-spacing-base-unit) * 2)","--ll-spacing-small":"calc(var(--ll-spacing-base-unit) * 3)","--ll-spacing-medium":"calc(var(--ll-spacing-base-unit) * 4)","--ll-spacing-large":"calc(var(--ll-spacing-base-unit) * 6)","--ll-spacing-x-large":"calc(var(--ll-spacing-base-unit) * 8)","--ll-spacing-xx-large":"calc(var(--ll-spacing-base-unit) * 12)","--ll-spacing-xxx-large":"calc(var(--ll-spacing-base-unit) * 16)"},jq=Zr(Zr(Zr(Zr(Zr(Zr(Zr({},Nq),Fq),{"--ll-shadow-small":"rgb(0 0 0 / 18%) 0px 2px 5px","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"}),Iq),{"--ll-font-family":"Inter, sans-serif","--ll-font-family-mono":"Consolas, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Monaco, Courier New, Courier, monospace;"}),{"--ll-font-size-base":"12px","--ll-font-size-h1":"calc(var(--ll-font-size-base) * 4)","--ll-font-size-h2":"calc(var(--ll-font-size-base) * 3)","--ll-font-size-h3":"calc(var(--ll-font-size-base) * 2)","--ll-font-size-h4":"calc(var(--ll-font-size-base) * 1.667)","--ll-font-size-h5":"calc(var(--ll-font-size-base) * 1.5)","--ll-font-size-h6":"calc(var(--ll-font-size-base) * 1.333)","--ll-font-size-p":"calc(var(--ll-font-size-base) * 1.167)","--ll-font-size-caption-1":"var(--ll-font-size-base)","--ll-font-size-caption-2":"calc(var(--ll-font-size-base) * 0.833)"}),{"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"}),zq=Zr(Zr({},jq),{},{"--ll-color-primary":Rq.colorPrimary60,"--ll-color-primary-variant1":Rq.colorPrimary50,"--ll-color-background":Dq.colorNeutral10,"--ll-color-surface":Dq.colorNeutral20,"--ll-color-surface-variant1":Dq.colorNeutral30,"--ll-color-surface-variant2":Dq.colorNeutral40,"--ll-color-on-primary":Dq.colorNeutral100,"--ll-color-on-primary-variant1":Dq.colorNeutral90,"--ll-color-on-background":Dq.colorNeutral99,"--ll-color-on-background-variant1":Dq.colorNeutral80,"--ll-color-on-surface":Dq.colorNeutral80,"--ll-color-on-surface-variant1":Dq.colorNeutral90,"--ll-color-placeholder":Dq.colorNeutral70,"--ll-color-disabled":Dq.colorNeutral70,"--ll-color-border":Dq.colorNeutral30,"--ll-color-link":Lq.colorBlue70}),Bq=Object.keys(jq).reduce((function(e,t){return Zr(Zr({},e),{},Qr({},t,"var(".concat(t,")")))}),{}),Uq={day:jq,night:zq},Vq=mE(J||(J=Hr(["\n :root {\n ",";\n }\n"])),(function(e){var t=e.themeName,n=e.overrides;return Zr(Zr({},Uq[t||"day"]),n)})),Hq={default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}},qq=Object.freeze(Object.defineProperty({__proto__:null,transitions:Hq},Symbol.toStringTag,{value:"Module"})),Yq=Object.freeze(Object.defineProperty({__proto__:null,screenSizes:{mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560}},Symbol.toStringTag,{value:"Module"})),Gq=Zr(Zr({colors:Mq},qq),Yq),Wq=yE.span(re||(re=Hr(["\n display: inline-flex;\n color: ",";\n background-color: ",";\n border-radius: ",";\n line-height: 1;\n font-family: ",";\n font-size: ",";\n justify-content: center;\n\n ",";\n"])),(function(e){return e.textColor}),(function(e){return e.backgroundColor}),Bq["--ll-border-radius-small"],Bq["--ll-font-family"],Bq["--ll-font-size-caption-1"],(function(e){var t=e.size;return"small"===t?eE(ee||(ee=Hr(["\n padding: calc("," / 2) ",";\n "])),Bq["--ll-spacing-xx-small"],Bq["--ll-spacing-xx-small"]):"large"===t?eE(te||(te=Hr(["\n padding: calc("," / 2) ",";\n font-size: ",";\n line-height: ",";\n "])),Bq["--ll-spacing-small"],Bq["--ll-spacing-medium"],Bq["--ll-font-size-p"],Bq["--ll-font-size-h6"]):eE(ne||(ne=Hr(["\n padding: "," ",";\n "])),Bq["--ll-spacing-xx-small"],Bq["--ll-spacing-x-small"])})),Kq={exports:{}},Xq={};!function(e){e.exports=function(){if(Aq)return Xq;Aq=1;var e=Yo,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var u,s={},l=null,c=null;for(u in void 0!==a&&(l=""+a),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,u)&&!i.hasOwnProperty(u)&&(s[u]=n[u]);if(e&&e.defaultProps)for(u in n=e.defaultProps)void 0===s[u]&&(s[u]=n[u]);return{$$typeof:t,type:e,key:l,ref:c,props:s,_owner:o.current}}return Xq.Fragment=n,Xq.jsx=a,Xq.jsxs=a,Xq}()}(Kq);var Zq=Kq.exports.Fragment,Qq=Kq.exports.jsx,$q=Kq.exports.jsxs,Jq=function(e){var t=e.text,n=e.size,r=void 0===n?"small":n,o=e.className,i=e.textColor,a=void 0===i?Dq.colorNeutral100:i,u=e.backgroundColor,s=void 0===u?Dq.colorNeutral60:u,l=e.onClick;return Qq(Wq,{size:r,onClick:l,className:o,textColor:a,backgroundColor:s,children:t})},eY=yE.div(oe||(oe=Hr(["\n height: ","px;\n width: ","px;\n fill: ",";\n display: flex;\n\n & > svg {\n fill: inherit;\n height: 100%;\n width: 100%;\n }\n"])),(function(e){return e.height}),(function(e){return e.width}),(function(e){return e.fill})),tY=function(e){var t=e.SVGElement,n=e.fill,r=void 0===n?"--ll-color-on-background":n,o=e.height,i=void 0===o?24:o,a=e.width;return Qq(eY,{fill:r,height:i,width:void 0===a?24:a,children:Qq(t,{})})},nY=function(e){var t=e.variant;return"h1"===t?Bq["--ll-font-size-h1"]:"h2"===t?Bq["--ll-font-size-h2"]:"h3"===t?Bq["--ll-font-size-h3"]:"h4"===t?Bq["--ll-font-size-h4"]:"h5"===t?Bq["--ll-font-size-h5"]:"h6"===t?Bq["--ll-font-size-h6"]:"p"===t?Bq["--ll-font-size-p"]:"caption1"===t?Bq["--ll-font-size-caption-1"]:"caption2"===t?Bq["--ll-font-size-caption-2"]:Bq["--ll-font-size-h2"]},rY=function(e){var t=e.color;return t in Bq?Bq[t]:t},oY=yE.span(ie||(ie=Hr(["\n overflow: hidden;\n display: inline-block;\n width: 100%;\n line-height: ",";\n margin: 0 0 "," 0;\n font-size: inherit;\n font-weight: inherit;\n"])),(function(e){return e.lineHeight||1.45}),(function(e){return e.noMargin?"0":"0.5em"})),iY=yE.div(ae||(ae=Hr(["\n ","\n"])),(function(e){return eE(ue||(ue=Hr(["\n text-align: ",";\n font-size: ",";\n font-family: ",";\n color: ",";\n font-weight: ",";\n overflow: hidden;\n display: flex;\n\n svg {\n height: ",";\n fill: ",";\n }\n\n "," {\n ","\n }\n "])),e.align,nY(e),"sans-serif"===e.family?Bq["--ll-font-family"]:Bq["--ll-font-family-mono"],rY(e),Bq[e.weight],nY(e),rY(e),oY,e.noWrap&&eE(se||(se=Hr(["\n text-overflow: ellipsis;\n white-space: nowrap;\n "]))))})),aY=function(e){var t=e.children,n=e.variant,r=void 0===n?"p":n,o=e.align,i=e.color,a=void 0===i?"--ll-color-on-background":i,u=e.noWrap,s=e.noMargin,l=e.lineHeight,c=e.weight,f=void 0===c?"--ll-font-weight-normal":c,d=e.family,p=void 0===d?"sans-serif":d,h=e.className,v=["caption1","caption2","p"].includes(r)?"p":r;return Qq(iY,{variant:r,align:o,color:a,noWrap:u,weight:f,family:p,children:Qq(oY,{as:v,noMargin:s,className:h,lineHeight:l,children:t})})},uY=yE.a(le||(le=Hr(["\n font-family: ",";\n font-size: ",";\n color: ",";\n cursor: pointer;\n\n ","\n"])),Bq["--ll-font-family"],Bq["--ll-font-size-p"],Bq["--ll-color-link"],(function(e){var t=e.lineClamp;return t&&eE(ce||(ce=Hr(["\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ",";\n "])),t)})),sY=function(e){var t=e.children,n=e.href,r=e.className,o=e.lineClamp;return Qq(uY,{target:"_blank",rel:"noreferrer",lineClamp:o,href:n,className:r,children:t})};function lY(){return lY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lY.apply(this,arguments)}function cY(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];function r(t,r){var o=Jr.exports.createContext(r),i=n.length;function a(t){var n=t.scope,r=t.children,a=qr(t,Rn),u=(null==n?void 0:n[e][i])||o,s=Jr.exports.useMemo((function(){return a}),Object.values(a));return Jr.exports.createElement(u.Provider,{value:s},r)}return n=[].concat(Wr(n),[r]),a.displayName=t+"Provider",[a,function(n,a){var u=(null==a?void 0:a[e][i])||o,s=Jr.exports.useContext(u);if(s)return s;if(void 0!==r)return r;throw new Error("`".concat(n,"` must be used within `").concat(t,"`"))}]}var o=function(){var t=n.map((function(e){return Jr.exports.createContext(e)}));return function(n){var r=(null==n?void 0:n[e])||t;return Jr.exports.useMemo((function(){return Qr({},"__scope".concat(e),Zr(Zr({},n),{},Qr({},e,r)))}),[n,r])}};return o.scopeName=e,[r,fY.apply(void 0,[o].concat(Wr(t)))]}function fY(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if(1===t.length)return r;var o=function(){var e=t.map((function(e){return{useScope:e(),scopeName:e.scopeName}}));return function(t){var n=e.reduce((function(e,n){var r=n.useScope,o=n.scopeName,i=r(t)["__scope".concat(o)];return Zr(Zr({},e),i)}),{});return Jr.exports.useMemo((function(){return Qr({},"__scope".concat(r.scopeName),n)}),[n])}};return o.scopeName=r.scopeName,o}function dY(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function pY(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.forEach((function(t){return dY(t,e)}))}}function hY(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Jr.exports.useCallback(pY.apply(void 0,t),t)}var vY=Jr.exports.forwardRef((function(e,t){var n=e.children,r=qr(e,Dn),o=Jr.exports.Children.toArray(n),i=o.find(yY);if(i){var a=i.props.children,u=o.map((function(e){return e===i?Jr.exports.Children.count(a)>1?Jr.exports.Children.only(null):Jr.exports.isValidElement(a)?a.props.children:null:e}));return Jr.exports.createElement(mY,lY({},r,{ref:t}),Jr.exports.isValidElement(a)?Jr.exports.cloneElement(a,void 0,u):null)}return Jr.exports.createElement(mY,lY({},r,{ref:t}),n)}));vY.displayName="Slot";var mY=Jr.exports.forwardRef((function(e,t){var n=e.children,r=qr(e,Ln);return Jr.exports.isValidElement(n)?Jr.exports.cloneElement(n,Zr(Zr({},function(e,t){var n=Zr({},t),r=function(r){var o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=function(){null==i||i.apply(void 0,arguments),null==o||o.apply(void 0,arguments)}:"style"===r?n[r]=Zr(Zr({},o),i):"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))};for(var o in t)r(o);return Zr(Zr({},e),n)}(r,n.props)),{},{ref:pY(t,n.ref)})):Jr.exports.Children.count(n)>1?Jr.exports.Children.only(null):null}));mY.displayName="SlotClone";var gY=function(e){var t=e.children;return Jr.exports.createElement(Jr.exports.Fragment,null,t)};function yY(e){return Jr.exports.isValidElement(e)&&e.type===gY}var bY=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"].reduce((function(e,t){var n=Jr.exports.forwardRef((function(e,n){var r=e.asChild,o=qr(e,Mn),i=r?vY:t;return Jr.exports.useEffect((function(){window[Symbol.for("radix-ui")]=!0}),[]),Jr.exports.createElement(i,lY({},o,{ref:n}))}));return n.displayName="Primitive.".concat(t),Zr(Zr({},e),{},Qr({},t,n))}),{});var xY=Boolean(null==globalThis?void 0:globalThis.document)?Jr.exports.useLayoutEffect:function(){},wY=Go["useId".toString()]||function(){},_Y=0;function EY(e){var t=$r(Jr.exports.useState(wY()),2),n=t[0],r=t[1];return xY((function(){e||r((function(e){return null!=e?e:String(_Y++)}))}),[e]),e||(n?"radix-".concat(n):"")}var SY=function(e,t){var n=Jr.exports.createContext(t);function r(e){var t=e.children,r=qr(e,On),o=Jr.exports.useMemo((function(){return r}),Object.values(r));return Jr.exports.createElement(n.Provider,{value:o},t)}return r.displayName=e+"Provider",[r,function(r){var o=Jr.exports.useContext(n);if(o)return o;if(void 0!==t)return t;throw new Error("`".concat(r,"` must be used within `").concat(e,"`"))}]}("Label",{id:void 0,controlRef:{current:null}}),kY=$r(SY,2),CY=kY[0],AY=kY[1],TY=Jr.exports.forwardRef((function(e,t){var n=e.htmlFor,r=e.id,o=qr(e,Nn),i=Jr.exports.useRef(null),a=Jr.exports.useRef(null),u=hY(t,a),s=EY(r);return Jr.exports.useEffect((function(){if(n){var e=document.getElementById(n);if(a.current&&e){var t=function(){return e.getAttribute("aria-labelledby")},r=[s,t()].filter(Boolean).join(" ");return e.setAttribute("aria-labelledby",r),i.current=e,function(){var n,r=null===(n=t())||void 0===n?void 0:n.replace(s,"");""===r?e.removeAttribute("aria-labelledby"):r&&e.setAttribute("aria-labelledby",r)}}}}),[s,n]),Jr.exports.createElement(CY,{id:s,controlRef:i},Jr.exports.createElement(bY.span,lY({role:"label",id:s},o,{ref:u,onMouseDown:function(t){var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()},onClick:function(t){var n;if(null===(n=e.onClick)||void 0===n||n.call(e,t),i.current&&!t.defaultPrevented){var r=i.current.contains(t.target),o=!0===t.isTrusted;!r&&o&&(i.current.click(),i.current.focus())}}})))})),PY=function(e){var t=AY("LabelConsumer"),n=t.controlRef;return Jr.exports.useEffect((function(){e&&(n.current=e)}),[e,n]),t.id};yE(TY)(fe||(fe=Hr(["\n font-size: ",";\n font-family: ",";\n color: ",";\n"])),Bq["--ll-font-size-p"],Bq["--ll-font-family"],Bq["--ll-color-placeholder"]);var OY=gE(de||(de=Hr(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]))),RY={small:16,medium:24,large:32},DY=yE.div(pe||(pe=Hr(["\n height: ","px;\n width: ","px;\n border: ","px solid ",";\n border-bottom-color: transparent;\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: "," 1s linear infinite;\n"])),(function(e){var t=e.size;return RY[t]}),(function(e){var t=e.size;return RY[t]}),(function(e){var t=e.size;return RY[t]/6}),Bq["--ll-color-on-surface-variant1"],OY),LY=function(e){var t=e.size;return Qq(DY,{size:void 0===t?"medium":t})},MY={primary:{background:Bq["--ll-color-primary"],onBackground:Bq["--ll-color-on-primary"],hover:Bq["--ll-color-primary-variant1"]}},NY=function(e){var t=e.size;return"".concat("small"===t?32:"large"===t?48:40,"px")},FY=eE(he||(he=Hr(["\n ",";\n\n height: ",";\n"])),(function(e){e.color;return eE(ve||(ve=Hr(["\n color: ",";\n\n &:disabled {\n cursor: default;\n }\n "])),Bq["--ll-color-on-background"])}),NY),IY=eE(me||(me=Hr(["\n ",";\n height: ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t;return eE(ge||(ge=Hr(["\n background-color: ",";\n color: ",";\n border: 1px solid transparent;\n\n &:hover {\n background-color: ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: default;\n }\n "])),MY[n].background,MY[n].onBackground,MY[n].hover,Bq["--ll-color-disabled"])}),NY),jY=eE(ye||(ye=Hr(["\n ",";\n\n &:hover {\n background-color: rgba(0, 0, 0, 0.03);\n }\n\n height: ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t;return eE(be||(be=Hr(["\n border-color: ",";\n border-width: 1px;\n border-style: solid;\n color: ",";\n "])),MY[n].background,MY[n].background)}),NY),zY=yE.div(xe||(xe=Hr(["\n display: flex;\n align-items: center;\n margin-right: ",";\n margin-left: calc(-1 * ",");\n"])),Bq["--ll-spacing-x-small"],Bq["--ll-spacing-xx-small"]),BY=yE.button(we||(we=Hr(["\n font-weight: ",";\n border-radius: ",";\n align-items: center;\n justify-content: center;\n cursor: pointer;\n display: inline-flex;\n background: none;\n border: none;\n box-sizing: border-box;\n\n svg {\n fill: currentColor;\n }\n\n ",";\n ",";\n ",";\n ",";\n"])),Bq["--ll-font-weight-normal"],Bq["--ll-border-radius-small"],(function(e){return{contained:IY,outlined:jY,text:FY}[e.variant]}),(function(e){var t=e.size;return"large"===t?"svg { height: 24px; }":"small"===t?"svg { height: 12px }":"svg { height: 20px; }"}),(function(e){var t=e.size;return"font-size: ".concat("small"===t?Bq["--ll-font-size-caption-1"]:Bq["--ll-font-size-p"])}),(function(e){var t=e.size;return"padding: 0 ".concat("small"===t?Bq["--ll-spacing-x-small"]:"large"===t?Bq["--ll-spacing-medium"]:Bq["--ll-spacing-small"])})),UY=Yo.forwardRef((function(e,t){var n=e.children,r=e.disabled,o=void 0!==r&&r,i=e.onClick,a=e.variant,u=void 0===a?"contained":a,s=e.startAdornment,l=e.size,c=void 0===l?"medium":l,f=e.type,d=void 0===f?"button":f,p=e.color,h=e.isLoading,v=e.className;return Qq(BY,{variant:u,size:c,onClick:function(e){o||!i||h||i(e)},disabled:o||h,className:v,color:p,type:d,ref:t,children:h?Qq(LY,{}):$q(Zq,{children:[s&&Qq(zY,{children:s}),n]})})}));function VY(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.checkForDefaultPrevented,o=void 0===r||r;return function(n){if(null==e||e(n),!1===o||!n.defaultPrevented)return null==t?void 0:t(n)}}function HY(e){var t=Jr.exports.useRef(e);return Jr.exports.useEffect((function(){t.current=e})),Jr.exports.useMemo((function(){return function(){for(var e,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return null===(n=t.current)||void 0===n?void 0:(e=n).call.apply(e,[t].concat(o))}}),[])}function qY(e){var t=e.prop,n=e.defaultProp,r=e.onChange,o=void 0===r?function(){}:r,i=function(e){var t=e.defaultProp,n=e.onChange,r=Jr.exports.useState(t),o=$r(r,1)[0],i=Jr.exports.useRef(o),a=HY(n);return Jr.exports.useEffect((function(){i.current!==o&&(a(o),i.current=o)}),[o,i,a]),r}({defaultProp:n,onChange:o}),a=$r(i,2),u=a[0],s=a[1],l=void 0!==t,c=l?t:u,f=HY(o),d=Jr.exports.useCallback((function(e){if(l){var n="function"==typeof e?e(t):e;n!==t&&f(n)}else s(e)}),[l,t,s,f]);return[c,d]}function YY(e){var t=Jr.exports.useRef({value:e,previous:e});return Jr.exports.useMemo((function(){return t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous}),[e])}function GY(e){var t=$r(Jr.exports.useState(void 0),2),n=t[0],r=t[1];return xY((function(){if(e){r({width:e.offsetWidth,height:e.offsetHeight});var t=new ResizeObserver((function(t){if(Array.isArray(t)&&t.length){var n,o,i=t[0];if("borderBoxSize"in i){var a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;n=u.inlineSize,o=u.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})}}));return t.observe(e,{box:"border-box"}),function(){return t.unobserve(e)}}r(void 0)}),[e]),n}UY.displayName="Button",yE.div(_e||(_e=Hr(["\n display: flex;\n flex-direction: column;\n"]))),yE.div(Ee||(Ee=Hr(["\n position: relative;\n"]))),yE(UY)(Se||(Se=Hr(["\n position: absolute;\n right: 0px;\n top: 0px;\n"]))),yE.input(ke||(ke=Hr(["\n all: unset;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ",";\n padding: 0 ",";\n height: 30px;\n line-height: 1;\n font-size: ",";\n font-family: ",";\n color: ",";\n background-color: ",";\n border: 1px solid ",";\n width: calc(100% - ",");\n\n &:focus {\n box-shadow: ",";\n }\n"])),Bq["--ll-border-radius-small"],Bq["--ll-spacing-x-small"],Bq["--ll-font-size-p"],Bq["--ll-font-family"],Bq["--ll-color-on-background"],Bq["--ll-color-background"],Bq["--ll-color-border"],Bq["--ll-spacing-medium"],Bq["--ll-shadow-small"]);var WY="Switch",KY=$r(cY(WY),2),XY=KY[0],ZY=(KY[1],$r(XY(WY),2)),QY=ZY[0],$Y=ZY[1],JY=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSwitch,r=e["aria-labelledby"],o=e.name,i=e.checked,a=e.defaultChecked,u=e.required,s=e.disabled,l=e.value,c=void 0===l?"on":l,f=e.onCheckedChange,d=qr(e,Fn),p=$r(Jr.exports.useState(null),2),h=p[0],v=p[1],m=hY(t,(function(e){return v(e)})),g=PY(h),y=r||g,b=Jr.exports.useRef(!1),x=!h||Boolean(h.closest("form")),w=$r(qY({prop:i,defaultProp:a,onChange:f}),2),_=w[0],E=void 0!==_&&_,S=w[1];return Jr.exports.createElement(QY,{scope:n,checked:E,disabled:s},Jr.exports.createElement(bY.button,lY({type:"button",role:"switch","aria-checked":E,"aria-labelledby":y,"aria-required":u,"data-state":nG(E),"data-disabled":s?"":void 0,disabled:s,value:c},d,{ref:m,onClick:VY(e.onClick,(function(e){S((function(e){return!e})),x&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())}))})),x&&Jr.exports.createElement(tG,{control:h,bubbles:!b.current,name:o,value:c,checked:E,required:u,disabled:s,style:{transform:"translateX(-100%)"}}))})),eG=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSwitch,r=qr(e,In),o=$Y("SwitchThumb",n);return Jr.exports.createElement(bY.span,lY({"data-state":nG(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))})),tG=function(e){var t=e.control,n=e.checked,r=e.bubbles,o=void 0===r||r,i=qr(e,jn),a=Jr.exports.useRef(null),u=YY(n),s=GY(t);return Jr.exports.useEffect((function(){var e=a.current,t=window.HTMLInputElement.prototype,r=Object.getOwnPropertyDescriptor(t,"checked").set;if(u!==n&&r){var i=new Event("click",{bubbles:o});r.call(e,n),e.dispatchEvent(i)}}),[u,n,o]),Jr.exports.createElement("input",lY({type:"checkbox","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:a,style:Zr(Zr(Zr({},e.style),s),{},{position:"absolute",pointerEvents:"none",opacity:0,margin:0})}))};function nG(e){return e?"checked":"unchecked"}var rG=eG;function oG(e,t){var n=$r(t,2),r=n[0],o=n[1];return Math.min(o,Math.max(r,e))}yE(JY)(Ce||(Ce=Hr(["\n all: unset;\n width: 42px;\n height: 24px;\n background-color: ",';\n border-radius: 13px;\n position: relative;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n &[data-state="checked"] {\n background-color: ',";\n }\n"])),Bq["--ll-color-disabled"],Bq["--ll-color-on-background"]),yE(rG)(Ae||(Ae=Hr(["\n display: block;\n width: 18px;\n height: 18px;\n background-color: ",';\n border-radius: 9px;\n transition: transform 100ms;\n transform: translateX(3px);\n will-change: transform;\n\n &[data-state="checked"] {\n transform: translateX(21px);\n }\n'])),Bq["--ll-color-background"]);var iG=Jr.exports.createContext(void 0);function aG(e){var t=e+"CollectionProvider",n=$r(cY(t),2),r=n[0],o=n[1],i=$r(r(t,{collectionRef:{current:null},itemMap:new Map}),2),a=i[0],u=i[1],s=e+"CollectionSlot",l=Yo.forwardRef((function(e,t){var n=e.scope,r=e.children,o=hY(t,u(s,n).collectionRef);return Yo.createElement(vY,{ref:o},r)})),c=e+"CollectionItemSlot",f="data-radix-collection-item",d=Yo.forwardRef((function(e,t){var n,r=e.scope,o=e.children,i=qr(e,zn),a=Yo.useRef(null),s=hY(t,a),l=u(c,r);return Yo.useEffect((function(){return l.itemMap.set(a,Zr({ref:a},i)),function(){l.itemMap.delete(a)}})),Yo.createElement(vY,(Qr(n={},f,""),Qr(n,"ref",s),n),o)}));return[{Provider:function(e){var t=e.scope,n=e.children,r=Yo.useRef(null),o=Yo.useRef(new Map).current;return Yo.createElement(a,{scope:t,itemMap:o,collectionRef:r},n)},Slot:l,ItemSlot:d},function(t){var n=u(e+"CollectionConsumer",t);return Yo.useCallback((function(){var e=n.collectionRef.current;if(!e)return[];var t=Array.from(e.querySelectorAll("[".concat(f,"]")));return Array.from(n.itemMap.values()).sort((function(e,n){return t.indexOf(e.ref.current)-t.indexOf(n.ref.current)}))}),[n.collectionRef,n.itemMap])},o]}var uG=["PageUp","PageDown"],sG=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],lG={ltr:["ArrowDown","Home","ArrowLeft","PageDown"],rtl:["ArrowDown","Home","ArrowRight","PageDown"]},cG="Slider",fG=$r(aG(cG),3),dG=fG[0],pG=fG[1],hG=fG[2],vG=$r(cY(cG,[hG]),2),mG=vG[0],gG=(vG[1],$r(mG(cG),2)),yG=gG[0],bG=gG[1],xG=Jr.exports.forwardRef((function(e,t){var n=e.name,r=e.min,o=void 0===r?0:r,i=e.max,a=void 0===i?100:i,u=e.step,s=void 0===u?1:u,l=e.orientation,c=void 0===l?"horizontal":l,f=e.disabled,d=void 0!==f&&f,p=e.minStepsBetweenThumbs,h=void 0===p?0:p,v=e.defaultValue,m=void 0===v?[o]:v,g=e.value,y=e.onValueChange,b=void 0===y?function(){}:y,x=qr(e,Bn),w=$r(Jr.exports.useState(null),2),_=w[0],E=w[1],S=hY(t,(function(e){return E(e)})),k=Jr.exports.useRef(new Set),C=Jr.exports.useRef(0),A="horizontal"===c,T=!_||Boolean(_.closest("form")),P=A?SG:kG,O=qY({prop:g,defaultProp:m,onChange:function(e){var t;null===(t=Wr(k.current)[C.current])||void 0===t||t.focus(),b(e)}}),R=$r(O,2),D=R[0],L=void 0===D?[]:D,M=R[1];function N(e,t){var n=function(e){return(String(e).split(".")[1]||"").length}(s),r=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}(Math.round((e-o)/s)*s+o,n),i=oG(r,[o,a]);M((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=MG(e,i,t);return FG(n,h*s)?(C.current=n.indexOf(i),String(n)===String(e)?e:n):e}))}return Jr.exports.createElement(yG,{scope:e.__scopeSlider,disabled:d,min:o,max:a,valueIndexToChangeRef:C,thumbs:k.current,values:L,orientation:c},Jr.exports.createElement(dG.Provider,{scope:e.__scopeSlider},Jr.exports.createElement(dG.Slot,{scope:e.__scopeSlider},Jr.exports.createElement(P,lY({"aria-disabled":d,"data-disabled":d?"":void 0},x,{ref:S,min:o,max:a,onSlideStart:d?void 0:function(e){var t=function(e,t){if(1===e.length)return 0;var n=e.map((function(e){return Math.abs(e-t)})),r=Math.min.apply(Math,Wr(n));return n.indexOf(r)}(L,e);N(e,t)},onSlideMove:d?void 0:function(e){N(e,C.current)},onHomeKeyDown:function(){return!d&&N(o,0)},onEndKeyDown:function(){return!d&&N(a,L.length-1)},onStepKeyDown:function(e){var t=e.event,n=e.direction;if(!d){var r=uG.includes(t.key)||t.shiftKey&&sG.includes(t.key)?10:1,o=C.current;N(L[o]+s*r*n,o)}}})))),T&&L.map((function(e,t){return Jr.exports.createElement(LG,{key:t,name:n?n+(L.length>1?"[]":""):void 0,value:e})})))})),wG=$r(mG(cG,{startEdge:"left",endEdge:"right",size:"width",direction:1}),2),_G=wG[0],EG=wG[1],SG=Jr.exports.forwardRef((function(e,t){var n=e.min,r=e.max,o=e.dir,i=e.onSlideStart,a=e.onSlideMove,u=e.onStepKeyDown,s=qr(e,Un),l=$r(Jr.exports.useState(null),2),c=l[0],f=l[1],d=hY(t,(function(e){return f(e)})),p=Jr.exports.useRef(),h=function(e){var t=Jr.exports.useContext(iG);return e||t||"ltr"}(o),v="ltr"===h;function m(e){var t=p.current||c.getBoundingClientRect(),o=IG([0,t.width],v?[n,r]:[r,n]);return p.current=t,o(e-t.left)}return Jr.exports.createElement(_G,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width"},Jr.exports.createElement(CG,lY({dir:h,"data-orientation":"horizontal"},s,{ref:d,style:Zr(Zr({},s.style),{},Qr({},"--radix-slider-thumb-transform","translateX(-50%)")),onSlideStart:function(e){var t=m(e.clientX);null==i||i(t)},onSlideMove:function(e){var t=m(e.clientX);null==a||a(t)},onSlideEnd:function(){return p.current=void 0},onStepKeyDown:function(e){var t=lG[h].includes(e.key);null==u||u({event:e,direction:t?-1:1})}})))})),kG=Jr.exports.forwardRef((function(e,t){var n=e.min,r=e.max,o=e.onSlideStart,i=e.onSlideMove,a=e.onStepKeyDown,u=qr(e,Vn),s=Jr.exports.useRef(null),l=hY(t,s),c=Jr.exports.useRef();function f(e){var t=c.current||s.current.getBoundingClientRect(),o=IG([0,t.height],[r,n]);return c.current=t,o(e-t.top)}return Jr.exports.createElement(_G,{scope:e.__scopeSlider,startEdge:"bottom",endEdge:"top",size:"height",direction:1},Jr.exports.createElement(CG,lY({"data-orientation":"vertical"},u,{ref:l,style:Zr(Zr({},u.style),{},Qr({},"--radix-slider-thumb-transform","translateY(50%)")),onSlideStart:function(e){var t=f(e.clientY);null==o||o(t)},onSlideMove:function(e){var t=f(e.clientY);null==i||i(t)},onSlideEnd:function(){return c.current=void 0},onStepKeyDown:function(e){var t=lG.ltr.includes(e.key);null==a||a({event:e,direction:t?-1:1})}})))})),CG=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=e.onSlideStart,o=e.onSlideMove,i=e.onSlideEnd,a=e.onHomeKeyDown,u=e.onEndKeyDown,s=e.onStepKeyDown,l=qr(e,Hn),c=bG(cG,n);return Jr.exports.createElement(bY.span,lY({},l,{ref:t,onKeyDown:VY(e.onKeyDown,(function(e){"Home"===e.key?(a(e),e.preventDefault()):"End"===e.key?(u(e),e.preventDefault()):uG.concat(sG).includes(e.key)&&(s(e),e.preventDefault())})),onPointerDown:VY(e.onPointerDown,(function(e){var t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),c.thumbs.has(t)?t.focus():r(e)})),onPointerMove:VY(e.onPointerMove,(function(e){e.target.hasPointerCapture(e.pointerId)&&o(e)})),onPointerUp:VY(e.onPointerUp,(function(e){var t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),i(e))}))}))})),AG=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=qr(e,qn),o=bG("SliderTrack",n);return Jr.exports.createElement(bY.span,lY({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))})),TG="SliderRange",PG=Jr.exports.forwardRef((function(e,t){var n,r=e.__scopeSlider,o=qr(e,Yn),i=bG(TG,r),a=EG(TG,r),u=hY(t,Jr.exports.useRef(null)),s=i.values.length,l=i.values.map((function(e){return NG(e,i.min,i.max)})),c=s>1?Math.min.apply(Math,Wr(l)):0,f=100-Math.max.apply(Math,Wr(l));return Jr.exports.createElement(bY.span,lY({"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0},o,{ref:u,style:Zr(Zr({},e.style),{},(n={},Qr(n,a.startEdge,c+"%"),Qr(n,a.endEdge,f+"%"),n))}))})),OG="SliderThumb",RG=Jr.exports.forwardRef((function(e,t){var n=pG(e.__scopeSlider),r=$r(Jr.exports.useState(null),2),o=r[0],i=r[1],a=hY(t,(function(e){return i(e)})),u=Jr.exports.useMemo((function(){return o?n().findIndex((function(e){return e.ref.current===o})):-1}),[n,o]);return Jr.exports.createElement(DG,lY({},e,{ref:a,index:u}))})),DG=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=e.index,o=qr(e,Gn),i=bG(OG,n),a=EG(OG,n),u=$r(Jr.exports.useState(null),2),s=u[0],l=u[1],c=hY(t,(function(e){return l(e)})),f=GY(s),d=i.values[r],p=void 0===d?0:NG(d,i.min,i.max),h=function(e,t){return t>2?"Value ".concat(e+1," of ").concat(t):2===t?["Minimum","Maximum"][e]:void 0}(r,i.values.length),v=null==f?void 0:f[a.size],m=v?function(e,t,n){var r=e/2,o=IG([0,50],[0,r]);return(r-o(t)*n)*n}(v,p,a.direction):0;return Jr.exports.useEffect((function(){if(s)return i.thumbs.add(s),function(){i.thumbs.delete(s)}}),[s,i.thumbs]),Jr.exports.createElement("span",{style:Qr({transform:"var(--radix-slider-thumb-transform)",position:"absolute"},a.startEdge,"calc(".concat(p,"% + ").concat(m,"px)"))},Jr.exports.createElement(dG.ItemSlot,{scope:e.__scopeSlider},Jr.exports.createElement(bY.span,lY({role:"slider","aria-label":e["aria-label"]||h,"aria-valuemin":i.min,"aria-valuenow":d,"aria-valuemax":i.max,"aria-orientation":i.orientation,"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,tabIndex:i.disabled?void 0:0},o,{ref:c,style:void 0===d?{display:"none"}:e.style,onFocus:VY(e.onFocus,(function(){i.valueIndexToChangeRef.current=r}))}))))})),LG=function(e){var t=e.value,n=qr(e,Wn),r=Jr.exports.useRef(null),o=YY(t);return Jr.exports.useEffect((function(){var e=r.current,n=window.HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(n,"value").set;if(o!==t&&i){var a=new Event("input",{bubbles:!0});i.call(e,t),e.dispatchEvent(a)}}),[o,t]),Jr.exports.createElement("input",lY({style:{display:"none"}},n,{ref:r,defaultValue:t}))};function MG(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=Wr(e);return r[n]=t,r.sort((function(e,t){return e-t}))}function NG(e,t,n){return 100/(n-t)*(e-t)}function FG(e,t){if(t>0){var n=function(e){return e.slice(0,-1).map((function(t,n){return e[n+1]-t}))}(e);return Math.min.apply(Math,Wr(n))>=t}return!0}function IG(e,t){return function(n){if(e[0]===e[1]||t[0]===t[1])return t[0];var r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}var jG=xG,zG=AG,BG=PG,UG=RG;yE.div(Te||(Te=Hr([""]))),yE.div(Pe||(Pe=Hr(["\n display: flex;\n align-items: center;\n"]))),yE(jG)(Oe||(Oe=Hr(["\n position: relative;\n display: flex;\n align-items: center;\n user-select: none;\n touch-action: none;\n height: 20;\n flex: 1;\n"]))),yE(UG)(Re||(Re=Hr(["\n all: unset;\n height: 20px;\n width: 20px;\n border-radius: 50%;\n display: block;\n background-color: ",";\n box-shadow: ",";\n"])),Bq["--ll-color-primary"],Bq["--ll-shadow-medium"]),yE(zG)(De||(De=Hr(["\n height: 4px;\n border-radius: 2px;\n background-color: ",";\n position: relative;\n flex: 1;\n"])),Bq["--ll-color-surface-variant1"]),yE(BG)(Le||(Le=Hr(["\n height: 100%;\n position: absolute;\n background-color: ",";\n border-radius: 2px;\n"])),Bq["--ll-color-primary"]);var VG=yE.div(Me||(Me=Hr(["\n margin: ",";\n flex-shrink: 0;\n"])),(function(e){return function(e){var t=e.vertical,n=e.spacing,r=Bq[n];return t?"".concat(r," 0 0 0"):"0 ".concat(r," 0 0")}(e)})),HG=function(e){var t=e.vertical,n=void 0!==t&&t,r=e.spacing;return Qq(VG,{vertical:n,spacing:void 0===r?"--ll-spacing-auto":r})};var qG,YG="dismissableLayer.update",GG="dismissableLayer.pointerDownOutside",WG="dismissableLayer.focusOutside",KG=Jr.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),XG=Jr.exports.forwardRef((function(e,t){var n=e.disableOutsidePointerEvents,r=void 0!==n&&n,o=e.onEscapeKeyDown,i=e.onPointerDownOutside,a=e.onFocusOutside,u=e.onInteractOutside,s=e.onDismiss,l=qr(e,Kn),c=Jr.exports.useContext(KG),f=$r(Jr.exports.useState(null),2),d=f[0],p=f[1],h=$r(Jr.exports.useState({}),2)[1],v=hY(t,(function(e){return p(e)})),m=Array.from(c.layers),g=$r(Wr(c.layersWithOutsidePointerEventsDisabled).slice(-1),1)[0],y=m.indexOf(g),b=d?m.indexOf(d):-1,x=c.layersWithOutsidePointerEventsDisabled.size>0,w=b>=y,_=function(e){var t=HY(e),n=Jr.exports.useRef(!1),r=Jr.exports.useRef((function(){}));return Jr.exports.useEffect((function(){var e=function(e){if(e.target&&!n.current){var o=function(){QG(GG,t,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(document.removeEventListener("click",r.current),r.current=o,document.addEventListener("click",r.current,{once:!0})):o()}n.current=!1},o=window.setTimeout((function(){document.addEventListener("pointerdown",e)}),0);return function(){window.clearTimeout(o),document.removeEventListener("pointerdown",e),document.removeEventListener("click",r.current)}}),[t]),{onPointerDownCapture:function(){return n.current=!0}}}((function(e){var t=e.target,n=Wr(c.branches).some((function(e){return e.contains(t)}));!w||n||(null==i||i(e),null==u||u(e),e.defaultPrevented||null==s||s())})),E=function(e){var t=HY(e),n=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=function(e){e.target&&!n.current&&QG(WG,t,{originalEvent:e},{discrete:!1})};return document.addEventListener("focusin",e),function(){return document.removeEventListener("focusin",e)}}),[t]),{onFocusCapture:function(){return n.current=!0},onBlurCapture:function(){return n.current=!1}}}((function(e){var t=e.target;Wr(c.branches).some((function(e){return e.contains(t)}))||(null==a||a(e),null==u||u(e),e.defaultPrevented||null==s||s())}));return function(e){var t=HY(e);Jr.exports.useEffect((function(){var e=function(e){"Escape"===e.key&&t(e)};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}),[t])}((function(e){b===c.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))})),Jr.exports.useEffect((function(){if(d)return r&&(0===c.layersWithOutsidePointerEventsDisabled.size&&(qG=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),ZG(),function(){r&&1===c.layersWithOutsidePointerEventsDisabled.size&&(document.body.style.pointerEvents=qG)}}),[d,r,c]),Jr.exports.useEffect((function(){return function(){!d||(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),ZG())}}),[d,c]),Jr.exports.useEffect((function(){var e=function(){return h({})};return document.addEventListener(YG,e),function(){return document.removeEventListener(YG,e)}}),[]),Jr.exports.createElement(bY.div,lY({},l,{ref:v,style:Zr({pointerEvents:x?w?"auto":"none":void 0},e.style),onFocusCapture:VY(e.onFocusCapture,E.onFocusCapture),onBlurCapture:VY(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:VY(e.onPointerDownCapture,_.onPointerDownCapture)}))}));function ZG(){var e=new CustomEvent(YG);document.dispatchEvent(e)}function QG(e,t,n,r){var o=r.discrete,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?function(e,t){e&&Ko.exports.flushSync((function(){return e.dispatchEvent(t)}))}(i,a):i.dispatchEvent(a)}var $G=0;function JG(){Jr.exports.useEffect((function(){var e,t,n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:eW()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:eW()),$G++,function(){1===$G&&document.querySelectorAll("[data-radix-focus-guard]").forEach((function(e){return e.remove()})),$G--}}),[])}function eW(){var e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var tW="focusScope.autoFocusOnMount",nW="focusScope.autoFocusOnUnmount",rW={bubbles:!1,cancelable:!0},oW=Jr.exports.forwardRef((function(e,t){var n=e.loop,r=void 0!==n&&n,o=e.trapped,i=void 0!==o&&o,a=e.onMountAutoFocus,u=e.onUnmountAutoFocus,s=qr(e,Xn),l=$r(Jr.exports.useState(null),2),c=l[0],f=l[1],d=HY(a),p=HY(u),h=Jr.exports.useRef(null),v=hY(t,(function(e){return f(e)})),m=Jr.exports.useRef({paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}}).current;Jr.exports.useEffect((function(){if(i){var e=function(e){if(!m.paused&&c){var t=e.target;c.contains(t)?h.current=t:lW(h.current,{select:!0})}},t=function(e){m.paused||!c||c.contains(e.relatedTarget)||lW(h.current,{select:!0})};return document.addEventListener("focusin",e),document.addEventListener("focusout",t),function(){document.removeEventListener("focusin",e),document.removeEventListener("focusout",t)}}}),[i,c,m.paused]),Jr.exports.useEffect((function(){if(c){cW.add(m);var e=document.activeElement;if(!c.contains(e)){var t=new CustomEvent(tW,rW);c.addEventListener(tW,d),c.dispatchEvent(t),t.defaultPrevented||(function(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).select,r=void 0!==n&&n,o=document.activeElement,i=vo(e);try{for(i.s();!(t=i.n()).done;){if(lW(t.value,{select:r}),document.activeElement!==o)return}}catch(a){i.e(a)}finally{i.f()}}(function(e){return e.filter((function(e){return"A"!==e.tagName}))}(iW(c)),{select:!0}),document.activeElement===e&&lW(c))}return function(){c.removeEventListener(tW,d),setTimeout((function(){var t=new CustomEvent(nW,rW);c.addEventListener(nW,p),c.dispatchEvent(t),t.defaultPrevented||lW(null!=e?e:document.body,{select:!0}),c.removeEventListener(nW,p),cW.remove(m)}),0)}}}),[c,d,p,m]);var g=Jr.exports.useCallback((function(e){if((r||i)&&!m.paused){var t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var o=e.currentTarget,a=function(e){var t=iW(e),n=aW(t,e),r=aW(t.reverse(),e);return[n,r]}(o),u=$r(a,2),s=u[0],l=u[1];s&&l?e.shiftKey||n!==l?e.shiftKey&&n===s&&(e.preventDefault(),r&&lW(l,{select:!0})):(e.preventDefault(),r&&lW(s,{select:!0})):n===o&&e.preventDefault()}}}),[r,i,m.paused]);return Jr.exports.createElement(bY.div,lY({tabIndex:-1},s,{ref:v,onKeyDown:g}))}));function iW(e){for(var t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:function(e){var t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});n.nextNode();)t.push(n.currentNode);return t}function aW(e,t){var n,r=vo(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!uW(o,{upTo:t}))return o}}catch(i){r.e(i)}finally{r.f()}}function uW(e,t){var n=t.upTo;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==n&&e===n)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function sW(e){return e instanceof HTMLInputElement&&"select"in e}function lW(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.select,r=void 0!==n&&n;if(e&&e.focus){var o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&sW(e)&&r&&e.select()}}var cW=function(){var e=[];return{add:function(t){var n=e[0];t!==n&&(null==n||n.pause()),(e=fW(e,t)).unshift(t)},remove:function(t){var n;null===(n=(e=fW(e,t))[0])||void 0===n||n.resume()}}}();function fW(e,t){var n=Wr(e),r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}function dW(e){return e.split("-")[0]}function pW(e){return e.split("-")[1]}function hW(e){return["top","bottom"].includes(dW(e))?"x":"y"}function vW(e){return"y"===e?"height":"width"}function mW(e,t,n){var r,o=e.reference,i=e.floating,a=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,s=hW(t),l=vW(s),c=o[l]/2-i[l]/2,f="x"===s;switch(dW(t)){case"top":r={x:a,y:o.y-i.height};break;case"bottom":r={x:a,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:u};break;case"left":r={x:o.x-i.width,y:u};break;default:r={x:o.x,y:o.y}}switch(pW(t)){case"start":r[s]-=c*(n&&f?-1:1);break;case"end":r[s]+=c*(n&&f?-1:1)}return r}var gW=function(){var e=Vr(Br().mark((function e(t,n,r){var o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.placement,i=void 0===o?"bottom":o,a=r.strategy,u=void 0===a?"absolute":a,s=r.middleware,l=void 0===s?[]:s,c=r.platform,e.next=9,null==c.isRTL?void 0:c.isRTL(n);case 9:return f=e.sent,e.next=12,c.getElementRects({reference:t,floating:n,strategy:u});case 12:d=e.sent,p=mW(d,i,f),h=p.x,v=p.y,m=i,g={},y=0,b=0;case 20:if(!(b<l.length)){e.next=52;break}return x=l[b],w=x.name,_=x.fn,e.next=26,_({x:h,y:v,initialPlacement:i,placement:m,strategy:u,middlewareData:g,rects:d,platform:c,elements:{reference:t,floating:n}});case 26:if(E=e.sent,S=E.x,k=E.y,C=E.data,A=E.reset,h=null!=S?S:h,v=null!=k?k:v,g=Zr(Zr({},g),{},Qr({},w,Zr(Zr({},g[w]),C))),!(A&&y<=50)){e.next=49;break}if(y++,e.t0="object"==ho(A),!e.t0){e.next=47;break}if(A.placement&&(m=A.placement),e.t1=A.rects,!e.t1){e.next=46;break}if(!0!==A.rects){e.next=44;break}return e.next=41,c.getElementRects({reference:t,floating:n,strategy:u});case 41:e.t2=e.sent,e.next=45;break;case 44:e.t2=A.rects;case 45:d=e.t2;case 46:T=mW(d,m,f),h=T.x,v=T.y;case 47:return b=-1,e.abrupt("continue",49);case 49:b++,e.next=20;break;case 52:return e.abrupt("return",{x:h,y:v,placement:m,strategy:u,middlewareData:g});case 53:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();function yW(e){return"number"!=typeof e?function(e){return Zr({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function bW(e){return Zr(Zr({},e),{},{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function xW(e,t){return wW.apply(this,arguments)}function wW(){return wW=Vr(Br().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n={}),o=t.x,i=t.y,a=t.platform,u=t.rects,s=t.elements,l=t.strategy,f=(c=n).boundary,d=void 0===f?"clippingAncestors":f,p=c.rootBoundary,h=void 0===p?"viewport":p,v=c.elementContext,m=void 0===v?"floating":v,g=c.altBoundary,y=void 0!==g&&g,b=c.padding,x=yW(void 0===b?0:b),w=s[y?"floating"===m?"reference":"floating":m],e.t0=bW,e.t1=a,e.next=24,null==a.isElement?void 0:a.isElement(w);case 24:if(e.t3=r=e.sent,e.t2=null==e.t3,e.t2){e.next=28;break}e.t2=r;case 28:if(!e.t2){e.next=32;break}e.t4=w,e.next=38;break;case 32:if(e.t5=w.contextElement,e.t5){e.next=37;break}return e.next=36,null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating);case 36:e.t5=e.sent;case 37:e.t4=e.t5;case 38:return e.t6=e.t4,e.t7=d,e.t8=h,e.t9=l,e.t10={element:e.t6,boundary:e.t7,rootBoundary:e.t8,strategy:e.t9},e.next=45,e.t1.getClippingRect.call(e.t1,e.t10);case 45:if(e.t11=e.sent,_=(0,e.t0)(e.t11),e.t12=bW,!a.convertOffsetParentRelativeRectToViewportRelativeRect){e.next=61;break}return e.t14=a,e.t15="floating"===m?Zr(Zr({},u.floating),{},{x:o,y:i}):u.reference,e.next=53,null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating);case 53:return e.t16=e.sent,e.t17=l,e.t18={rect:e.t15,offsetParent:e.t16,strategy:e.t17},e.next=58,e.t14.convertOffsetParentRelativeRectToViewportRelativeRect.call(e.t14,e.t18);case 58:e.t13=e.sent,e.next=62;break;case 61:e.t13=u[m];case 62:return e.t19=e.t13,E=(0,e.t12)(e.t19),e.abrupt("return",{top:_.top-E.top+x.top,bottom:E.bottom-_.bottom+x.bottom,left:_.left-E.left+x.left,right:E.right-_.right+x.right});case 65:case"end":return e.stop()}}),e)}))),wW.apply(this,arguments)}var _W=Math.min,EW=Math.max;function SW(e,t,n){return EW(e,_W(t,n))}var kW=function(e){return{name:"arrow",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T,P,O,R;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(a=(i=null!=e?e:{}).element,u=i.padding,s=void 0===u?0:u,l=t.x,c=t.y,f=t.placement,d=t.rects,p=t.platform,null!=a){n.next=3;break}return n.abrupt("return",{});case 3:return h=yW(s),v={x:l,y:c},m=hW(f),g=pW(f),y=vW(m),n.next=10,p.getDimensions(a);case 10:return b=n.sent,x="y"===m?"top":"left",w="y"===m?"bottom":"right",_=d.reference[y]+d.reference[m]-v[m]-d.floating[y],E=v[m]-d.reference[m],n.next=17,null==p.getOffsetParent?void 0:p.getOffsetParent(a);case 17:return S=n.sent,0===(k=S?"y"===m?S.clientHeight||0:S.clientWidth||0:0)&&(k=d.floating[y]),C=_/2-E/2,A=h[x],T=k-b[y]-h[w],P=k/2-b[y]/2+C,O=SW(A,P,T),R=("start"===g?h[x]:h[w])>0&&P!==O&&d.reference[y]<=d.floating[y]?P<A?A-P:T-P:0,n.abrupt("return",(Qr(o={},m,v[m]-R),Qr(o,"data",(Qr(r={},m,O),Qr(r,"centerOffset",P-O),r)),o));case 22:case"end":return n.stop()}}),n)})))()}}},CW={left:"right",right:"left",bottom:"top",top:"bottom"};function AW(e){return e.replace(/left|right|bottom|top/g,(function(e){return CW[e]}))}function TW(e,t,n){void 0===n&&(n=!1);var r=pW(e),o=hW(e),i=vW(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=AW(a)),{main:a,cross:AW(a)}}var PW={start:"end",end:"start"};function OW(e){return e.replace(/start|end/g,(function(e){return PW[e]}))}var RW=["top","right","bottom","left"];function DW(e){var t=AW(e);return[OW(e),t,OW(t)]}var LW=function(e){return void 0===e&&(e={}),{name:"flip",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T,P,O,R,D,L,M,N,F;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.placement,i=t.middlewareData,a=t.rects,u=t.initialPlacement,s=t.platform,l=t.elements,f=(c=e).mainAxis,d=void 0===f||f,p=c.crossAxis,h=void 0===p||p,v=c.fallbackPlacements,m=c.fallbackStrategy,g=void 0===m?"bestFit":m,y=c.flipAlignment,b=void 0===y||y,x=qr(c,Zn),w=dW(o),_=v||(w!==u&&b?DW(u):[AW(u)]),E=[u].concat(Wr(_)),n.next=22,xW(t,x);case 22:if(S=n.sent,k=[],C=(null==(r=i.flip)?void 0:r.overflows)||[],d&&k.push(S[w]),!h){n.next=36;break}return n.t0=TW,n.t1=o,n.t2=a,n.next=31,null==s.isRTL?void 0:s.isRTL(l.floating);case 31:n.t3=n.sent,A=(0,n.t0)(n.t1,n.t2,n.t3),T=A.main,P=A.cross,k.push(S[T],S[P]);case 36:if(C=[].concat(Wr(C),[{placement:o,overflows:k}]),k.every((function(e){return e<=0}))){n.next=51;break}if(D=(null!=(O=null==(R=i.flip)?void 0:R.index)?O:0)+1,!(L=E[D])){n.next=40;break}return n.abrupt("return",{data:{index:D,overflows:C},reset:{placement:L}});case 40:M="bottom",n.t4=g,n.next="bestFit"===n.t4?44:"initialPlacement"===n.t4?47:49;break;case 44:return F=null==(N=C.map((function(e){return[e,e.overflows.filter((function(e){return e>0})).reduce((function(e,t){return e+t}),0)]})).sort((function(e,t){return e[1]-t[1]}))[0])?void 0:N[0].placement,F&&(M=F),n.abrupt("break",49);case 47:return M=u,n.abrupt("break",49);case 49:if(o===M){n.next=51;break}return n.abrupt("return",{reset:{placement:M}});case 51:return n.abrupt("return",{});case 52:case"end":return n.stop()}}),n)})))()}}};function MW(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function NW(e){return RW.some((function(t){return e[t]>=0}))}var FW=function(e){var t=void 0===e?{}:e,n=t.strategy,r=void 0===n?"referenceHidden":n,o=qr(t,Qn);return{name:"hide",fn:function(e){return Vr(Br().mark((function t(){var n,i,a,u,s;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.rects,t.t0=r,t.next="referenceHidden"===t.t0?4:"escaped"===t.t0?9:14;break;case 4:return t.next=6,xW(e,Zr(Zr({},o),{},{elementContext:"reference"}));case 6:return i=t.sent,a=MW(i,n.reference),t.abrupt("return",{data:{referenceHiddenOffsets:a,referenceHidden:NW(a)}});case 9:return t.next=11,xW(e,Zr(Zr({},o),{},{altBoundary:!0}));case 11:return u=t.sent,s=MW(u,n.floating),t.abrupt("return",{data:{escapedOffsets:s,escaped:NW(s)}});case 14:return t.abrupt("return",{});case 15:case"end":return t.stop()}}),t)})))()}}};function IW(e,t){return jW.apply(this,arguments)}function jW(){return jW=Vr(Br().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.placement,o=t.platform,i=t.elements,e.next=5,null==o.isRTL?void 0:o.isRTL(i.floating);case 5:return a=e.sent,u=dW(r),s=pW(r),l="x"===hW(r),c=["left","top"].includes(u)?-1:1,f=a&&l?-1:1,d="function"==typeof n?n(t):n,p="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:Zr({mainAxis:0,crossAxis:0,alignmentAxis:null},d),h=p.mainAxis,v=p.crossAxis,m=p.alignmentAxis,e.abrupt("return",(s&&"number"==typeof m&&(v="end"===s?-1*m:m),l?{x:v*f,y:h*c}:{x:h*c,y:v*f}));case 14:case"end":return e.stop()}}),e)}))),jW.apply(this,arguments)}var zW=function(e){return void 0===e&&(e=0),{name:"offset",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.x,o=t.y,n.next=4,IW(t,e);case 4:return i=n.sent,n.abrupt("return",{x:r+i.x,y:o+i.y,data:i});case 6:case"end":return n.stop()}}),n)})))()}}};function BW(e){return"x"===e?"y":"x"}var UW=function(e){return void 0===e&&(e={}),{name:"shift",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.x,i=t.y,a=t.placement,s=(u=e).mainAxis,l=void 0===s||s,c=u.crossAxis,f=void 0!==c&&c,d=u.limiter,p=void 0===d?{fn:function(e){return{x:e.x,y:e.y}}}:d,h=qr(u,$n),v={x:o,y:i},n.next=14,xW(t,h);case 14:return m=n.sent,g=hW(dW(a)),y=BW(g),b=v[g],x=v[y],l&&(w="y"===g?"bottom":"right",_=b+m["y"===g?"top":"left"],E=b-m[w],b=SW(_,b,E)),f&&(S="y"===y?"bottom":"right",k=x+m["y"===y?"top":"left"],C=x-m[S],x=SW(k,x,C)),A=p.fn(Zr(Zr({},t),{},(Qr(r={},g,b),Qr(r,y,x),r))),n.abrupt("return",Zr(Zr({},A),{},{data:{x:A.x-o,y:A.y-i}}));case 22:case"end":return n.stop()}}),n)})))()}}},VW=function(e){return void 0===e&&(e={}),{options:e,fn:function(t){var n,r=t.x,o=t.y,i=t.placement,a=t.rects,u=t.middlewareData,s=e,l=s.offset,c=void 0===l?0:l,f=s.mainAxis,d=void 0===f||f,p=s.crossAxis,h=void 0===p||p,v={x:r,y:o},m=hW(i),g=BW(m),y=v[m],b=v[g],x="function"==typeof c?c(Zr(Zr({},a),{},{placement:i})):c,w="number"==typeof x?{mainAxis:x,crossAxis:0}:Zr({mainAxis:0,crossAxis:0},x);if(d){var _="y"===m?"height":"width",E=a.reference[m]-a.floating[_]+w.mainAxis,S=a.reference[m]+a.reference[_]-w.mainAxis;y<E?y=E:y>S&&(y=S)}if(h){var k,C,A,T,P="y"===m?"width":"height",O=["top","left"].includes(dW(i)),R=a.reference[g]-a.floating[P]+(O&&null!=(k=null==(C=u.offset)?void 0:C[g])?k:0)+(O?0:w.crossAxis),D=a.reference[g]+a.reference[P]+(O?0:null!=(A=null==(T=u.offset)?void 0:T[g])?A:0)-(O?w.crossAxis:0);b<R?b=R:b>D&&(b=D)}return Qr(n={},m,y),Qr(n,g,b),n}}};function HW(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function qW(e){if(null==e)return window;if(!HW(e)){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function YW(e){return qW(e).getComputedStyle(e)}function GW(e){return HW(e)?"":e?(e.nodeName||"").toLowerCase():""}function WW(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function KW(e){return e instanceof qW(e).HTMLElement}function XW(e){return e instanceof qW(e).Element}function ZW(e){return!(("undefined"==typeof ShadowRoot?"undefined":ho(ShadowRoot))>"u")&&(e instanceof qW(e).ShadowRoot||e instanceof ShadowRoot)}function QW(e){var t=YW(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function $W(e){return["table","td","th"].includes(GW(e))}function JW(e){var t=/firefox/i.test(WW()),n=YW(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function eK(){return!/^((?!chrome|android).)*safari/i.test(WW())}var tK=Math.min,nK=Math.max,rK=Math.round;function oK(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);var u=e.getBoundingClientRect(),s=1,l=1;t&&KW(e)&&(s=e.offsetWidth>0&&rK(u.width)/e.offsetWidth||1,l=e.offsetHeight>0&&rK(u.height)/e.offsetHeight||1);var c=XW(e)?qW(e):window,f=!eK()&&n,d=(u.left+(f&&null!=(r=null==(o=c.visualViewport)?void 0:o.offsetLeft)?r:0))/s,p=(u.top+(f&&null!=(i=null==(a=c.visualViewport)?void 0:a.offsetTop)?i:0))/l,h=u.width/s,v=u.height/l;return{width:h,height:v,top:p,right:d+h,bottom:p+v,left:d,x:d,y:p}}function iK(e){return((function(e){return e instanceof qW(e).Node}(e)?e.ownerDocument:e.document)||window.document).documentElement}function aK(e){return XW(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function uK(e){return oK(iK(e)).left+aK(e).scrollLeft}function sK(e,t,n){var r=KW(t),o=iK(t),i=oK(e,r&&function(e){var t=oK(e);return rK(t.width)!==e.offsetWidth||rK(t.height)!==e.offsetHeight}(t),"fixed"===n),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==GW(t)||QW(o))&&(a=aK(t)),KW(t)){var s=oK(t,!0);u.x=s.x+t.clientLeft,u.y=s.y+t.clientTop}else o&&(u.x=uK(o));return{x:i.left+a.scrollLeft-u.x,y:i.top+a.scrollTop-u.y,width:i.width,height:i.height}}function lK(e){return"html"===GW(e)?e:e.assignedSlot||e.parentNode||(ZW(e)?e.host:null)||iK(e)}function cK(e){return KW(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function fK(e){for(var t=qW(e),n=cK(e);n&&$W(n)&&"static"===getComputedStyle(n).position;)n=cK(n);return n&&("html"===GW(n)||"body"===GW(n)&&"static"===getComputedStyle(n).position&&!JW(n))?t:n||function(e){var t=lK(e);for(ZW(t)&&(t=t.host);KW(t)&&!["html","body"].includes(GW(t));){if(JW(t))return t;t=t.parentNode}return null}(e)||t}function dK(e){if(KW(e))return{width:e.offsetWidth,height:e.offsetHeight};var t=oK(e);return{width:t.width,height:t.height}}function pK(e){var t=lK(e);return["html","body","#document"].includes(GW(t))?e.ownerDocument.body:KW(t)&&QW(t)?t:pK(t)}function hK(e,t){var n;void 0===t&&(t=[]);var r=pK(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=qW(r),a=o?[i].concat(i.visualViewport||[],QW(r)?r:[]):r,u=t.concat(a);return o?u:u.concat(hK(a))}function vK(e,t,n){return"viewport"===t?bW(function(e,t){var n=qW(e),r=iK(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,u=0,s=0;if(o){i=o.width,a=o.height;var l=eK();(l||!l&&"fixed"===t)&&(u=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:u,y:s}}(e,n)):XW(t)?function(e,t){var n=oK(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):bW(function(e){var t,n=iK(e),r=aK(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=nK(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=nK(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+uK(e),s=-r.scrollTop;return"rtl"===YW(o||n).direction&&(u+=nK(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:s}}(iK(e)))}function mK(e){var t=hK(e),n=["absolute","fixed"].includes(YW(e).position)&&KW(e)?fK(e):e;return XW(n)?t.filter((function(e){return XW(e)&&function(e,t){var n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&ZW(n)){var r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}(e,n)&&"body"!==GW(e)})):[]}var gK={getClippingRect:function(e){var t=e.element,n=e.boundary,r=e.rootBoundary,o=e.strategy,i=[].concat(Wr("clippingAncestors"===n?mK(t):[].concat(n)),[r]),a=i[0],u=i.reduce((function(e,n){var r=vK(t,n,o);return e.top=nK(r.top,e.top),e.right=tK(r.right,e.right),e.bottom=tK(r.bottom,e.bottom),e.left=nK(r.left,e.left),e}),vK(t,a,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){var t=e.rect,n=e.offsetParent,r=e.strategy,o=KW(n),i=iK(n);if(n===i)return t;var a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==GW(n)||QW(i))&&(a=aK(n)),KW(n))){var s=oK(n,!0);u.x=s.x+n.clientLeft,u.y=s.y+n.clientTop}return Zr(Zr({},t),{},{x:t.x-a.scrollLeft+u.x,y:t.y-a.scrollTop+u.y})},isElement:XW,getDimensions:dK,getOffsetParent:fK,getDocumentElement:iK,getElementRects:function(e){var t=e.reference,n=e.floating,r=e.strategy;return{reference:sK(t,fK(n),r),floating:Zr(Zr({},dK(n)),{},{x:0,y:0})}},getClientRects:function(e){return Array.from(e.getClientRects())},isRTL:function(e){return"rtl"===YW(e).direction}};function yK(e,t,n,r){void 0===r&&(r={});var o=r,i=o.ancestorScroll,a=void 0===i||i,u=o.ancestorResize,s=void 0===u||u,l=o.elementResize,c=void 0===l||l,f=o.animationFrame,d=void 0!==f&&f,p=a&&!d,h=s&&!d,v=p||h?[].concat(Wr(XW(e)?hK(e):[]),Wr(hK(t))):[];v.forEach((function(e){p&&e.addEventListener("scroll",n,{passive:!0}),h&&e.addEventListener("resize",n)}));var m=null;if(c){var g=!0;m=new ResizeObserver((function(){g||n(),g=!1})),XW(e)&&!d&&m.observe(e),m.observe(t)}var y,b=d?oK(e):null;return d&&function t(){var r=oK(e);b&&(r.x!==b.x||r.y!==b.y||r.width!==b.width||r.height!==b.height)&&n(),b=r,y=requestAnimationFrame(t)}(),n(),function(){var e;v.forEach((function(e){p&&e.removeEventListener("scroll",n),h&&e.removeEventListener("resize",n)})),null==(e=m)||e.disconnect(),m=null,d&&cancelAnimationFrame(y)}}var bK=("undefined"==typeof document?"undefined":ho(document))<"u"?Jr.exports.useLayoutEffect:Jr.exports.useEffect;function xK(e,t){if(e===t)return!0;if(ho(e)!=ho(t))return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;var n,r,o;if(e&&t&&"object"==ho(e)){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!xK(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){var i=o[r];if(!("_owner"===i&&e.$$typeof||xK(e[i],t[i])))return!1}return!0}return e!=e&&t!=t}function wK(e){var t=void 0===e?{}:e,n=t.middleware,r=t.placement,o=void 0===r?"bottom":r,i=t.strategy,a=void 0===i?"absolute":i,u=t.whileElementsMounted,s=Jr.exports.useRef(null),l=Jr.exports.useRef(null),c=function(e){var t=Jr.exports.useRef(e);return bK((function(){t.current=e})),t}(u),f=Jr.exports.useRef(null),d=$r(Jr.exports.useState({x:null,y:null,strategy:a,placement:o,middlewareData:{}}),2),p=d[0],h=d[1],v=$r(Jr.exports.useState(n),2),m=v[0],g=v[1];xK(null==m?void 0:m.map((function(e){return e.options})),null==n?void 0:n.map((function(e){return e.options})))||g(n);var y=Jr.exports.useCallback((function(){!s.current||!l.current||function(e,t,n){return gW(e,t,Zr({platform:gK},n))}(s.current,l.current,{middleware:m,placement:o,strategy:a}).then((function(e){b.current&&Ko.exports.flushSync((function(){h(e)}))}))}),[m,o,a]);bK((function(){b.current&&y()}),[y]);var b=Jr.exports.useRef(!1);bK((function(){return b.current=!0,function(){b.current=!1}}),[]);var x=Jr.exports.useCallback((function(){if("function"==typeof f.current&&(f.current(),f.current=null),s.current&&l.current)if(c.current){var e=c.current(s.current,l.current,y);f.current=e}else y()}),[y,c]),w=Jr.exports.useCallback((function(e){s.current=e,x()}),[x]),_=Jr.exports.useCallback((function(e){l.current=e,x()}),[x]),E=Jr.exports.useMemo((function(){return{reference:s,floating:l}}),[]);return Jr.exports.useMemo((function(){return Zr(Zr({},p),{},{update:y,refs:E,reference:w,floating:_})}),[p,y,E,w,_])}var _K=function(e){var t=e.element,n=e.padding;return{name:"arrow",options:e,fn:function(e){return function(e){return Object.prototype.hasOwnProperty.call(e,"current")}(t)?null!=t.current?kW({element:t.current,padding:n}).fn(e):{}:t?kW({element:t,padding:n}).fn(e):{}}}},EK=Jr.exports.forwardRef((function(e,t){var n=e.children,r=e.width,o=void 0===r?10:r,i=e.height,a=void 0===i?5:i,u=qr(e,Jn);return Jr.exports.createElement(bY.svg,lY({},u,{ref:t,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:Jr.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))})),SK=EK,kK="Popper",CK=$r(cY(kK),2),AK=CK[0],TK=CK[1],PK=$r(AK(kK),2),OK=(PK[0],PK[1]),RK=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopper,r=e.virtualRef,o=qr(e,er),i=OK("PopperAnchor",n),a=Jr.exports.useRef(null),u=hY(t,a);return Jr.exports.useEffect((function(){i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:Jr.exports.createElement(bY.div,lY({},o,{ref:u}))})),DK="PopperContent",LK=$r(AK(DK),2),MK=LK[0],NK=LK[1],FK=$r(AK(DK,{hasParent:!1,positionUpdateFns:new Set}),2),IK=FK[0],jK=FK[1],zK=Jr.exports.forwardRef((function(e,t){var n,r,o,i,a,u,s,l,c=e.__scopePopper,f=e.side,d=void 0===f?"bottom":f,p=e.sideOffset,h=void 0===p?0:p,v=e.align,m=void 0===v?"center":v,g=e.alignOffset,y=void 0===g?0:g,b=e.arrowPadding,x=void 0===b?0:b,w=e.collisionBoundary,_=void 0===w?[]:w,E=e.collisionPadding,S=void 0===E?0:E,k=e.sticky,C=void 0===k?"partial":k,A=e.hideWhenDetached,T=void 0!==A&&A,P=e.avoidCollisions,O=void 0===P||P,R=qr(e,tr),D=OK(DK,c),L=$r(Jr.exports.useState(null),2),M=L[0],N=L[1],F=hY(t,(function(e){return N(e)})),I=$r(Jr.exports.useState(null),2),j=I[0],z=I[1],B=GY(j),U=null!==(n=null==B?void 0:B.width)&&void 0!==n?n:0,V=null!==(r=null==B?void 0:B.height)&&void 0!==r?r:0,H=d+("center"!==m?"-"+m:""),q="number"==typeof S?S:Zr({top:0,right:0,bottom:0,left:0},S),Y=Array.isArray(_)?_:[_],G=Y.length>0,W={padding:q,boundary:Y.filter(HK),altBoundary:G},K=wK({strategy:"fixed",placement:H,whileElementsMounted:yK,middleware:[zW({mainAxis:h+V,alignmentAxis:y}),O?UW(Zr({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?VW():void 0},W)):void 0,j?_K({element:j,padding:x}):void 0,O?LW(Zr({},W)):void 0,qK({arrowWidth:U,arrowHeight:V}),T?FW({strategy:"referenceHidden"}):void 0].filter(VK)}),X=K.reference,Z=K.floating,Q=K.strategy,$=K.x,J=K.y,ee=K.placement,te=K.middlewareData,ne=K.update;xY((function(){X(D.anchor)}),[X,D.anchor]);var re=null!==$&&null!==J,oe=$r(YK(ee),2),ie=oe[0],ae=oe[1],ue=null===(o=te.arrow)||void 0===o?void 0:o.x,se=null===(i=te.arrow)||void 0===i?void 0:i.y,le=0!==(null===(a=te.arrow)||void 0===a?void 0:a.centerOffset),ce=$r(Jr.exports.useState(),2),fe=ce[0],de=ce[1];xY((function(){M&&de(window.getComputedStyle(M).zIndex)}),[M]);var pe=jK(DK,c),he=pe.hasParent,ve=pe.positionUpdateFns,me=!he;Jr.exports.useLayoutEffect((function(){if(!me)return ve.add(ne),function(){ve.delete(ne)}}),[me,ve,ne]),Jr.exports.useLayoutEffect((function(){me&&re&&Array.from(ve).reverse().forEach((function(e){return requestAnimationFrame(e)}))}),[me,re,ve]);var ge=Zr(Zr({"data-side":ie,"data-align":ae},R),{},{ref:F,style:Zr(Zr({},R.style),{},{animation:re?void 0:"none",opacity:null!==(u=te.hide)&&void 0!==u&&u.referenceHidden?0:void 0})});return Jr.exports.createElement("div",{ref:Z,"data-radix-popper-content-wrapper":"",style:Qr({position:Q,left:0,top:0,transform:re?"translate3d(".concat(Math.round($),"px, ").concat(Math.round(J),"px, 0)"):"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:fe},"--radix-popper-transform-origin",[null===(s=te.transformOrigin)||void 0===s?void 0:s.x,null===(l=te.transformOrigin)||void 0===l?void 0:l.y].join(" "))},Jr.exports.createElement(MK,{scope:c,placedSide:ie,onArrowChange:z,arrowX:ue,arrowY:se,shouldHideArrow:le},me?Jr.exports.createElement(IK,{scope:c,hasParent:!0,positionUpdateFns:ve},Jr.exports.createElement(bY.div,ge)):Jr.exports.createElement(bY.div,ge)))})),BK={top:"bottom",right:"left",bottom:"top",left:"right"},UK=Jr.exports.forwardRef((function(e,t){var n,r=e.__scopePopper,o=qr(e,nr),i=NK("PopperArrow",r),a=BK[i.placedSide];return Jr.exports.createElement("span",{ref:i.onArrowChange,style:(n={position:"absolute",left:i.arrowX,top:i.arrowY},Qr(n,a,0),Qr(n,"transformOrigin",{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide]),Qr(n,"transform",{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide]),Qr(n,"visibility",i.shouldHideArrow?"hidden":void 0),n)},Jr.exports.createElement(SK,lY({},o,{ref:t,style:Zr(Zr({},o.style),{},{display:"block"})})))}));function VK(e){return void 0!==e}function HK(e){return null!==e}var qK=function(e){return{name:"transformOrigin",options:e,fn:function(t){var n,r,o,i,a,u=t.placement,s=t.rects,l=t.middlewareData,c=0!==(null===(n=l.arrow)||void 0===n?void 0:n.centerOffset),f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,p=$r(YK(u),2),h=p[0],v={start:"0%",center:"50%",end:"100%"}[p[1]],m=(null!==(r=null===(o=l.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+f/2,g=(null!==(i=null===(a=l.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+d/2,y="",b="";return"bottom"===h?(y=c?v:"".concat(m,"px"),b="".concat(-d,"px")):"top"===h?(y=c?v:"".concat(m,"px"),b="".concat(s.floating.height+d,"px")):"right"===h?(y="".concat(-d,"px"),b=c?v:"".concat(g,"px")):"left"===h&&(y="".concat(s.floating.width+d,"px"),b=c?v:"".concat(g,"px")),{data:{x:y,y:b}}}}};function YK(e){var t=$r(e.split("-"),2),n=t[0],r=t[1];return[n,void 0===r?"center":r]}var GK=RK,WK=zK,KK=UK,XK=Jr.exports.forwardRef((function(e,t){var n,r=e.container,o=void 0===r?null==globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body:r,i=qr(e,rr);return o?Jv.createPortal(Jr.exports.createElement(bY.div,lY({},i,{ref:t})),o):null}));var ZK=function(e){var t=e.present,n=e.children,r=function(e){var t=$r(Jr.exports.useState(),2),n=t[0],r=t[1],o=Jr.exports.useRef({}),i=Jr.exports.useRef(e),a=Jr.exports.useRef("none"),u=$r(function(e,t){return Jr.exports.useReducer((function(e,n){var r=t[e][n];return null!=r?r:e}),e)}(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),2),s=u[0],l=u[1];return Jr.exports.useEffect((function(){var e=QK(o.current);a.current="mounted"===s?e:"none"}),[s]),xY((function(){var t=o.current,n=i.current;if(n!==e){var r=a.current,u=QK(t);e?l("MOUNT"):"none"===u||"none"===(null==t?void 0:t.display)?l("UNMOUNT"):l(n&&r!==u?"ANIMATION_OUT":"UNMOUNT"),i.current=e}}),[e,l]),xY((function(){if(n){var e=function(e){var t=QK(o.current).includes(e.animationName);e.target===n&&t&&Ko.exports.flushSync((function(){return l("ANIMATION_END")}))},t=function(e){e.target===n&&(a.current=QK(o.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),function(){n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}l("ANIMATION_END")}),[n,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:Jr.exports.useCallback((function(e){e&&(o.current=getComputedStyle(e)),r(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):Jr.exports.Children.only(n),i=hY(r.ref,o.ref);return"function"==typeof n||r.isPresent?Jr.exports.cloneElement(o,{ref:i}):null};function QK(e){return(null==e?void 0:e.animationName)||"none"}ZK.displayName="Presence";var $K=new WeakMap,JK=new WeakMap,eX={},tX=0,nX=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return("undefined"==typeof document?"undefined":ho(document))>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),function(e,t,n,r){var o=Array.isArray(e)?e:[e];eX[n]||(eX[n]=new WeakMap);var i=eX[n],a=[],u=new Set,s=new Set(o);return o.forEach((function e(t){!t||u.has(t)||(u.add(t),e(t.parentNode))})),function e(t){!t||s.has(t)||Array.prototype.forEach.call(t.children,(function(t){if(u.has(t))e(t);else{var o=t.getAttribute(r),s=null!==o&&"false"!==o,l=($K.get(t)||0)+1,c=(i.get(t)||0)+1;$K.set(t,l),i.set(t,c),a.push(t),1===l&&s&&JK.set(t,!0),1===c&&t.setAttribute(n,"true"),s||t.setAttribute(r,"true")}}))}(t),u.clear(),tX++,function(){a.forEach((function(e){var t=$K.get(e)-1,o=i.get(e)-1;$K.set(e,t),i.set(e,o),t||(JK.has(e)||e.removeAttribute(r),JK.delete(e)),o||e.removeAttribute(n)})),--tX||($K=new WeakMap,$K=new WeakMap,JK=new WeakMap,eX={})}}(r,o,n,"aria-hidden")):function(){return null}},rX=function(){return rX=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},rX.apply(this,arguments)};function oX(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}var iX="right-scroll-bar-position",aX="width-before-scroll-bar";function uX(e,t){return function(e,t){var n=Jr.exports.useState((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}(t||null,(function(t){return e.forEach((function(e){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(e,t)}))}))}function sX(e){return e}var lX=function(e){var t=e.sideCar,n=oX(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return Qq(r,Zr({},rX({},n)))};lX.isSideCarExport=!0;var cX=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=sX);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=rX({async:!0,ssr:!1},e),t}(),fX=function(){},dX=Jr.exports.forwardRef((function(e,t){var n=Jr.exports.useRef(null),r=Jr.exports.useState({onScrollCapture:fX,onWheelCapture:fX,onTouchMoveCapture:fX}),o=r[0],i=r[1],a=e.forwardProps,u=e.children,s=e.className,l=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,p=e.noIsolation,h=e.inert,v=e.allowPinchZoom,m=e.as,g=void 0===m?"div":m,y=oX(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=d,x=uX([n,t]),w=rX(rX({},y),o);return $q(Zq,{children:[c&&Qq(b,{sideCar:cX,removeScrollBar:l,shards:f,noIsolation:p,inert:h,setCallbacks:i,allowPinchZoom:!!v,lockRef:n}),a?Jr.exports.cloneElement(Jr.exports.Children.only(u),rX(rX({},w),{ref:x})):Qq(g,Zr(Zr({},rX({},w,{className:s,ref:x})),{},{children:u}))]})}));dX.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},dX.classNames={fullWidth:aX,zeroRight:iX};function pX(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if(("undefined"==typeof __webpack_nonce__?"undefined":ho(__webpack_nonce__))<"u")return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var hX=function(){var e=0,t=null;return{add:function(n){0==e&&(t=pX())&&(function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},vX=function(){var e=function(){var e=hX();return function(t,n){Jr.exports.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])}}();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},mX={left:0,top:0,right:0,gap:0},gX=function(e){return parseInt(e||"",10)||0},yX=function(e){if(void 0===e&&(e="margin"),("undefined"==typeof window?"undefined":ho(window))>"u")return mX;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[gX(n),gX(r),gX(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},bX=vX(),xX=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(iX," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(aX," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(iX," .").concat(iX," {\n right: 0 ").concat(r,";\n }\n \n .").concat(aX," .").concat(aX," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},wX=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=Jr.exports.useMemo((function(){return yX(o)}),[o]);return Qq(bX,{styles:xX(i,!t,o,n?"":"!important")})},_X=!1;if(("undefined"==typeof window?"undefined":ho(window))<"u")try{var EX=Object.defineProperty({},"passive",{get:function(){return _X=!0,!0}});window.addEventListener("test",EX,EX),window.removeEventListener("test",EX,EX)}catch(n5){_X=!1}var SX=!!_X&&{passive:!1},kX=function(e,t){var n=t;do{if(("undefined"==typeof ShadowRoot?"undefined":ho(ShadowRoot))<"u"&&n instanceof ShadowRoot&&(n=n.host),CX(e,n)){var r=AX(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},CX=function(e,t){return"v"===e?function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowY&&!(t.overflowY===t.overflowX&&"visible"===t.overflowY)}(t):function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowX&&!(t.overflowY===t.overflowX&&"visible"===t.overflowX)}(t)},AX=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},TX=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},PX=function(e){return[e.deltaX,e.deltaY]},OX=function(e){return e&&"current"in e?e.current:e},RX=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},DX=0,LX=[];var MX=function(e,t){return e.useMedium(t),lX}(cX,(function(e){var t=Jr.exports.useRef([]),n=Jr.exports.useRef([0,0]),r=Jr.exports.useRef(),o=Jr.exports.useState(DX++)[0],i=Jr.exports.useState((function(){return vX()}))[0],a=Jr.exports.useRef(e);Jr.exports.useEffect((function(){a.current=e}),[e]),Jr.exports.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=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))}([e.lockRef.current],(e.shards||[]).map(OX),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var u=Jr.exports.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=TX(e),u=n.current,s="deltaX"in e?e.deltaX:u[0]-i[0],l="deltaY"in e?e.deltaY:u[1]-i[1],c=e.target,f=Math.abs(s)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=kX(f,c);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=kX(f,c)),!d)return!1;if(!r.current&&"changedTouches"in e&&(s||l)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,u=n.target,s=t.contains(u),l=!1,c=a>0,f=0,d=0;do{var p=AX(e,u),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&CX(e,u)&&(f+=v,d+=h),u=u.parentNode}while(!s&&u!==document.body||s&&(t.contains(u)||t===u));return(c&&(o&&0===f||!o&&a>f)||!c&&(o&&0===d||!o&&-a>d))&&(l=!0),l}(p,t,e,"h"===p?s:l,!0)}),[]),s=Jr.exports.useCallback((function(e){var n=e;if(LX.length&&LX[LX.length-1]===i){var r="deltaY"in n?PX(n):TX(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,r)}))[0];if(o&&o.should)return void n.preventDefault();if(!o){var s=(a.current.shards||[]).map(OX).filter(Boolean).filter((function(e){return e.contains(n.target)}));(s.length>0?u(n,s[0]):!a.current.noIsolation)&&n.preventDefault()}}}),[]),l=Jr.exports.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),c=Jr.exports.useCallback((function(e){n.current=TX(e),r.current=void 0}),[]),f=Jr.exports.useCallback((function(t){l(t.type,PX(t),t.target,u(t,e.lockRef.current))}),[]),d=Jr.exports.useCallback((function(t){l(t.type,TX(t),t.target,u(t,e.lockRef.current))}),[]);Jr.exports.useEffect((function(){return LX.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",s,SX),document.addEventListener("touchmove",s,SX),document.addEventListener("touchstart",c,SX),function(){LX=LX.filter((function(e){return e!==i})),document.removeEventListener("wheel",s,SX),document.removeEventListener("touchmove",s,SX),document.removeEventListener("touchstart",c,SX)}}),[]);var p=e.removeScrollBar,h=e.inert;return $q(Zq,{children:[h?Qq(i,{styles:RX(o)}):null,p?Qq(wX,{gapMode:"margin"}):null]})})),NX=Jr.exports.forwardRef((function(e,t){return Qq(dX,Zr({},rX({},e,{ref:t,sideCar:MX})))}));NX.classNames=dX.classNames;var FX=NX,IX="Popover",jX=$r(cY(IX,[TK]),2),zX=jX[0],BX=(jX[1],TK()),UX=$r(zX(IX),2),VX=(UX[0],UX[1]),HX=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=qr(e,or),o=VX("PopoverTrigger",n),i=BX(n),a=hY(t,o.triggerRef),u=Jr.exports.createElement(bY.button,lY({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":$X(o.open)},r,{ref:a,onClick:VY(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?u:Jr.exports.createElement(GK,lY({asChild:!0},i),u)})),qX=$r(zX("PopoverPortal",{forceMount:void 0}),2),YX=(qX[0],qX[1]),GX="PopoverContent",WX=Jr.exports.forwardRef((function(e,t){var n=YX(GX,e.__scopePopover),r=e.forceMount,o=void 0===r?n.forceMount:r,i=qr(e,ir),a=VX(GX,e.__scopePopover);return Jr.exports.createElement(ZK,{present:o||a.open},a.modal?Jr.exports.createElement(KX,lY({},i,{ref:t})):Jr.exports.createElement(XX,lY({},i,{ref:t})))})),KX=Jr.exports.forwardRef((function(e,t){var n=VX(GX,e.__scopePopover),r=Jr.exports.useRef(null),o=hY(t,r),i=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=r.current;if(e)return nX(e)}),[]),Jr.exports.createElement(FX,{as:vY,allowPinchZoom:!0},Jr.exports.createElement(ZX,lY({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:VY(e.onCloseAutoFocus,(function(e){var t;e.preventDefault(),i.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:VY(e.onPointerDownOutside,(function(e){var t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;i.current=r}),{checkForDefaultPrevented:!1}),onFocusOutside:VY(e.onFocusOutside,(function(e){return e.preventDefault()}),{checkForDefaultPrevented:!1})})))})),XX=Jr.exports.forwardRef((function(e,t){var n=VX(GX,e.__scopePopover),r=Jr.exports.useRef(!1);return Jr.exports.createElement(ZX,lY({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:function(t){var o,i;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(r.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault());r.current=!1},onInteractOutside:function(t){var o,i;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0);var a=t.target;null!==(i=n.triggerRef.current)&&void 0!==i&&i.contains(a)&&t.preventDefault()}}))})),ZX=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=e.trapFocus,o=e.onOpenAutoFocus,i=e.onCloseAutoFocus,a=e.disableOutsidePointerEvents,u=e.onEscapeKeyDown,s=e.onPointerDownOutside,l=e.onFocusOutside,c=e.onInteractOutside,f=qr(e,ar),d=VX(GX,n),p=BX(n);return JG(),Jr.exports.createElement(oW,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},Jr.exports.createElement(XG,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:l,onDismiss:function(){return d.onOpenChange(!1)}},Jr.exports.createElement(WK,lY({"data-state":$X(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:Zr(Zr({},f.style),{},Qr({},"--radix-popover-content-transform-origin","var(--radix-popper-transform-origin)"))}))))})),QX=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=qr(e,ur),o=BX(n);return Jr.exports.createElement(KK,lY({},o,r,{ref:t}))}));function $X(e){return e?"open":"closed"}var JX=WX,eZ=QX;yE(HX)(Ne||(Ne=Hr(["\n background: none;\n border: none;\n padding: 0;\n"]))),yE(JX)(Fe||(Fe=Hr(["\n border-radius: ",";\n box-shadow: ",";\n padding: ",";\n"])),Bq["--ll-border-radius-small"],Bq["--ll-shadow-small"],Bq["--ll-spacing-medium"]),yE(eZ)(Ie||(Ie=Hr(["\n fill: ",";\n"])),Bq["--ll-color-background"]);var tZ={primary:{background:Bq["--ll-color-primary"],onBackground:Bq["--ll-color-on-primary"],hover:Bq["--ll-color-primary-variant1"]},inverse:{background:"transparent",onBackground:Bq["--ll-color-primary"],hover:"rgba(0,0,0,0.05)"},neutral:{background:"transparent",onBackground:Bq["--ll-color-on-background-variant1"],hover:"rgba(0,0,0,0.05)"}},nZ={small:24,medium:32,large:48};yE.button(je||(je=Hr(["\n ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t,r=e.size,o=void 0===r?"medium":r;return eE(ze||(ze=Hr(["\n border: none;\n background-color: ",";\n color: ",";\n border-radius: 50%;\n height: ","px;\n width: ","px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 6px;\n\n &:hover {\n background-color: ",";\n }\n\n &:disabled {\n cursor: default;\n background-color: rgba(0, 0, 0, 0.1);\n color: ",";\n }\n "])),tZ[n].background,tZ[n].onBackground,nZ[o],nZ[o],tZ[n].hover,Bq["--ll-color-on-background-variant1"])}));var rZ=gE(Ue||(Ue=Hr(["\n from {\n background-position: -800px 0;\n }\n\n to {\n background-position: 800px 0;\n }\n"])));yE.div(Ve||(Ve=Hr(["\n border-radius: ",";\n animation: "," 2s linear infinite;\n background: linear-gradient(\n to right,\n /* NOTE: 99.9% of the time we should use colours from theme, since these are\n CSS vars that can be overriden. */\n "," 4%,\n "," 25%,\n "," 36%\n );\n background-size: 800px 100%;\n ","\n"])),Bq["--ll-border-radius-medium"],rZ,Bq["--ll-color-surface-variant1"],Bq["--ll-color-surface-variant2"],Bq["--ll-color-surface-variant1"],(function(e){var t=e.height,n=e.width;return eE(Be||(Be=Hr(["\n height: ",";\n width: ",";\n "])),t,n)})),yE.div(He||(He=Hr(["\n flex: 1;\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),yE.div(qe||(qe=Hr(["\n display: flex;\n flex-direction: column;\n align-items: center;\n"])));var oZ=Jr.exports.forwardRef((function(e,t){return Jr.exports.createElement(bY.span,lY({},e,{ref:t,style:Zr({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"},e.style)}))})),iZ=[" ","Enter","ArrowUp","ArrowDown"],aZ=[" ","Enter"],uZ="Select",sZ=$r(aG(uZ),3),lZ=sZ[0],cZ=sZ[1],fZ=$r(cY(uZ,[sZ[2]]),2),dZ=fZ[0],pZ=(fZ[1],$r(dZ(uZ),2)),hZ=(pZ[0],pZ[1]);dZ(uZ);var vZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.disabled,o=void 0!==r&&r,i=e["aria-labelledby"],a=qr(e,sr),u=hZ("SelectTrigger",n),s=hY(t,u.onTriggerChange),l=cZ(n),c=PY(u.trigger),f=i||c,d=DZ((function(e){var t=l().filter((function(e){return!e.disabled})),n=t.find((function(e){return e.value===u.value})),r=LZ(t,e,n);void 0!==r&&u.onValueChange(r.value)})),p=$r(d,3),h=p[0],v=p[1],m=p[2],g=function(){o||(u.onOpenChange(!0),m())};return Jr.exports.createElement(bY.button,lY({type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-autocomplete":"none","aria-labelledby":f,dir:u.dir,"data-state":u.open?"open":"closed",disabled:o,"data-disabled":o?"":void 0,"data-placeholder":void 0===u.value?"":void 0},a,{ref:s,onPointerDown:VY(a.onPointerDown,(function(e){e.target.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(g(),u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())})),onKeyDown:VY(a.onKeyDown,(function(e){var t=""!==h.current;!(e.ctrlKey||e.altKey||e.metaKey)&&1===e.key.length&&v(e.key),(!t||" "!==e.key)&&iZ.includes(e.key)&&(g(),e.preventDefault())}))}))})),mZ=Jr.exports.forwardRef((function(e,t){e.__scopeSelect;var n=e.children,r=qr(e,lr);return Jr.exports.createElement(bY.span,lY({"aria-hidden":!0},r,{ref:t}),n||"▼")})),gZ="SelectContent",yZ=Jr.exports.forwardRef((function(e,t){var n=hZ(gZ,e.__scopeSelect),r=$r(Jr.exports.useState(),2),o=r[0],i=r[1];return xY((function(){i(new DocumentFragment)}),[]),Jr.exports.createElement(Jr.exports.Fragment,null,n.open?Jr.exports.createElement(EZ,lY({},e,{ref:t})):o?Ko.exports.createPortal(Jr.exports.createElement(wZ,{scope:e.__scopeSelect},Jr.exports.createElement(lZ.Slot,{scope:e.__scopeSelect},Jr.exports.createElement("div",null,e.children))),o):null)})),bZ=10,xZ=$r(dZ(gZ),2),wZ=xZ[0],_Z=xZ[1],EZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.onCloseAutoFocus,o=qr(e,cr),i=hZ(gZ,n),a=$r(Jr.exports.useState(null),2),u=a[0],s=a[1],l=$r(Jr.exports.useState(null),2),c=l[0],f=l[1],d=$r(Jr.exports.useState(null),2),p=d[0],h=d[1],v=hY(t,(function(e){return f(e)})),m=$r(Jr.exports.useState(null),2),g=m[0],y=m[1],b=$r(Jr.exports.useState(null),2),x=b[0],w=b[1],_=cZ(n),E=$r(Jr.exports.useState(!1),2),S=E[0],k=E[1],C=Jr.exports.useRef(!0),A=Jr.exports.useRef(!1),T=Jr.exports.useRef(!1);Jr.exports.useEffect((function(){if(c)return nX(c)}),[c]),JG();var P=$r(Jr.exports.useState(),2),O=P[0],R=P[1];xY((function(){c&&R(window.getComputedStyle(c).zIndex)}),[c]);var D=Jr.exports.useCallback((function(e){var t,n=_().map((function(e){return e.ref.current})),r=zr(n),o=r[0],i=$r(r.slice(1).slice(-1),1)[0],a=document.activeElement,u=vo(e);try{for(u.s();!(t=u.n()).done;){var s=t.value;if(s===a||(null==s||s.scrollIntoView({block:"nearest"}),s===o&&p&&(p.scrollTop=0),s===i&&p&&(p.scrollTop=p.scrollHeight),null==s||s.focus(),document.activeElement!==a))return}}catch(l){u.e(l)}finally{u.f()}}),[_,p]),L=Jr.exports.useCallback((function(){if(i.trigger&&i.valueNode&&u&&c&&p&&g&&x){var e=i.trigger.getBoundingClientRect(),t=c.getBoundingClientRect(),n=i.valueNode.getBoundingClientRect(),r=x.getBoundingClientRect();if("rtl"!==i.dir){var o=r.left-t.left,a=n.left-o,s=e.left-a,l=e.width+s,f=Math.max(l,t.width),d=window.innerWidth-bZ,h=oG(a,[bZ,d-f]);u.style.minWidth=l+"px",u.style.left=h+"px"}else{var v=t.right-r.right,m=window.innerWidth-n.right-v,y=window.innerWidth-e.right-m,b=e.width+y,w=Math.max(b,t.width),E=window.innerWidth-bZ,S=oG(m,[bZ,E-w]);u.style.minWidth=b+"px",u.style.right=S+"px"}var C=_(),T=window.innerHeight-20,P=p.scrollHeight,O=window.getComputedStyle(c),R=parseInt(O.borderTopWidth,10),D=parseInt(O.paddingTop,10),L=parseInt(O.borderBottomWidth,10),M=R+D+P+parseInt(O.paddingBottom,10)+L,N=Math.min(5*g.offsetHeight,M),F=window.getComputedStyle(p),I=parseInt(F.paddingTop,10),j=parseInt(F.paddingBottom,10),z=e.top+e.height/2-bZ,B=T-z,U=g.offsetHeight/2,V=R+D+(g.offsetTop+U),H=M-V;if(V<=z){var q=g===C[C.length-1].ref.current;u.style.bottom="0px";var Y=c.clientHeight-p.offsetTop-p.offsetHeight,G=V+Math.max(B,U+(q?j:0)+Y+L);u.style.height=G+"px"}else{var W=g===C[0].ref.current;u.style.top="0px";var K=Math.max(z,R+p.offsetTop+(W?I:0)+U)+H;u.style.height=K+"px",p.scrollTop=V-z+p.offsetTop}u.style.margin="".concat(bZ,"px 0"),u.style.minHeight=N+"px",u.style.maxHeight=T+"px",k(!0),requestAnimationFrame((function(){return A.current=!0}))}}),[_,i.trigger,i.valueNode,u,c,p,g,x,i.dir]);xY((function(){return L()}),[L]);var M=Jr.exports.useCallback((function(){return D([g,c])}),[D,g,c]);Jr.exports.useEffect((function(){S&&M()}),[S,M]);var N=Jr.exports.useCallback((function(e){e&&!0===C.current&&(L(),M(),C.current=!1)}),[L,M]),F=i.onOpenChange,I=i.triggerPointerDownPosRef;Jr.exports.useEffect((function(){if(c){var e={x:0,y:0},t=function(t){var n,r,o,i;e={x:Math.abs(Math.round(t.pageX)-(null!==(n=null===(r=I.current)||void 0===r?void 0:r.x)&&void 0!==n?n:0)),y:Math.abs(Math.round(t.pageY)-(null!==(o=null===(i=I.current)||void 0===i?void 0:i.y)&&void 0!==o?o:0))}},n=function(n){e.x<=10&&e.y<=10?n.preventDefault():c.contains(n.target)||F(!1),document.removeEventListener("pointermove",t),I.current=null};return null!==I.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),function(){document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}}),[c,F,I]),Jr.exports.useEffect((function(){var e=function(){return F(!1)};return window.addEventListener("blur",e),window.addEventListener("resize",e),function(){window.removeEventListener("blur",e),window.removeEventListener("resize",e)}}),[F]);var j=DZ((function(e){var t=_().filter((function(e){return!e.disabled})),n=t.find((function(e){return e.ref.current===document.activeElement})),r=LZ(t,e,n);r&&setTimeout((function(){return r.ref.current.focus()}))})),z=$r(j,2),B=z[0],U=z[1],V=Jr.exports.useCallback((function(e,t,n){var r=!T.current&&!n;(void 0!==i.value&&i.value===t||r)&&(y(e),r&&(T.current=!0))}),[i.value]),H=Jr.exports.useCallback((function(){return null==c?void 0:c.focus()}),[c]),q=Jr.exports.useCallback((function(e,t,n){var r=!T.current&&!n;(void 0!==i.value&&i.value===t||r)&&w(e)}),[i.value]);return Jr.exports.createElement(wZ,{scope:n,contentWrapper:u,content:c,viewport:p,onViewportChange:h,itemRefCallback:V,selectedItem:g,onItemLeave:H,itemTextRefCallback:q,selectedItemText:x,onScrollButtonChange:N,isPositioned:S,shouldExpandOnScrollRef:A,searchRef:B},Jr.exports.createElement(FX,{as:vY,allowPinchZoom:!0},Jr.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:O}},Jr.exports.createElement(oW,{asChild:!0,trapped:i.open,onMountAutoFocus:function(e){e.preventDefault()},onUnmountAutoFocus:VY(r,(function(e){var t;null===(t=i.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}))},Jr.exports.createElement(XG,lY({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:function(e){return e.preventDefault()}},o,{ref:v,style:Zr({display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none"},o.style),disableOutsidePointerEvents:!0,onFocusOutside:function(e){return e.preventDefault()},onDismiss:function(){return i.onOpenChange(!1)},onKeyDown:VY(o.onKeyDown,(function(e){var t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),!t&&1===e.key.length&&U(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){var n=_().filter((function(e){return!e.disabled})).map((function(e){return e.ref.current}));if(["ArrowUp","End"].includes(e.key)&&(n=n.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){var r=e.target,o=n.indexOf(r);n=n.slice(o+1)}setTimeout((function(){return D(n)})),e.preventDefault()}}))}))))))})),SZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=qr(e,fr),o=_Z("SelectViewport",n),i=hY(t,o.onViewportChange),a=Jr.exports.useRef(0);return Jr.exports.createElement(Jr.exports.Fragment,null,Jr.exports.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),Jr.exports.createElement(lZ.Slot,{scope:n},Jr.exports.createElement(bY.div,lY({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:Zr({position:"relative",flex:1,overflow:"auto"},r.style),onScroll:VY(r.onScroll,(function(e){var t=e.currentTarget,n=o.contentWrapper,r=o.shouldExpandOnScrollRef;if(null!=r&&r.current&&n){var i=Math.abs(a.current-t.scrollTop);if(i>0){var u=window.innerHeight-20,s=parseFloat(n.style.minHeight),l=parseFloat(n.style.height),c=Math.max(s,l);if(c<u){var f=c+i,d=Math.min(u,f),p=f-d;n.style.height=d+"px","0px"===n.style.bottom&&(t.scrollTop=p>0?p:0,n.style.justifyContent="flex-end")}}}a.current=t.scrollTop}))}))))}));dZ("SelectGroup");var kZ="SelectItem",CZ=$r(dZ(kZ),2),AZ=CZ[0],TZ=CZ[1],PZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.value,o=e.disabled,i=void 0!==o&&o,a=e.textValue,u=qr(e,dr),s=hZ(kZ,n),l=_Z(kZ,n),c=s.value===r,f=$r(Jr.exports.useState(null!=a?a:""),2),d=f[0],p=f[1],h=$r(Jr.exports.useState(!1),2),v=h[0],m=h[1],g=hY(t,(function(e){var t;return null===(t=l.itemRefCallback)||void 0===t?void 0:t.call(l,e,r,i)})),y=EY(),b=function(){i||(s.onValueChange(r),s.onOpenChange(!1))};return Jr.exports.createElement(AZ,{scope:n,value:r,disabled:i,textId:y,isSelected:c,onItemTextChange:Jr.exports.useCallback((function(e){p((function(t){var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()}))}),[])},Jr.exports.createElement(lZ.ItemSlot,{scope:n,value:r,disabled:i,textValue:d},Jr.exports.createElement(bY.div,lY({role:"option","aria-labelledby":y,"data-highlighted":v?"":void 0,"aria-selected":c&&v,"data-state":c?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1},u,{ref:g,onFocus:VY(u.onFocus,(function(){return m(!0)})),onBlur:VY(u.onBlur,(function(){return m(!1)})),onPointerUp:VY(u.onPointerUp,b),onPointerMove:VY(u.onPointerMove,(function(e){var t;i?null===(t=l.onItemLeave)||void 0===t||t.call(l):e.currentTarget.focus({preventScroll:!0})})),onPointerLeave:VY(u.onPointerLeave,(function(e){var t;e.currentTarget===document.activeElement&&(null===(t=l.onItemLeave)||void 0===t||t.call(l))})),onKeyDown:VY(u.onKeyDown,(function(e){var t;""!==(null===(t=l.searchRef)||void 0===t?void 0:t.current)&&" "===e.key||(aZ.includes(e.key)&&b()," "===e.key&&e.preventDefault())}))}))))})),OZ=Jr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=qr(e,pr);return TZ("SelectItemIndicator",n).isSelected?Jr.exports.createElement(bY.span,lY({"aria-hidden":!0},r,{ref:t})):null})),RZ=Jr.exports.forwardRef((function(e,t){var n=e.value,r=qr(e,hr),o=Jr.exports.useRef(null),i=hY(t,o),a=YY(n);return Jr.exports.useEffect((function(){var e=o.current,t=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(t,"value").set;if(a!==n&&r){var i=new Event("change",{bubbles:!0});r.call(e,n),e.dispatchEvent(i)}}),[a,n]),Jr.exports.createElement(oZ,{asChild:!0},Jr.exports.createElement("select",lY({},r,{ref:i,defaultValue:n})))}));function DZ(e){var t=HY(e),n=Jr.exports.useRef(""),r=Jr.exports.useRef(0),o=Jr.exports.useCallback((function(e){var o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout((function(){return e("")}),1e3))}(o)}),[t]),i=Jr.exports.useCallback((function(){n.current="",window.clearTimeout(r.current)}),[]);return Jr.exports.useEffect((function(){return function(){return window.clearTimeout(r.current)}}),[]),[n,o,i]}function LZ(e,t,n){var r=t.length>1&&Array.from(t).every((function(e){return e===t[0]}))?t[0]:t,o=n?e.indexOf(n):-1,i=function(e,t){return e.map((function(n,r){return e[(t+r)%e.length]}))}(e,Math.max(o,0));1===r.length&&(i=i.filter((function(e){return e!==n})));var a=i.find((function(e){return e.textValue.toLowerCase().startsWith(r.toLowerCase())}));return a!==n?a:void 0}RZ.displayName="BubbleSelect";var MZ=function(e){return Jr.exports.createElement(XK,lY({asChild:!0},e))},NZ=yZ,FZ=SZ,IZ=PZ,jZ=OZ;yE(vZ)(Ye||(Ye=Hr(["\n display: inline-flex;\n align-items: center;\n justify-content: space-between;\n background-color: ",";\n border-radius: ",";\n border: 1px solid ",";\n color: ",";\n padding: "," ","\n "," ",";\n flex: 1;\n height: ",";\n font-size: ",";\n"])),Bq["--ll-color-background"],Bq["--ll-border-radius-small"],Bq["--ll-color-border"],Bq["--ll-color-on-background-variant1"],Bq["--ll-spacing-xx-small"],Bq["--ll-spacing-x-small"],Bq["--ll-spacing-xx-small"],Bq["--ll-spacing-small"],(function(e){return"medium"===e.size?"32px":"40px"}),(function(e){return"medium"===e.size?Bq["--ll-font-size-p"]:Bq["--ll-font-size-h6"]})),yE(mZ)(Ge||(Ge=Hr(["\n margin-left: ",";\n"])),Bq["--ll-spacing-x-small"]),yE(NZ)(We||(We=Hr(["\n overflow: hidden;\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n min-width: 120px;\n z-index: 2;\n font-size: ",";\n"])),Bq["--ll-color-background"],Bq["--ll-border-radius-small"],Bq["--ll-shadow-medium"],(function(e){return"medium"===e.size?Bq["--ll-font-size-p"]:Bq["--ll-font-size-h6"]})),yE(IZ)(Ke||(Ke=Hr(["\n font-family: ",";\n font-size: inherit;\n padding: "," ","\n "," ",";\n outline: none;\n border-radius: ",";\n position: relative;\n color: ",";\n cursor: default;\n\n &[data-highlighted] {\n background-color: ",";\n color: ",";\n }\n"])),Bq["--ll-font-family"],Bq["--ll-spacing-xx-small"],Bq["--ll-spacing-x-large"],Bq["--ll-spacing-xx-small"],Bq["--ll-spacing-large"],Bq["--ll-border-radius-small"],Bq["--ll-color-on-surface-variant1"],Bq["--ll-color-primary"],Bq["--ll-color-on-primary"]),yE(jZ)(Xe||(Xe=Hr(["\n position: absolute;\n left: 0;\n height: 100%;\n left: 0;\n bottom: 0;\n width: ",";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n"])),Bq["--ll-spacing-large"]),yE(FZ)(Ze||(Ze=Hr(["\n font-size: inherit;\n padding: ",";\n"])),Bq["--ll-spacing-base-unit"]),yE(MZ)(Qe||(Qe=Hr(["\n z-index: 1;\n"])));var zZ=Yo.createContext({}),BZ=Ur("L",(function(){return Jr.exports.useContext(zZ)})),UZ=function(e){var t,n,r=e.client,o=e.options,i=e.children;return Pq(zZ.Provider,{value:{client:r,options:o},children:Pq(q_,{target:document.head,children:Oq(Tq,{children:[Pq(Vq,{themeName:null==(t=null==o?void 0:o.appearance)?void 0:t.theme,overrides:null==(n=null==o?void 0:o.appearance)?void 0:n.variables}),i]})})})},VZ=Yo.createContext({}),HZ=function(){return Jr.exports.useContext(VZ)},qZ=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;var n=2*parseFloat(e);return t?Math.round(n):Math.round(10*n)/10},YZ=function(e){var t=e.scoresData,n=e.score,r=e.round,o=void 0!==r&&r,i=Jr.exports.useMemo((function(){var e,r,i=null==(r=null==(e=null==t?void 0:t.location)?void 0:e[n])?void 0:r.value;return qZ(i,o)}),[t,n,o]),a=Jr.exports.useMemo((function(){var e,r;return null==(r=null==(e=null==t?void 0:t.location)?void 0:e[n])?void 0:r.text}),[t,n]),u=Jr.exports.useMemo((function(){var e;return null==(e=null==t?void 0:t.geographies)?void 0:e.find((function(e){return"municipality"===e.geog_level_type}))}),[t]),s=Jr.exports.useMemo((function(){var e;return null==(e=null==t?void 0:t.geographies)?void 0:e.find((function(e){return"macro neighbourhood"===e.geog_level_type}))}),[t]),l=Jr.exports.useMemo((function(){var e,t=null==(e=null==u?void 0:u.scores[n])?void 0:e.value;return qZ(t,o)}),[u,n,o]),c=Jr.exports.useMemo((function(){var e,t=null==(e=null==s?void 0:s.scores[n])?void 0:e.value;return qZ(t,o)}),[s,n,o]);return{textVal:a,scoreVal:i,cityName:Jr.exports.useMemo((function(){return null==u?void 0:u.name}),[u]),cityScoreVal:l,neighbourhoodName:Jr.exports.useMemo((function(){return null==s?void 0:s.name}),[s]),neighbourhoodScoreVal:c}},GZ=yE.div(et||(et=Hr(["\n position: relative;\n background: ",";\n color: ",";\n border-radius: ",";\n display: flex;\n justify-content: center;\n align-items: center;\n line-height: 1;\n font-family: ",";\n overflow: hidden;\n transition: background 160ms ease;\n ",';\n\n &:after {\n content: "";\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n background: linear-gradient(\n 180deg,\n rgba(255, 255, 255, 0.2) 0%,\n rgba(0, 0, 0, 0.1) 100%\n );\n }\n'])),(function(e){return e.isPrimary?Bq["--ll-color-primary"]:Bq["--ll-color-disabled"]}),Bq["--ll-color-on-primary"],Bq["--ll-border-radius-small"],Bq["--ll-font-family"],(function(e){return function(e){return"small"===e?eE($e||($e=Hr(["\n height: 16px;\n padding: 0 ",";\n font-size: ",";\n "])),Bq["--ll-spacing-xx-small"],Bq["--ll-font-size-caption-2"]):eE(Je||(Je=Hr(["\n height: 32px;\n width: 32px;\n font-size: ",";\n "])),Bq["--ll-font-size-p"])}(e.variant)})),WZ=yE.div(tt||(tt=Hr(["\n z-index: 1;\n"]))),KZ=function(e){return"object"==ho(e)&&null!==e&&!Array.isArray(e)};function XZ(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;var o=n.shift();return KZ(e)&&KZ(o)&&Object.keys(o).forEach((function(t){KZ(o[t])?(e[t]||Object.assign(e,Qr({},t,{})),XZ(e[t],o[t])):Object.assign(e,Qr({},t,o[t]))})),XZ.apply(void 0,[e].concat(n))}var ZZ=function(e){var t=BZ().client.options.locale,n=void 0===t?"en":t,r=Jr.exports.useMemo((function(){return XZ.apply(void 0,[{}].concat(Wr(e)))[n]}),[n,e]);return{locale:n,translations:r}},QZ={en:{cafes:"Cafes",car_friendly:"Driving",cycling_friendly:"Cycling",daycares:"Day care",greenery:"Greenery",groceries:"Grocery",high_schools:"High schools",historic:"Historic",nightlife:"Night life",parks:"Parks",pedestrian_friendly:"Walking",primary_schools:"Primary schools",quiet:"Quiet",restaurants:"Restaurants",shopping:"Shopping",transit_friendly:"Transit",vibrant:"Vibrancy",wellness:"Wellness"},fr:{cafes:"Cafés",car_friendly:"Voiture",cycling_friendly:"Vélo",daycares:"Garderies",greenery:"Verdure",groceries:"Épiceries",high_schools:"Écoles secondaires",historic:"Historique",nightlife:"Vie nocturne",parks:"Parcs",pedestrian_friendly:"Marche",primary_schools:"Écoles primaires",quiet:"Silencieux",restaurants:"Restaurants",shopping:"Magasins",transit_friendly:"Transport public",vibrant:"Dynamisme",wellness:"Bien-être"}},$Z={en:{"cafes-description":"A measure of the quantity of nearby coffee shops.","car_friendly-description":"Represents how well traffic flows, and how easy it is to park.","cycling_friendly-description":"Represents how suitable the area is for cycling in terms of nearby bicycle infrastructure and calm streets, as well as the number of destinations that can be reached by bicycle.","daycares-description":"Represents the distance to the nearest daycare.","greenery-description":"Quantity of nearby green spaces and tree canopy coverage.","groceries-description":"A measure of the quantity of nearby grocery stores.","high_schools-description":"Represents the distance to nearest high school.","historic-description":"A measure of the quantity and size of heritage buildings, and the average building age in the area.","nightlife-description":"Represents the quantity of bars nearby.","parks-description":"A measure of the quantity and size of nearby parks.","pedestrian_friendly-description":"A measure of how many basic services can be reached on foot and how pleasant it is to walk to them.","primary_schools-description":"A measure of the distance to the nearest elementary school.","quiet-description":"A measure of the average levels of noise nearby.","restaurants-description":"Represents the quantity of restaurants nearby.","shopping-description":"A measure of the quantity of fashion and department stores nearby.","transit_friendly-description":"A measure of the frequency and level of public transit service.","vibrant-description":"Represents the level of street activity nearby.","wellness-description":"Represents how conducive a location is to individuals' well-being."},fr:{"cafes-description":"Une mesure de la quantité et de la diversité des cafés à proximité.","car_friendly-description":"Représente la fluidité de la circulation et la facilité de stationnement.","cycling_friendly-description":"Représente à quel point la zone est adaptée au cyclisme en termes d'infrastructure cyclable à proximité et de rues calmes, ainsi que le nombre de destinations pouvant être atteintes à vélo.","daycares-description":"Représente la distance à la garderie la plus proche.","greenery-description":"Quantité d'espaces verts à proximité et couverture de la canopée des arbres.","groceries-description":"Une mesure de la quantité d'épiceries à proximité.","high_schools-description":"Représente la distance à l'école secondaire la plus proche.","historic-description":"Une mesure de la quantité et de la taille des bâtiments patrimoniaux, et de l'âge moyen des bâtiments dans la région.","nightlife-description":"Représente la quantité et la diversité des bars à proximité.","parks-description":"Une mesure de la quantité et de la taille des parcs à proximité.","pedestrian_friendly-description":"Une mesure de la proximité des services de base et de l'agrément d'y aller à pied.","primary_schools-description":"Une mesure de la distance à l'école primaire la plus proche.","quiet-description":"Une mesure des niveaux moyens de bruit à proximité.","restaurants-description":"Représente la quantité et la diversité des restaurants à proximité.","shopping-description":"Une mesure de la quantité et de la diversité de magasins de mode et de grands magasins à proximité.","transit_friendly-description":"Une mesure de la fréquence et du niveau de service de transport en commun.","vibrant-description":"Représente le niveau d'activité de la rue à proximité.","wellness-description":"Représente à quel point un emplacement est propice au bien-être des individus."}},JZ=function(e){var t,n=HZ().options.score,r=ZZ([$Z,QZ]).translations;return null!=(t=e.options)&&t.isRawText?Pq(Tq,{children:r[n]}):Pq(aY,Zr(Zr({},e.options),{},{children:r[n]}))};JZ.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1",isRawText:!1}};var eQ=function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("path",{d:"M12 2C7.58 2 4 2.5 4 6V16C4 16.88 4.39 17.67 5 18.22V20C5 20.55 5.45 21 6 21H7C7.55 21 8 20.55 8 20V19H16V20C16 20.55 16.45 21 17 21H18C18.55 21 19 20.55 19 20V18.22C19.61 17.67 20 16.88 20 16V6C20 2.5 16.42 2 12 2ZM17.66 4.99H6.34C6.89 4.46 8.31 4 12 4C15.69 4 17.11 4.46 17.66 4.99ZM18 6.99V10H6V6.99H18ZM17.66 16.73L17.37 17H6.63L6.34 16.73C6.21 16.62 6 16.37 6 16V12H18V16C18 16.37 17.79 16.62 17.66 16.73Z"}),Fx("path",{d:"M8.5 16C9.32843 16 10 15.3284 10 14.5C10 13.6716 9.32843 13 8.5 13C7.67157 13 7 13.6716 7 14.5C7 15.3284 7.67157 16 8.5 16Z"}),Fx("path",{d:"M15.5 16C16.3284 16 17 15.3284 17 14.5C17 13.6716 16.3284 13 15.5 13C14.6716 13 14 13.6716 14 14.5C14 15.3284 14.6716 16 15.5 16Z"})]}))},tQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M16 5V13C16 14.1 15.1 15 14 15H8C6.9 15 6 14.1 6 13V5H16ZM20 3H4V13C4 15.21 5.79 17 8 17H14C16.21 17 18 15.21 18 13V10H20C21.11 10 22 9.11 22 8V5C22 3.89 21.11 3 20 3ZM18 8V5H20V8H18ZM20 19H2V21H20V19Z"})}))},nQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M19 6.5H17C17 3.74 14.76 1.5 12 1.5C9.24 1.5 7 3.74 7 6.5H5C3.9 6.5 3 7.4 3 8.5V20.5C3 21.6 3.9 22.5 5 22.5H19C20.1 22.5 21 21.6 21 20.5V8.5C21 7.4 20.1 6.5 19 6.5ZM12 3.5C13.66 3.5 15 4.84 15 6.5H9C9 4.84 10.34 3.5 12 3.5ZM19 20.5H5V8.5H19V20.5ZM12 12.5C10.34 12.5 9 11.16 9 9.5H7C7 12.26 9.24 14.5 12 14.5C14.76 14.5 17 12.26 17 9.5H15C15 11.16 13.66 12.5 12 12.5Z"})}))},rQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M1.5 4.5H15.5L9.5 13.5V17.5H11.5V19.5H5.5V17.5H7.5V13.5L1.5 4.5ZM10.6 8.5L12 6.5H4.99L6.39 8.5H10.6ZM17.5 4.5H22.5V7.5H19.5V16.5C19.5 18.16 18.16 19.5 16.5 19.5C14.84 19.5 13.5 18.16 13.5 16.5C13.5 14.84 14.84 13.5 16.5 13.5C16.85 13.5 17.19 13.56 17.5 13.67V4.5Z"})}))},oQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M16 6V14H19V22H21V2C18.24 2 16 4.24 16 6ZM11 9H9V2H7V9H5V2H3V9C3 11.21 4.79 13 7 13V22H9V13C11.21 13 13 11.21 13 9V2H11V9Z"})}))},iQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M22 9.49001H17.21L12.83 2.93001C12.64 2.65001 12.32 2.51001 12 2.51001C11.68 2.51001 11.36 2.65001 11.17 2.94001L6.79 9.49001H2C1.45 9.49001 1 9.94001 1 10.49C1 10.58 1.01 10.67 1.04 10.76L3.58 20.03C3.81 20.87 4.58 21.49 5.5 21.49H18.5C19.42 21.49 20.19 20.87 20.43 20.03L22.97 10.76L23 10.49C23 9.94001 22.55 9.49001 22 9.49001ZM12 5.29001L14.8 9.49001H9.2L12 5.29001ZM18.5 19.49L5.51 19.5L3.31 11.49H20.7L18.5 19.49ZM12 13.49C10.9 13.49 10 14.39 10 15.49C10 16.59 10.9 17.49 12 17.49C13.1 17.49 14 16.59 14 15.49C14 14.39 13.1 13.49 12 13.49Z"})}))},aQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M24 18L20.14 12H22L15 2L12 6.29L9 2L2 12H3.86L0 18H7V22H11V18H13V22H17V18H24ZM15 5.49L18.16 10H16.48L20.34 16H16.72L14.15 12H16L13.22 8.03L15 5.49ZM3.66 16L7.52 10H5.84L9 5.49L12.16 10H10.48L14.34 16H3.66Z"})}))},uQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M18 20C18 21.1 17.1 22 16 22C14.9 22 14 21.1 14 20C14 18.9 14.9 18 16 18C17.1 18 18 18.9 18 20ZM6 18C4.9 18 4 18.9 4 20C4 21.1 4.9 22 6 22C7.1 22 8 21.1 8 20C8 18.9 7.1 18 6 18ZM15 8.66L9.6 15H15V8.66ZM18.65 3C20.52 3 22 4.56 22 6.48V7H20V6.48C20 5.66 19.42 5 18.65 5C17.97 5 17.58 5.59 17 6.27V15C17 16.1 16.1 17 15 17H7.43C6.58 17 6.12 16 6.67 15.35L15.47 5.03C16.11 4.27 16.99 3 18.65 3ZM10 5C9.35 5 8.71 5.09 8.09 5.27L9.49 6.67L10.86 5.06C10.58 5.02 10.29 5 10 5ZM10 3C11.56 3 13.03 3.4 14.3 4.1L9.6 9.61L4.72 4.72C6.21 3.64 8.03 3 10 3Z"})}))},sQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M15.49 9.63C15.31 6.84 14.18 4.12 12.06 2C9.92 4.14 8.74 6.86 8.51 9.63C9.79 10.31 10.97 11.19 12 12.26C13.03 11.2 14.21 10.32 15.49 9.63ZM12.05 5.19C12.68 6.22 13.12 7.37 13.35 8.57C12.88 8.87 12.44 9.2 12.01 9.55C11.59 9.21 11.14 8.88 10.68 8.58C10.93 7.38 11.39 6.23 12.05 5.19ZM12 15.45C11.18 14.2 10.14 13.11 8.94 12.25C8.81 12.16 8.67 12.09 8.54 11.99C8.67 12.08 8.81 12.16 8.93 12.24C6.98 10.83 4.59 10 2 10C2 15.32 5.36 19.82 10.03 21.49C10.66 21.72 11.32 21.89 12 22C12.68 21.88 13.33 21.71 13.97 21.49C18.64 19.82 22 15.32 22 10C17.82 10 14.15 12.17 12 15.45ZM13.32 19.6C12.88 19.75 12.44 19.87 11.99 19.97C11.55 19.88 11.12 19.76 10.71 19.61C7.42 18.43 5.01 15.62 4.26 12.26C5.36 12.52 6.41 12.97 7.38 13.59L7.36 13.6C7.49 13.69 7.62 13.78 7.75 13.85L7.82 13.89C8.81 14.61 9.66 15.5 10.33 16.54L12 19.1L13.67 16.55C14.36 15.5 15.22 14.6 16.2 13.89L16.27 13.84C16.36 13.79 16.45 13.73 16.54 13.67L16.53 13.65C17.51 13 18.6 12.52 19.74 12.25C18.99 15.62 16.59 18.43 13.32 19.6ZM8.99 12.28C8.97 12.27 8.95 12.25 8.94 12.24C8.94 12.24 8.95 12.24 8.95 12.25C8.96 12.26 8.97 12.27 8.99 12.28Z"})}))},lQ=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M12 3L1 9L5 11.18V17.18L12 21L19 17.18V11.18L21 10.09V17H23V9L12 3ZM18.82 9L12 12.72L5.18 9L12 5.28L18.82 9ZM17 15.99L12 18.72L7 15.99V12.27L12 15L17 12.27V15.99Z"})}))},cQ=function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("path",{d:"M14.5 11.75C15.1904 11.75 15.75 11.1904 15.75 10.5C15.75 9.80964 15.1904 9.25 14.5 9.25C13.8096 9.25 13.25 9.80964 13.25 10.5C13.25 11.1904 13.8096 11.75 14.5 11.75Z"}),Fx("path",{d:"M9.5 11.75C10.1904 11.75 10.75 11.1904 10.75 10.5C10.75 9.80964 10.1904 9.25 9.5 9.25C8.80964 9.25 8.25 9.80964 8.25 10.5C8.25 11.1904 8.80964 11.75 9.5 11.75Z"}),Fx("path",{d:"M22.94 11.34C22.69 9.83 21.58 8.6 20.13 8.17C19.6 7.05 18.85 6.07 17.94 5.26C16.36 3.85 14.28 3 12 3C9.72 3 7.64 3.85 6.06 5.26C5.14 6.07 4.39 7.06 3.87 8.17C2.42 8.6 1.31 9.82 1.06 11.34C1.02 11.55 1 11.77 1 12C1 12.23 1.02 12.45 1.06 12.66C1.31 14.17 2.42 15.4 3.87 15.83C4.39 16.94 5.14 17.92 6.04 18.72C7.62 20.14 9.71 21 12 21C14.29 21 16.38 20.14 17.97 18.72C18.87 17.92 19.62 16.93 20.14 15.83C21.58 15.4 22.69 14.18 22.94 12.66C22.98 12.45 23 12.23 23 12C23 11.77 22.98 11.55 22.94 11.34ZM19 14C18.9 14 18.81 13.98 18.71 13.97C18.51 14.64 18.22 15.26 17.85 15.83C16.6 17.74 14.45 19 12 19C9.55 19 7.4 17.74 6.15 15.83C5.78 15.26 5.49 14.64 5.29 13.97C5.19 13.98 5.1 14 5 14C3.9 14 3 13.1 3 12C3 10.9 3.9 10 5 10C5.1 10 5.19 10.02 5.29 10.03C5.49 9.36 5.78 8.74 6.15 8.17C7.4 6.26 9.55 5 12 5C14.45 5 16.6 6.26 17.85 8.17C18.22 8.74 18.51 9.36 18.71 10.03C18.81 10.02 18.9 10 19 10C20.1 10 21 10.9 21 12C21 13.1 20.1 14 19 14ZM12 17C14.01 17 15.74 15.77 16.5 14H7.5C8.26 15.77 9.99 17 12 17Z"})]}))},fQ={pedestrian_friendly:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M13.5 5.5C14.6 5.5 15.5 4.6 15.5 3.5C15.5 2.4 14.6 1.5 13.5 1.5C12.4 1.5 11.5 2.4 11.5 3.5C11.5 4.6 12.4 5.5 13.5 5.5ZM9.8 8.9L7 23H9.1L10.9 15L13 17V23H15V15.5L12.9 13.5L13.5 10.5C14.8 12 16.8 13 19 13V11C17.1 11 15.5 10 14.7 8.6L13.7 7C13.14 6.11 12.02 5.75 11.05 6.16L6 8.3V13H8V9.6L9.8 8.9Z"})}))},transit_friendly:eQ,cycling_friendly:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M15.5 5.5C16.6 5.5 17.5 4.6 17.5 3.5C17.5 2.4 16.6 1.5 15.5 1.5C14.4 1.5 13.5 2.4 13.5 3.5C13.5 4.6 14.4 5.5 15.5 5.5ZM5 12C2.2 12 0 14.2 0 17C0 19.8 2.2 22 5 22C7.8 22 10 19.8 10 17C10 14.2 7.8 12 5 12ZM5 20.5C3.1 20.5 1.5 18.9 1.5 17C1.5 15.1 3.1 13.5 5 13.5C6.9 13.5 8.5 15.1 8.5 17C8.5 18.9 6.9 20.5 5 20.5ZM10.8 10.5L13.2 8.1L14 8.9C15.3 10.2 17 11 19.1 11V9C17.6 9 16.4 8.4 15.5 7.5L13.6 5.6C13.1 5.2 12.6 5 12 5C11.4 5 10.9 5.2 10.6 5.6L7.8 8.4C7.4 8.8 7.2 9.3 7.2 9.8C7.2 10.4 7.4 10.9 7.8 11.2L11 14V19H13V12.8L10.8 10.5ZM19 12C16.2 12 14 14.2 14 17C14 19.8 16.2 22 19 22C21.8 22 24 19.8 24 17C24 14.2 21.8 12 19 12ZM19 20.5C17.1 20.5 15.5 18.9 15.5 17C15.5 15.1 17.1 13.5 19 13.5C20.9 13.5 22.5 15.1 22.5 17C22.5 18.9 20.9 20.5 19 20.5Z"})}))},car_friendly:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("path",{d:"M18.92 6.01C18.72 5.42 18.16 5 17.5 5H6.5C5.84 5 5.29 5.42 5.08 6.01L3 12V20C3 20.55 3.45 21 4 21H5C5.55 21 6 20.55 6 20V19H18V20C18 20.55 18.45 21 19 21H20C20.55 21 21 20.55 21 20V12L18.92 6.01ZM6.85 7H17.14L18.22 10.11H5.77L6.85 7ZM19 17H5V12H19V17Z"}),Fx("path",{d:"M7.5 16C8.32843 16 9 15.3284 9 14.5C9 13.6716 8.32843 13 7.5 13C6.67157 13 6 13.6716 6 14.5C6 15.3284 6.67157 16 7.5 16Z"}),Fx("path",{d:"M16.5 16C17.3284 16 18 15.3284 18 14.5C18 13.6716 17.3284 13 16.5 13C15.6716 13 15 13.6716 15 14.5C15 15.3284 15.6716 16 16.5 16Z"})]}))},groceries:iQ,restaurants:oQ,cafes:tQ,shopping:nQ,wellness:sQ,parks:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M12.915 16.035H12.885C16.375 15.635 19.085 12.675 19.085 9.08502C19.085 5.21502 15.955 2.08502 12.085 2.08502C8.21504 2.08502 5.08504 5.21502 5.08504 9.08502C5.08504 12.555 7.60504 15.425 10.915 15.975V19.915H4.91504V21.915H18.915V19.915H12.915V16.035ZM7.08504 9.08502C7.08504 6.32502 9.32504 4.08502 12.085 4.08502C14.845 4.08502 17.085 6.32502 17.085 9.08502C17.085 11.845 14.845 14.085 12.085 14.085C9.32504 14.085 7.08504 11.845 7.08504 9.08502Z"})}))},greenery:aQ,vibrant:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("path",{d:"M1.23 22.27L15.23 17.27L6.23 8.26998L1.23 22.27ZM11.58 16.45L4.53 18.97L7.05 11.92L11.58 16.45Z"}),Fx("path",{d:"M13.76 12.8L19.35 7.20998C19.84 6.71998 20.63 6.71998 21.12 7.20998L21.71 7.79998L22.77 6.73998L22.18 6.14998C21.11 5.07998 19.36 5.07998 18.29 6.14998L12.7 11.74L13.76 12.8Z"}),Fx("path",{d:"M9.29 7.14998L8.7 7.73998L9.76 8.79998L10.35 8.20998C11.42 7.13998 11.42 5.38998 10.35 4.31998L9.76 3.72998L8.7 4.79998L9.29 5.38998C9.77 5.86998 9.77 6.66998 9.29 7.14998Z"}),Fx("path",{d:"M16.29 12.15L14.7 13.74L15.76 14.8L17.35 13.21C17.84 12.72 18.63 12.72 19.12 13.21L20.73 14.82L21.79 13.76L20.18 12.15C19.1 11.08 17.36 11.08 16.29 12.15Z"}),Fx("path",{d:"M14.29 6.14998L10.7 9.73998L11.76 10.8L15.35 7.20998C16.42 6.13998 16.42 4.38998 15.35 3.31998L13.76 1.72998L12.7 2.78998L14.29 4.37998C14.77 4.86998 14.77 5.66998 14.29 6.14998Z"})]}))},nightlife:rQ,quiet:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M17 20.3899C16.71 20.3899 16.44 20.3299 16.24 20.2399C15.53 19.8699 15.03 19.3599 14.53 17.8599C14.02 16.2999 13.06 15.5699 12.14 14.8599C11.35 14.2499 10.53 13.6199 9.82 12.3299C9.29 11.3699 9 10.3199 9 9.38986C9 6.58986 11.2 4.38986 14 4.38986C16.8 4.38986 19 6.58986 19 9.38986H21C21 5.45986 17.93 2.38986 14 2.38986C10.07 2.38986 7 5.45986 7 9.38986C7 10.6499 7.38 12.0399 8.07 13.2899C8.98 14.9399 10.05 15.7699 10.92 16.4399C11.73 17.0599 12.31 17.5099 12.63 18.4899C13.23 20.3099 14 21.3299 15.36 22.0399C15.87 22.2699 16.43 22.3899 17 22.3899C19.21 22.3899 21 20.5999 21 18.3899H19C19 19.4899 18.1 20.3899 17 20.3899ZM7.64 3.02986L6.22 1.60986C4.23 3.59986 3 6.34986 3 9.38986C3 12.4299 4.23 15.1799 6.22 17.1699L7.63 15.7599C6.01 14.1299 5 11.8799 5 9.38986C5 6.89986 6.01 4.64986 7.64 3.02986ZM11.5 9.38986C11.5 10.7699 12.62 11.8899 14 11.8899C15.38 11.8899 16.5 10.7699 16.5 9.38986C16.5 8.00986 15.38 6.88986 14 6.88986C12.62 6.88986 11.5 8.00986 11.5 9.38986Z"})}))},historic:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("path",{d:"M17.5 7.5V9.16667H15.8334V2.5H14.1667V4.16667H12.5V2.5H10.8334V4.16667H9.16671V2.5H7.50004V4.16667H5.83337V2.5H4.16671V9.16667H2.50004V7.5H0.833374V17.5H8.33337V15C8.33337 14.0833 9.08337 13.3333 10 13.3333C10.9167 13.3333 11.6667 14.0833 11.6667 15V17.5H19.1667V7.5H17.5ZM17.5 15.8333H13.3334V15C13.3334 13.1583 11.8417 11.6667 10 11.6667C8.15837 11.6667 6.66671 13.1583 6.66671 15V15.8333H2.50004V10.8333H5.83337V5.83333H14.1667V10.8333H17.5V15.8333Z"}),Fx("path",{d:"M9.16671 7.5H7.50004V10H9.16671V7.5Z"}),Fx("path",{d:"M12.5 7.5H10.8334V10H12.5V7.5Z"})]}))},high_schools:lQ,primary_schools:cQ,daycares:uQ},dQ=(Ur("p",{pedestrian_friendly:[],transit_friendly:["rapid_transit_stations","train_stations","bus_stops"],cycling_friendly:[],car_friendly:["car_fueling_stations"],groceries:["groceries","groceries_specialized"],restaurants:["restaurants","healthy_restaurants"],cafes:["cafes"],shopping:["shopping"],parks:["parks"],greenery:[],vibrant:["art_culture_science"],nightlife:["nightlife"],quiet:[],historic:[],high_schools:[],primary_schools:[],daycares:["daycares"]}),function(e){var t=e.options,n=HZ().options.score;return Pq(tY,{SVGElement:fQ[n],fill:"var(".concat(null==t?void 0:t.color,")"),height:null==t?void 0:t.height,width:null==t?void 0:t.width})});dQ.defaultProps={options:{color:"--ll-color-on-background-variant1"}};var pQ={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0},hQ={en:{LOCATION:"This Location",CITY:"City",NEIGHBOURHOOD:"Neighbourhood",AVG:"Avg."},fr:{LOCATION:"Ce Lieu",CITY:"Ville",NEIGHBOURHOOD:"Quartier",AVG:"Moy."}},vQ=yE.div(nt||(nt=Hr(["\n position: relative;\n display: grid;\n grid-template-columns: ",";\n align-items: center;\n grid-column-gap: ",";\n width: 100%;\n"])),(function(e){return e.isUsingIcons?"auto auto 1fr auto":"auto 1fr auto"}),Bq["--ll-spacing-x-small"]),mQ=yE.div(rt||(rt=Hr(["\n height: ","px;\n width: 100%;\n border-radius: ","px;\n background-color: ",";\n position: relative;\n overflow: hidden;\n"])),8,4,Bq["--ll-color-surface-variant1"]),gQ=yE(Sq.div)(ot||(ot=Hr(["\n position: absolute;\n height: 100%;\n border-radius: ","px;\n background: linear-gradient(\n to right,\n ",",\n ","\n );\n"])),4,Bq["--ll-color-primary-variant1"],Bq["--ll-color-primary"]);yE.div(it||(it=Hr(["\n position: absolute;\n height: 100%;\n top: 0;\n left: ","%;\n transform: translateX(-1px);\n border-right: ",";\n"])),(function(e){return 10*e.val}),(function(e){var t=e.markerType;return"4px ".concat("city"===t?"solid":"dotted"," ").concat(Bq["--ll-color-on-background"])})),yE.div(at||(at=Hr(["\n position: absolute;\n top: ",";\n bottom: ",";\n transform: translateX(calc(-50% + 2px));\n left: 0;\n"])),(function(e){return"top"===e.position&&"-18px"}),(function(e){return"bottom"===e.position&&"-18px"}));var yQ=yE.div(ut||(ut=Hr(["\n display: flex;\n max-width: ","px;\n"])),(function(e){return e.maxWidth})),bQ=yE(aY)(st||(st=Hr(["\n margin-right: 4px;\n"]))),xQ=yE.span(lt||(lt=Hr(["\n flex-shrink: 0;\n"])));function wQ(){return wQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wQ.apply(this,arguments)}function _Q(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.checkForDefaultPrevented,o=void 0===r||r;return function(n){if(null==e||e(n),!1===o||!n.defaultPrevented)return null==t?void 0:t(n)}}function EQ(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function SQ(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.forEach((function(t){return EQ(t,e)}))}}function kQ(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Jr.exports.useCallback(SQ.apply(void 0,t),t)}function CQ(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];function r(t,r){var o=Jr.exports.createContext(r),i=n.length;function a(t){var n=t.scope,r=t.children,a=qr(t,vr),u=(null==n?void 0:n[e][i])||o,s=Jr.exports.useMemo((function(){return a}),Object.values(a));return Jr.exports.createElement(u.Provider,{value:s},r)}return n=[].concat(Wr(n),[r]),a.displayName=t+"Provider",[a,function(n,a){var u=(null==a?void 0:a[e][i])||o,s=Jr.exports.useContext(u);if(s)return s;if(void 0!==r)return r;throw new Error("`".concat(n,"` must be used within `").concat(t,"`"))}]}var o=function(){var t=n.map((function(e){return Jr.exports.createContext(e)}));return function(n){var r=(null==n?void 0:n[e])||t;return Jr.exports.useMemo((function(){return Qr({},"__scope".concat(e),Zr(Zr({},n),{},Qr({},e,r)))}),[n,r])}};return o.scopeName=e,[r,AQ.apply(void 0,[o].concat(Wr(t)))]}function AQ(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if(1===t.length)return r;var o=function(){var e=t.map((function(e){return{useScope:e(),scopeName:e.scopeName}}));return function(t){var n=e.reduce((function(e,n){var r=n.useScope,o=n.scopeName,i=r(t)["__scope".concat(o)];return Zr(Zr({},e),i)}),{});return Jr.exports.useMemo((function(){return Qr({},"__scope".concat(r.scopeName),n)}),[n])}};return o.scopeName=r.scopeName,o}var TQ=Jr.exports.forwardRef((function(e,t){var n=e.children,r=qr(e,mr),o=Jr.exports.Children.toArray(n),i=o.find(RQ);if(i){var a=i.props.children,u=o.map((function(e){return e===i?Jr.exports.Children.count(a)>1?Jr.exports.Children.only(null):Jr.exports.isValidElement(a)?a.props.children:null:e}));return Jr.exports.createElement(PQ,wQ({},r,{ref:t}),Jr.exports.isValidElement(a)?Jr.exports.cloneElement(a,void 0,u):null)}return Jr.exports.createElement(PQ,wQ({},r,{ref:t}),n)}));TQ.displayName="Slot";var PQ=Jr.exports.forwardRef((function(e,t){var n=e.children,r=qr(e,gr);return Jr.exports.isValidElement(n)?Jr.exports.cloneElement(n,Zr(Zr({},function(e,t){var n=Zr({},t),r=function(r){var o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=function(){null==i||i.apply(void 0,arguments),null==o||o.apply(void 0,arguments)}:"style"===r?n[r]=Zr(Zr({},o),i):"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))};for(var o in t)r(o);return Zr(Zr({},e),n)}(r,n.props)),{},{ref:SQ(t,n.ref)})):Jr.exports.Children.count(n)>1?Jr.exports.Children.only(null):null}));PQ.displayName="SlotClone";var OQ=function(e){var t=e.children;return Jr.exports.createElement(Jr.exports.Fragment,null,t)};function RQ(e){return Jr.exports.isValidElement(e)&&e.type===OQ}var DQ=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"].reduce((function(e,t){var n=Jr.exports.forwardRef((function(e,n){var r=e.asChild,o=qr(e,yr),i=r?TQ:t;return Jr.exports.useEffect((function(){window[Symbol.for("radix-ui")]=!0}),[]),Jr.exports.createElement(i,wQ({},o,{ref:n}))}));return n.displayName="Primitive.".concat(t),Zr(Zr({},e),{},Qr({},t,n))}),{});function LQ(e){var t=Jr.exports.useRef(e);return Jr.exports.useEffect((function(){t.current=e})),Jr.exports.useMemo((function(){return function(){for(var e,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return null===(n=t.current)||void 0===n?void 0:(e=n).call.apply(e,[t].concat(o))}}),[])}var MQ,NQ="dismissableLayer.update",FQ="dismissableLayer.pointerDownOutside",IQ="dismissableLayer.focusOutside",jQ=Jr.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),zQ=Jr.exports.forwardRef((function(e,t){var n=e.disableOutsidePointerEvents,r=void 0!==n&&n,o=e.onEscapeKeyDown,i=e.onPointerDownOutside,a=e.onFocusOutside,u=e.onInteractOutside,s=e.onDismiss,l=qr(e,br),c=Jr.exports.useContext(jQ),f=$r(Jr.exports.useState(null),2),d=f[0],p=f[1],h=$r(Jr.exports.useState({}),2)[1],v=kQ(t,(function(e){return p(e)})),m=Array.from(c.layers),g=$r(Wr(c.layersWithOutsidePointerEventsDisabled).slice(-1),1)[0],y=m.indexOf(g),b=d?m.indexOf(d):-1,x=c.layersWithOutsidePointerEventsDisabled.size>0,w=b>=y,_=function(e){var t=LQ(e),n=Jr.exports.useRef(!1),r=Jr.exports.useRef((function(){}));return Jr.exports.useEffect((function(){var e=function(e){if(e.target&&!n.current){var o=function(){UQ(FQ,t,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(document.removeEventListener("click",r.current),r.current=o,document.addEventListener("click",r.current,{once:!0})):o()}n.current=!1},o=window.setTimeout((function(){document.addEventListener("pointerdown",e)}),0);return function(){window.clearTimeout(o),document.removeEventListener("pointerdown",e),document.removeEventListener("click",r.current)}}),[t]),{onPointerDownCapture:function(){return n.current=!0}}}((function(e){var t=e.target,n=Wr(c.branches).some((function(e){return e.contains(t)}));!w||n||(null==i||i(e),null==u||u(e),e.defaultPrevented||null==s||s())})),E=function(e){var t=LQ(e),n=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=function(e){e.target&&!n.current&&UQ(IQ,t,{originalEvent:e},{discrete:!1})};return document.addEventListener("focusin",e),function(){return document.removeEventListener("focusin",e)}}),[t]),{onFocusCapture:function(){return n.current=!0},onBlurCapture:function(){return n.current=!1}}}((function(e){var t=e.target;Wr(c.branches).some((function(e){return e.contains(t)}))||(null==a||a(e),null==u||u(e),e.defaultPrevented||null==s||s())}));return function(e){var t=LQ(e);Jr.exports.useEffect((function(){var e=function(e){"Escape"===e.key&&t(e)};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}),[t])}((function(e){b===c.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))})),Jr.exports.useEffect((function(){if(d)return r&&(0===c.layersWithOutsidePointerEventsDisabled.size&&(MQ=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),BQ(),function(){r&&1===c.layersWithOutsidePointerEventsDisabled.size&&(document.body.style.pointerEvents=MQ)}}),[d,r,c]),Jr.exports.useEffect((function(){return function(){!d||(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),BQ())}}),[d,c]),Jr.exports.useEffect((function(){var e=function(){return h({})};return document.addEventListener(NQ,e),function(){return document.removeEventListener(NQ,e)}}),[]),Jr.exports.createElement(DQ.div,wQ({},l,{ref:v,style:Zr({pointerEvents:x?w?"auto":"none":void 0},e.style),onFocusCapture:_Q(e.onFocusCapture,E.onFocusCapture),onBlurCapture:_Q(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:_Q(e.onPointerDownCapture,_.onPointerDownCapture)}))}));function BQ(){var e=new CustomEvent(NQ);document.dispatchEvent(e)}function UQ(e,t,n,r){var o=r.discrete,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?function(e,t){e&&Ko.exports.flushSync((function(){return e.dispatchEvent(t)}))}(i,a):i.dispatchEvent(a)}var VQ=0;function HQ(){var e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var qQ="focusScope.autoFocusOnMount",YQ="focusScope.autoFocusOnUnmount",GQ={bubbles:!1,cancelable:!0},WQ=Jr.exports.forwardRef((function(e,t){var n=e.loop,r=void 0!==n&&n,o=e.trapped,i=void 0!==o&&o,a=e.onMountAutoFocus,u=e.onUnmountAutoFocus,s=qr(e,xr),l=$r(Jr.exports.useState(null),2),c=l[0],f=l[1],d=LQ(a),p=LQ(u),h=Jr.exports.useRef(null),v=kQ(t,(function(e){return f(e)})),m=Jr.exports.useRef({paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}}).current;Jr.exports.useEffect((function(){if(i){var e=function(e){if(!m.paused&&c){var t=e.target;c.contains(t)?h.current=t:$Q(h.current,{select:!0})}},t=function(e){m.paused||!c||c.contains(e.relatedTarget)||$Q(h.current,{select:!0})};return document.addEventListener("focusin",e),document.addEventListener("focusout",t),function(){document.removeEventListener("focusin",e),document.removeEventListener("focusout",t)}}}),[i,c,m.paused]),Jr.exports.useEffect((function(){if(c){JQ.add(m);var e=document.activeElement;if(!c.contains(e)){var t=new CustomEvent(qQ,GQ);c.addEventListener(qQ,d),c.dispatchEvent(t),t.defaultPrevented||(function(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).select,r=void 0!==n&&n,o=document.activeElement,i=vo(e);try{for(i.s();!(t=i.n()).done;){if($Q(t.value,{select:r}),document.activeElement!==o)return}}catch(a){i.e(a)}finally{i.f()}}(function(e){return e.filter((function(e){return"A"!==e.tagName}))}(KQ(c)),{select:!0}),document.activeElement===e&&$Q(c))}return function(){c.removeEventListener(qQ,d),setTimeout((function(){var t=new CustomEvent(YQ,GQ);c.addEventListener(YQ,p),c.dispatchEvent(t),t.defaultPrevented||$Q(null!=e?e:document.body,{select:!0}),c.removeEventListener(YQ,p),JQ.remove(m)}),0)}}}),[c,d,p,m]);var g=Jr.exports.useCallback((function(e){if((r||i)&&!m.paused){var t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var o=e.currentTarget,a=function(e){var t=KQ(e),n=XQ(t,e),r=XQ(t.reverse(),e);return[n,r]}(o),u=$r(a,2),s=u[0],l=u[1];s&&l?e.shiftKey||n!==l?e.shiftKey&&n===s&&(e.preventDefault(),r&&$Q(l,{select:!0})):(e.preventDefault(),r&&$Q(s,{select:!0})):n===o&&e.preventDefault()}}}),[r,i,m.paused]);return Jr.exports.createElement(DQ.div,wQ({tabIndex:-1},s,{ref:v,onKeyDown:g}))}));function KQ(e){for(var t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:function(e){var t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});n.nextNode();)t.push(n.currentNode);return t}function XQ(e,t){var n,r=vo(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!ZQ(o,{upTo:t}))return o}}catch(i){r.e(i)}finally{r.f()}}function ZQ(e,t){var n=t.upTo;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==n&&e===n)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function QQ(e){return e instanceof HTMLInputElement&&"select"in e}function $Q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.select,r=void 0!==n&&n;if(e&&e.focus){var o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&QQ(e)&&r&&e.select()}}var JQ=function(){var e=[];return{add:function(t){var n=e[0];t!==n&&(null==n||n.pause()),(e=e$(e,t)).unshift(t)},remove:function(t){var n;null===(n=(e=e$(e,t))[0])||void 0===n||n.resume()}}}();function e$(e,t){var n=Wr(e),r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}var t$=Boolean(null==globalThis?void 0:globalThis.document)?Jr.exports.useLayoutEffect:function(){},n$=Go["useId".toString()]||function(){},r$=0;function o$(e){var t=$r(Jr.exports.useState(n$()),2),n=t[0],r=t[1];return t$((function(){e||r((function(e){return null!=e?e:String(r$++)}))}),[e]),e||(n?"radix-".concat(n):"")}function i$(e){return e.split("-")[0]}function a$(e){return e.split("-")[1]}function u$(e){return["top","bottom"].includes(i$(e))?"x":"y"}function s$(e){return"y"===e?"height":"width"}function l$(e,t,n){var r,o=e.reference,i=e.floating,a=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,s=u$(t),l=s$(s),c=o[l]/2-i[l]/2,f="x"===s;switch(i$(t)){case"top":r={x:a,y:o.y-i.height};break;case"bottom":r={x:a,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:u};break;case"left":r={x:o.x-i.width,y:u};break;default:r={x:o.x,y:o.y}}switch(a$(t)){case"start":r[s]-=c*(n&&f?-1:1);break;case"end":r[s]+=c*(n&&f?-1:1)}return r}var c$=function(){var e=Vr(Br().mark((function e(t,n,r){var o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.placement,i=void 0===o?"bottom":o,a=r.strategy,u=void 0===a?"absolute":a,s=r.middleware,l=void 0===s?[]:s,c=r.platform,e.next=9,null==c.isRTL?void 0:c.isRTL(n);case 9:return f=e.sent,e.next=12,c.getElementRects({reference:t,floating:n,strategy:u});case 12:d=e.sent,p=l$(d,i,f),h=p.x,v=p.y,m=i,g={},y=0,b=0;case 20:if(!(b<l.length)){e.next=52;break}return x=l[b],w=x.name,_=x.fn,e.next=26,_({x:h,y:v,initialPlacement:i,placement:m,strategy:u,middlewareData:g,rects:d,platform:c,elements:{reference:t,floating:n}});case 26:if(E=e.sent,S=E.x,k=E.y,C=E.data,A=E.reset,h=null!=S?S:h,v=null!=k?k:v,g=Zr(Zr({},g),{},Qr({},w,Zr(Zr({},g[w]),C))),!(A&&y<=50)){e.next=49;break}if(y++,e.t0="object"==ho(A),!e.t0){e.next=47;break}if(A.placement&&(m=A.placement),e.t1=A.rects,!e.t1){e.next=46;break}if(!0!==A.rects){e.next=44;break}return e.next=41,c.getElementRects({reference:t,floating:n,strategy:u});case 41:e.t2=e.sent,e.next=45;break;case 44:e.t2=A.rects;case 45:d=e.t2;case 46:T=l$(d,m,f),h=T.x,v=T.y;case 47:return b=-1,e.abrupt("continue",49);case 49:b++,e.next=20;break;case 52:return e.abrupt("return",{x:h,y:v,placement:m,strategy:u,middlewareData:g});case 53:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();function f$(e){return"number"!=typeof e?function(e){return Zr({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function d$(e){return Zr(Zr({},e),{},{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function p$(e,t){return h$.apply(this,arguments)}function h$(){return h$=Vr(Br().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n={}),o=t.x,i=t.y,a=t.platform,u=t.rects,s=t.elements,l=t.strategy,f=(c=n).boundary,d=void 0===f?"clippingAncestors":f,p=c.rootBoundary,h=void 0===p?"viewport":p,v=c.elementContext,m=void 0===v?"floating":v,g=c.altBoundary,y=void 0!==g&&g,b=c.padding,x=f$(void 0===b?0:b),w=s[y?"floating"===m?"reference":"floating":m],e.t0=d$,e.t1=a,e.next=24,null==a.isElement?void 0:a.isElement(w);case 24:if(e.t3=r=e.sent,e.t2=null==e.t3,e.t2){e.next=28;break}e.t2=r;case 28:if(!e.t2){e.next=32;break}e.t4=w,e.next=38;break;case 32:if(e.t5=w.contextElement,e.t5){e.next=37;break}return e.next=36,null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating);case 36:e.t5=e.sent;case 37:e.t4=e.t5;case 38:return e.t6=e.t4,e.t7=d,e.t8=h,e.t9=l,e.t10={element:e.t6,boundary:e.t7,rootBoundary:e.t8,strategy:e.t9},e.next=45,e.t1.getClippingRect.call(e.t1,e.t10);case 45:if(e.t11=e.sent,_=(0,e.t0)(e.t11),e.t12=d$,!a.convertOffsetParentRelativeRectToViewportRelativeRect){e.next=61;break}return e.t14=a,e.t15="floating"===m?Zr(Zr({},u.floating),{},{x:o,y:i}):u.reference,e.next=53,null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating);case 53:return e.t16=e.sent,e.t17=l,e.t18={rect:e.t15,offsetParent:e.t16,strategy:e.t17},e.next=58,e.t14.convertOffsetParentRelativeRectToViewportRelativeRect.call(e.t14,e.t18);case 58:e.t13=e.sent,e.next=62;break;case 61:e.t13=u[m];case 62:return e.t19=e.t13,E=(0,e.t12)(e.t19),e.abrupt("return",{top:_.top-E.top+x.top,bottom:E.bottom-_.bottom+x.bottom,left:_.left-E.left+x.left,right:E.right-_.right+x.right});case 65:case"end":return e.stop()}}),e)}))),h$.apply(this,arguments)}var v$=Math.min,m$=Math.max;function g$(e,t,n){return m$(e,v$(t,n))}var y$=function(e){return{name:"arrow",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T,P,O,R;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(a=(i=null!=e?e:{}).element,u=i.padding,s=void 0===u?0:u,l=t.x,c=t.y,f=t.placement,d=t.rects,p=t.platform,null!=a){n.next=3;break}return n.abrupt("return",{});case 3:return h=f$(s),v={x:l,y:c},m=u$(f),g=a$(f),y=s$(m),n.next=10,p.getDimensions(a);case 10:return b=n.sent,x="y"===m?"top":"left",w="y"===m?"bottom":"right",_=d.reference[y]+d.reference[m]-v[m]-d.floating[y],E=v[m]-d.reference[m],n.next=17,null==p.getOffsetParent?void 0:p.getOffsetParent(a);case 17:return S=n.sent,0===(k=S?"y"===m?S.clientHeight||0:S.clientWidth||0:0)&&(k=d.floating[y]),C=_/2-E/2,A=h[x],T=k-b[y]-h[w],P=k/2-b[y]/2+C,O=g$(A,P,T),R=("start"===g?h[x]:h[w])>0&&P!==O&&d.reference[y]<=d.floating[y]?P<A?A-P:T-P:0,n.abrupt("return",(Qr(o={},m,v[m]-R),Qr(o,"data",(Qr(r={},m,O),Qr(r,"centerOffset",P-O),r)),o));case 22:case"end":return n.stop()}}),n)})))()}}},b$={left:"right",right:"left",bottom:"top",top:"bottom"};function x$(e){return e.replace(/left|right|bottom|top/g,(function(e){return b$[e]}))}function w$(e,t,n){void 0===n&&(n=!1);var r=a$(e),o=u$(e),i=s$(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=x$(a)),{main:a,cross:x$(a)}}var _$={start:"end",end:"start"};function E$(e){return e.replace(/start|end/g,(function(e){return _$[e]}))}var S$=["top","right","bottom","left"];function k$(e){var t=x$(e);return[E$(e),t,E$(t)]}var C$=function(e){return void 0===e&&(e={}),{name:"flip",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A,T,P,O,R,D,L,M,N,F;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.placement,i=t.middlewareData,a=t.rects,u=t.initialPlacement,s=t.platform,l=t.elements,f=(c=e).mainAxis,d=void 0===f||f,p=c.crossAxis,h=void 0===p||p,v=c.fallbackPlacements,m=c.fallbackStrategy,g=void 0===m?"bestFit":m,y=c.flipAlignment,b=void 0===y||y,x=qr(c,wr),w=i$(o),_=v||(w!==u&&b?k$(u):[x$(u)]),E=[u].concat(Wr(_)),n.next=22,p$(t,x);case 22:if(S=n.sent,k=[],C=(null==(r=i.flip)?void 0:r.overflows)||[],d&&k.push(S[w]),!h){n.next=36;break}return n.t0=w$,n.t1=o,n.t2=a,n.next=31,null==s.isRTL?void 0:s.isRTL(l.floating);case 31:n.t3=n.sent,A=(0,n.t0)(n.t1,n.t2,n.t3),T=A.main,P=A.cross,k.push(S[T],S[P]);case 36:if(C=[].concat(Wr(C),[{placement:o,overflows:k}]),k.every((function(e){return e<=0}))){n.next=51;break}if(D=(null!=(O=null==(R=i.flip)?void 0:R.index)?O:0)+1,!(L=E[D])){n.next=40;break}return n.abrupt("return",{data:{index:D,overflows:C},reset:{placement:L}});case 40:M="bottom",n.t4=g,n.next="bestFit"===n.t4?44:"initialPlacement"===n.t4?47:49;break;case 44:return F=null==(N=C.map((function(e){return[e,e.overflows.filter((function(e){return e>0})).reduce((function(e,t){return e+t}),0)]})).sort((function(e,t){return e[1]-t[1]}))[0])?void 0:N[0].placement,F&&(M=F),n.abrupt("break",49);case 47:return M=u,n.abrupt("break",49);case 49:if(o===M){n.next=51;break}return n.abrupt("return",{reset:{placement:M}});case 51:return n.abrupt("return",{});case 52:case"end":return n.stop()}}),n)})))()}}};function A$(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T$(e){return S$.some((function(t){return e[t]>=0}))}var P$=function(e){var t=void 0===e?{}:e,n=t.strategy,r=void 0===n?"referenceHidden":n,o=qr(t,_r);return{name:"hide",fn:function(e){return Vr(Br().mark((function t(){var n,i,a,u,s;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.rects,t.t0=r,t.next="referenceHidden"===t.t0?4:"escaped"===t.t0?9:14;break;case 4:return t.next=6,p$(e,Zr(Zr({},o),{},{elementContext:"reference"}));case 6:return i=t.sent,a=A$(i,n.reference),t.abrupt("return",{data:{referenceHiddenOffsets:a,referenceHidden:T$(a)}});case 9:return t.next=11,p$(e,Zr(Zr({},o),{},{altBoundary:!0}));case 11:return u=t.sent,s=A$(u,n.floating),t.abrupt("return",{data:{escapedOffsets:s,escaped:T$(s)}});case 14:return t.abrupt("return",{});case 15:case"end":return t.stop()}}),t)})))()}}};function O$(e,t){return R$.apply(this,arguments)}function R$(){return R$=Vr(Br().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m;return Br().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.placement,o=t.platform,i=t.elements,e.next=5,null==o.isRTL?void 0:o.isRTL(i.floating);case 5:return a=e.sent,u=i$(r),s=a$(r),l="x"===u$(r),c=["left","top"].includes(u)?-1:1,f=a&&l?-1:1,d="function"==typeof n?n(t):n,p="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:Zr({mainAxis:0,crossAxis:0,alignmentAxis:null},d),h=p.mainAxis,v=p.crossAxis,m=p.alignmentAxis,e.abrupt("return",(s&&"number"==typeof m&&(v="end"===s?-1*m:m),l?{x:v*f,y:h*c}:{x:h*c,y:v*f}));case 14:case"end":return e.stop()}}),e)}))),R$.apply(this,arguments)}var D$=function(e){return void 0===e&&(e=0),{name:"offset",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.x,o=t.y,n.next=4,O$(t,e);case 4:return i=n.sent,n.abrupt("return",{x:r+i.x,y:o+i.y,data:i});case 6:case"end":return n.stop()}}),n)})))()}}};function L$(e){return"x"===e?"y":"x"}var M$=function(e){return void 0===e&&(e={}),{name:"shift",options:e,fn:function(t){return Vr(Br().mark((function n(){var r,o,i,a,u,s,l,c,f,d,p,h,v,m,g,y,b,x,w,_,E,S,k,C,A;return Br().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.x,i=t.y,a=t.placement,s=(u=e).mainAxis,l=void 0===s||s,c=u.crossAxis,f=void 0!==c&&c,d=u.limiter,p=void 0===d?{fn:function(e){return{x:e.x,y:e.y}}}:d,h=qr(u,Er),v={x:o,y:i},n.next=14,p$(t,h);case 14:return m=n.sent,g=u$(i$(a)),y=L$(g),b=v[g],x=v[y],l&&(w="y"===g?"bottom":"right",_=b+m["y"===g?"top":"left"],E=b-m[w],b=g$(_,b,E)),f&&(S="y"===y?"bottom":"right",k=x+m["y"===y?"top":"left"],C=x-m[S],x=g$(k,x,C)),A=p.fn(Zr(Zr({},t),{},(Qr(r={},g,b),Qr(r,y,x),r))),n.abrupt("return",Zr(Zr({},A),{},{data:{x:A.x-o,y:A.y-i}}));case 22:case"end":return n.stop()}}),n)})))()}}},N$=function(e){return void 0===e&&(e={}),{options:e,fn:function(t){var n,r=t.x,o=t.y,i=t.placement,a=t.rects,u=t.middlewareData,s=e,l=s.offset,c=void 0===l?0:l,f=s.mainAxis,d=void 0===f||f,p=s.crossAxis,h=void 0===p||p,v={x:r,y:o},m=u$(i),g=L$(m),y=v[m],b=v[g],x="function"==typeof c?c(Zr(Zr({},a),{},{placement:i})):c,w="number"==typeof x?{mainAxis:x,crossAxis:0}:Zr({mainAxis:0,crossAxis:0},x);if(d){var _="y"===m?"height":"width",E=a.reference[m]-a.floating[_]+w.mainAxis,S=a.reference[m]+a.reference[_]-w.mainAxis;y<E?y=E:y>S&&(y=S)}if(h){var k,C,A,T,P="y"===m?"width":"height",O=["top","left"].includes(i$(i)),R=a.reference[g]-a.floating[P]+(O&&null!=(k=null==(C=u.offset)?void 0:C[g])?k:0)+(O?0:w.crossAxis),D=a.reference[g]+a.reference[P]+(O?0:null!=(A=null==(T=u.offset)?void 0:T[g])?A:0)-(O?w.crossAxis:0);b<R?b=R:b>D&&(b=D)}return Qr(n={},m,y),Qr(n,g,b),n}}};function F$(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function I$(e){if(null==e)return window;if(!F$(e)){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function j$(e){return I$(e).getComputedStyle(e)}function z$(e){return F$(e)?"":e?(e.nodeName||"").toLowerCase():""}function B$(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function U$(e){return e instanceof I$(e).HTMLElement}function V$(e){return e instanceof I$(e).Element}function H$(e){return!(("undefined"==typeof ShadowRoot?"undefined":ho(ShadowRoot))>"u")&&(e instanceof I$(e).ShadowRoot||e instanceof ShadowRoot)}function q$(e){var t=j$(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Y$(e){return["table","td","th"].includes(z$(e))}function G$(e){var t=/firefox/i.test(B$()),n=j$(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function W$(){return!/^((?!chrome|android).)*safari/i.test(B$())}var K$=Math.min,X$=Math.max,Z$=Math.round;function Q$(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);var u=e.getBoundingClientRect(),s=1,l=1;t&&U$(e)&&(s=e.offsetWidth>0&&Z$(u.width)/e.offsetWidth||1,l=e.offsetHeight>0&&Z$(u.height)/e.offsetHeight||1);var c=V$(e)?I$(e):window,f=!W$()&&n,d=(u.left+(f&&null!=(r=null==(o=c.visualViewport)?void 0:o.offsetLeft)?r:0))/s,p=(u.top+(f&&null!=(i=null==(a=c.visualViewport)?void 0:a.offsetTop)?i:0))/l,h=u.width/s,v=u.height/l;return{width:h,height:v,top:p,right:d+h,bottom:p+v,left:d,x:d,y:p}}function $$(e){return((function(e){return e instanceof I$(e).Node}(e)?e.ownerDocument:e.document)||window.document).documentElement}function J$(e){return V$(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function eJ(e){return Q$($$(e)).left+J$(e).scrollLeft}function tJ(e,t,n){var r=U$(t),o=$$(t),i=Q$(e,r&&function(e){var t=Q$(e);return Z$(t.width)!==e.offsetWidth||Z$(t.height)!==e.offsetHeight}(t),"fixed"===n),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==z$(t)||q$(o))&&(a=J$(t)),U$(t)){var s=Q$(t,!0);u.x=s.x+t.clientLeft,u.y=s.y+t.clientTop}else o&&(u.x=eJ(o));return{x:i.left+a.scrollLeft-u.x,y:i.top+a.scrollTop-u.y,width:i.width,height:i.height}}function nJ(e){return"html"===z$(e)?e:e.assignedSlot||e.parentNode||(H$(e)?e.host:null)||$$(e)}function rJ(e){return U$(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function oJ(e){for(var t=I$(e),n=rJ(e);n&&Y$(n)&&"static"===getComputedStyle(n).position;)n=rJ(n);return n&&("html"===z$(n)||"body"===z$(n)&&"static"===getComputedStyle(n).position&&!G$(n))?t:n||function(e){var t=nJ(e);for(H$(t)&&(t=t.host);U$(t)&&!["html","body"].includes(z$(t));){if(G$(t))return t;t=t.parentNode}return null}(e)||t}function iJ(e){if(U$(e))return{width:e.offsetWidth,height:e.offsetHeight};var t=Q$(e);return{width:t.width,height:t.height}}function aJ(e){var t=nJ(e);return["html","body","#document"].includes(z$(t))?e.ownerDocument.body:U$(t)&&q$(t)?t:aJ(t)}function uJ(e,t){var n;void 0===t&&(t=[]);var r=aJ(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=I$(r),a=o?[i].concat(i.visualViewport||[],q$(r)?r:[]):r,u=t.concat(a);return o?u:u.concat(uJ(a))}function sJ(e,t,n){return"viewport"===t?d$(function(e,t){var n=I$(e),r=$$(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,u=0,s=0;if(o){i=o.width,a=o.height;var l=W$();(l||!l&&"fixed"===t)&&(u=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:u,y:s}}(e,n)):V$(t)?function(e,t){var n=Q$(e,!1,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):d$(function(e){var t,n=$$(e),r=J$(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=X$(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=X$(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+eJ(e),s=-r.scrollTop;return"rtl"===j$(o||n).direction&&(u+=X$(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:s}}($$(e)))}function lJ(e){var t=uJ(e),n=["absolute","fixed"].includes(j$(e).position)&&U$(e)?oJ(e):e;return V$(n)?t.filter((function(e){return V$(e)&&function(e,t){var n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&H$(n)){var r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}(e,n)&&"body"!==z$(e)})):[]}var cJ={getClippingRect:function(e){var t=e.element,n=e.boundary,r=e.rootBoundary,o=e.strategy,i=[].concat(Wr("clippingAncestors"===n?lJ(t):[].concat(n)),[r]),a=i[0],u=i.reduce((function(e,n){var r=sJ(t,n,o);return e.top=X$(r.top,e.top),e.right=K$(r.right,e.right),e.bottom=K$(r.bottom,e.bottom),e.left=X$(r.left,e.left),e}),sJ(t,a,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){var t=e.rect,n=e.offsetParent,r=e.strategy,o=U$(n),i=$$(n);if(n===i)return t;var a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==z$(n)||q$(i))&&(a=J$(n)),U$(n))){var s=Q$(n,!0);u.x=s.x+n.clientLeft,u.y=s.y+n.clientTop}return Zr(Zr({},t),{},{x:t.x-a.scrollLeft+u.x,y:t.y-a.scrollTop+u.y})},isElement:V$,getDimensions:iJ,getOffsetParent:oJ,getDocumentElement:$$,getElementRects:function(e){var t=e.reference,n=e.floating,r=e.strategy;return{reference:tJ(t,oJ(n),r),floating:Zr(Zr({},iJ(n)),{},{x:0,y:0})}},getClientRects:function(e){return Array.from(e.getClientRects())},isRTL:function(e){return"rtl"===j$(e).direction}};function fJ(e,t,n,r){void 0===r&&(r={});var o=r,i=o.ancestorScroll,a=void 0===i||i,u=o.ancestorResize,s=void 0===u||u,l=o.elementResize,c=void 0===l||l,f=o.animationFrame,d=void 0!==f&&f,p=a&&!d,h=s&&!d,v=p||h?[].concat(Wr(V$(e)?uJ(e):[]),Wr(uJ(t))):[];v.forEach((function(e){p&&e.addEventListener("scroll",n,{passive:!0}),h&&e.addEventListener("resize",n)}));var m=null;if(c){var g=!0;m=new ResizeObserver((function(){g||n(),g=!1})),V$(e)&&!d&&m.observe(e),m.observe(t)}var y,b=d?Q$(e):null;return d&&function t(){var r=Q$(e);b&&(r.x!==b.x||r.y!==b.y||r.width!==b.width||r.height!==b.height)&&n(),b=r,y=requestAnimationFrame(t)}(),n(),function(){var e;v.forEach((function(e){p&&e.removeEventListener("scroll",n),h&&e.removeEventListener("resize",n)})),null==(e=m)||e.disconnect(),m=null,d&&cancelAnimationFrame(y)}}var dJ=("undefined"==typeof document?"undefined":ho(document))<"u"?Jr.exports.useLayoutEffect:Jr.exports.useEffect;function pJ(e,t){if(e===t)return!0;if(ho(e)!=ho(t))return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;var n,r,o;if(e&&t&&"object"==ho(e)){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!pJ(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){var i=o[r];if(!("_owner"===i&&e.$$typeof||pJ(e[i],t[i])))return!1}return!0}return e!=e&&t!=t}function hJ(e){var t=void 0===e?{}:e,n=t.middleware,r=t.placement,o=void 0===r?"bottom":r,i=t.strategy,a=void 0===i?"absolute":i,u=t.whileElementsMounted,s=Jr.exports.useRef(null),l=Jr.exports.useRef(null),c=function(e){var t=Jr.exports.useRef(e);return dJ((function(){t.current=e})),t}(u),f=Jr.exports.useRef(null),d=$r(Jr.exports.useState({x:null,y:null,strategy:a,placement:o,middlewareData:{}}),2),p=d[0],h=d[1],v=$r(Jr.exports.useState(n),2),m=v[0],g=v[1];pJ(null==m?void 0:m.map((function(e){return e.options})),null==n?void 0:n.map((function(e){return e.options})))||g(n);var y=Jr.exports.useCallback((function(){!s.current||!l.current||function(e,t,n){return c$(e,t,Zr({platform:cJ},n))}(s.current,l.current,{middleware:m,placement:o,strategy:a}).then((function(e){b.current&&Ko.exports.flushSync((function(){h(e)}))}))}),[m,o,a]);dJ((function(){b.current&&y()}),[y]);var b=Jr.exports.useRef(!1);dJ((function(){return b.current=!0,function(){b.current=!1}}),[]);var x=Jr.exports.useCallback((function(){if("function"==typeof f.current&&(f.current(),f.current=null),s.current&&l.current)if(c.current){var e=c.current(s.current,l.current,y);f.current=e}else y()}),[y,c]),w=Jr.exports.useCallback((function(e){s.current=e,x()}),[x]),_=Jr.exports.useCallback((function(e){l.current=e,x()}),[x]),E=Jr.exports.useMemo((function(){return{reference:s,floating:l}}),[]);return Jr.exports.useMemo((function(){return Zr(Zr({},p),{},{update:y,refs:E,reference:w,floating:_})}),[p,y,E,w,_])}var vJ=function(e){var t=e.element,n=e.padding;return{name:"arrow",options:e,fn:function(e){return function(e){return Object.prototype.hasOwnProperty.call(e,"current")}(t)?null!=t.current?y$({element:t.current,padding:n}).fn(e):{}:t?y$({element:t,padding:n}).fn(e):{}}}},mJ=Jr.exports.forwardRef((function(e,t){var n=e.children,r=e.width,o=void 0===r?10:r,i=e.height,a=void 0===i?5:i,u=qr(e,Sr);return Jr.exports.createElement(DQ.svg,wQ({},u,{ref:t,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:Jr.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))})),gJ=mJ;var yJ="Popper",bJ=$r(CQ(yJ),2),xJ=bJ[0],wJ=bJ[1],_J=$r(xJ(yJ),2),EJ=_J[0],SJ=_J[1],kJ=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopper,r=e.virtualRef,o=qr(e,kr),i=SJ("PopperAnchor",n),a=Jr.exports.useRef(null),u=kQ(t,a);return Jr.exports.useEffect((function(){i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:Jr.exports.createElement(DQ.div,wQ({},o,{ref:u}))})),CJ="PopperContent",AJ=$r(xJ(CJ),2),TJ=AJ[0],PJ=AJ[1],OJ=$r(xJ(CJ,{hasParent:!1,positionUpdateFns:new Set}),2),RJ=OJ[0],DJ=OJ[1],LJ=Jr.exports.forwardRef((function(e,t){var n,r,o,i,a,u,s,l,c=e.__scopePopper,f=e.side,d=void 0===f?"bottom":f,p=e.sideOffset,h=void 0===p?0:p,v=e.align,m=void 0===v?"center":v,g=e.alignOffset,y=void 0===g?0:g,b=e.arrowPadding,x=void 0===b?0:b,w=e.collisionBoundary,_=void 0===w?[]:w,E=e.collisionPadding,S=void 0===E?0:E,k=e.sticky,C=void 0===k?"partial":k,A=e.hideWhenDetached,T=void 0!==A&&A,P=e.avoidCollisions,O=void 0===P||P,R=qr(e,Cr),D=SJ(CJ,c),L=$r(Jr.exports.useState(null),2),M=L[0],N=L[1],F=kQ(t,(function(e){return N(e)})),I=$r(Jr.exports.useState(null),2),j=I[0],z=I[1],B=function(e){var t=$r(Jr.exports.useState(void 0),2),n=t[0],r=t[1];return t$((function(){if(e){r({width:e.offsetWidth,height:e.offsetHeight});var t=new ResizeObserver((function(t){if(Array.isArray(t)&&t.length){var n,o,i=t[0];if("borderBoxSize"in i){var a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;n=u.inlineSize,o=u.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})}}));return t.observe(e,{box:"border-box"}),function(){return t.unobserve(e)}}r(void 0)}),[e]),n}(j),U=null!==(n=null==B?void 0:B.width)&&void 0!==n?n:0,V=null!==(r=null==B?void 0:B.height)&&void 0!==r?r:0,H=d+("center"!==m?"-"+m:""),q="number"==typeof S?S:Zr({top:0,right:0,bottom:0,left:0},S),Y=Array.isArray(_)?_:[_],G=Y.length>0,W={padding:q,boundary:Y.filter(IJ),altBoundary:G},K=hJ({strategy:"fixed",placement:H,whileElementsMounted:fJ,middleware:[D$({mainAxis:h+V,alignmentAxis:y}),O?M$(Zr({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?N$():void 0},W)):void 0,j?vJ({element:j,padding:x}):void 0,O?C$(Zr({},W)):void 0,jJ({arrowWidth:U,arrowHeight:V}),T?P$({strategy:"referenceHidden"}):void 0].filter(FJ)}),X=K.reference,Z=K.floating,Q=K.strategy,$=K.x,J=K.y,ee=K.placement,te=K.middlewareData,ne=K.update;t$((function(){X(D.anchor)}),[X,D.anchor]);var re=null!==$&&null!==J,oe=$r(zJ(ee),2),ie=oe[0],ae=oe[1],ue=null===(o=te.arrow)||void 0===o?void 0:o.x,se=null===(i=te.arrow)||void 0===i?void 0:i.y,le=0!==(null===(a=te.arrow)||void 0===a?void 0:a.centerOffset),ce=$r(Jr.exports.useState(),2),fe=ce[0],de=ce[1];t$((function(){M&&de(window.getComputedStyle(M).zIndex)}),[M]);var pe=DJ(CJ,c),he=pe.hasParent,ve=pe.positionUpdateFns,me=!he;Jr.exports.useLayoutEffect((function(){if(!me)return ve.add(ne),function(){ve.delete(ne)}}),[me,ve,ne]),Jr.exports.useLayoutEffect((function(){me&&re&&Array.from(ve).reverse().forEach((function(e){return requestAnimationFrame(e)}))}),[me,re,ve]);var ge=Zr(Zr({"data-side":ie,"data-align":ae},R),{},{ref:F,style:Zr(Zr({},R.style),{},{animation:re?void 0:"none",opacity:null!==(u=te.hide)&&void 0!==u&&u.referenceHidden?0:void 0})});return Jr.exports.createElement("div",{ref:Z,"data-radix-popper-content-wrapper":"",style:Qr({position:Q,left:0,top:0,transform:re?"translate3d(".concat(Math.round($),"px, ").concat(Math.round(J),"px, 0)"):"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:fe},"--radix-popper-transform-origin",[null===(s=te.transformOrigin)||void 0===s?void 0:s.x,null===(l=te.transformOrigin)||void 0===l?void 0:l.y].join(" "))},Jr.exports.createElement(TJ,{scope:c,placedSide:ie,onArrowChange:z,arrowX:ue,arrowY:se,shouldHideArrow:le},me?Jr.exports.createElement(RJ,{scope:c,hasParent:!0,positionUpdateFns:ve},Jr.exports.createElement(DQ.div,ge)):Jr.exports.createElement(DQ.div,ge)))})),MJ={top:"bottom",right:"left",bottom:"top",left:"right"},NJ=Jr.exports.forwardRef((function(e,t){var n,r=e.__scopePopper,o=qr(e,Ar),i=PJ("PopperArrow",r),a=MJ[i.placedSide];return Jr.exports.createElement("span",{ref:i.onArrowChange,style:(n={position:"absolute",left:i.arrowX,top:i.arrowY},Qr(n,a,0),Qr(n,"transformOrigin",{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide]),Qr(n,"transform",{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide]),Qr(n,"visibility",i.shouldHideArrow?"hidden":void 0),n)},Jr.exports.createElement(gJ,wQ({},o,{ref:t,style:Zr(Zr({},o.style),{},{display:"block"})})))}));function FJ(e){return void 0!==e}function IJ(e){return null!==e}var jJ=function(e){return{name:"transformOrigin",options:e,fn:function(t){var n,r,o,i,a,u=t.placement,s=t.rects,l=t.middlewareData,c=0!==(null===(n=l.arrow)||void 0===n?void 0:n.centerOffset),f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,p=$r(zJ(u),2),h=p[0],v={start:"0%",center:"50%",end:"100%"}[p[1]],m=(null!==(r=null===(o=l.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+f/2,g=(null!==(i=null===(a=l.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+d/2,y="",b="";return"bottom"===h?(y=c?v:"".concat(m,"px"),b="".concat(-d,"px")):"top"===h?(y=c?v:"".concat(m,"px"),b="".concat(s.floating.height+d,"px")):"right"===h?(y="".concat(-d,"px"),b=c?v:"".concat(g,"px")):"left"===h&&(y="".concat(s.floating.width+d,"px"),b=c?v:"".concat(g,"px")),{data:{x:y,y:b}}}}};function zJ(e){var t=$r(e.split("-"),2),n=t[0],r=t[1];return[n,void 0===r?"center":r]}var BJ=function(e){var t=e.__scopePopper,n=e.children,r=$r(Jr.exports.useState(null),2),o=r[0],i=r[1];return Jr.exports.createElement(EJ,{scope:t,anchor:o,onAnchorChange:i},n)},UJ=kJ,VJ=LJ,HJ=NJ;var qJ=function(e){var t=e.present,n=e.children,r=function(e){var t=$r(Jr.exports.useState(),2),n=t[0],r=t[1],o=Jr.exports.useRef({}),i=Jr.exports.useRef(e),a=Jr.exports.useRef("none"),u=$r(function(e,t){return Jr.exports.useReducer((function(e,n){var r=t[e][n];return null!=r?r:e}),e)}(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),2),s=u[0],l=u[1];return Jr.exports.useEffect((function(){var e=YJ(o.current);a.current="mounted"===s?e:"none"}),[s]),t$((function(){var t=o.current,n=i.current;if(n!==e){var r=a.current,u=YJ(t);e?l("MOUNT"):"none"===u||"none"===(null==t?void 0:t.display)?l("UNMOUNT"):l(n&&r!==u?"ANIMATION_OUT":"UNMOUNT"),i.current=e}}),[e,l]),t$((function(){if(n){var e=function(e){var t=YJ(o.current).includes(e.animationName);e.target===n&&t&&Ko.exports.flushSync((function(){return l("ANIMATION_END")}))},t=function(e){e.target===n&&(a.current=YJ(o.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),function(){n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}l("ANIMATION_END")}),[n,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:Jr.exports.useCallback((function(e){e&&(o.current=getComputedStyle(e)),r(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):Jr.exports.Children.only(n),i=kQ(r.ref,o.ref);return"function"==typeof n||r.isPresent?Jr.exports.cloneElement(o,{ref:i}):null};function YJ(e){return(null==e?void 0:e.animationName)||"none"}function GJ(e){var t=e.prop,n=e.defaultProp,r=e.onChange,o=void 0===r?function(){}:r,i=function(e){var t=e.defaultProp,n=e.onChange,r=Jr.exports.useState(t),o=$r(r,1)[0],i=Jr.exports.useRef(o),a=LQ(n);return Jr.exports.useEffect((function(){i.current!==o&&(a(o),i.current=o)}),[o,i,a]),r}({defaultProp:n,onChange:o}),a=$r(i,2),u=a[0],s=a[1],l=void 0!==t,c=l?t:u,f=LQ(o),d=Jr.exports.useCallback((function(e){if(l){var n="function"==typeof e?e(t):e;n!==t&&f(n)}else s(e)}),[l,t,s,f]);return[c,d]}qJ.displayName="Presence";var WJ=new WeakMap,KJ=new WeakMap,XJ={},ZJ=0,QJ=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return("undefined"==typeof document?"undefined":ho(document))>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),function(e,t,n,r){var o=Array.isArray(e)?e:[e];XJ[n]||(XJ[n]=new WeakMap);var i=XJ[n],a=[],u=new Set,s=new Set(o);return o.forEach((function e(t){!t||u.has(t)||(u.add(t),e(t.parentNode))})),function e(t){!t||s.has(t)||Array.prototype.forEach.call(t.children,(function(t){if(u.has(t))e(t);else{var o=t.getAttribute(r),s=null!==o&&"false"!==o,l=(WJ.get(t)||0)+1,c=(i.get(t)||0)+1;WJ.set(t,l),i.set(t,c),a.push(t),1===l&&s&&KJ.set(t,!0),1===c&&t.setAttribute(n,"true"),s||t.setAttribute(r,"true")}}))}(t),u.clear(),ZJ++,function(){a.forEach((function(e){var t=WJ.get(e)-1,o=i.get(e)-1;WJ.set(e,t),i.set(e,o),t||(KJ.has(e)||e.removeAttribute(r),KJ.delete(e)),o||e.removeAttribute(n)})),--ZJ||(WJ=new WeakMap,WJ=new WeakMap,KJ=new WeakMap,XJ={})}}(r,o,n,"aria-hidden")):function(){return null}},$J=function(){return $J=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},$J.apply(this,arguments)};function JJ(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}var e0="right-scroll-bar-position",t0="width-before-scroll-bar";function n0(e,t){return function(e,t){var n=Jr.exports.useState((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}(t||null,(function(t){return e.forEach((function(e){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(e,t)}))}))}function r0(e){return e}var o0=function(e){var t=e.sideCar,n=JJ(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return Pq(r,Zr({},$J({},n)))};o0.isSideCarExport=!0;var i0=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=r0);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=$J({async:!0,ssr:!1},e),t}(),a0=function(){},u0=Jr.exports.forwardRef((function(e,t){var n=Jr.exports.useRef(null),r=Jr.exports.useState({onScrollCapture:a0,onWheelCapture:a0,onTouchMoveCapture:a0}),o=r[0],i=r[1],a=e.forwardProps,u=e.children,s=e.className,l=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,p=e.noIsolation,h=e.inert,v=e.allowPinchZoom,m=e.as,g=void 0===m?"div":m,y=JJ(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=d,x=n0([n,t]),w=$J($J({},y),o);return Oq(Tq,{children:[c&&Pq(b,{sideCar:i0,removeScrollBar:l,shards:f,noIsolation:p,inert:h,setCallbacks:i,allowPinchZoom:!!v,lockRef:n}),a?Jr.exports.cloneElement(Jr.exports.Children.only(u),$J($J({},w),{ref:x})):Pq(g,Zr(Zr({},$J({},w,{className:s,ref:x})),{},{children:u}))]})}));u0.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},u0.classNames={fullWidth:t0,zeroRight:e0};function s0(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if(("undefined"==typeof __webpack_nonce__?"undefined":ho(__webpack_nonce__))<"u")return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var l0=function(){var e=0,t=null;return{add:function(n){0==e&&(t=s0())&&(function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},c0=function(){var e=function(){var e=l0();return function(t,n){Jr.exports.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])}}();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},f0={left:0,top:0,right:0,gap:0},d0=function(e){return parseInt(e||"",10)||0},p0=function(e){if(void 0===e&&(e="margin"),("undefined"==typeof window?"undefined":ho(window))>"u")return f0;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[d0(n),d0(r),d0(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},h0=c0(),v0=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(e0," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(t0," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(e0," .").concat(e0," {\n right: 0 ").concat(r,";\n }\n \n .").concat(t0," .").concat(t0," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},m0=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=Jr.exports.useMemo((function(){return p0(o)}),[o]);return Pq(h0,{styles:v0(i,!t,o,n?"":"!important")})},g0=!1;if(("undefined"==typeof window?"undefined":ho(window))<"u")try{var y0=Object.defineProperty({},"passive",{get:function(){return g0=!0,!0}});window.addEventListener("test",y0,y0),window.removeEventListener("test",y0,y0)}catch(r5){g0=!1}var b0=!!g0&&{passive:!1},x0=function(e,t){var n=t;do{if(("undefined"==typeof ShadowRoot?"undefined":ho(ShadowRoot))<"u"&&n instanceof ShadowRoot&&(n=n.host),w0(e,n)){var r=_0(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},w0=function(e,t){return"v"===e?function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowY&&!(t.overflowY===t.overflowX&&"visible"===t.overflowY)}(t):function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowX&&!(t.overflowY===t.overflowX&&"visible"===t.overflowX)}(t)},_0=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},E0=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},S0=function(e){return[e.deltaX,e.deltaY]},k0=function(e){return e&&"current"in e?e.current:e},C0=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},A0=0,T0=[];var P0=function(e,t){return e.useMedium(t),o0}(i0,(function(e){var t=Jr.exports.useRef([]),n=Jr.exports.useRef([0,0]),r=Jr.exports.useRef(),o=Jr.exports.useState(A0++)[0],i=Jr.exports.useState((function(){return c0()}))[0],a=Jr.exports.useRef(e);Jr.exports.useEffect((function(){a.current=e}),[e]),Jr.exports.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=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))}([e.lockRef.current],(e.shards||[]).map(k0),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var u=Jr.exports.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=E0(e),u=n.current,s="deltaX"in e?e.deltaX:u[0]-i[0],l="deltaY"in e?e.deltaY:u[1]-i[1],c=e.target,f=Math.abs(s)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=x0(f,c);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=x0(f,c)),!d)return!1;if(!r.current&&"changedTouches"in e&&(s||l)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,u=n.target,s=t.contains(u),l=!1,c=a>0,f=0,d=0;do{var p=_0(e,u),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&w0(e,u)&&(f+=v,d+=h),u=u.parentNode}while(!s&&u!==document.body||s&&(t.contains(u)||t===u));return(c&&(o&&0===f||!o&&a>f)||!c&&(o&&0===d||!o&&-a>d))&&(l=!0),l}(p,t,e,"h"===p?s:l,!0)}),[]),s=Jr.exports.useCallback((function(e){var n=e;if(T0.length&&T0[T0.length-1]===i){var r="deltaY"in n?S0(n):E0(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,r)}))[0];if(o&&o.should)return void n.preventDefault();if(!o){var s=(a.current.shards||[]).map(k0).filter(Boolean).filter((function(e){return e.contains(n.target)}));(s.length>0?u(n,s[0]):!a.current.noIsolation)&&n.preventDefault()}}}),[]),l=Jr.exports.useCallback((function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout((function(){t.current=t.current.filter((function(e){return e!==i}))}),1)}),[]),c=Jr.exports.useCallback((function(e){n.current=E0(e),r.current=void 0}),[]),f=Jr.exports.useCallback((function(t){l(t.type,S0(t),t.target,u(t,e.lockRef.current))}),[]),d=Jr.exports.useCallback((function(t){l(t.type,E0(t),t.target,u(t,e.lockRef.current))}),[]);Jr.exports.useEffect((function(){return T0.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",s,b0),document.addEventListener("touchmove",s,b0),document.addEventListener("touchstart",c,b0),function(){T0=T0.filter((function(e){return e!==i})),document.removeEventListener("wheel",s,b0),document.removeEventListener("touchmove",s,b0),document.removeEventListener("touchstart",c,b0)}}),[]);var p=e.removeScrollBar,h=e.inert;return Oq(Tq,{children:[h?Pq(i,{styles:C0(o)}):null,p?Pq(m0,{gapMode:"margin"}):null]})})),O0=Jr.exports.forwardRef((function(e,t){return Pq(u0,Zr({},$J({},e,{ref:t,sideCar:P0})))}));O0.classNames=u0.classNames;var R0=O0,D0="Popover",L0=$r(CQ(D0,[wJ]),2),M0=L0[0],N0=(L0[1],wJ()),F0=$r(M0(D0),2),I0=F0[0],j0=F0[1],z0=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=qr(e,Tr),o=j0("PopoverTrigger",n),i=N0(n),a=kQ(t,o.triggerRef),u=Jr.exports.createElement(DQ.button,wQ({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":K0(o.open)},r,{ref:a,onClick:_Q(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?u:Jr.exports.createElement(UJ,wQ({asChild:!0},i),u)})),B0=$r(M0("PopoverPortal",{forceMount:void 0}),2),U0=(B0[0],B0[1]),V0="PopoverContent",H0=Jr.exports.forwardRef((function(e,t){var n=U0(V0,e.__scopePopover),r=e.forceMount,o=void 0===r?n.forceMount:r,i=qr(e,Pr),a=j0(V0,e.__scopePopover);return Jr.exports.createElement(qJ,{present:o||a.open},a.modal?Jr.exports.createElement(q0,wQ({},i,{ref:t})):Jr.exports.createElement(Y0,wQ({},i,{ref:t})))})),q0=Jr.exports.forwardRef((function(e,t){var n=j0(V0,e.__scopePopover),r=Jr.exports.useRef(null),o=kQ(t,r),i=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=r.current;if(e)return QJ(e)}),[]),Jr.exports.createElement(R0,{as:TQ,allowPinchZoom:!0},Jr.exports.createElement(G0,wQ({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:_Q(e.onCloseAutoFocus,(function(e){var t;e.preventDefault(),i.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:_Q(e.onPointerDownOutside,(function(e){var t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;i.current=r}),{checkForDefaultPrevented:!1}),onFocusOutside:_Q(e.onFocusOutside,(function(e){return e.preventDefault()}),{checkForDefaultPrevented:!1})})))})),Y0=Jr.exports.forwardRef((function(e,t){var n=j0(V0,e.__scopePopover),r=Jr.exports.useRef(!1);return Jr.exports.createElement(G0,wQ({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:function(t){var o,i;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(r.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault());r.current=!1},onInteractOutside:function(t){var o,i;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0);var a=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(a))&&t.preventDefault()}}))})),G0=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=e.trapFocus,o=e.onOpenAutoFocus,i=e.onCloseAutoFocus,a=e.disableOutsidePointerEvents,u=e.onEscapeKeyDown,s=e.onPointerDownOutside,l=e.onFocusOutside,c=e.onInteractOutside,f=qr(e,Or),d=j0(V0,n),p=N0(n);return Jr.exports.useEffect((function(){var e,t,n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:HQ()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:HQ()),VQ++,function(){1===VQ&&document.querySelectorAll("[data-radix-focus-guard]").forEach((function(e){return e.remove()})),VQ--}}),[]),Jr.exports.createElement(WQ,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},Jr.exports.createElement(zQ,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:l,onDismiss:function(){return d.onOpenChange(!1)}},Jr.exports.createElement(VJ,wQ({"data-state":K0(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:Zr(Zr({},f.style),{},Qr({},"--radix-popover-content-transform-origin","var(--radix-popper-transform-origin)"))}))))})),W0=Jr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=qr(e,Rr),o=N0(n);return Jr.exports.createElement(HJ,wQ({},o,r,{ref:t}))}));function K0(e){return e?"open":"closed"}var X0=function(e){var t=e.__scopePopover,n=e.children,r=e.open,o=e.defaultOpen,i=e.onOpenChange,a=e.modal,u=void 0!==a&&a,s=N0(t),l=Jr.exports.useRef(null),c=$r(Jr.exports.useState(!1),2),f=c[0],d=c[1],p=$r(GJ({prop:r,defaultProp:o,onChange:i}),2),h=p[0],v=void 0!==h&&h,m=p[1];return Jr.exports.createElement(BJ,s,Jr.exports.createElement(I0,{scope:t,contentId:o$(),triggerRef:l,open:v,onOpenChange:m,onOpenToggle:Jr.exports.useCallback((function(){return m((function(e){return!e}))}),[m]),hasCustomAnchor:f,onCustomAnchorAdd:Jr.exports.useCallback((function(){return d(!0)}),[]),onCustomAnchorRemove:Jr.exports.useCallback((function(){return d(!1)}),[]),modal:u},n))},Z0=z0,Q0=H0,$0=W0,J0=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM13 19H11V17H13V19ZM15.07 11.25L14.17 12.17C13.45 12.9 13 13.5 13 15H11V14.5C11 13.4 11.45 12.4 12.17 11.67L13.41 10.41C13.78 10.05 14 9.55 14 9C14 7.9 13.1 7 12 7C10.9 7 10 7.9 10 9H8C8 6.79 9.79 5 12 5C14.21 5 16 6.79 16 9C16 9.88 15.64 10.68 15.07 11.25Z"})}))},e1=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M11 18H13V16H11V18ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM12 6C9.79 6 8 7.79 8 10H10C10 8.9 10.9 8 12 8C13.1 8 14 8.9 14 10C14 12 11 11.75 11 15H13C13 12.75 16 12.5 16 10C16 7.79 14.21 6 12 6Z"})}))},t1=yE(Z0)(ct||(ct=Hr(["\n background: none;\n border: none;\n padding: 2px;\n margin: 0 0 0 ",";\n flex-shrink: 0;\n box-sizing: content-box;\n"])),Bq["--ll-spacing-x-small"]),n1=yE(Q0)(ft||(ft=Hr(["\n background-color: ",";\n padding: ",";\n border-radius: ",";\n box-shadow: ",";\n z-index: 1;\n width: 240px;\n max-width: 100vw;\n"])),Bq["--ll-color-background"],Bq["--ll-spacing-small"],Bq["--ll-border-radius-small"],Bq["--ll-shadow-small"]),r1=yE.div(dt||(dt=Hr(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n"]))),o1=yE($0)(pt||(pt=Hr(["\n fill: ",";\n"])),Bq["--ll-color-background"]),i1=Object.freeze(Object.defineProperty({__proto__:null,Badge:function(e){var t=e.options,n=(t=void 0===t?{}:t).variant,r=void 0===n?"large":n,o=t.isPrimary,i=void 0===o||o,a=HZ().options,u=a.scoresData,s=a.score,l=YZ({scoresData:u,score:s}).scoreVal;return null==l?null:Pq(GZ,{"data-testid":"score-badge",variant:r,isPrimary:i,children:Pq(WZ,{children:l})})},Title:JZ,Icon:dQ,BarChart:function(e){var t=e.options,n=(t=void 0===t?{}:t).locationIcon,r=t.cityIcon,o=t.neighbourhoodIcon,i=HZ().options,a=i.scoresData,u=i.score,s=YZ({score:u,scoresData:a}),l=s.scoreVal,c=s.cityName,f=s.cityScoreVal,d=(s.neighbourhoodName,s.neighbourhoodScoreVal,ZZ([hQ]).translations),p=!!n||!!r||!!o,h=function(){var e=$r(Jr.exports.useState(null),2),t=e[0],n=e[1],r=$r(Jr.exports.useState(pQ),2),o=r[0],i=r[1],a=Jr.exports.useMemo((function(){return new window.ResizeObserver((function(e){if(e[0]){var t=e[0].contentRect,n=t.x,r=t.y,o=t.width,a=t.height,u=t.top,s=t.left,l=t.bottom,c=t.right;i({x:n,y:r,width:o,height:a,top:u,left:s,bottom:l,right:c})}}))}),[]);return Jr.exports.useLayoutEffect((function(){if(t)return a.observe(t),function(){a.disconnect()}}),[t]),[n,o,t]}(),v=$r(h,2),m=v[0],g=v[1],y=Pq("div",{}),b=function(e){return e?Pq(tY,{width:20,height:20,SVGElement:e,fill:Bq["--ll-color-on-background-variant1"]}):p?y:void 0};return l?Pq(Tq,{children:Oq(vQ,{isUsingIcons:p,ref:m,children:[Oq(Tq,{children:[b(n),Pq(aY,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,color:"--ll-color-on-background-variant1",children:d.LOCATION}),Pq(mQ,{children:Pq(gQ,{animate:{width:"".concat(l/10*100,"%")},transition:Zr({delay:.3},Gq.transitions.spring)})}),Pq(aY,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:l})]}),f&&Oq(Tq,{children:[b(r),Oq(yQ,{maxWidth:g.width/2,children:[Pq(bQ,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:c||d.CITY}),Pq(xQ,{children:Pq(aY,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:d.AVG})})]}),Pq(mQ,{children:Pq(gQ,{animate:{width:"".concat(f/10*100,"%")},transition:Zr({delay:.4},Gq.transitions.spring)})}),Pq(aY,{variant:"p",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:f})]})]})}):null},Description:function(){var e=HZ(),t=e.options,n=t.scoresData,r=t.score,o=e.onChange,i=YZ({scoresData:n,score:r}).textVal,a=$r(Jr.exports.useState(!1),2),u=a[0],s=a[1],l=ZZ([$Z,QZ]).translations;return i?Oq(r1,{children:[Oq(aY,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:[i,"."]}),Oq(X0,{open:u,onOpenChange:function(e){s(e),o&&o({type:"tooltip-toggle",data:e})},children:[Pq(t1,{children:Pq(tY,{SVGElement:u?J0:e1,fill:Bq["--ll-color-primary"],height:20,width:20})}),Oq(n1,{collisionPadding:8,children:[Pq(o1,{}),Pq(aY,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:l["".concat(r,"-description")]})]})]})]}):null},Root:function(e){return Pq(VZ.Provider,{value:Zr({},e),children:e.children})}},Symbol.toStringTag,{value:"Module"})),a1={en:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Powered by"},fr:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Propulsé par"}},u1=yE.a(ht||(ht=Hr(["\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n margin-top: 1px;\n width: 100%;\n"]))),s1=yE.img(vt||(vt=Hr(["\n height: 20px;\n margin-left: ",";\n"])),Bq["--ll-spacing-base-unit"]),l1=yE(aY)(mt||(mt=Hr(["\n line-height: initial;\n"]))),c1=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),f1=Object.freeze(Object.defineProperty({__proto__:null,Root:function(){var e=ZZ([a1]).translations;return Oq(u1,{href:"https://locallogic.co/",target:"_blank",rel:"noreferrer",children:[Pq(l1,{variant:"caption1",weight:"--ll-font-weight-medium",noMargin:!0,noWrap:!0,color:"--ll-color-on-background-variant1",children:e.POWERED_BY}),Pq(s1,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABNwAAADqCAYAAAB5oFizAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAJstJREFUeNrs3c9uHEmeGOCsGQG6zGL4BlNj+DA+NfUEKp0ae1iI5Auo9AKWdFrYMEDy0oBPEucFVDrMwoddisJe9qYS4INvYt/sw6JrfPLB8HLgg01DaDqDjGomKZJikRH59/sa1UXxT1ZmRmTGL34ZGVkUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAx4xyLvwPP/xxvTgp1pYf9PPJyVcfelJ+L/w3OrnwzeLk8sLi355UfjCq/OPnk+UGnVR+Xn7/7K+K4uTiBv9c+dt//uFv56oCAAAAACk8yLz81+Vr0vqd8PDhvHzb/HJ8fKRKAAAAAHAfv7ILTk3K108PHj7csCsAAAAAuA8Jt3Ph1tf3Dx4+fFu+1uwOAAAAAO5Cwu1r0/L1+cHDh+t2BQAAAACrknC72rg4S7rt2BUAAAAArOKBXXCj7d+M/9Xjf/Mffvg0Gp0/W7XyZcxYxm+MKk9gLX+p+jTWX8V/nCz/ZjSqfL38/ujC7y+fozqqfOgovk5Gy6+vXq8LXxcX/lEue1T9Z7ms0S/bcjKqbtfZOvz6dF3O1vfX8Xeu3I7KMs8/YnRpvW6xvpd+MLq07Oq+KC6sy+nXiz99//1M1QUAAACaIuH2rR30m7+aFB140iq/mJevmd0AAAAANMUtpQAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQg/sAgAAAABS29zamtzm997v788rfzMu38bV733jM9bKt/XydVj+zVFbtl3CDQAAAIActi/9exzfF5e+P698PQ1/t7m19eSWSbfX8W+eXFpOoyTcAAAAAEju/f7+k+q/N7e2duL3d77xp4vy9aL4RgItjm7bKL5O4DXOHG4AAAAAtMlB+ZrE20tvMo2/u2jbBki4AQAAANAmfynOEmkvvvF74efv2rgBEm4AAAAAtM1ucTaC7UqbW1vhVtKj2z5coW4SbgAAAAC0yvv9/UX5dri5tTW95lfC6La9tq6/hBsAAAAAbRQSal/dVhrndlt/v78/a+uKS7idObILAAAAANrj/f5+mMdtbXNra3LpR9tFi0e3BRJuZ8Jjahd2AwAAAECrhMTas+U/Nre21sq3MH/brM0rLeFW+nJ8fFi+PSrOnoABAAAAQDvMytdGvI00mJavgzjHW2tJuEVfjo+PytdmcfYUDAAAAAAa9n5/P0wDFgZITeO3wpxu79q+3hJul3w5Pt4pzm4xNa8bAAAAQPPC4KgXm1tb4VbSo/f7+/O2r7CE2xW+HB+Hggu3mB7aGwAAAADNibePhhzN26LlD0tYeqDYrvbl+DgU5qMHv/mr1+X7uj1yamIXAAAAAA0It5GO3+/vz7qwshJu3/A//8t/flW+7IjS3/zDP57YCwAAAMAdze76OyHRtrm1dd2diK/K16JNGyrhBgAAAEB2t3my6E2/U/7scJXvN8kcbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJPbALANprY2trvXxbi/+sfl21iK/g6GB//9Ce62Q5zpdflGU4t9cAetkejMu3cfxn9euqo/J1qE1QjnCHePIw1r3Tr8t6d2TPNUfCDaA9DWh4fRffr2tEb7Os8LaIr9Do/li+5mWDu7CnW12O25fKcBmoK0OA7rUH40o78Li4Pilz23Y9mMe2fdkmuMDW/XI8lIijhnrn3NGQUc6F/+GHP34sTorJ8oN+Pjn56kNPyu+F/0YnF75ZnFxeWPzbk8oPRpV//Hyy3KCTys/L75/9VVGcXNzgnyt/+88//O1IVfi2v/mHfzz5ddibo7PdeXo/8mh0/nWlUo1G5/8aVfbuqPKPi9+/+nfCD0aXK2z8+Sj+73xdTr+e/+n7758orRtPumvx5J3KQhLgzuWwUb6elq9wnlyr4WMXscH9VL4OXPFKWo6P4/taTWX4IQZMRwPe95OEi+v9FeBLV8XvTQex18eDkdJ3L4dquz6u6WMPKu26eCxdOS7b9brKsdq2H3Z8/02SVvCBtDc1nz+OKnVOnyAjI9xgeEKn62PC5e2Wrx279VYNaTXJttHAKoTGexpfb8v1CUH6h7KRnSmdOwVFzxoox2oZFrEM35VleDDA/f/eeWwlr2MQn4qLle2Ssl0PnTAXL1fvJNdx0eXKVYiv1+W6hETNu/I104FeuRxDfPyiwXKcLM/R5bosirNE6l5Hk6gfEy9v1ON6N6nEk3XWu7XKueOXPkEh+ZachBtA/sZ0HIO4aUNB3I1Berl+oSO+FwP0hRK7thxD2b2MZbnWsjJcxE7Wm4EESi8SLy8EuztqObBCezCN56Jxi1ZteQtaSL7NirOEjdGKN5flshzXW7Ra4xhvvCzXb16cXVibKa1enT9C/LbdovNHNXEfkm+7+gRpSLgB5GtQx7ExnbZ8Vdfiem7HAF0j+3Vg9Lpo7qr3bYPzUIYvyvUNydPeJt7icTVJvf/CKJWhjRQE7tQetO3Cy3VC7DGNCZtdt4F/VZbTol0Jj+uE9m5Sru92LMeZ0nP+yNwnWJ479AkS+JVdAJC+QS1fb8svfyran2y7KkD/qVz/nRgYDL0cdyrl2IX9sUyehjJ82dOiedGx5QL9aBNexvZguyPtwdKkfH0s1/9jvGAx9HIMo8JDOYY4rUv7I6xruPXvp5gspFv1btrB84c+QQISbgB5AvKuB0PLpM3GQMsxdFA+d7BjtXQ6Kq/cjs9xXpq+lMtaxmNrojMKXNUehHNpcTbSucudzsmy8zzQcgwjmcPcYmH+zy6f68O6v5VA7Uy9W4/17m2Hzx8hFv6c+mEYQyHhBpAoERAb1K4H5FVhO96X2/V+KFe2YjmGMvzY8YB86fQhKT26Gp77tl6j3IBqm7BsD9Z7tFnbfbsYc4tyDBdDQ9K0TwmDsC2fezyavQ/1bqdH9W4c48nXSnY1Em4A929QQ0P6U88CuQubWJxdFV/veTkun+Dbt+A1JKjextucO99RzLz8qdsmgDga6nMP24Ol0N71PlkTL6KFEW19uhh6uX1/PaQLox2qdx9riFma8DKOrlTfbknCDeB+jWoIVj/2NJC7HNR97uu8IfHW2b6NYrhs2uWkW0xsj2uo54O8jRr45VxzmozqeXuw9LonF2OuK8ePAzmnn8YwkiCtqXd9vghfFOfzQqpvtyDhBnD3RjUEqUMbWv22b8PJYxIxXAEfQuDQ5aTbs5o+x22lMNx2PbQHnwfSHlTbhc996jxXkm3rAyrHsK3bjuJG693y4u3aQOqbpNstSLgB3K1RDUmL6UA3/2VfrojHztXbgZXftGsjFePE0HWt87qJgWGQ7foQ24PedZ4rybahJQIOy9euI7nR88f7gdW7cKyZ0+0bJNwAVm9Uh5xsW5p2Pek24M7V7GB/f9a1+lbz5z0rgKF1lt8OfDd0Puk24GTbonw9Kdv2I0ez80eNQpL3lRpwMwk3gNUaVcm2c9P4BCbBUXeEZNvzDq73swbqttskQGd5aJYJqy6W41CTbSHJtinZ1mi9G2qyTZL3FiTcAFYLyqf2xAXbHbw9cVJItnXtuBs38NEvHd4wiM6yW6IuWu/aCPZ4gWSIybYgJD0OVdvGzh8fB7jpkm0rkHADuF2jOilcAb/O6xh0dKEcx8XZHBtD09WRbcGzgX0uUE97sFYMb86l25rGp7B3xVCTbc8l2xo9f7wthjlXoGTbCiTcAG4flHO10/3TkVvwhti56myyLSZyJw19/Dg+cQzop9BZHtsN1+rExbT45PT1AZbPqw7Ox9qr42OA9U6y7Q4e2AUAtwrKm0zSHMbXn+O/5/F9rdLYfxe/bqrzED43PI6+tZOnxvnmmg6OQjmGQOXTFT/7bVy/9YT1rcsj24IXLfj8A6dA6Jc4eqvJhPoivj5dahuKShvwu0qb0GT886jF5Tgpmrv9/yjGY5+W5XfVaLPKU68nMVabJGjjQ9v+xpHcWL0L545pw6uxPIeEOveXK37+OMbmqfoFkm13JOEG8O1GtYmgPHTyP4T3bzRuB5fWdxyDuacNrPfL8vM/lOs7b2E5hg7LdkMB+bIs57cNVGI5bsSA6a7l2OlkWxwx2fQIs0koi3I/LpwNoTft+lpD7UHosL6L7fpN55T5FetbbdfrvAAY5nPbKdd3p6XlWPdUH8s2fe+2t3JWYqL5pdjyruV50PELaX04fzQ1xcxt+wap+wWSbfcg4QZwszonUw4N2V5xlii5Uwc//t0svGIjGzoV05r316OBl2MQymH3rrd7xHIMV6/fxHIMZfhihcB81oOAfFq04/bfsN899h761a7XeW4J7cDeXefaip3c0NE+KNuDcC56uWJ7cF/h4UizFl54CPthXHN89iZF0qFcxl3LM9QhybZhnT/uVfcu9QvWKvHkbY8dybZ7knADuEa8BbGuYC40hq9SNmixkX1ebsduDBDqGC0UroZP2zSvSHzK5aTGwGg35a0esRx3yu0Iy9wuvn37zKwnV79ftGQ9Qv2RcIN+tOvrRX0XoeaxPZgnbA+OKu3By6K+kXrhc563qBzHNbYRBzE+WyRf8MXy/Fb7LvExrPNHEOL3N6nKPC5neTF3p/h2oledS8BDEwCublTXagrmjmJj9jxXgxaCxPK1WX65WZzPEZM7MG+TutYnBOW/zzWvSqgf5Sskfp7cUI69SLbFOW/GLVmdtZi0BbqvrtHOIUHzJNcUC7E9CB3mR7FTnNu0MhdZW9r13KOMQjsbYrPN3KP7LrXvixvWReJjGOePcEw/Csd4xr7BTqxvhzesg2RbAhJuAFd7WUMwFxqz39c151m8haGO4HzclgRFXI9xTZ2rzToCk1hfrirHWY/mdXlhfYDE7cGkyD/a+Sh2lGuZ0D7epho6zbOhnAcr0yzkLscndY/Wv6Z9X67LoaO49+ePZSz3qI7yrpw/Dq/on0i2JSLhBtBMYDlrojGLV2lvuqKVSltGudWxHs/rflpYpRyPKgFaL5JtlQdGtMl6vJUE6K5nmZffSGIkjo56XuRPum3E83Pf2/XlxdBGElwxLqzGaa8k2wZx/gh2647lrqhvkm2JSbgBfN3hnxZ5R7fNc95CeofGNYdxfApXk+UYPj935+B5U/PVVcrxTc+eWJYq2b2cq6Rt6wXU3x6EtmCa8SMaH4VUU9Jtu+FyzP306qM2JBsq7ftmm+bEdf7IareppwFX6ttBIdmWnIQbwNdyXsUKwfhm0xsYG9Pcc7o963E5Bq+aDoRD5y7O+9InqYLaEDjupVyv2NkDhnteuUprbvmLSbd5xo9oevRx+Py1zOXYimRDHLl44NDt/fkjmDWVbLtU3zYl29KTcAOoRnJnV7EmGYO55y0K5hZF3uTfRlMJihqugh/UfRvpQI6/acLO1LtYx1N2gqdKCTop5wWY3Zbd8pfzYlrTD5HJOdLYrZs0cf447NldClwi4QZwqc8/oKB8OUHvm47uz6Y+9zRx6lBpdWdqUXkYyV4L1w+oqzE4m39xnGnx87ZdfIkX9XK2UU8bKsdQhusZy3HmaKHm80chnuw/CTeAi3JdxVq0eETUbpHvavjThrYp5+e+MuQ+W1CbqjN1cM3X99X43ITA6qeXoXWW462I80yLnyhH9AvSxN9GVfafhBvAeYd/rch39XS3rdsdk0d7uXZrzwJzV8HzSTl6bO9S/U6ZdHumqKBTHmda7izett5Wueb3DLeVThrYnlwX0t60vBxpVq66nvrBTrSUhBtA/kZ10YEkzZsi0yi3ugPzzJ+35zDJUmYh2T1NtLjDKzpP71Kubry1CRh2277b5o2OI2fmHdunTXymdp3rYpPQ1ue6EL/nbolhkHADOJetUW37hsdGf9aTwDzX5y08MSyblzmPt1huKQNbc7lBNzrMudqDg46MisoVfzzuSTnOjG6jgX5BYHTbQEi4AeQPIGcd2f53mZb7XU/K0VXwfFLepnmw4vfvYqrIoBMmmZb7oQsbHy82LDIser3mTcn1ee8cIjRQ72ZGtw2HhBtA3oZ13pVGNd5+kiMwH/ckQDK6LYP4EIJUdeSmIDZlxyrMYTRVetB6v9MeZFnXtZpvrc9x4e6o8jRruEquC7gf7NrheGAXAJwHkBrV08D8ZeJlrvegHA/ddpLNizqOt9CxKjuIoQzHCdd7pvig1cYZljnv2OiUTxna9eW+XXS4HJMmIjM/eGvVeMXoqfbWu8L0JMMi4QZQZJ0fpGuP+84SmIcr4XUkrDKW49xRkqW8QjCbqsyObhHEpkwor5frvx5HhgLtlCMB8qlLOyCcF8tzVa59W1fbOOlAOYb98bEFRf5EzJLMWDzJfbmlFCBvoNu1hjXX+o47XpQ/qs1ZpBzdNrvF7+y1eP2B9HKMeO5ih/mwI/u26/uEnsh4y/Qne3dYJNwAzuS4Ct65YC7ehtDlWxEmAvPOBLOhszZNuMh3t6jfi8RluRG3A2jnOSaHRQd3x6LD5ZjlNk2jk/mGsWORFCTcAM7kCMy7mrjKEYSud7lyCMzz9KMSHneHK5RR0ocnFJ5YCm2VK1HTxQ5zjlHaj2ta9yzzsjo8aMjCLhgWCTcAjWpXA2a6bTvhslZJos0Sb4fbSgG6xUMF0DegFhJuAPn8WSAqOOJr8eEW44SLnN32F+Nt0ymfEDbO+LAOoF3mHV1vI7pgNVnadU+8Hx4JNwAu84CAiwRH6T1LGb/GJNoqPiTeHqPcgDZzIQ2gARJuAEBt4pO/pgkXuXLy7GB/f5a4A7qR8YlmAAB0kIQbAJc9tgsuGNsFSU0TLusoJs/u4qDF2wW0U1fnI11XdAD1k3ADyEfiqh/GdkFSSW8nvcffvku8XW4rhf7rauLKg4tgNfMcC93Y2nIsDoyEGwB1MGEzIdCcFmkTmHt3/cOD/f0QTC9Sdmjj9gEMwcIugJUZbTowEm4AZ3IkhMYd3ReTDMvs9ITNG1tbAqQ0Uo5uWxzs79/3uD1o8fYB9zm4z5Lq2oMzOUbc1/Uk9hzxw8QRQkOMcBsYCTeAfAHduGtDx3sw8fs803LHDpEkndSUnZy9lizjQidOchZ6b2yd65Pgwsp1bZLEBzdZZFquGGFgJNwANKxVk0wB87zj9UOAdH+p5zg7SFAvw3F/2PLtBO4uR7KmU/OzxsTSuCP7VrtOK8T4IAfzOw+MhBtA3ob1acd2RY5A4KjGcpwLkFrb4dtIuMh5wmM29cMTNoycgNZwO2K+9a1zqoi5cqQBOfoGEr0DI+EGcC7H1VqBef1XwXMESBNJlHuZFmnnLUmZJEs9j1vq5CJwd59ydJg7Nv1Clgt/NY9cz9Gup76QFhKQ83u8jhyurZOj3oUHLE3s2uF4YBcA/CIkhlJfeToNzDOOoEsmzj01zrRf6w6QcmxHSKLMHCZ3kvo2y7dlfX3b4u3dVlegtx3mZXvwpiP7IMcFgLrb9R8zLPP0QloZnyVJdMW55p7cIwb7WBh11zafMpVJSILP7d5hMMINIG9AF3RlTqcXHduvNwVIOXgC5d06EaGzNx7YZo9dwYZWyNWp7UR7UJ6HpkWepyLWnXDL9XlGI9NEvZvatcMh4QaQPzCftv12xAxzbNWxX+v+PE+g7HHH1HZD/8TR5Tlu1VvvSFI913noU83lOO/Y/kG/4CZrMRnOAEi4AZwHdIeZAvOQzHrZ8s1/WeS5Cr6o+3bazPPKeALlCuI8R0MdQTDt2DxP0NvmPdNyt1t+/p0U+W5RnDewSTk+04U0boonQ58g1yi3bXt4GCTcAOoJzF+0dZRbTAq86Nj+bOpzp24VXK3eD3z7p6oANC7XaKxJy9uDXB36RUPz0n7o2H6iH+aZljs2ym0YJNwA6gno1loc1L0u8oxuy9nRaaocBeerGXow6XYlaF7OCz+v27jBZUc+jFqfdHB/NvG5Gy6kcYN3GZf9uu1TznB/Em4A1Whufz8EdLkezf6ybUFdnNA+1y1/i7g/+9bBmsTODDfXrWmRL5HbFa5gQ/Pt+lHGNiHM5bbTsnPvuMh7YehdQ+W4KPLd3vfakcI19S7UuUWmxYcY6a293G8SbgBXtK8Zl/2+LVez4rwlbzu6H5vsYJ0G522Z9yUkTVt6hdR8d2eMcoPmZR313JaLabEteF/ku9hxGBMQTdnLtNyQOJV04zo5k8wbbbkwF+NJcxomJuEGUF9AV8Qg+GPTCZL4+W+LvCOQ9npcjkUsx/WGy3EaO1cf25R0i51PQduZiYcnQLMO9vdnRb5RKsH7lnRUX2c+9zbdrue+C2HqaOEKs8zLf9t00r5yEf6jpFtaEm4AXwfm4ertPONHrBcNJkji537MHJQfNDSpcrUc55k7WGtNBibxc19X6tTnFgVJRnVdZN4/aF7OUSqNtgexTQid5WnGj8g9cvw27XrudXgr6cYV9S7EkrPMH/O+4XjyYzyPNX4u6xsJN4Cr7WZefiNJt9iAfi7yjz7aG0g5NhKYxLn3lsHR0rhox6i7tcLDEr7aLSZGhsa9KfKNjmqyPVgrX+9rOO/uxYRX39t1STeaiGvD+eNz3XXvUrLt8rnMcZCAhBvAFeLoqHnmjwmN3E91DSOPDWdoVMeZP2oe918bynFW5B3lVg2SXtZUjjvF9XP0tOHKpAdKXF0uG3YDNNoeHNXYaa6rPVh2lnOfX8K+e9OScgxt+izzx7w1pxuX6l3uu18u1L06LtJV+gXXxZOSzwlIuAFcb7eGz1gmSLI1rmH+qHj1O/ecbXXutzauTyjDj7kSqKFjVb7C6MTtW9apppJubie9mttKoXm5R7ldbg+ynIfjqLadop4R60FbRrdV2/Xc6xPmdPvs1joqntf0OSFh/zljPLlKv0DS7Z4k3ACuUdMot2rjGka77aRKvMUGNTSmPxX1ja6ZtWV0W6UcZzWWYwiOQicr2QS4lXJcpWPVyO0A8VbXsbPHlcZteZIhDLhdD0maui7CTGKn+W2qB6dUEm2hXa8rib8oWjK6rVKOYZ3qmLpiPXUZ0unzR6h3s7pihhjHfYyxVcrzx+cV+wWSbvfwwC4A7ulZeRJ+3NBnh8fTv8r8Gc9jw1THyLC1GEBvl/s0NOgfyu1baXLgmKwLjejTov5b2EJH5lVL6+mrWI51CYHJtCyPcAtCmKh7Hm9HuG05jmNn7Vl8v2t9CkHSMulYhxdOiTefL4v6kr9ZhU5Ak8fzKscTqycZmizfsmyfZF7+m3L7wrFY18ilZXswr7QHixWPt2q7vtbA8XbUwnr6Jp5TxzWWYYjJ3q0am32jbNdj22kkXTe8qvk4DDFgeNp5OGccxL7BfIX6lapfEOLJ72rod/WOhBtwX+OixyNaQlBcNjDhKmrdt4Mtg7sidtBD5/Iv8f3oiv3/uxisNRmw7bY0KD+de6Pcl7sNlOMvZVJ+/lEsv2VZXuVxhmOqlqRbJUmY0qLIPwdfnee2cEy3tfN6l05AUzyAIv/+nfR8G5cX0+o+ZibxfLlsC/58xXluLbYbv43vTZbFQcrkUuJ2/ajcj6Ec60wOh4TFRmzPQ2z2qTi7+DtfIfmxjAu+K5pJoJKm3r1vICYJd8O8rPQNFvEccpXv4t+k7BeEz14r98FzNeH2JNwAvt247sRRfE0FvZMOdH5CUP6mA+X4tGguKbnWYFnWkXTLkcx81VRnr/JE39RCwLzjzAqNtgdNXYRZavoC2W2EpNLzlpfjvCzHN0X9D+tZjhraiO3Fcn8d3vD7RrD15/xxEEc7NvkwpKb6BdMYT0q63ZI53ABu53lRz0TLXbRoe1CuHE9le+pa5ZaFpPWqyZEV8ZbFHLcteqgEtKPTvFP05BbvTDa7MBo33uLWhlvMqxfVLr8k2/rZL1gMdNuncW5hbkHCDeB2AV1oVDftia8cdSUoj+UYgvIhzz/xMlOQlOO2mDbcxpRjUu5xqgmQgXvbHHCn+Sav2vYApG94UrgoSr3x5FE8fwy13k3jAx3cEv0NEm4At29cQ/BpCPXXQflhx8pxVtT3lLq2Bkmpk245bsvaa0N1yRRMe7gE6DS31aztU0RcU46SbtRd74Z+EXdSnD1JVdLtBhJuAKs1rrNi2Mmaquc1Pv0ydTnuFPU92r2NpnGOsnsrlxMCrnHi9Ttc9Sl+GTtxOUbaTeJDJoB2dJola87Mujo3k3KkwX7BkC/GN/1gl9aTcANYvXHdKYadrAk6m2yrlOPzAZfj84QjE3PMSbbXon2Va12McoP2tAeHhblaZ12fCF3SjYbq3awYbtJt1tYnGbeFhBvA3RrX0LAOdRh555Ntl8pxpvzuJo7SmuYompZ14BYZFj11Gwa0qj0I552hJmtmfXnqoKQbDdW7EFcNLek287TSb5NwA7h74/pmYI1rCF57k2yrlOOQkqepy2+aKYBrW0cpxyi3HE92Be7XHgwxWfOmb53mSjku1GpqrHezYjgjZXcl225Hwg3g/o3rowE0riFofdK3ZFulHEPytM8TZ4ftepSh/HLcFvmhhfsvV713Wym0rz0IyZrfl6/Dnm/q8iLaqx6XY4jP5mo1NfcL+p7sfR6n1+EWJNwA0gXnfQ3qwm02j7r2NNI7lOPydqK+bedhjvLb2NqaFmejtFJatHEukDjibpZh0evxoRNAy4758hWSNX19SNLpCLC+XkS7VI6hXX+lVlNzv+BR0aLpMVLFaEWei7e9JuEGkD6o68soqbAdm+V2bbbwFr9sQVLPOllhyP+jTE/8zPGwhDYHp+8yLfdZAbS1Tdgp+jdaZdkuHA6oHMMo9qGMdjN3XXv6BZs96hcM4uJ7DhJunHrw8KGJmyFdUBdGu806vilh/X8/1CcPxU5Wl4Pz5ai2nRwL39jayvUY+L0W14l54eEJMMT2YF6+Qru+2/GO8zxnu9CBcjyMF0b7OMdW2J43MW6TENEvSCnEPYO6+J7aA7ugKP71v/uPJ+E9/O/k5PTLYhR/Nir/+XNxcv7LJ8vvn5TfL3753fBno/jDn+PfVX//5PyLi07OfjK68LOT4uTkihWNn7lc9qiy3Au/X/nHyUlxeUXO3y5t67/MP8yPF//t+Zfj44VaAfdqXE/nRSk70WFEzHamxES21S9frzKNiOpccF6+PSnLMUxs/7p8jTsSdO/GAC+nHHOPHXag3u3FupDay/K1UwBtbhN2yvZgFtv1acc6zK+GegHtinKcleV4EM+7oS3r8gWPRWyXZpIh+gUZ4slQt96oW/cj4cYvTv7v/wkH/08PHj7c/XJ8LPCH+zew8/JtHudoCkFdm59IGDoRuxJtV5ZjCMwP4pxloRzXhxwYxdFYOeryXgeqQzhOciTcwm2l2l1of3uwiB3n3dhxDufCtiZsQgyyJ9F2ZTmGdjIkUMPFqWXbPu7I6od1P4hlazRbd/sFbU28LeuXPkEiEm5cZfvBw4dPQ0Dx5fjYiRzSNbDj4jzx1obALjSkIclxoFG9VTnOyrdZDJSetaSjFcptN5ZhXVcgp5m2+6ADdeAojnCZJl70OIyk1DGGzrQH4dwbEm+vYlvQlosxkjErntOLs1sx38TR7E+Ldo5eXMRy/aSd6GW/IFdctWodCyPwjGhLTMKN64Sg4bPRbr207KD3ZVu6FqCH4PxVDOweF/Un30IAHhr6d4LxewdKy45WCNAnNQZLy8C7qTI8ynAOWXQowAtJ6j93sOqGQPqTc39v7doFjbQHyycYz2LnObQJz4p6k2/LJNsHyZh7leVyNPuybV/GaE0kQo5irBbO2V28KOp8dLd+wdOa65xzRw1GORf+hx/++LE4ORsqGT7o50tzhgUnp3OYnZzPeXb2za+mOlvON1adq2xU+cfPv8xrdlL5eRHnWTs5n3vtl9+/+HvxtwY9h9v/+qf/VPy///Hfrwtsn//13/39x1+HPxud/f3pEzdGo/OvK/tjNDr/16hS4KPKPy5+/+rfCT8YXa6w8eej+L/zdTn9ev6n779/4tCmS2KQPonB3XriQD0EbCEp82P42ki2rOU4ieX4XSzDccLkwmEMvOcSpQCtbw/WLrXrk4SLP7zUrmsT8pbl+qW2PXUy9TC28z8uy1asps5dOn+kjidDXTtw7qiHhFsh4XaLhNupv/67vy8k3KDWxnbtUpD++JpfP4qN5/Lr0+BNwNaKDteyHJcB+u9uCJxCuf2l8vVRHE0HQPfbhHE8/y/bhSImca4bzVIdkTqPbYIOcrvKstq+3zbhsYzNDt26xwp1bnKpvv32hroX6tifq/Gk+tYcCbdCwk3CDQAAACCdX9kFAAAAAJCOhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQ0IPMy39Vvtbs5m748r//5Wn59tKeAAAAALi7rAm3//rv/+2hXdwp8wcPH34q398WEqUAAAAAd+KWUi74cnx8UL79vnwd2BsAAAAAq5Nw4ytfjo+PytdmcXZL8JE9AgAAAHB7Em5c68vx8Zvy7Un5cmswAAAAwC09sAu4yZfj45Bse/Tg4cOd8v1xB1ZZchAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgKv9fgAEAulggap4jxLwAAAAASUVORK5CYII="})]})},Types:c1},Symbol.toStringTag,{value:"Module"})),d1={small:20,medium:32,large:40},p1=yE(Sq.div)(gt||(gt=Hr(["\n background: linear-gradient(\n to top,\n ",",\n ","\n );\n border-radius: 50%;\n border: 2px solid #fff;\n height: ","px;\n width: ","px;\n display: flex;\n justify-content: center;\n align-items: center;\n box-shadow: ",";\n"])),(function(e){return e.backgroundColorHighlight}),(function(e){return e.backgroundColor}),(function(e){var t=e.size;return d1[t]}),(function(e){var t=e.size;return d1[t]}),Bq["--ll-shadow-small"]),h1=function(e){var t=e.fill,n=void 0===t?"#fff":t,r=e.backgroundColor,o=void 0===r?Bq["--ll-color-primary"]:r,i=e.backgroundColorHighlight,a=void 0===i?o:i,u=e.SVGElement,s=e.size,l=void 0===s?"small":s,c=e.expandMarker;return Pq(p1,{"data-testid":"svgInfo",backgroundColor:o,backgroundColorHighlight:a,size:l,variants:{default:{scale:1},hovered:{scale:1.2}},animate:c?"hovered":"default",whileHover:{scale:1.2},transition:Gq.transitions.default,children:Pq(tY,{SVGElement:u,fill:n,height:d1[l]/1.5,width:d1[l]/1.5})})},v1=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M10 20V14H14V20H19V12H22L12 3L2 12H5V20H10Z"})}))},m1=function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M12 2C8.13 2 5 5.13 5 9C5 14.25 12 22 12 22C12 22 19 14.25 19 9C19 5.13 15.87 2 12 2ZM12 11.5C10.62 11.5 9.5 10.38 9.5 9C9.5 7.62 10.62 6.5 12 6.5C13.38 6.5 14.5 7.62 14.5 9C14.5 10.38 13.38 11.5 12 11.5Z"})}))},g1=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),y1=Object.freeze(Object.defineProperty({__proto__:null,Root:function(e){var t=e.options;return Pq(h1,{SVGElement:"house"===t.style?v1:m1,size:"large",backgroundColor:Bq["--ll-color-primary"],backgroundColorHighlight:Bq["--ll-color-primary-variant1"]})},Types:g1},Symbol.toStringTag,{value:"Module"})),b1=Yo.createContext({}),x1=function(){return Jr.exports.useContext(b1)},w1={groceries:function(e){return Fx("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:Fx("path",{d:"M17,18A2,2 0 0,1 19,20A2,2 0 0,1 17,22C15.89,22 15,21.1 15,20C15,18.89 15.89,18 17,18M1,2H4.27L5.21,4H20A1,1 0 0,1 21,5C21,5.17 20.95,5.34 20.88,5.5L17.3,11.97C16.96,12.58 16.3,13 15.55,13H8.1L7.2,14.63L7.17,14.75A0.25,0.25 0 0,0 7.42,15H19V17H7C5.89,17 5,16.1 5,15C5,14.65 5.09,14.32 5.24,14.04L6.6,11.59L3,4H1V2M7,18A2,2 0 0,1 9,20A2,2 0 0,1 7,22C5.89,22 5,21.1 5,20C5,18.89 5.89,18 7,18M16,11L18.78,6H6.14L8.5,11H16Z"})}))},groceries_specialized:iQ,shopping:nQ,nightlife:rQ,restaurants:oQ,healthy_restaurants:sQ,cafes:tQ,daycares:uQ,bus_stops:eQ,rapid_transit_stations:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M12 2C7.58 2 4 2.5 4 6V15.5C4 17.43 5.57 19 7.5 19L6 20.5V21H18V20.5L16.5 19C18.43 19 20 17.43 20 15.5V6C20 2.5 16.42 2 12 2ZM7.5 17C6.67 17 6 16.33 6 15.5C6 14.67 6.67 14 7.5 14C8.33 14 9 14.67 9 15.5C9 16.33 8.33 17 7.5 17ZM11 11H6V6H11V11ZM16.5 17C15.67 17 15 16.33 15 15.5C15 14.67 15.67 14 16.5 14C17.33 14 18 14.67 18 15.5C18 16.33 17.33 17 16.5 17ZM18 11H13V6H18V11Z"})}))},train_stations:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M4 15.5C4 17.43 5.57 19 7.5 19L6 20.5V21H18V20.5L16.5 19C18.43 19 20 17.43 20 15.5V5C20 1.5 16.42 1 12 1C7.58 1 4 1.5 4 5V15.5ZM12 17C10.9 17 10 16.1 10 15C10 13.9 10.9 13 12 13C13.1 13 14 13.9 14 15C14 16.1 13.1 17 12 17ZM18 10H6V5H18V10Z"})}))},parks:aQ,fitness:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:[Fx("path",{d:"M0 0h24v24H0z",fill:"none"}),Fx("path",{d:"M20.57 14.86L22 13.43 20.57 12 17 15.57 8.43 7 12 3.43 10.57 2 9.14 3.43 7.71 2 5.57 4.14 4.14 2.71 2.71 4.14l1.43 1.43L2 7.71l1.43 1.43L2 10.57 3.43 12 7 8.43 15.57 17 12 20.57 13.43 22l1.43-1.43L16.29 22l2.14-2.14 1.43 1.43 1.43-1.43-1.43-1.43L22 16.29z"})]}))},personal_care:sQ,pet_care:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:[Fx("path",{d:"M0 0h24v24H0z",fill:"none"}),Fx("circle",{cx:4.5,cy:9.5,r:2.5}),Fx("circle",{cx:9,cy:5.5,r:2.5}),Fx("circle",{cx:15,cy:5.5,r:2.5}),Fx("circle",{cx:19.5,cy:9.5,r:2.5}),Fx("path",{d:"M17.34 14.86c-.87-1.02-1.6-1.89-2.48-2.91-.46-.54-1.05-1.08-1.75-1.32-.11-.04-.22-.07-.33-.09-.25-.04-.52-.04-.78-.04s-.53 0-.79.05c-.11.02-.22.05-.33.09-.7.24-1.28.78-1.75 1.32-.87 1.02-1.6 1.89-2.48 2.91-1.31 1.31-2.92 2.76-2.62 4.79.29 1.02 1.02 2.03 2.33 2.32.73.15 3.06-.44 5.54-.44h.18c2.48 0 4.81.58 5.54.44 1.31-.29 2.04-1.31 2.33-2.32.31-2.04-1.3-3.49-2.61-4.8z"})]}))},car_fueling_stations:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:[Fx("path",{d:"M0 0h24v24H0z",fill:"none"}),Fx("path",{d:"M19.77 7.23l.01-.01-3.72-3.72L15 4.56l2.11 2.11c-.94.36-1.61 1.26-1.61 2.33 0 1.38 1.12 2.5 2.5 2.5.36 0 .69-.08 1-.21v7.21c0 .55-.45 1-1 1s-1-.45-1-1V14c0-1.1-.9-2-2-2h-1V5c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v16h10v-7.5h1.5v5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V9c0-.69-.28-1.32-.73-1.77zM12 10H6V5h6v5zm6 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"})]}))},health_care:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"#000000"},e),{},{children:[Fx("rect",{fill:"none",height:24,width:24}),Fx("path",{d:"M10.5,13H8v-3h2.5V7.5h3V10H16v3h-2.5v2.5h-3V13z M12,2L4,5v6.09c0,5.05,3.41,9.76,8,10.91c4.59-1.15,8-5.86,8-10.91V5L12,2 z"})]}))},sport_facilities:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("path",{d:"M19.5198 2.49002C17.1798 0.150019 12.8998 0.620018 9.96984 3.55002C8.36984 5.15002 7.44984 7.42002 7.42984 9.01002C7.40984 10.59 7.68984 12.9 6.07984 14.51L1.83984 18.75L3.25984 20.17L7.49984 15.93C9.10984 14.32 11.4198 14.6 12.9998 14.58C14.5798 14.56 16.8598 13.64 18.4598 12.04C21.3798 9.11002 21.8598 4.83002 19.5198 2.49002ZM10.3198 11.68C8.78984 10.15 9.26984 7.07002 11.3798 4.96002C13.4898 2.85002 16.5598 2.37002 18.0998 3.90002C19.6298 5.43002 19.1498 8.51002 17.0398 10.62C14.9298 12.73 11.8598 13.21 10.3198 11.68Z"}),Fx("path",{d:"M18 17C18.53 17 19.04 17.21 19.41 17.59C20.19 18.37 20.19 19.64 19.41 20.42C19.04 20.79 18.53 21 18 21C17.47 21 16.96 20.79 16.59 20.41C15.81 19.63 15.81 18.36 16.59 17.58C16.96 17.21 17.47 17 18 17ZM18 15C16.98 15 15.95 15.39 15.17 16.17C13.61 17.73 13.61 20.26 15.17 21.83C15.95 22.61 16.98 23 18 23C19.02 23 20.05 22.61 20.83 21.83C22.39 20.27 22.39 17.74 20.83 16.17C20.05 15.39 19.02 15 18 15Z"})]}))},art_culture_science:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24"},e),{},{children:[Fx("g",{children:Fx("rect",{fill:"none",height:24,width:24})}),Fx("g",{children:Fx("path",{d:"M12,2C6.49,2,2,6.49,2,12s4.49,10,10,10c1.38,0,2.5-1.12,2.5-2.5c0-0.61-0.23-1.2-0.64-1.67c-0.08-0.1-0.13-0.21-0.13-0.33 c0-0.28,0.22-0.5,0.5-0.5H16c3.31,0,6-2.69,6-6C22,6.04,17.51,2,12,2z M17.5,13c-0.83,0-1.5-0.67-1.5-1.5c0-0.83,0.67-1.5,1.5-1.5 s1.5,0.67,1.5,1.5C19,12.33,18.33,13,17.5,13z M14.5,9C13.67,9,13,8.33,13,7.5C13,6.67,13.67,6,14.5,6S16,6.67,16,7.5 C16,8.33,15.33,9,14.5,9z M5,11.5C5,10.67,5.67,10,6.5,10S8,10.67,8,11.5C8,12.33,7.33,13,6.5,13S5,12.33,5,11.5z M11,7.5 C11,8.33,10.33,9,9.5,9S8,8.33,8,7.5C8,6.67,8.67,6,9.5,6S11,6.67,11,7.5z"})})]}))},home_improvement:function(e){return Ix("svg",Zr(Zr({xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24"},e),{},{children:[Fx("g",{children:Fx("rect",{fill:"none",height:24,width:24})}),Fx("g",{children:Ix("g",{children:[Fx("g",{children:Fx("path",{d:"M21.67,18.17l-5.3-5.3h-0.99l-2.54,2.54v0.99l5.3,5.3c0.39,0.39,1.02,0.39,1.41,0l2.12-2.12 C22.06,19.2,22.06,18.56,21.67,18.17z"})}),Fx("g",{children:Fx("path",{d:"M17.34,10.19l1.41-1.41l2.12,2.12c1.17-1.17,1.17-3.07,0-4.24l-3.54-3.54l-1.41,1.41V1.71L15.22,1l-3.54,3.54l0.71,0.71 h2.83l-1.41,1.41l1.06,1.06l-2.89,2.89L7.85,6.48V5.06L4.83,2.04L2,4.87l3.03,3.03h1.41l4.13,4.13l-0.85,0.85H7.6l-5.3,5.3 c-0.39,0.39-0.39,1.02,0,1.41l2.12,2.12c0.39,0.39,1.02,0.39,1.41,0l5.3-5.3v-2.12l5.15-5.15L17.34,10.19z"})})]})})]}))},primary_schools:cQ,high_schools:lQ},_1=yE(Z0)(yt||(yt=Hr(["\n background: none;\n border: none;\n padding: 0;\n"]))),E1=function(e,t){return"school"===t},S1=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},k1={en:{groceries:"Grocery",groceries_specialized:"Speciality",shopping:"Shopping",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Coffee shops",daycares:"Daycares",bus_stops:"Bus",rapid_transit_stations:"Rapid transit",train_stations:"Train",parks:"Parks",healthy_restaurants:"Healthy restaurants",fitness:"Fitness",sport_facilities:"Sport facilities",health_care:"Health care",pet_care:"Pet care",car_fueling_stations:"Gas stations",art_culture_science:"Art, Culture, Science",home_improvement:"Home improvement",personal_care:"Personal care"},fr:{groceries:"Générales",groceries_specialized:"Spécialisées",shopping:"Magasinage",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Cafés",daycares:"Garderies",bus_stops:"Autobus",rapid_transit_stations:"Métro",train_stations:"Train",parks:"Parcs",healthy_restaurants:"Restaurants sains",fitness:"Fitness",sport_facilities:"Installations sportives",health_care:"Soins de santé",pet_care:"Soins pour animaux",car_fueling_stations:"Stations-service",art_culture_science:"Art, Culture, Science",home_improvement:"Amélioration de l'habitat",personal_care:"Soins personnels"}},C1={en:{SCHOOL_BOARD:"Board",SCHOOL_LANGUAGES:"Languages",SCHOOL_LEVELS:"Levels",SCHOOL_TYPE:"Type",ENGLISH:"English",FRENCH:"French",SPANISH:"Spanish",high_schools:"High schools",primary_schools:"Primary schools"},fr:{SCHOOL_BOARD:"Commission",SCHOOL_LANGUAGES:"Langues",SCHOOL_LEVELS:"Niveaux",SCHOOL_TYPE:"Type",ENGLISH:"Anglais",FRENCH:"Français",SPANISH:"Espagnol",high_schools:"Écoles secondaires",primary_schools:"Écoles primaires"}},A1=yE(Q0)(bt||(bt=Hr(["\n padding: ",";\n background-color: ",";\n box-shadow: ",";\n border-radius: ",";\n width: 240px;\n"])),Bq["--ll-spacing-small"],Bq["--ll-color-background"],Bq["--ll-shadow-small"],Bq["--ll-border-radius-small"]),T1=yE($0)(xt||(xt=Hr(["\n fill: ",";\n"])),Bq["--ll-color-background"]),P1=yE.div(wt||(wt=Hr(["\n display: flex;\n margin-bottom: ",";\n"])),Bq["--ll-spacing-xx-small"]),O1=yE(Jq)(_t||(_t=Hr(["\n margin-right: 2px;\n margin-bottom: 2px;\n"]))),R1=yE.div(Et||(Et=Hr(["\n display: grid;\n grid-template-columns: auto 1fr;\n grid-column-gap: 10px;\n margin-bottom: ",";\n"])),Bq["--ll-spacing-xx-small"]),D1=yE(aY)(St||(St=Hr([""]))),L1=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),M1=Object.freeze(Object.defineProperty({__proto__:null,Types:L1,Marker:function(){var e=x1().options,t=e.type,n=e.isOpen,r=e.isHovered,o=e.size;return Pq(_1,{children:Pq(h1,{size:o,SVGElement:w1[t],expandMarker:n||r,backgroundColor:Bq["--ll-color-primary"],backgroundColorHighlight:Bq["--ll-color-primary-variant1"]})})},Content:function(){var e,t,n,r,o,i,a=x1().options,u=a.poi,s=a.side,l=a.collisionPadding,c=a.type,f=ZZ([k1,C1]).translations,d="high_schools"===c||"primary_schools"===c?"school":"poi",p=function(e,t){return Oq(Tq,{children:[Oq(D1,{children:[e,": "]}),Pq(D1,{color:Bq["--ll-color-on-background-variant1"],children:S1(t)})]})};return Oq(A1,{side:s,collisionPadding:l,sideOffset:8,children:[Pq(T1,{}),Pq(aY,{variant:"h4",noMargin:!0,weight:"--ll-font-weight-bold",children:u.name}),Pq(HG,{vertical:!0,spacing:"--ll-spacing-xx-small"}),u.address&&Pq(aY,{variant:"p",noMargin:!0,children:u.address}),Pq(HG,{vertical:!0,spacing:"--ll-spacing-xx-small"}),u.url&&Oq(Tq,{children:[Pq(sY,{lineClamp:2,href:u.url,children:u.url}),Pq(HG,{vertical:!0,spacing:"--ll-spacing-xx-small"})]}),E1(0,d)?Oq(R1,{children:[(null==(e=u.school_attributes)?void 0:e.grades)&&p(f.SCHOOL_LEVELS,u.school_attributes.grades),(null==(t=u.school_attributes)?void 0:t.languages)&&p(f.SCHOOL_LANGUAGES,function(e){return e.map((function(e){switch(e){case"en":return f.ENGLISH;case"fr":return f.FRENCH;case"es":return f.SPANISH;default:return e}}))}(u.school_attributes.languages).join(", ")),(null==(n=u.school_attributes)?void 0:n.types)&&p(f.SCHOOL_TYPE,u.school_attributes.types.join(", ")),(null==(r=u.school_board_attributes)?void 0:r.name)&&(null==(o=u.school_board_attributes)?void 0:o.url)&&Oq(Tq,{children:[Oq(D1,{children:[f.SCHOOL_BOARD,": "]}),Pq(sY,{href:u.school_board_attributes.url,children:S1(u.school_board_attributes.name)})]})]}):u.routes&&Oq(P1,{children:[Pq(tY,{SVGElement:w1[c],height:20,width:20,fill:Bq["--ll-color-on-background"]}),null==(i=u.routes)?void 0:i.map((function(e,t){return Pq(O1,{text:e.short_name,backgroundColor:e.route_color,textColor:e.text_color},e.short_name+t)}))]}),Pq(Jq,{text:f[c],size:"medium",backgroundColor:Bq["--ll-color-primary"]})]})},Root:function(e){return Pq(X0,{open:e.options.isOpen,onOpenChange:function(t){return e.onChange&&e.onChange({type:"open-change",data:t})},children:Pq(b1.Provider,{value:Zr({},e),children:e.children})})}},Symbol.toStringTag,{value:"Module"})),N1=yE.ul(kt||(kt=Hr(["\n list-style: none;\n padding: 0;\n margin-bottom: 0;\n"]))),F1=yE.li(Ct||(Ct=Hr(["\n padding: ",";\n margin-bottom: ",";\n border-radius: ",";\n background-color: ",";\n"])),Bq["--ll-spacing-x-small"],Bq["--ll-spacing-xx-small"],Bq["--ll-border-radius-small"],(function(e){var t=e.isActive,n=e.isHovered;return t||n?Bq["--ll-color-surface-variant1"]:Bq["--ll-color-background"]})),I1=yE.div(At||(At=Hr(["\n display: flex;\n flex-wrap: wrap;\n"]))),j1=yE(Jq)(Tt||(Tt=Hr(["\n margin-right: 2px;\n margin-bottom: 2px;\n"]))),z1=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),B1=Object.freeze(Object.defineProperty({__proto__:null,Root:function(e){var t=e.options,n=t.data,r=t.type,o=t.activePOI,i=t.hoveredPOI,a=e.onChange;return Pq(N1,{children:n.map((function(e,t){var n,u,s;return Oq(F1,{isActive:o===e,isHovered:i===e,onClick:function(){return a&&a({type:"poi-click",data:e})},onMouseOver:function(){return a&&a({type:"poi-hover",data:e})},onMouseLeave:function(){return a&&a({type:"poi-hover",data:void 0})},children:[Pq(aY,{variant:"p",color:"--ll-color-on-surface-variant1",noMargin:!0,children:e.name}),E1(0,r)?Pq(I1,{children:null==(u=null==(n=e.school_attributes)?void 0:n.types)?void 0:u.map((function(e,t){return Pq(j1,{text:e},e)}))}):Pq(I1,{children:null==(s=e.routes)?void 0:s.map((function(e,t){return Pq(j1,{text:e.short_name,backgroundColor:e.route_color,textColor:e.text_color},e.short_name+t)}))})]},"".concat(e.name,"-").concat(e.lat,"-").concat(e.lng,"-").concat(t))}))})},Types:z1},Symbol.toStringTag,{value:"Module"})),U1=Yo.createContext({}),V1=function(){return Jr.exports.useContext(U1)},H1={en:{commute:"Transport",amenities:"Amenities",character:"Character",nature:"Nature",education:"Education",about:"About"},fr:{commute:"Transport",amenities:"Services",character:"Caractère",nature:"Nature",education:"Familles",about:"Info"}},q1=function(e){var t=V1().scoreCategory,n=ZZ([H1]).translations;return Pq(aY,Zr(Zr({},e.options),{},{children:n[t]}))};Ur({h:i1,m:f1,V:y1,d:M1,A:B1}),q1.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1"}};var Y1=Ur("I",[{value:"commute",icon:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M12 4H5C3.34 4 2 5.34 2 7V15C2 16.66 3.34 18 5 18L4 19V20H5L7 18H9V13H4V6H13V8H15V7C15 5.34 13.66 4 12 4ZM5 14C5.55 14 6 14.45 6 15C6 15.55 5.55 16 5 16C4.45 16 4 15.55 4 15C4 14.45 4.45 14 5 14ZM20.57 9.66C20.43 9.26 20.05 9 19.6 9H12.41C11.95 9 11.58 9.26 11.43 9.66L10.01 13.77V19.28C10.01 19.66 10.32 20 10.7 20H11.32C11.7 20 12 19.62 12 19.24V18H20V19.24C20 19.62 20.31 20 20.69 20H21.3C21.68 20 21.99 19.66 21.99 19.28L22 17.91V13.77L20.57 9.66ZM12.41 10H19.6L20.63 13H11.38L12.41 10ZM12 16C11.45 16 11 15.55 11 15C11 14.45 11.45 14 12 14C12.55 14 13 14.45 13 15C13 15.55 12.55 16 12 16ZM20 16C19.45 16 19 15.55 19 15C19 14.45 19.45 14 20 14C20.55 14 21 14.45 21 15C21 15.55 20.55 16 20 16Z"})}))},scores:["transit_friendly","car_friendly","pedestrian_friendly","cycling_friendly"]},{value:"education",icon:lQ,scores:["primary_schools","high_schools","daycares"]},{value:"amenities",icon:function(e){return Fx("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Fx("path",{d:"M18 6H16C16 3.79 14.21 2 12 2C9.79 2 8 3.79 8 6H6C4.9 6 4 6.9 4 8V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8C20 6.9 19.1 6 18 6ZM12 4C13.1 4 14 4.9 14 6H10C10 4.9 10.9 4 12 4ZM18 20H6V8H8V10C8 10.55 8.45 11 9 11C9.55 11 10 10.55 10 10V8H14V10C14 10.55 14.45 11 15 11C15.55 11 16 10.55 16 10V8H18V20Z"})}))},scores:["groceries","restaurants","shopping","cafes"]},{value:"character",icon:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("path",{d:"M12 22C6.49 22 2 17.51 2 12C2 6.49 6.49 2 12 2C17.51 2 22 6.04 22 11C22 14.31 19.31 17 16 17H14.23C13.95 17 13.73 17.22 13.73 17.5C13.73 17.62 13.78 17.73 13.86 17.83C14.27 18.3 14.5 18.89 14.5 19.5C14.5 20.88 13.38 22 12 22ZM12 4C7.59 4 4 7.59 4 12C4 16.41 7.59 20 12 20C12.28 20 12.5 19.78 12.5 19.5C12.5 19.34 12.42 19.22 12.36 19.15C11.95 18.69 11.73 18.1 11.73 17.5C11.73 16.12 12.85 15 14.23 15H16C18.21 15 20 13.21 20 11C20 7.14 16.41 4 12 4Z"}),Fx("path",{d:"M6.5 13C7.32843 13 8 12.3284 8 11.5C8 10.6716 7.32843 10 6.5 10C5.67157 10 5 10.6716 5 11.5C5 12.3284 5.67157 13 6.5 13Z"}),Fx("path",{d:"M9.5 9C10.3284 9 11 8.32843 11 7.5C11 6.67157 10.3284 6 9.5 6C8.67157 6 8 6.67157 8 7.5C8 8.32843 8.67157 9 9.5 9Z"}),Fx("path",{d:"M14.5 9C15.3284 9 16 8.32843 16 7.5C16 6.67157 15.3284 6 14.5 6C13.6716 6 13 6.67157 13 7.5C13 8.32843 13.6716 9 14.5 9Z"}),Fx("path",{d:"M17.5 13C18.3284 13 19 12.3284 19 11.5C19 10.6716 18.3284 10 17.5 10C16.6716 10 16 10.6716 16 11.5C16 12.3284 16.6716 13 17.5 13Z"})]}))},scores:["quiet","nightlife","vibrant","historic"]},{value:"nature",icon:function(e){return Ix("svg",Zr(Zr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Fx("path",{d:"M4.41504 10.915C5.24347 10.915 5.91504 10.2434 5.91504 9.41496C5.91504 8.58653 5.24347 7.91496 4.41504 7.91496C3.58661 7.91496 2.91504 8.58653 2.91504 9.41496C2.91504 10.2434 3.58661 10.915 4.41504 10.915Z"}),Fx("path",{d:"M22.085 9.08496C22.085 5.21496 18.955 2.08496 15.085 2.08496C11.215 2.08496 8.08504 5.21496 8.08504 9.08496C8.08504 12.555 10.605 15.425 13.915 15.975V19.915H5.91504V16.915H6.91504V12.915C6.91504 12.365 6.46504 11.915 5.91504 11.915H2.91504C2.36504 11.915 1.91504 12.365 1.91504 12.915V16.915H2.91504V21.915H18.915V19.915H15.915V16.035C19.385 15.625 22.085 12.675 22.085 9.08496ZM15.085 14.085C12.325 14.085 10.085 11.845 10.085 9.08496C10.085 6.32496 12.325 4.08496 15.085 4.08496C17.845 4.08496 20.085 6.32496 20.085 9.08496C20.085 11.845 17.845 14.085 15.085 14.085Z"})]}))},scores:["parks","greenery"]}]),G1=function(e){var t=e.options,n=V1().scoreCategory,r=Y1.find((function(e){return e.value===n}));return Pq(tY,{SVGElement:r.icon,fill:"var(".concat(null==t?void 0:t.color,")"),height:null==t?void 0:t.height,width:null==t?void 0:t.width})};G1.defaultProps={options:{color:"--ll-color-on-background-variant1"}};var W1=function(e){var t=e.options,n=e.children;return Pq(U1.Provider,{value:Zr({},t),children:n})},K1=Ur("B",Object.freeze(Object.defineProperty({__proto__:null,Root:W1,Title:q1,Icon:G1},Symbol.toStringTag,{value:"Module"})));var X1=Jr.exports.createContext(void 0);function Z1(e){var t=Jr.exports.useContext(X1);return e||t||"ltr"}var Q1="rovingFocusGroup.onEntryFocus",$1={bubbles:!1,cancelable:!0},J1="RovingFocusGroup",e2=function(e){var t=e+"CollectionProvider",n=$r(CQ(t),2),r=n[0],o=n[1],i=$r(r(t,{collectionRef:{current:null},itemMap:new Map}),2),a=i[0],u=i[1],s=e+"CollectionSlot",l=Yo.forwardRef((function(e,t){var n=e.scope,r=e.children,o=kQ(t,u(s,n).collectionRef);return Yo.createElement(TQ,{ref:o},r)})),c=e+"CollectionItemSlot",f="data-radix-collection-item",d=Yo.forwardRef((function(e,t){var n,r=e.scope,o=e.children,i=qr(e,Dr),a=Yo.useRef(null),s=kQ(t,a),l=u(c,r);return Yo.useEffect((function(){return l.itemMap.set(a,Zr({ref:a},i)),function(){l.itemMap.delete(a)}})),Yo.createElement(TQ,(Qr(n={},f,""),Qr(n,"ref",s),n),o)}));return[{Provider:function(e){var t=e.scope,n=e.children,r=Yo.useRef(null),o=Yo.useRef(new Map).current;return Yo.createElement(a,{scope:t,itemMap:o,collectionRef:r},n)},Slot:l,ItemSlot:d},function(t){var n=u(e+"CollectionConsumer",t);return Yo.useCallback((function(){var e=n.collectionRef.current;if(!e)return[];var t=Array.from(e.querySelectorAll("[".concat(f,"]")));return Array.from(n.itemMap.values()).sort((function(e,n){return t.indexOf(e.ref.current)-t.indexOf(n.ref.current)}))}),[n.collectionRef,n.itemMap])},o]}(J1),t2=$r(e2,3),n2=t2[0],r2=t2[1],o2=$r(CQ(J1,[t2[2]]),2),i2=o2[0],a2=o2[1],u2=$r(i2(J1),2),s2=u2[0],l2=u2[1],c2=Jr.exports.forwardRef((function(e,t){return Jr.exports.createElement(n2.Provider,{scope:e.__scopeRovingFocusGroup},Jr.exports.createElement(n2.Slot,{scope:e.__scopeRovingFocusGroup},Jr.exports.createElement(f2,wQ({},e,{ref:t}))))})),f2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeRovingFocusGroup,r=e.orientation,o=e.loop,i=void 0!==o&&o,a=e.dir,u=e.currentTabStopId,s=e.defaultCurrentTabStopId,l=e.onCurrentTabStopIdChange,c=e.onEntryFocus,f=qr(e,Lr),d=Jr.exports.useRef(null),p=kQ(t,d),h=Z1(a),v=$r(GJ({prop:u,defaultProp:s,onChange:l}),2),m=v[0],g=void 0===m?null:m,y=v[1],b=$r(Jr.exports.useState(!1),2),x=b[0],w=b[1],_=LQ(c),E=r2(n),S=Jr.exports.useRef(!1);return Jr.exports.useEffect((function(){var e=d.current;if(e)return e.addEventListener(Q1,_),function(){return e.removeEventListener(Q1,_)}}),[_]),Jr.exports.createElement(s2,{scope:n,orientation:r,dir:h,loop:i,currentTabStopId:g,onItemFocus:Jr.exports.useCallback((function(e){return y(e)}),[y]),onItemShiftTab:Jr.exports.useCallback((function(){return w(!0)}),[])},Jr.exports.createElement(DQ.div,wQ({tabIndex:x?-1:0,"data-orientation":r},f,{ref:p,style:Zr({outline:"none"},e.style),onMouseDown:_Q(e.onMouseDown,(function(){S.current=!0})),onFocus:_Q(e.onFocus,(function(e){var t=!S.current;if(e.target===e.currentTarget&&t&&!x){var n=new CustomEvent(Q1,$1);if(e.currentTarget.dispatchEvent(n),!n.defaultPrevented){var r=E().filter((function(e){return e.focusable})),o=r.find((function(e){return e.active})),i=r.find((function(e){return e.id===g})),a=[o,i].concat(Wr(r)).filter(Boolean).map((function(e){return e.ref.current}));h2(a)}}S.current=!1})),onBlur:_Q(e.onBlur,(function(){return w(!1)}))})))})),d2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeRovingFocusGroup,r=e.focusable,o=void 0===r||r,i=e.active,a=void 0!==i&&i,u=qr(e,Mr),s=o$(),l=l2("RovingFocusGroupItem",n),c=l.currentTabStopId===s,f=r2(n);return Jr.exports.createElement(n2.ItemSlot,{scope:n,id:s,focusable:o,active:a},Jr.exports.createElement(DQ.span,wQ({tabIndex:c?0:-1,"data-orientation":l.orientation},u,{ref:t,onMouseDown:_Q(e.onMouseDown,(function(e){o?l.onItemFocus(s):e.preventDefault()})),onFocus:_Q(e.onFocus,(function(){return l.onItemFocus(s)})),onKeyDown:_Q(e.onKeyDown,(function(e){if("Tab"===e.key&&e.shiftKey)l.onItemShiftTab();else if(e.target===e.currentTarget){var t=function(e,t,n){var r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)))return p2[r]}(e,l.orientation,l.dir);if(void 0!==t){e.preventDefault();var n=f().filter((function(e){return e.focusable})).map((function(e){return e.ref.current}));if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();var r=n.indexOf(e.currentTarget);n=l.loop?function(e,t){return e.map((function(n,r){return e[(t+r)%e.length]}))}(n,r+1):n.slice(r+1)}setTimeout((function(){return h2(n)}))}}}))})))})),p2={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function h2(e){var t,n=document.activeElement,r=vo(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o===n||(o.focus(),document.activeElement!==n))return}}catch(i){r.e(i)}finally{r.f()}}var v2=c2,m2=d2,g2="Tabs",y2=$r(CQ(g2,[a2]),2),b2=y2[0],x2=(y2[1],a2()),w2=$r(b2(g2),2),_2=w2[0],E2=w2[1],S2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.value,o=e.onValueChange,i=e.defaultValue,a=e.orientation,u=void 0===a?"horizontal":a,s=e.dir,l=e.activationMode,c=void 0===l?"automatic":l,f=qr(e,Nr),d=Z1(s),p=$r(GJ({prop:r,onChange:o,defaultProp:i}),2),h=p[0],v=p[1];return Jr.exports.createElement(_2,{scope:n,baseId:o$(),value:h,onValueChange:v,orientation:u,dir:d,activationMode:c},Jr.exports.createElement(DQ.div,wQ({dir:d,"data-orientation":u},f,{ref:t})))})),k2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.loop,o=void 0===r||r,i=qr(e,Fr),a=E2("TabsList",n),u=x2(n);return Jr.exports.createElement(v2,wQ({asChild:!0},u,{orientation:a.orientation,dir:a.dir,loop:o}),Jr.exports.createElement(DQ.div,wQ({role:"tablist","aria-orientation":a.orientation},i,{ref:t})))})),C2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.value,o=e.disabled,i=void 0!==o&&o,a=qr(e,Ir),u=E2("TabsTrigger",n),s=x2(n),l=T2(u.baseId,r),c=P2(u.baseId,r),f=r===u.value;return Jr.exports.createElement(m2,wQ({asChild:!0},s,{focusable:!i,active:f}),Jr.exports.createElement(DQ.button,wQ({type:"button",role:"tab","aria-selected":f,"aria-controls":c,"data-state":f?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:l},a,{ref:t,onMouseDown:_Q(e.onMouseDown,(function(e){i||0!==e.button||!1!==e.ctrlKey?e.preventDefault():u.onValueChange(r)})),onKeyDown:_Q(e.onKeyDown,(function(e){[" ","Enter"].includes(e.key)&&u.onValueChange(r)})),onFocus:_Q(e.onFocus,(function(){var e="manual"!==u.activationMode;!f&&!i&&e&&u.onValueChange(r)}))})))})),A2=Jr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.value,o=e.forceMount,i=e.children,a=qr(e,jr),u=E2("TabsContent",n),s=T2(u.baseId,r),l=P2(u.baseId,r),c=r===u.value,f=Jr.exports.useRef(c);return Jr.exports.useEffect((function(){var e=requestAnimationFrame((function(){return f.current=!1}));return function(){return cancelAnimationFrame(e)}}),[]),Jr.exports.createElement(qJ,{present:o||c},(function(n){var r=n.present;return Jr.exports.createElement(DQ.div,wQ({"data-state":c?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":s,hidden:!r,id:l,tabIndex:0},a,{ref:t,style:Zr(Zr({},e.style),{},{animationDuration:f.current?"0s":void 0})}),r&&i)}))}));function T2(e,t){return"".concat(e,"-trigger-").concat(t)}function P2(e,t){return"".concat(e,"-content-").concat(t)}var O2=S2,R2=k2,D2=C2,L2=A2,M2=function(e){var t=Jr.exports.useRef(e);return Jr.exports.useEffect((function(){t.current=e})),Jr.exports.useMemo((function(){return function(){for(var e,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return null==(n=t.current)?void 0:(e=n).call.apply(e,[t].concat(o))}}),[])},N2=function(e){var t=e.controlledValue,n=e.onChange,r=function(e){var t=e.defaultValue,n=e.onChange,r=Jr.exports.useState(t),o=$r(r,1)[0],i=Jr.exports.useRef(o),a=M2(null==n?void 0:n.func);return Jr.exports.useEffect((function(){i.current!==o&&n&&(a({type:n.key,data:o}),i.current=o)}),[o,i,a]),r}({defaultValue:e.defaultValue,onChange:n}),o=$r(r,2),i=o[0],a=o[1],u=void 0!==t,s=u?t:i,l=M2(null==n?void 0:n.func),c=Jr.exports.useCallback((function(e){if(u){var r="function"==typeof e?e(t):e;r!==t&&n&&l({type:n.key,data:r})}else a(e)}),[u,s,a,l]);return[s,c]},F2=Yo.createContext({}),I2=K1.Title,j2=K1.Icon,z2=yE(R2)(Pt||(Pt=Hr(["\n display: grid;\n grid-auto-columns: minmax(0, 1fr);\n grid-auto-flow: column;\n background-color: ",";\n"])),Bq["--ll-color-background"]),B2=yE(D2)(Ot||(Ot=Hr(["\n background: none;\n border: none;\n padding: ",";\n display: flex;\n flex-direction: column;\n align-items: center;\n\n &:hover {\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n }\n"])),Bq["--ll-spacing-xx-small"],Bq["--ll-color-surface"],Bq["--ll-border-radius-small"],Bq["--ll-shadow-small"]),U2=Object.freeze(Object.defineProperty({__proto__:null,Root:function(e){var t=e.options,n=e.onChange,r=e.children,o=$r(N2({controlledValue:t.currentTab,onChange:{func:n,key:"tabs"},defaultValue:t.defaultTab||"commute"}),2),i=o[0],a=o[1];return Pq(F2.Provider,{value:Zr(Zr({},t),{},{currentTab:i}),children:Pq(O2,{value:i,orientation:"vertical",defaultValue:i,onValueChange:function(e){return a(e)},children:r})})},Tabs:function(){var e=Jr.exports.useContext(F2).currentTab,t=ZZ([H1]).translations;return Pq(z2,{"aria-label":"Score tabs",children:Y1.map((function(n){var r=n.value===e?"--ll-color-primary":"--ll-color-disabled";return Pq(Yo.Fragment,{children:Oq(B2,{value:n.value,children:[Pq(tY,{SVGElement:n.icon,fill:Bq[r]}),Pq(aY,{noMargin:!0,variant:"caption1",color:r,weight:"--ll-font-weight-medium",children:t[n.value]})]})},n.value)}))})},Content:function(e){var t=e.children,n=e.options.value;return Pq(L2,{value:n,children:Pq(W1,{options:{scoreCategory:n},children:t})},n)},Title:I2,Icon:j2},Symbol.toStringTag,{value:"Module"})),V2=Yo.createContext({}),H2=yE(D2)(Rt||(Rt=Hr(["\n margin-right: ",";\n margin-bottom: ",";\n"])),Bq["--ll-spacing-xx-small"],Bq["--ll-spacing-xx-small"]),q2=Object.freeze(Object.defineProperty({__proto__:null,Root:function(e){var t=e.options,n=e.children,r=$r(Jr.exports.useState(t.include[0]),2),o=r[0],i=r[1];return Pq(V2.Provider,{value:Zr(Zr({},t),{},{activeTab:o,setActiveTab:i}),children:Pq(O2,{value:o,children:n})})},Tabs:function(){var e=Jr.exports.useContext(V2),t=e.include,n=e.activeTab,r=e.setActiveTab,o=ZZ([k1]).translations;return t.length<=1?null:Pq(R2,{"aria-label":"tabs example",children:t.map((function(e){return Pq(H2,{value:e,asChild:!0,children:Pq(UY,{size:"small",variant:e===n?"contained":"outlined",onClick:function(){return r(e)},children:o[e]})},e)}))})},Content:function(e){var t=e.children,n=e.options.value;return Pq(L2,{value:n,children:t},n)}},Symbol.toStringTag,{value:"Module"})),Y2=Yo.createContext({}),G2=function(){return Jr.exports.useContext(Y2)},W2=function(e){var t,n=G2().options.poi,r=ZZ([k1]).translations;return null!=(t=e.options)&&t.isRawText?Pq(Tq,{children:r[n]}):Pq(aY,Zr(Zr({},e.options),{},{children:r[n]}))};Ur({C:U2,x:q2}),W2.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1",isRawText:!1}};var K2=function(e){var t=e.options,n=G2().options.poi;return Pq(tY,{SVGElement:w1[n],fill:"var(".concat(null==t?void 0:t.color,")"),height:null==t?void 0:t.height,width:null==t?void 0:t.width})};K2.defaultProps={options:{color:"--ll-color-on-background-variant1"}};Ur("a3",Object.freeze(Object.defineProperty({__proto__:null,Title:W2,Icon:K2,Root:function(e){return Pq(Y2.Provider,{value:Zr({},e),children:e.children})}},Symbol.toStringTag,{value:"Module"})));var X2,Z2=function(e){var t,n,r=e.children,o=iL().sdkState;if(null==o||!o.apiKey)throw Error("A valid apiKey must be provided.");var i=function(e,t){return new JF(e,t)}(o.apiKey,{locale:null==o||null===(t=o.globalOptions)||void 0===t?void 0:t.locale});return Fx(UZ,{client:i,options:{appearance:null==o||null===(n=o.globalOptions)||void 0===n?void 0:n.appearance},children:r})},Q2=yE.div(Dt||(Dt=Hr(["\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n"]))),$2=function(e){var t=e.error;return Ix(Q2,{children:[Fx(WE,{variant:"h4",children:"An error occurred"}),Fx(WE,{variant:"p",color:"--ll-color-on-background-variant1",children:t.message})]})},J2=new wD({defaultOptions:{queries:{retry:2,staleTime:1/0,keepPreviousData:!0}}}),e5=function(){return Ix(Nx,{children:[Fx(OE,{}),Fx(RR,{FallbackComponent:$2,children:Fx(RD,{children:Fx(kD,{client:J2,children:Fx(aL,{children:Fx(Z2,{children:Fx(fL,{children:Fx(hR,{})})})})})})})]})};(X2={dsn:"https://19707ff4ff7f420b9369a3e15041c787@o227377.ingest.sentry.io/6677584",integrations:[new kw],tracesSampleRate:.05,environment:"production",enabled:!0})._metadata=X2._metadata||{},X2._metadata.sdk=X2._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:Ly}],version:Ly},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(void 0===e.defaultIntegrations&&(e.defaultIntegrations=Ub),void 0===e.release){var t=om();t.SENTRY_RELEASE&&t.SENTRY_RELEASE.id&&(e.release=t.SENTRY_RELEASE.id)}void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);var n=Zr(Zr({},e),{},{stackParser:Gm(e.stackParser||pb),integrations:Ay(e),transport:e.transport||(Zm()?rb:ob)});Oy(nb,n),e.autoSessionTracking&&Hb()}(X2),Wo.createRoot(document.getElementById("root")).render(Fx(Yo.StrictMode,{children:Fx(e5,{})}))}}}))}();