@local-logic/sdks-app 1.0.0-beta.65 → 1.0.0-beta.67

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 (27) hide show
  1. package/dist/assets/{auto-track-legacy.bcbecbf8.js → auto-track-legacy.f9840683.js} +1 -1
  2. package/dist/assets/{auto-track.243da627.js → auto-track.f73c34a7.js} +1 -1
  3. package/dist/assets/{chevron_right-legacy.c94205d1.js → chevron_right-legacy.4a96f715.js} +1 -1
  4. package/dist/assets/{chevron_right.ed021687.js → chevron_right.427d77f6.js} +1 -1
  5. package/dist/assets/{index-legacy.8c3f4d82.js → index-legacy.0d90becf.js} +4 -4
  6. package/dist/assets/{index-legacy.9b2b6e12.js → index-legacy.211144f2.js} +1 -1
  7. package/dist/assets/{index-legacy.12dc81c1.js → index-legacy.3b49d3a5.js} +1 -1
  8. package/dist/assets/{index-legacy.3055f688.js → index-legacy.45d65bd6.js} +1 -1
  9. package/dist/assets/{index-legacy.c489e13e.js → index-legacy.45d7b5c7.js} +1 -1
  10. package/dist/assets/{index-legacy.0b1c2bb2.js → index-legacy.631596f5.js} +1 -1
  11. package/dist/assets/{index-legacy.625673e9.js → index-legacy.6ed29dcf.js} +1 -1
  12. package/dist/assets/{index-legacy.415cee9b.js → index-legacy.b87ca0ca.js} +1 -1
  13. package/dist/assets/{index-legacy.6eb621a2.js → index-legacy.c10a590c.js} +6 -6
  14. package/dist/assets/{index.d07e0117.js → index.4b5f7238.js} +1 -1
  15. package/dist/assets/index.603b7e8b.js +1 -0
  16. package/dist/assets/{index.78e59a55.js → index.689aa908.js} +204 -204
  17. package/dist/assets/{index.a829928a.js → index.9c7a418d.js} +1 -1
  18. package/dist/assets/{index.59c286d1.js → index.aad70e37.js} +1 -1
  19. package/dist/assets/{index.59699164.js → index.adca6e84.js} +1 -1
  20. package/dist/assets/{index.3b922ccc.js → index.c9949bba.js} +1 -1
  21. package/dist/assets/{index.fcbca47f.js → index.e77bdb0c.js} +11 -11
  22. package/dist/assets/{index.661181da.js → index.fd288973.js} +1 -1
  23. package/dist/assets/{index.umd-legacy.ea5626e0.js → index.umd-legacy.77e7f5f5.js} +1 -1
  24. package/dist/assets/{index.umd.6358a889.js → index.umd.3636b63d.js} +1 -1
  25. package/dist/index.html +2 -2
  26. package/package.json +3 -3
  27. package/dist/assets/index.95642d9d.js +0 -1
@@ -1,4 +1,4 @@
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=["startTimestamp"],Ot=["children"],Rt=["scope","children"],Dt=["children"],Lt=["children"],Mt=["asChild"],Nt=["htmlFor","id"],Ft=["__scopeSwitch","aria-labelledby","name","checked","defaultChecked","required","disabled","value","onCheckedChange"],It=["__scopeSwitch"],jt=["control","checked","bubbles"],zt=["scope","children"],Bt=["name","min","max","step","orientation","disabled","minStepsBetweenThumbs","defaultValue","value","onValueChange"],Ut=["min","max","dir","onSlideStart","onSlideMove","onStepKeyDown"],Vt=["min","max","onSlideStart","onSlideMove","onStepKeyDown"],Ht=["__scopeSlider","onSlideStart","onSlideMove","onSlideEnd","onHomeKeyDown","onEndKeyDown","onStepKeyDown"],qt=["__scopeSlider"],Yt=["__scopeSlider"],Gt=["__scopeSlider","index"],Wt=["value"],Kt=["label","showValue"],Xt=["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"],Zt=["loop","trapped","onMountAutoFocus","onUnmountAutoFocus"],Qt=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"],$t=["strategy"],Jt=["mainAxis","crossAxis","limiter"],en=["children","width","height"],tn=["__scopePopper","virtualRef"],nn=["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","collisionBoundary","collisionPadding","sticky","hideWhenDetached","avoidCollisions"],rn=["__scopePopper"],on=["container"],an=["__scopePopover"],un=["forceMount"],sn=["__scopePopover","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside"],ln=["__scopePopover"],cn=["__scopeSelect","disabled","aria-labelledby"],fn=["__scopeSelect","className","style","children","placeholder"],dn=["__scopeSelect","children"],pn=["__scopeSelect","onCloseAutoFocus"],hn=["__scopeSelect"],vn=["__scopeSelect"],mn=["__scopeSelect"],gn=["__scopeSelect","value","disabled","textValue"],yn=["__scopeSelect","className","style"],bn=["__scopeSelect"],xn=["__scopeSelect","onAutoScroll"],wn=["__scopeSelect"],_n=["value"],En=["size","children"],Sn=["size","children"],kn=["children"],Cn=["children"],An=["scope","children"],Tn=["children"],Pn=["children"],On=["asChild"],Rn=["htmlFor","id"],Dn=["__scopeSwitch","aria-labelledby","name","checked","defaultChecked","required","disabled","value","onCheckedChange"],Ln=["__scopeSwitch"],Mn=["control","checked","bubbles"],Nn=["scope","children"],Fn=["name","min","max","step","orientation","disabled","minStepsBetweenThumbs","defaultValue","value","onValueChange"],In=["min","max","dir","onSlideStart","onSlideMove","onStepKeyDown"],jn=["min","max","onSlideStart","onSlideMove","onStepKeyDown"],zn=["__scopeSlider","onSlideStart","onSlideMove","onSlideEnd","onHomeKeyDown","onEndKeyDown","onStepKeyDown"],Bn=["__scopeSlider"],Un=["__scopeSlider"],Vn=["__scopeSlider","index"],Hn=["value"],qn=["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"],Yn=["loop","trapped","onMountAutoFocus","onUnmountAutoFocus"],Gn=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"],Wn=["strategy"],Kn=["mainAxis","crossAxis","limiter"],Xn=["children","width","height"],Zn=["__scopePopper","virtualRef"],Qn=["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","collisionBoundary","collisionPadding","sticky","hideWhenDetached","avoidCollisions"],$n=["__scopePopper"],Jn=["container"],er=["__scopePopover"],tr=["forceMount"],nr=["__scopePopover","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside"],rr=["__scopePopover"],or=["__scopeSelect","disabled","aria-labelledby"],ir=["__scopeSelect","children"],ar=["__scopeSelect","onCloseAutoFocus"],ur=["__scopeSelect"],sr=["__scopeSelect","value","disabled","textValue"],lr=["__scopeSelect"],cr=["value"],fr=["scope","children"],dr=["children"],pr=["children"],hr=["asChild"],vr=["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"],mr=["loop","trapped","onMountAutoFocus","onUnmountAutoFocus"],gr=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"],yr=["strategy"],br=["mainAxis","crossAxis","limiter"],xr=["children","width","height"],wr=["__scopePopper","virtualRef"],_r=["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","collisionBoundary","collisionPadding","sticky","hideWhenDetached","avoidCollisions"],Er=["__scopePopper"],Sr=["__scopePopover"],kr=["forceMount"],Cr=["__scopePopover","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside"],Ar=["__scopePopover"],Tr=["scope","children"],Pr=["__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopId","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus"],Or=["__scopeRovingFocusGroup","focusable","active"],Rr=["__scopeTabs","value","onValueChange","defaultValue","orientation","dir","activationMode"],Dr=["__scopeTabs","loop"],Lr=["__scopeTabs","value","disabled"],Mr=["__scopeTabs","value","forceMount","children"];function Nr(e){return Zr(e)||qr(e)||fo(e)||Xr()}function Fr(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Fr=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"==lo(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 Ir(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 jr(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Ir(i,r,o,a,u,"next",e)}function u(e){Ir(i,r,o,a,u,"throw",e)}a(void 0)}))}}function zr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Br(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 Ur(){return Ur="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=Vr(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Ur.apply(this,arguments)}function Vr(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=so(e)););return e}function Hr(e){return function(e){if(Array.isArray(e))return po(e)}(e)||qr(e)||fo(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 qr(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Yr(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 Gr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yr(Object(n),!0).forEach((function(t){Wr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kr(e,t){return Zr(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)||fo(e,t)||Xr()}function Xr(){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 Zr(e){if(Array.isArray(e))return e}function Qr(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 $r(e,t,n){return t&&Qr(e.prototype,t),n&&Qr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Jr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eo(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&&uo(e,t)}function to(e){var t=ao();return function(){var n,r=so(e);if(t){var o=so(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return no(this,n)}}function no(e,t){if(t&&("object"===lo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ro(e)}function ro(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oo(e){var t="function"==typeof Map?new Map:void 0;return oo=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 io(e,arguments,so(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),uo(r,e)},oo(e)}function io(e,t,n){return io=ao()?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&&uo(o,n.prototype),o},io.apply(null,arguments)}function ao(){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 uo(e,t){return uo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uo(e,t)}function so(e){return so=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},so(e)}function lo(e){return lo="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},lo(e)}function co(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=fo(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 fo(e,t){if(e){if("string"==typeof e)return po(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)?po(e,t):void 0}}function po(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(Ir,Vr){"use strict";return{execute:function(){function qr(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"}))}Ir({D:function(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0},E:CR,H:AR,J:TR,L:KR,M:qR,P:ZR,U:pE,V:PR,Z:SO,_:tI,a8:function(e){var t=e.default;if("function"==typeof t){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n},a9:Yr,b:function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Pw){i(Pw)}}function u(e){try{s(r.throw(e))}catch(Pw){i(Pw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},c:function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(Pw){i=[6,Pw],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},e:rI,f:iI});Ir("d","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});function Yr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xr=Ir("r",{exports:{}}),Zr={},Qr=Symbol.for("react.element"),io=Symbol.for("react.portal"),ao=Symbol.for("react.fragment"),uo=Symbol.for("react.strict_mode"),fo=Symbol.for("react.profiler"),po=Symbol.for("react.provider"),ho=Symbol.for("react.context"),vo=Symbol.for("react.forward_ref"),mo=Symbol.for("react.suspense"),go=Symbol.for("react.memo"),yo=Symbol.for("react.lazy"),bo=Symbol.iterator;var xo={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},wo=Object.assign,_o={};function Eo(e,t,n){this.props=e,this.context=t,this.refs=_o,this.updater=n||xo}function So(){}function ko(e,t,n){this.props=e,this.context=t,this.refs=_o,this.updater=n||xo}Eo.prototype.isReactComponent={},Eo.prototype.setState=function(e,t){if("object"!==lo(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")},Eo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},So.prototype=Eo.prototype;var Co=ko.prototype=new So;Co.constructor=ko,wo(Co,Eo.prototype),Co.isPureReactComponent=!0;var Ao=Array.isArray,To=Object.prototype.hasOwnProperty,Po={current:null},Oo={key:!0,ref:!0,__self:!0,__source:!0};function Ro(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)To.call(t,r)&&!Oo.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:Qr,type:e,key:i,ref:a,props:o,_owner:Po.current}}function Do(e){return"object"===lo(e)&&null!==e&&e.$$typeof===Qr}var Lo=/\/+/g;function Mo(e,t){return"object"===lo(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 No(e,t,n,r,o){var i=lo(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 Qr:case io:a=!0}}if(a)return o=o(a=e),e=""===r?"."+Mo(a,0):r,Ao(o)?(n="",null!=e&&(n=e.replace(Lo,"$&/")+"/"),No(o,t,n,"",(function(e){return e}))):null!=o&&(Do(o)&&(o=function(e,t){return{$$typeof:Qr,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(Lo,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=""===r?".":r+":",Ao(e))for(var u=0;u<e.length;u++){var s=r+Mo(i=e[u],u);a+=No(i,t,n,s,o)}else if(s=function(e){return null===e||"object"!==lo(e)?null:"function"==typeof(e=bo&&e[bo]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),u=0;!(i=e.next()).done;)a+=No(i=i.value,t,n,s=r+Mo(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 Fo(e,t,n){if(null==e)return e;var r=[],o=0;return No(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function Io(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 jo={current:null},zo={transition:null},Bo={ReactCurrentDispatcher:jo,ReactCurrentBatchConfig:zo,ReactCurrentOwner:Po};Zr.Children={map:Fo,forEach:function(e,t,n){Fo(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Fo(e,(function(){t++})),t},toArray:function(e){return Fo(e,(function(e){return e}))||[]},only:function(e){if(!Do(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},Zr.Component=Eo,Zr.Fragment=ao,Zr.Profiler=fo,Zr.PureComponent=ko,Zr.StrictMode=uo,Zr.Suspense=mo,Zr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Bo,Zr.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=wo({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=Po.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)To.call(t,s)&&!Oo.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:Qr,type:e.type,key:o,ref:i,props:r,_owner:a}},Zr.createContext=function(e){return(e={$$typeof:ho,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:po,_context:e},e.Consumer=e},Zr.createElement=Ro,Zr.createFactory=function(e){var t=Ro.bind(null,e);return t.type=e,t},Zr.createRef=function(){return{current:null}},Zr.forwardRef=function(e){return{$$typeof:vo,render:e}},Zr.isValidElement=Do,Zr.lazy=function(e){return{$$typeof:yo,_payload:{_status:-1,_result:e},_init:Io}},Zr.memo=function(e,t){return{$$typeof:go,type:e,compare:void 0===t?null:t}},Zr.startTransition=function(e){var t=zo.transition;zo.transition={};try{e()}finally{zo.transition=t}},Zr.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Zr.useCallback=function(e,t){return jo.current.useCallback(e,t)},Zr.useContext=function(e){return jo.current.useContext(e)},Zr.useDebugValue=function(){},Zr.useDeferredValue=function(e){return jo.current.useDeferredValue(e)},Zr.useEffect=function(e,t){return jo.current.useEffect(e,t)},Zr.useId=function(){return jo.current.useId()},Zr.useImperativeHandle=function(e,t,n){return jo.current.useImperativeHandle(e,t,n)},Zr.useInsertionEffect=function(e,t){return jo.current.useInsertionEffect(e,t)},Zr.useLayoutEffect=function(e,t){return jo.current.useLayoutEffect(e,t)},Zr.useMemo=function(e,t){return jo.current.useMemo(e,t)},Zr.useReducer=function(e,t,n){return jo.current.useReducer(e,t,n)},Zr.useRef=function(e){return jo.current.useRef(e)},Zr.useState=function(e){return jo.current.useState(e)},Zr.useSyncExternalStore=function(e,t,n){return jo.current.useSyncExternalStore(e,t,n)},Zr.useTransition=function(){return jo.current.useTransition()},Zr.version="18.2.0",function(e){e.exports=Zr}(Xr);var Uo=Ir("R",Yr(Xr.exports)),Vo=qr({__proto__:null,default:Uo},[Xr.exports]);Ir("$",Vo);var Ho={},qo=Ir("W",{exports:{}}),Yo={},Go={exports:{}},Wo={};
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=["startTimestamp"],Ot=["children"],Rt=["scope","children"],Dt=["children"],Lt=["children"],Mt=["asChild"],Nt=["htmlFor","id"],Ft=["__scopeSwitch","aria-labelledby","name","checked","defaultChecked","required","disabled","value","onCheckedChange"],It=["__scopeSwitch"],jt=["control","checked","bubbles"],zt=["scope","children"],Bt=["name","min","max","step","orientation","disabled","minStepsBetweenThumbs","defaultValue","value","onValueChange"],Ut=["min","max","dir","onSlideStart","onSlideMove","onStepKeyDown"],Vt=["min","max","onSlideStart","onSlideMove","onStepKeyDown"],Ht=["__scopeSlider","onSlideStart","onSlideMove","onSlideEnd","onHomeKeyDown","onEndKeyDown","onStepKeyDown"],qt=["__scopeSlider"],Yt=["__scopeSlider"],Gt=["__scopeSlider","index"],Wt=["value"],Kt=["label","showValue"],Xt=["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"],Zt=["loop","trapped","onMountAutoFocus","onUnmountAutoFocus"],Qt=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"],$t=["strategy"],Jt=["mainAxis","crossAxis","limiter"],en=["children","width","height"],tn=["__scopePopper","virtualRef"],nn=["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","collisionBoundary","collisionPadding","sticky","hideWhenDetached","avoidCollisions"],rn=["__scopePopper"],on=["container"],an=["__scopePopover"],un=["forceMount"],sn=["__scopePopover","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside"],ln=["__scopePopover"],cn=["__scopeSelect","disabled","aria-labelledby"],fn=["__scopeSelect","className","style","children","placeholder"],dn=["__scopeSelect","children"],pn=["__scopeSelect","onCloseAutoFocus"],hn=["__scopeSelect"],vn=["__scopeSelect"],mn=["__scopeSelect"],gn=["__scopeSelect","value","disabled","textValue"],yn=["__scopeSelect","className","style"],bn=["__scopeSelect"],xn=["__scopeSelect","onAutoScroll"],wn=["__scopeSelect"],_n=["value"],En=["size","children"],Sn=["size","children"],kn=["children"],Cn=["children"],An=["scope","children"],Tn=["children"],Pn=["children"],On=["asChild"],Rn=["htmlFor","id"],Dn=["__scopeSwitch","aria-labelledby","name","checked","defaultChecked","required","disabled","value","onCheckedChange"],Ln=["__scopeSwitch"],Mn=["control","checked","bubbles"],Nn=["scope","children"],Fn=["name","min","max","step","orientation","disabled","minStepsBetweenThumbs","defaultValue","value","onValueChange"],In=["min","max","dir","onSlideStart","onSlideMove","onStepKeyDown"],jn=["min","max","onSlideStart","onSlideMove","onStepKeyDown"],zn=["__scopeSlider","onSlideStart","onSlideMove","onSlideEnd","onHomeKeyDown","onEndKeyDown","onStepKeyDown"],Bn=["__scopeSlider"],Un=["__scopeSlider"],Vn=["__scopeSlider","index"],Hn=["value"],qn=["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"],Yn=["loop","trapped","onMountAutoFocus","onUnmountAutoFocus"],Gn=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"],Wn=["strategy"],Kn=["mainAxis","crossAxis","limiter"],Xn=["children","width","height"],Zn=["__scopePopper","virtualRef"],Qn=["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","collisionBoundary","collisionPadding","sticky","hideWhenDetached","avoidCollisions"],$n=["__scopePopper"],Jn=["container"],er=["__scopePopover"],tr=["forceMount"],nr=["__scopePopover","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside"],rr=["__scopePopover"],or=["__scopeSelect","disabled","aria-labelledby"],ir=["__scopeSelect","children"],ar=["__scopeSelect","onCloseAutoFocus"],ur=["__scopeSelect"],sr=["__scopeSelect","value","disabled","textValue"],lr=["__scopeSelect"],cr=["value"],fr=["scope","children"],dr=["children"],pr=["children"],hr=["asChild"],vr=["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"],mr=["loop","trapped","onMountAutoFocus","onUnmountAutoFocus"],gr=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"],yr=["strategy"],br=["mainAxis","crossAxis","limiter"],xr=["children","width","height"],wr=["__scopePopper","virtualRef"],_r=["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","collisionBoundary","collisionPadding","sticky","hideWhenDetached","avoidCollisions"],Er=["__scopePopper"],Sr=["__scopePopover"],kr=["forceMount"],Cr=["__scopePopover","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside"],Ar=["__scopePopover"],Tr=["scope","children"],Pr=["__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopId","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus"],Or=["__scopeRovingFocusGroup","focusable","active"],Rr=["__scopeTabs","value","onValueChange","defaultValue","orientation","dir","activationMode"],Dr=["__scopeTabs","loop"],Lr=["__scopeTabs","value","disabled"],Mr=["__scopeTabs","value","forceMount","children"];function Nr(e){return Zr(e)||qr(e)||fo(e)||Xr()}function Fr(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Fr=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"==lo(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 Ir(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 jr(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Ir(i,r,o,a,u,"next",e)}function u(e){Ir(i,r,o,a,u,"throw",e)}a(void 0)}))}}function zr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Br(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 Ur(){return Ur="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=Vr(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Ur.apply(this,arguments)}function Vr(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=so(e)););return e}function Hr(e){return function(e){if(Array.isArray(e))return po(e)}(e)||qr(e)||fo(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 qr(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Yr(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 Gr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yr(Object(n),!0).forEach((function(t){Wr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kr(e,t){return Zr(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)||fo(e,t)||Xr()}function Xr(){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 Zr(e){if(Array.isArray(e))return e}function Qr(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 $r(e,t,n){return t&&Qr(e.prototype,t),n&&Qr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Jr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eo(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&&uo(e,t)}function to(e){var t=ao();return function(){var n,r=so(e);if(t){var o=so(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return no(this,n)}}function no(e,t){if(t&&("object"===lo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ro(e)}function ro(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oo(e){var t="function"==typeof Map?new Map:void 0;return oo=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 io(e,arguments,so(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),uo(r,e)},oo(e)}function io(e,t,n){return io=ao()?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&&uo(o,n.prototype),o},io.apply(null,arguments)}function ao(){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 uo(e,t){return uo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uo(e,t)}function so(e){return so=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},so(e)}function lo(e){return lo="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},lo(e)}function co(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=fo(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 fo(e,t){if(e){if("string"==typeof e)return po(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)?po(e,t):void 0}}function po(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(Ir,Vr){"use strict";return{execute:function(){function qr(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"}))}Ir({D:function(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0},E:CR,H:AR,J:TR,M:KR,P:qR,Q:ZR,U:pE,W:PR,Z:SO,_:tI,a8:function(e){var t=e.default;if("function"==typeof t){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n},a9:Yr,b:function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Pw){i(Pw)}}function u(e){try{s(r.throw(e))}catch(Pw){i(Pw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},c:function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(Pw){i=[6,Pw],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},e:rI,f:iI});Ir("d","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});function Yr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xr=Ir("r",{exports:{}}),Zr={},Qr=Symbol.for("react.element"),io=Symbol.for("react.portal"),ao=Symbol.for("react.fragment"),uo=Symbol.for("react.strict_mode"),fo=Symbol.for("react.profiler"),po=Symbol.for("react.provider"),ho=Symbol.for("react.context"),vo=Symbol.for("react.forward_ref"),mo=Symbol.for("react.suspense"),go=Symbol.for("react.memo"),yo=Symbol.for("react.lazy"),bo=Symbol.iterator;var xo={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},wo=Object.assign,_o={};function Eo(e,t,n){this.props=e,this.context=t,this.refs=_o,this.updater=n||xo}function So(){}function ko(e,t,n){this.props=e,this.context=t,this.refs=_o,this.updater=n||xo}Eo.prototype.isReactComponent={},Eo.prototype.setState=function(e,t){if("object"!==lo(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")},Eo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},So.prototype=Eo.prototype;var Co=ko.prototype=new So;Co.constructor=ko,wo(Co,Eo.prototype),Co.isPureReactComponent=!0;var Ao=Array.isArray,To=Object.prototype.hasOwnProperty,Po={current:null},Oo={key:!0,ref:!0,__self:!0,__source:!0};function Ro(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)To.call(t,r)&&!Oo.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:Qr,type:e,key:i,ref:a,props:o,_owner:Po.current}}function Do(e){return"object"===lo(e)&&null!==e&&e.$$typeof===Qr}var Lo=/\/+/g;function Mo(e,t){return"object"===lo(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 No(e,t,n,r,o){var i=lo(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 Qr:case io:a=!0}}if(a)return o=o(a=e),e=""===r?"."+Mo(a,0):r,Ao(o)?(n="",null!=e&&(n=e.replace(Lo,"$&/")+"/"),No(o,t,n,"",(function(e){return e}))):null!=o&&(Do(o)&&(o=function(e,t){return{$$typeof:Qr,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(Lo,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=""===r?".":r+":",Ao(e))for(var u=0;u<e.length;u++){var s=r+Mo(i=e[u],u);a+=No(i,t,n,s,o)}else if(s=function(e){return null===e||"object"!==lo(e)?null:"function"==typeof(e=bo&&e[bo]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),u=0;!(i=e.next()).done;)a+=No(i=i.value,t,n,s=r+Mo(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 Fo(e,t,n){if(null==e)return e;var r=[],o=0;return No(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function Io(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 jo={current:null},zo={transition:null},Bo={ReactCurrentDispatcher:jo,ReactCurrentBatchConfig:zo,ReactCurrentOwner:Po};Zr.Children={map:Fo,forEach:function(e,t,n){Fo(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Fo(e,(function(){t++})),t},toArray:function(e){return Fo(e,(function(e){return e}))||[]},only:function(e){if(!Do(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},Zr.Component=Eo,Zr.Fragment=ao,Zr.Profiler=fo,Zr.PureComponent=ko,Zr.StrictMode=uo,Zr.Suspense=mo,Zr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Bo,Zr.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=wo({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=Po.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)To.call(t,s)&&!Oo.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:Qr,type:e.type,key:o,ref:i,props:r,_owner:a}},Zr.createContext=function(e){return(e={$$typeof:ho,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:po,_context:e},e.Consumer=e},Zr.createElement=Ro,Zr.createFactory=function(e){var t=Ro.bind(null,e);return t.type=e,t},Zr.createRef=function(){return{current:null}},Zr.forwardRef=function(e){return{$$typeof:vo,render:e}},Zr.isValidElement=Do,Zr.lazy=function(e){return{$$typeof:yo,_payload:{_status:-1,_result:e},_init:Io}},Zr.memo=function(e,t){return{$$typeof:go,type:e,compare:void 0===t?null:t}},Zr.startTransition=function(e){var t=zo.transition;zo.transition={};try{e()}finally{zo.transition=t}},Zr.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Zr.useCallback=function(e,t){return jo.current.useCallback(e,t)},Zr.useContext=function(e){return jo.current.useContext(e)},Zr.useDebugValue=function(){},Zr.useDeferredValue=function(e){return jo.current.useDeferredValue(e)},Zr.useEffect=function(e,t){return jo.current.useEffect(e,t)},Zr.useId=function(){return jo.current.useId()},Zr.useImperativeHandle=function(e,t,n){return jo.current.useImperativeHandle(e,t,n)},Zr.useInsertionEffect=function(e,t){return jo.current.useInsertionEffect(e,t)},Zr.useLayoutEffect=function(e,t){return jo.current.useLayoutEffect(e,t)},Zr.useMemo=function(e,t){return jo.current.useMemo(e,t)},Zr.useReducer=function(e,t,n){return jo.current.useReducer(e,t,n)},Zr.useRef=function(e){return jo.current.useRef(e)},Zr.useState=function(e){return jo.current.useState(e)},Zr.useSyncExternalStore=function(e,t,n){return jo.current.useSyncExternalStore(e,t,n)},Zr.useTransition=function(){return jo.current.useTransition()},Zr.version="18.2.0",function(e){e.exports=Zr}(Xr);var Uo=Ir("R",Yr(Xr.exports)),Vo=qr({__proto__:null,default:Uo},[Xr.exports]);Ir("$",Vo);var Ho={},qo=Ir("X",{exports:{}}),Yo={},Go={exports:{}},Wo={};
2
2
  /**
3
3
  * @license React
4
4
  * scheduler.production.min.js
@@ -18,7 +18,7 @@
18
18
  * This source code is licensed under the MIT license found in the
19
19
  * LICENSE file in the root directory of this source tree.
20
20
  */
21
- var Ko=Xr.exports,Xo=Go.exports;function Zo(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 Qo=new Set,$o={};function Jo(e,t){ei(e,t),ei(e+"Capture",t)}function ei(e,t){for($o[e]=t,e=0;e<t.length;e++)Qo.add(t[e])}var ti=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ni=Object.prototype.hasOwnProperty,ri=/^[: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]*$/,oi={},ii={};function ai(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(lo(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 ui(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 si={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){si[e]=new ui(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];si[t]=new ui(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){si[e]=new ui(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){si[e]=new ui(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){si[e]=new ui(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){si[e]=new ui(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){si[e]=new ui(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){si[e]=new ui(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){si[e]=new ui(e,5,!1,e.toLowerCase(),null,!1,!1)}));var li=/[\-:]([a-z])/g;function ci(e){return e[1].toUpperCase()}function fi(e,t,n,r){var o=si.hasOwnProperty(t)?si[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(ai(t,n,o,r)&&(n=null),r||null===o?function(e){return!!ni.call(ii,e)||!ni.call(oi,e)&&(ri.test(e)?ii[e]=!0:(oi[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(li,ci);si[t]=new ui(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(li,ci);si[t]=new ui(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(li,ci);si[t]=new ui(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){si[e]=new ui(e,1,!1,e.toLowerCase(),null,!1,!1)})),si.xlinkHref=new ui("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){si[e]=new ui(e,1,!1,e.toLowerCase(),null,!0,!0)}));var di=Ko.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,pi=Symbol.for("react.element"),hi=Symbol.for("react.portal"),vi=Symbol.for("react.fragment"),mi=Symbol.for("react.strict_mode"),gi=Symbol.for("react.profiler"),yi=Symbol.for("react.provider"),bi=Symbol.for("react.context"),xi=Symbol.for("react.forward_ref"),wi=Symbol.for("react.suspense"),_i=Symbol.for("react.suspense_list"),Ei=Symbol.for("react.memo"),Si=Symbol.for("react.lazy"),ki=Symbol.for("react.offscreen"),Ci=Symbol.iterator;function Ai(e){return null===e||"object"!==lo(e)?null:"function"==typeof(e=Ci&&e[Ci]||e["@@iterator"])?e:null}var Ti,Pi=Object.assign;function Oi(e){if(void 0===Ti)try{throw Error()}catch(aU){var t=aU.stack.trim().match(/\n( *(at )?)/);Ti=t&&t[1]||""}return"\n"+Ti+e}var Ri=!1;function Di(e,t){if(!e||Ri)return"";Ri=!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":lo(Reflect))&&Reflect.construct){try{Reflect.construct(t,[])}catch(Mw){var r=Mw}Reflect.construct(e,[],t)}else{try{t.call()}catch(Mw){r=Mw}e.call(t.prototype)}else{try{throw Error()}catch(Mw){r=Mw}e()}}catch(Mw){if(Mw&&r&&"string"==typeof Mw.stack){for(var o=Mw.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{Ri=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Oi(e):""}function Li(e){switch(e.tag){case 5:return Oi(e.type);case 16:return Oi("Lazy");case 13:return Oi("Suspense");case 19:return Oi("SuspenseList");case 0:case 2:case 15:return e=Di(e.type,!1);case 11:return e=Di(e.type.render,!1);case 1:return e=Di(e.type,!0);default:return""}}function Mi(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 vi:return"Fragment";case hi:return"Portal";case gi:return"Profiler";case mi:return"StrictMode";case wi:return"Suspense";case _i:return"SuspenseList"}if("object"===lo(e))switch(e.$$typeof){case bi:return(e.displayName||"Context")+".Consumer";case yi:return(e._context.displayName||"Context")+".Provider";case xi:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Ei:return null!==(t=e.displayName||null)?t:Mi(e.type)||"Memo";case Si:t=e._payload,e=e._init;try{return Mi(e(t))}catch(aU){}}return null}function Ni(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 Mi(t);case 8:return t===mi?"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 Fi(e){switch(lo(e)){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Ii(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ji(e){e._valueTracker||(e._valueTracker=function(e){var t=Ii(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 zi(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ii(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Bi(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 Ui(e,t){var n=t.checked;return Pi({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Vi(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Fi(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 Hi(e,t){null!=(t=t.checked)&&fi(e,"checked",t,!1)}function qi(e,t){Hi(e,t);var n=Fi(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")?Gi(e,t.type,n):t.hasOwnProperty("defaultValue")&&Gi(e,t.type,Fi(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Yi(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 Gi(e,t,n){"number"===t&&Bi(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Wi=Array.isArray;function Ki(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=""+Fi(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 Xi(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(Zo(91));return Pi({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Zi(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(Zo(92));if(Wi(n)){if(1<n.length)throw Error(Zo(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Fi(n)}}function Qi(e,t){var n=Fi(t.value),r=Fi(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 $i(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function Ji(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 ea(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Ji(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ta,na=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((ta=ta||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ta.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function ra(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 oa={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},ia=["Webkit","ms","Moz","O"];function aa(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||oa.hasOwnProperty(e)&&oa[e]?(""+t).trim():t+"px"}function ua(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=aa(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(oa).forEach((function(e){ia.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),oa[t]=oa[e]}))}));var sa=Pi({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 la(e,t){if(t){if(sa[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(Zo(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(Zo(60));if("object"!==lo(t.dangerouslySetInnerHTML)||!("__html"in t.dangerouslySetInnerHTML))throw Error(Zo(61))}if(null!=t.style&&"object"!==lo(t.style))throw Error(Zo(62))}}function ca(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 fa=null;function da(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var pa=null,ha=null,va=null;function ma(e){if(e=lc(e)){if("function"!=typeof pa)throw Error(Zo(280));var t=e.stateNode;t&&(t=fc(t),pa(e.stateNode,e.type,t))}}function ga(e){ha?va?va.push(e):va=[e]:ha=e}function ya(){if(ha){var e=ha,t=va;if(va=ha=null,ma(e),t)for(e=0;e<t.length;e++)ma(t[e])}}function ba(e,t){return e(t)}function xa(){}var wa=!1;function _a(e,t,n){if(wa)return e(t,n);wa=!0;try{return ba(e,t,n)}finally{wa=!1,(null!==ha||null!==va)&&(xa(),ya())}}function Ea(e,t){var n=e.stateNode;if(null===n)return null;var r=fc(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(Zo(231,t,lo(n)));return n}var Sa=!1;if(ti)try{var ka={};Object.defineProperty(ka,"passive",{get:function(){Sa=!0}}),window.addEventListener("test",ka,ka),window.removeEventListener("test",ka,ka)}catch(oU){Sa=!1}function Ca(e,t,n,r,o,i,a,u,s){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(Nw){this.onError(Nw)}}var Aa=!1,Ta=null,Pa=!1,Oa=null,Ra={onError:function(e){Aa=!0,Ta=e}};function Da(e,t,n,r,o,i,a,u,s){Aa=!1,Ta=null,Ca.apply(Ra,arguments)}function La(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 Ma(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 Na(e){if(La(e)!==e)throw Error(Zo(188))}function Fa(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=La(e)))throw Error(Zo(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 Na(o),e;if(i===r)return Na(o),t;i=i.sibling}throw Error(Zo(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(Zo(189))}}if(n.alternate!==r)throw Error(Zo(190))}if(3!==n.tag)throw Error(Zo(188));return n.stateNode.current===n?e:t}(e),null!==e?Ia(e):null}function Ia(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ia(e);if(null!==t)return t;e=e.sibling}return null}var ja=Xo.unstable_scheduleCallback,za=Xo.unstable_cancelCallback,Ba=Xo.unstable_shouldYield,Ua=Xo.unstable_requestPaint,Va=Xo.unstable_now,Ha=Xo.unstable_getCurrentPriorityLevel,qa=Xo.unstable_ImmediatePriority,Ya=Xo.unstable_UserBlockingPriority,Ga=Xo.unstable_NormalPriority,Wa=Xo.unstable_LowPriority,Ka=Xo.unstable_IdlePriority,Xa=null,Za=null;var Qa=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-($a(e)/Ja|0)|0},$a=Math.log,Ja=Math.LN2;var eu=64,tu=4194304;function nu(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 ru(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=nu(u):0!==(i&=a)&&(r=nu(i))}else 0!==(a=n&~o)?r=nu(a):0!==i&&(r=nu(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-Qa(t)),r|=e[n],t&=~o;return r}function ou(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 iu(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function au(){var e=eu;return 0==(4194240&(eu<<=1))&&(eu=64),e}function uu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function su(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-Qa(t)]=n}function lu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Qa(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var cu=0;function fu(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var du,pu,hu,vu,mu,gu=!1,yu=[],bu=null,xu=null,wu=null,_u=new Map,Eu=new Map,Su=[],ku="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 Cu(e,t){switch(e){case"focusin":case"focusout":bu=null;break;case"dragenter":case"dragleave":xu=null;break;case"mouseover":case"mouseout":wu=null;break;case"pointerover":case"pointerout":_u.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Eu.delete(t.pointerId)}}function Au(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=lc(t))&&pu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Tu(e){var t=sc(e.target);if(null!==t){var n=La(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ma(n)))return e.blockedOn=t,void mu(e.priority,(function(){hu(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 Pu(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Bu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=lc(n))&&pu(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);fa=r,n.target.dispatchEvent(r),fa=null,t.shift()}return!0}function Ou(e,t,n){Pu(e)&&n.delete(t)}function Ru(){gu=!1,null!==bu&&Pu(bu)&&(bu=null),null!==xu&&Pu(xu)&&(xu=null),null!==wu&&Pu(wu)&&(wu=null),_u.forEach(Ou),Eu.forEach(Ou)}function Du(e,t){e.blockedOn===t&&(e.blockedOn=null,gu||(gu=!0,Xo.unstable_scheduleCallback(Xo.unstable_NormalPriority,Ru)))}function Lu(e){function t(t){return Du(t,e)}if(0<yu.length){Du(yu[0],e);for(var n=1;n<yu.length;n++){var r=yu[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==bu&&Du(bu,e),null!==xu&&Du(xu,e),null!==wu&&Du(wu,e),_u.forEach(t),Eu.forEach(t),n=0;n<Su.length;n++)(r=Su[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Su.length&&null===(n=Su[0]).blockedOn;)Tu(n),null===n.blockedOn&&Su.shift()}var Mu=di.ReactCurrentBatchConfig,Nu=!0;function Fu(e,t,n,r){var o=cu,i=Mu.transition;Mu.transition=null;try{cu=1,ju(e,t,n,r)}finally{cu=o,Mu.transition=i}}function Iu(e,t,n,r){var o=cu,i=Mu.transition;Mu.transition=null;try{cu=4,ju(e,t,n,r)}finally{cu=o,Mu.transition=i}}function ju(e,t,n,r){if(Nu){var o=Bu(e,t,n,r);if(null===o)Ml(e,t,r,zu,n),Cu(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return bu=Au(bu,e,t,n,r,o),!0;case"dragenter":return xu=Au(xu,e,t,n,r,o),!0;case"mouseover":return wu=Au(wu,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return _u.set(i,Au(_u.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Eu.set(i,Au(Eu.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Cu(e,r),4&t&&-1<ku.indexOf(e)){for(;null!==o;){var i=lc(o);if(null!==i&&du(i),null===(i=Bu(e,t,n,r))&&Ml(e,t,r,zu,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Ml(e,t,r,null,n)}}var zu=null;function Bu(e,t,n,r){if(zu=null,null!==(e=sc(e=da(r))))if(null===(t=La(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ma(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 zu=e,null}function Uu(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(Ha()){case qa:return 1;case Ya:return 4;case Ga:case Wa:return 16;case Ka:return 536870912;default:return 16}default:return 16}}var Vu=null,Hu=null,qu=null;function Yu(){if(qu)return qu;var e,t,n=Hu,r=n.length,o="value"in Vu?Vu.value:Vu.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 qu=o.slice(e,1<t?1-t:void 0)}function Gu(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 Wu(){return!0}function Ku(){return!1}function Xu(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)?Wu:Ku,this.isPropagationStopped=Ku,this}return Pi(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=Wu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Wu)},persist:function(){},isPersistent:Wu}),t}var Zu,Qu,$u,Ju={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},es=Xu(Ju),ts=Pi({},Ju,{view:0,detail:0}),ns=Xu(ts),rs=Pi({},ts,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vs,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!==$u&&($u&&"mousemove"===e.type?(Zu=e.screenX-$u.screenX,Qu=e.screenY-$u.screenY):Qu=Zu=0,$u=e),Zu)},movementY:function(e){return"movementY"in e?e.movementY:Qu}}),os=Xu(rs),is=Xu(Pi({},rs,{dataTransfer:0})),as=Xu(Pi({},ts,{relatedTarget:0})),us=Xu(Pi({},Ju,{animationName:0,elapsedTime:0,pseudoElement:0})),ss=Pi({},Ju,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ls=Xu(ss),cs=Xu(Pi({},Ju,{data:0})),fs={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ds={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"},ps={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hs(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=ps[e])&&!!t[e]}function vs(){return hs}var ms=Pi({},ts,{key:function(e){if(e.key){var t=fs[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Gu(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ds[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vs,charCode:function(e){return"keypress"===e.type?Gu(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Gu(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),gs=Xu(ms),ys=Xu(Pi({},rs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),bs=Xu(Pi({},ts,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vs})),xs=Xu(Pi({},Ju,{propertyName:0,elapsedTime:0,pseudoElement:0})),ws=Pi({},rs,{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}),_s=Xu(ws),Es=[9,13,27,32],Ss=ti&&"CompositionEvent"in window,ks=null;ti&&"documentMode"in document&&(ks=document.documentMode);var Cs=ti&&"TextEvent"in window&&!ks,As=ti&&(!Ss||ks&&8<ks&&11>=ks),Ts=String.fromCharCode(32),Ps=!1;function Os(e,t){switch(e){case"keyup":return-1!==Es.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rs(e){return"object"===lo(e=e.detail)&&"data"in e?e.data:null}var Ds=!1;var Ls={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 Ms(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Ls[e.type]:"textarea"===t}function Ns(e,t,n,r){ga(r),0<(t=Fl(t,"onChange")).length&&(n=new es("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Fs=null,Is=null;function js(e){Tl(e,0)}function zs(e){if(zi(cc(e)))return e}function Bs(e,t){if("change"===e)return t}var Us=!1;if(ti){var Vs;if(ti){var Hs="oninput"in document;if(!Hs){var qs=document.createElement("div");qs.setAttribute("oninput","return;"),Hs="function"==typeof qs.oninput}Vs=Hs}else Vs=!1;Us=Vs&&(!document.documentMode||9<document.documentMode)}function Ys(){Fs&&(Fs.detachEvent("onpropertychange",Gs),Is=Fs=null)}function Gs(e){if("value"===e.propertyName&&zs(Is)){var t=[];Ns(t,Is,e,da(e)),_a(js,t)}}function Ws(e,t,n){"focusin"===e?(Ys(),Is=n,(Fs=t).attachEvent("onpropertychange",Gs)):"focusout"===e&&Ys()}function Ks(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return zs(Is)}function Xs(e,t){if("click"===e)return zs(t)}function Zs(e,t){if("input"===e||"change"===e)return zs(t)}var Qs="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function $s(e,t){if(Qs(e,t))return!0;if("object"!==lo(e)||null===e||"object"!==lo(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(!ni.call(t,o)||!Qs(e[o],t[o]))return!1}return!0}function Js(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function el(e,t){var n,r=Js(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=Js(r)}}function tl(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?tl(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function nl(){for(var e=window,t=Bi();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(Tw){n=!1}if(!n)break;t=Bi((e=t.contentWindow).document)}return t}function rl(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 ol(e){var t=nl(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&tl(n.ownerDocument.documentElement,n)){if(null!==r&&rl(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=el(n,i);var a=el(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 il=ti&&"documentMode"in document&&11>=document.documentMode,al=null,ul=null,sl=null,ll=!1;function cl(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;ll||null==al||al!==Bi(r)||("selectionStart"in(r=al)&&rl(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},sl&&$s(sl,r)||(sl=r,0<(r=Fl(ul,"onSelect")).length&&(t=new es("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=al)))}function fl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var dl={animationend:fl("Animation","AnimationEnd"),animationiteration:fl("Animation","AnimationIteration"),animationstart:fl("Animation","AnimationStart"),transitionend:fl("Transition","TransitionEnd")},pl={},hl={};function vl(e){if(pl[e])return pl[e];if(!dl[e])return e;var t,n=dl[e];for(t in n)if(n.hasOwnProperty(t)&&t in hl)return pl[e]=n[t];return e}ti&&(hl=document.createElement("div").style,"AnimationEvent"in window||(delete dl.animationend.animation,delete dl.animationiteration.animation,delete dl.animationstart.animation),"TransitionEvent"in window||delete dl.transitionend.transition);var ml=vl("animationend"),gl=vl("animationiteration"),yl=vl("animationstart"),bl=vl("transitionend"),xl=new Map,wl="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 _l(e,t){xl.set(e,t),Jo(t,[e])}for(var El=0;El<wl.length;El++){var Sl=wl[El];_l(Sl.toLowerCase(),"on"+(Sl[0].toUpperCase()+Sl.slice(1)))}_l(ml,"onAnimationEnd"),_l(gl,"onAnimationIteration"),_l(yl,"onAnimationStart"),_l("dblclick","onDoubleClick"),_l("focusin","onFocus"),_l("focusout","onBlur"),_l(bl,"onTransitionEnd"),ei("onMouseEnter",["mouseout","mouseover"]),ei("onMouseLeave",["mouseout","mouseover"]),ei("onPointerEnter",["pointerout","pointerover"]),ei("onPointerLeave",["pointerout","pointerover"]),Jo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Jo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Jo("onBeforeInput",["compositionend","keypress","textInput","paste"]),Jo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Jo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Jo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kl="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(" "),Cl=new Set("cancel close invalid load scroll toggle".split(" ").concat(kl));function Al(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,u,s){if(Da.apply(this,arguments),Aa){if(!Aa)throw Error(Zo(198));var l=Ta;Aa=!1,Ta=null,Pa||(Pa=!0,Oa=l)}}(r,t,void 0,e),e.currentTarget=null}function Tl(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;Al(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;Al(o,u,l),i=s}}}if(Pa)throw e=Oa,Pa=!1,Oa=null,e}function Pl(e,t){var n=t[ic];void 0===n&&(n=t[ic]=new Set);var r=e+"__bubble";n.has(r)||(Ll(t,e,2,!1),n.add(r))}function Ol(e,t,n){var r=0;t&&(r|=4),Ll(n,e,r,t)}var Rl="_reactListening"+Math.random().toString(36).slice(2);function Dl(e){if(!e[Rl]){e[Rl]=!0,Qo.forEach((function(t){"selectionchange"!==t&&(Cl.has(t)||Ol(t,!1,e),Ol(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Rl]||(t[Rl]=!0,Ol("selectionchange",!1,t))}}function Ll(e,t,n,r){switch(Uu(t)){case 1:var o=Fu;break;case 4:o=Iu;break;default:o=ju}n=o.bind(null,t,n,e),o=void 0,!Sa||"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 Ml(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=sc(u)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}u=u.parentNode}}r=r.return}_a((function(){var r=i,o=da(n),a=[];e:{var u=xl.get(e);if(void 0!==u){var s=es,l=e;switch(e){case"keypress":if(0===Gu(n))break e;case"keydown":case"keyup":s=gs;break;case"focusin":l="focus",s=as;break;case"focusout":l="blur",s=as;break;case"beforeblur":case"afterblur":s=as;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=os;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=is;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=bs;break;case ml:case gl:case yl:s=us;break;case bl:s=xs;break;case"scroll":s=ns;break;case"wheel":s=_s;break;case"copy":case"cut":case"paste":s=ls;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=ys}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=Ea(h,d))&&c.push(Nl(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===fa||!(l=n.relatedTarget||n.fromElement)||!sc(l)&&!l[oc])&&(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)?sc(l):null)&&(l!==(f=La(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(s=null,l=r),s!==l)){if(c=os,v="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=ys,v="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==s?u:cc(s),p=null==l?u:cc(l),(u=new c(v,h+"leave",s,n,o)).target=f,u.relatedTarget=p,v=null,sc(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=Il(p))h++;for(p=0,v=d;v;v=Il(v))p++;for(;0<h-p;)c=Il(c),h--;for(;0<p-h;)d=Il(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Il(c),d=Il(d)}c=null}else c=null;null!==s&&jl(a,u,s,c,!1),null!==l&&null!==f&&jl(a,f,l,c,!0)}if("select"===(s=(u=r?cc(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===s&&"file"===u.type)var m=Bs;else if(Ms(u))if(Us)m=Zs;else{m=Ks;var g=Ws}else(s=u.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(m=Xs);switch(m&&(m=m(e,r))?Ns(a,m,n,o):(g&&g(e,u,r),"focusout"===e&&(g=u._wrapperState)&&g.controlled&&"number"===u.type&&Gi(u,"number",u.value)),g=r?cc(r):window,e){case"focusin":(Ms(g)||"true"===g.contentEditable)&&(al=g,ul=r,sl=null);break;case"focusout":sl=ul=al=null;break;case"mousedown":ll=!0;break;case"contextmenu":case"mouseup":case"dragend":ll=!1,cl(a,n,o);break;case"selectionchange":if(il)break;case"keydown":case"keyup":cl(a,n,o)}var y;if(Ss)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 Ds?Os(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(As&&"ko"!==n.locale&&(Ds||"onCompositionStart"!==b?"onCompositionEnd"===b&&Ds&&(y=Yu()):(Hu="value"in(Vu=o)?Vu.value:Vu.textContent,Ds=!0)),0<(g=Fl(r,b)).length&&(b=new cs(b,e,null,n,o),a.push({event:b,listeners:g}),y?b.data=y:null!==(y=Rs(n))&&(b.data=y))),(y=Cs?function(e,t){switch(e){case"compositionend":return Rs(t);case"keypress":return 32!==t.which?null:(Ps=!0,Ts);case"textInput":return(e=t.data)===Ts&&Ps?null:e;default:return null}}(e,n):function(e,t){if(Ds)return"compositionend"===e||!Ss&&Os(e,t)?(e=Yu(),qu=Hu=Vu=null,Ds=!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 As&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Fl(r,"onBeforeInput")).length&&(o=new cs("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}Tl(a,t)}))}function Nl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Fl(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=Ea(e,n))&&r.unshift(Nl(e,i,o)),null!=(i=Ea(e,t))&&r.push(Nl(e,i,o))),e=e.return}return r}function Il(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function jl(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=Ea(n,i))&&a.unshift(Nl(n,s,u)):o||null!=(s=Ea(n,i))&&a.push(Nl(n,s,u))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var zl=/\r\n?/g,Bl=/\u0000|\uFFFD/g;function Ul(e){return("string"==typeof e?e:""+e).replace(zl,"\n").replace(Bl,"")}function Vl(e,t,n){if(t=Ul(t),Ul(e)!==t&&n)throw Error(Zo(425))}function Hl(){}var ql=null,Yl=null;function Gl(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"===lo(t.dangerouslySetInnerHTML)&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Wl="function"==typeof setTimeout?setTimeout:void 0,Kl="function"==typeof clearTimeout?clearTimeout:void 0,Xl="function"==typeof Promise?Promise:void 0,Zl="function"==typeof queueMicrotask?queueMicrotask:void 0!==Xl?function(e){return Xl.resolve(null).then(e).catch(Ql)}:Wl;function Ql(e){setTimeout((function(){throw e}))}function $l(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 Lu(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Lu(t)}function Jl(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 ec(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 tc=Math.random().toString(36).slice(2),nc="__reactFiber$"+tc,rc="__reactProps$"+tc,oc="__reactContainer$"+tc,ic="__reactEvents$"+tc,ac="__reactListeners$"+tc,uc="__reactHandles$"+tc;function sc(e){var t=e[nc];if(t)return t;for(var n=e.parentNode;n;){if(t=n[oc]||n[nc]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ec(e);null!==e;){if(n=e[nc])return n;e=ec(e)}return t}n=(e=n).parentNode}return null}function lc(e){return!(e=e[nc]||e[oc])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function cc(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(Zo(33))}function fc(e){return e[rc]||null}var dc=[],pc=-1;function hc(e){return{current:e}}function vc(e){0>pc||(e.current=dc[pc],dc[pc]=null,pc--)}function mc(e,t){pc++,dc[pc]=e.current,e.current=t}var gc={},yc=hc(gc),bc=hc(!1),xc=gc;function wc(e,t){var n=e.type.contextTypes;if(!n)return gc;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 _c(e){return null!=(e=e.childContextTypes)}function Ec(){vc(bc),vc(yc)}function Sc(e,t,n){if(yc.current!==gc)throw Error(Zo(168));mc(yc,t),mc(bc,n)}function kc(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(Zo(108,Ni(e)||"Unknown",o));return Pi({},n,r)}function Cc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gc,xc=yc.current,mc(yc,e),mc(bc,bc.current),!0}function Ac(e,t,n){var r=e.stateNode;if(!r)throw Error(Zo(169));n?(e=kc(e,t,xc),r.__reactInternalMemoizedMergedChildContext=e,vc(bc),vc(yc),mc(yc,e)):vc(bc),mc(bc,n)}var Tc=null,Pc=!1,Oc=!1;function Rc(e){null===Tc?Tc=[e]:Tc.push(e)}function Dc(){if(!Oc&&null!==Tc){Oc=!0;var e=0,t=cu;try{var n=Tc;for(cu=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Tc=null,Pc=!1}catch(Pw){throw null!==Tc&&(Tc=Tc.slice(e+1)),ja(qa,Dc),Pw}finally{cu=t,Oc=!1}}return null}var Lc=[],Mc=0,Nc=null,Fc=0,Ic=[],jc=0,zc=null,Bc=1,Uc="";function Vc(e,t){Lc[Mc++]=Fc,Lc[Mc++]=Nc,Nc=e,Fc=t}function Hc(e,t,n){Ic[jc++]=Bc,Ic[jc++]=Uc,Ic[jc++]=zc,zc=e;var r=Bc;e=Uc;var o=32-Qa(r)-1;r&=~(1<<o),n+=1;var i=32-Qa(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Bc=1<<32-Qa(t)+o|n<<o|r,Uc=i+e}else Bc=1<<i|n<<o|r,Uc=e}function qc(e){null!==e.return&&(Vc(e,1),Hc(e,1,0))}function Yc(e){for(;e===Nc;)Nc=Lc[--Mc],Lc[Mc]=null,Fc=Lc[--Mc],Lc[Mc]=null;for(;e===zc;)zc=Ic[--jc],Ic[jc]=null,Uc=Ic[--jc],Ic[jc]=null,Bc=Ic[--jc],Ic[jc]=null}var Gc=null,Wc=null,Kc=!1,Xc=null;function Zc(e,t){var n=wv(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 Qc(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,Gc=e,Wc=Jl(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Gc=e,Wc=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==zc?{id:Bc,overflow:Uc}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=wv(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Gc=e,Wc=null,!0);default:return!1}}function $c(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function Jc(e){if(Kc){var t=Wc;if(t){var n=t;if(!Qc(e,t)){if($c(e))throw Error(Zo(418));t=Jl(n.nextSibling);var r=Gc;t&&Qc(e,t)?Zc(r,n):(e.flags=-4097&e.flags|2,Kc=!1,Gc=e)}}else{if($c(e))throw Error(Zo(418));e.flags=-4097&e.flags|2,Kc=!1,Gc=e}}}function ef(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Gc=e}function tf(e){if(e!==Gc)return!1;if(!Kc)return ef(e),Kc=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Gl(e.type,e.memoizedProps)),t&&(t=Wc)){if($c(e))throw nf(),Error(Zo(418));for(;t;)Zc(e,t),t=Jl(t.nextSibling)}if(ef(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(Zo(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Wc=Jl(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Wc=null}}else Wc=Gc?Jl(e.stateNode.nextSibling):null;return!0}function nf(){for(var e=Wc;e;)e=Jl(e.nextSibling)}function rf(){Wc=Gc=null,Kc=!1}function of(e){null===Xc?Xc=[e]:Xc.push(e)}var af=di.ReactCurrentBatchConfig;function uf(e,t){if(e&&e.defaultProps){for(var n in t=Pi({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var sf=hc(null),lf=null,cf=null,ff=null;function df(){ff=cf=lf=null}function pf(e){var t=sf.current;vc(sf),e._currentValue=t}function hf(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 vf(e,t){lf=e,ff=cf=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(cp=!0),e.firstContext=null)}function mf(e){var t=e._currentValue;if(ff!==e)if(e={context:e,memoizedValue:t,next:null},null===cf){if(null===lf)throw Error(Zo(308));cf=e,lf.dependencies={lanes:0,firstContext:e}}else cf=cf.next=e;return t}var gf=null;function yf(e){null===gf?gf=[e]:gf.push(e)}function bf(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,yf(t)):(n.next=o.next,o.next=n),t.interleaved=n,xf(e,r)}function xf(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 wf=!1;function _f(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ef(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 Sf(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function kf(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&yh)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,xf(e,n)}return null===(o=r.interleaved)?(t.next=t,yf(r)):(t.next=o.next,o.next=t),r.interleaved=t,xf(e,n)}function Cf(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,lu(e,n)}}function Af(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 Tf(e,t,n,r){var o=e.updateQueue;wf=!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=Pi({},f,d);break e;case 2:wf=!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);Ch|=a,e.lanes=a,e.memoizedState=f}}function Pf(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(Zo(191,o));o.call(r)}}}var Of=(new Ko.Component).refs;function Rf(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Pi({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Df={isMounted:function(e){return!!(e=e._reactInternals)&&La(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=qh(),o=Yh(e),i=Sf(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=kf(e,i,o))&&(Gh(t,e,o,r),Cf(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=qh(),o=Yh(e),i=Sf(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=kf(e,i,o))&&(Gh(t,e,o,r),Cf(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=qh(),r=Yh(e),o=Sf(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=kf(e,o,r))&&(Gh(t,e,r,n),Cf(t,e,r))}};function Lf(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!$s(n,r)||!$s(o,i))}function Mf(e,t,n){var r=!1,o=gc,i=t.contextType;return"object"===lo(i)&&null!==i?i=mf(i):(o=_c(t)?xc:yc.current,i=(r=null!=(r=t.contextTypes))?wc(e,o):gc),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Df,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Nf(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&&Df.enqueueReplaceState(t,t.state,null)}function Ff(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Of,_f(e);var i=t.contextType;"object"===lo(i)&&null!==i?o.context=mf(i):(i=_c(t)?xc:yc.current,o.context=wc(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Rf(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&&Df.enqueueReplaceState(o,o.state,null),Tf(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function If(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!==lo(e)){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(Zo(309));var r=n.stateNode}if(!r)throw Error(Zo(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===Of&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(Zo(284));if(!n._owner)throw Error(Zo(290,e))}return e}function jf(e,t){throw e=Object.prototype.toString.call(t),Error(Zo(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function zf(e){return(0,e._init)(e._payload)}function Bf(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=Ev(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=Av(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===vi?c(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===lo(i)&&null!==i&&i.$$typeof===Si&&zf(i)===t.type)?((r=o(t,n.props)).ref=If(e,t,n),r.return=e,r):((r=Sv(n.type,n.key,n.props,null,e.mode,r)).ref=If(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=Tv(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=kv(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=Av(""+t,e.mode,n)).return=e,t;if("object"===lo(t)&&null!==t){switch(t.$$typeof){case pi:return(n=Sv(t.type,t.key,t.props,null,e.mode,n)).ref=If(e,null,t),n.return=e,n;case hi:return(t=Tv(t,e.mode,n)).return=e,t;case Si:return f(e,(0,t._init)(t._payload),n)}if(Wi(t)||Ai(t))return(t=kv(t,e.mode,n,null)).return=e,t;jf(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"===lo(n)&&null!==n){switch(n.$$typeof){case pi:return n.key===o?s(e,t,n,r):null;case hi:return n.key===o?l(e,t,n,r):null;case Si:return d(e,t,(o=n._init)(n._payload),r)}if(Wi(n)||Ai(n))return null!==o?null:c(e,t,n,r,null);jf(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"===lo(r)&&null!==r){switch(r.$$typeof){case pi:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case hi:return l(t,e=e.get(null===r.key?n:r.key)||null,r,o);case Si:return p(e,t,n,(0,r._init)(r._payload),o)}if(Wi(r)||Ai(r))return c(t,e=e.get(n)||null,r,o,null);jf(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),Kc&&Vc(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 Kc&&Vc(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)})),Kc&&Vc(o,v),l}function v(o,a,u,s){var l=Ai(u);if("function"!=typeof l)throw Error(Zo(150));if(null==(u=l.call(u)))throw Error(Zo(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),Kc&&Vc(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 Kc&&Vc(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)})),Kc&&Vc(o,v),l}return function e(r,i,u,s){if("object"===lo(u)&&null!==u&&u.type===vi&&null===u.key&&(u=u.props.children),"object"===lo(u)&&null!==u){switch(u.$$typeof){case pi:e:{for(var l=u.key,c=i;null!==c;){if(c.key===l){if((l=u.type)===vi){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"===lo(l)&&null!==l&&l.$$typeof===Si&&zf(l)===c.type){n(r,c.sibling),(i=o(c,u.props)).ref=If(r,c,u),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}u.type===vi?((i=kv(u.props.children,r.mode,s,u.key)).return=r,r=i):((s=Sv(u.type,u.key,u.props,null,r.mode,s)).ref=If(r,i,u),s.return=r,r=s)}return a(r);case hi: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=Tv(u,r.mode,s)).return=r,r=i}return a(r);case Si:return e(r,i,(c=u._init)(u._payload),s)}if(Wi(u))return h(r,i,u,s);if(Ai(u))return v(r,i,u,s);jf(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=Av(u,r.mode,s)).return=r,r=i),a(r)):n(r,i)}}var Uf=Bf(!0),Vf=Bf(!1),Hf={},qf=hc(Hf),Yf=hc(Hf),Gf=hc(Hf);function Wf(e){if(e===Hf)throw Error(Zo(174));return e}function Kf(e,t){switch(mc(Gf,t),mc(Yf,e),mc(qf,Hf),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ea(null,"");break;default:t=ea(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}vc(qf),mc(qf,t)}function Xf(){vc(qf),vc(Yf),vc(Gf)}function Zf(e){Wf(Gf.current);var t=Wf(qf.current),n=ea(t,e.type);t!==n&&(mc(Yf,e),mc(qf,n))}function Qf(e){Yf.current===e&&(vc(qf),vc(Yf))}var $f=hc(0);function Jf(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 ed=[];function td(){for(var e=0;e<ed.length;e++)ed[e]._workInProgressVersionPrimary=null;ed.length=0}var nd=di.ReactCurrentDispatcher,rd=di.ReactCurrentBatchConfig,od=0,id=null,ad=null,ud=null,sd=!1,ld=!1,cd=0,fd=0;function dd(){throw Error(Zo(321))}function pd(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Qs(e[n],t[n]))return!1;return!0}function hd(e,t,n,r,o,i){if(od=i,id=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,nd.current=null===e||null===e.memoizedState?Qd:$d,e=n(r,o),ld){i=0;do{if(ld=!1,cd=0,25<=i)throw Error(Zo(301));i+=1,ud=ad=null,t.updateQueue=null,nd.current=Jd,e=n(r,o)}while(ld)}if(nd.current=Zd,t=null!==ad&&null!==ad.next,od=0,ud=ad=id=null,sd=!1,t)throw Error(Zo(300));return e}function vd(){var e=0!==cd;return cd=0,e}function md(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ud?id.memoizedState=ud=e:ud=ud.next=e,ud}function gd(){if(null===ad){var e=id.alternate;e=null!==e?e.memoizedState:null}else e=ad.next;var t=null===ud?id.memoizedState:ud.next;if(null!==t)ud=t,ad=e;else{if(null===e)throw Error(Zo(310));e={memoizedState:(ad=e).memoizedState,baseState:ad.baseState,baseQueue:ad.baseQueue,queue:ad.queue,next:null},null===ud?id.memoizedState=ud=e:ud=ud.next=e}return ud}function yd(e,t){return"function"==typeof t?t(e):t}function bd(e){var t=gd(),n=t.queue;if(null===n)throw Error(Zo(311));n.lastRenderedReducer=e;var r=ad,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((od&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,id.lanes|=c,Ch|=c}l=l.next}while(null!==l&&l!==i);null===s?a=r:s.next=u,Qs(r,t.memoizedState)||(cp=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,id.lanes|=i,Ch|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function xd(e){var t=gd(),n=t.queue;if(null===n)throw Error(Zo(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);Qs(i,t.memoizedState)||(cp=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function wd(){}function _d(e,t){var n=id,r=gd(),o=t(),i=!Qs(r.memoizedState,o);if(i&&(r.memoizedState=o,cp=!0),r=r.queue,Md(kd.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==ud&&1&ud.memoizedState.tag){if(n.flags|=2048,Pd(9,Sd.bind(null,n,r,o,t),void 0,null),null===bh)throw Error(Zo(349));0!=(30&od)||Ed(n,t,o)}return o}function Ed(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=id.updateQueue)?(t={lastEffect:null,stores:null},id.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Sd(e,t,n,r){t.value=n,t.getSnapshot=r,Cd(t)&&Ad(e)}function kd(e,t,n){return n((function(){Cd(t)&&Ad(e)}))}function Cd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Qs(e,n)}catch(Tw){return!0}}function Ad(e){var t=xf(e,1);null!==t&&Gh(t,e,1,-1)}function Td(e){var t=md();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:yd,lastRenderedState:e},t.queue=e,e=e.dispatch=Gd.bind(null,id,e),[t.memoizedState,e]}function Pd(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=id.updateQueue)?(t={lastEffect:null,stores:null},id.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 Od(){return gd().memoizedState}function Rd(e,t,n,r){var o=md();id.flags|=e,o.memoizedState=Pd(1|t,n,void 0,void 0===r?null:r)}function Dd(e,t,n,r){var o=gd();r=void 0===r?null:r;var i=void 0;if(null!==ad){var a=ad.memoizedState;if(i=a.destroy,null!==r&&pd(r,a.deps))return void(o.memoizedState=Pd(t,n,i,r))}id.flags|=e,o.memoizedState=Pd(1|t,n,i,r)}function Ld(e,t){return Rd(8390656,8,e,t)}function Md(e,t){return Dd(2048,8,e,t)}function Nd(e,t){return Dd(4,2,e,t)}function Fd(e,t){return Dd(4,4,e,t)}function Id(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 jd(e,t,n){return n=null!=n?n.concat([e]):null,Dd(4,4,Id.bind(null,t,e),n)}function zd(){}function Bd(e,t){var n=gd();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&pd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ud(e,t){var n=gd();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&pd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Vd(e,t,n){return 0==(21&od)?(e.baseState&&(e.baseState=!1,cp=!0),e.memoizedState=n):(Qs(n,t)||(n=au(),id.lanes|=n,Ch|=n,e.baseState=!0),t)}function Hd(e,t){var n=cu;cu=0!==n&&4>n?n:4,e(!0);var r=rd.transition;rd.transition={};try{e(!1),t()}finally{cu=n,rd.transition=r}}function qd(){return gd().memoizedState}function Yd(e,t,n){var r=Yh(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Wd(e))Kd(t,n);else if(null!==(n=bf(e,t,n,r))){Gh(n,e,r,qh()),Xd(n,t,r)}}function Gd(e,t,n){var r=Yh(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Wd(e))Kd(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,Qs(u,a)){var s=t.interleaved;return null===s?(o.next=o,yf(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(Mw){}null!==(n=bf(e,t,o,r))&&(Gh(n,e,r,o=qh()),Xd(n,t,r))}}function Wd(e){var t=e.alternate;return e===id||null!==t&&t===id}function Kd(e,t){ld=sd=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Xd(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,lu(e,n)}}var Zd={readContext:mf,useCallback:dd,useContext:dd,useEffect:dd,useImperativeHandle:dd,useInsertionEffect:dd,useLayoutEffect:dd,useMemo:dd,useReducer:dd,useRef:dd,useState:dd,useDebugValue:dd,useDeferredValue:dd,useTransition:dd,useMutableSource:dd,useSyncExternalStore:dd,useId:dd,unstable_isNewReconciler:!1},Qd={readContext:mf,useCallback:function(e,t){return md().memoizedState=[e,void 0===t?null:t],e},useContext:mf,useEffect:Ld,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Rd(4194308,4,Id.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Rd(4194308,4,e,t)},useInsertionEffect:function(e,t){return Rd(4,2,e,t)},useMemo:function(e,t){var n=md();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=md();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=Yd.bind(null,id,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},md().memoizedState=e},useState:Td,useDebugValue:zd,useDeferredValue:function(e){return md().memoizedState=e},useTransition:function(){var e=Td(!1),t=e[0];return e=Hd.bind(null,e[1]),md().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=id,o=md();if(Kc){if(void 0===n)throw Error(Zo(407));n=n()}else{if(n=t(),null===bh)throw Error(Zo(349));0!=(30&od)||Ed(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Ld(kd.bind(null,r,i,e),[e]),r.flags|=2048,Pd(9,Sd.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=md(),t=bh.identifierPrefix;if(Kc){var n=Uc;t=":"+t+"R"+(n=(Bc&~(1<<32-Qa(Bc)-1)).toString(32)+n),0<(n=cd++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=fd++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},$d={readContext:mf,useCallback:Bd,useContext:mf,useEffect:Md,useImperativeHandle:jd,useInsertionEffect:Nd,useLayoutEffect:Fd,useMemo:Ud,useReducer:bd,useRef:Od,useState:function(){return bd(yd)},useDebugValue:zd,useDeferredValue:function(e){return Vd(gd(),ad.memoizedState,e)},useTransition:function(){return[bd(yd)[0],gd().memoizedState]},useMutableSource:wd,useSyncExternalStore:_d,useId:qd,unstable_isNewReconciler:!1},Jd={readContext:mf,useCallback:Bd,useContext:mf,useEffect:Md,useImperativeHandle:jd,useInsertionEffect:Nd,useLayoutEffect:Fd,useMemo:Ud,useReducer:xd,useRef:Od,useState:function(){return xd(yd)},useDebugValue:zd,useDeferredValue:function(e){var t=gd();return null===ad?t.memoizedState=e:Vd(t,ad.memoizedState,e)},useTransition:function(){return[xd(yd)[0],gd().memoizedState]},useMutableSource:wd,useSyncExternalStore:_d,useId:qd,unstable_isNewReconciler:!1};function ep(e,t){try{var n="",r=t;do{n+=Li(r),r=r.return}while(r);var o=n}catch(Ow){o="\nError generating stack: "+Ow.message+"\n"+Ow.stack}return{value:e,source:t,stack:o,digest:null}}function tp(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function np(e,t){try{console.error(t.value)}catch(aU){setTimeout((function(){throw aU}))}}var rp="function"==typeof WeakMap?WeakMap:Map;function op(e,t,n){(n=Sf(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Mh||(Mh=!0,Nh=r),np(0,t)},n}function ip(e,t,n){(n=Sf(-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(){np(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){np(0,t),"function"!=typeof r&&(null===Fh?Fh=new Set([this]):Fh.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ap(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new rp;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=vv.bind(null,e,t,n),t.then(e,e))}function up(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 sp(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=Sf(-1,1)).tag=2,kf(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var lp=di.ReactCurrentOwner,cp=!1;function fp(e,t,n,r){t.child=null===e?Vf(t,null,n,r):Uf(t,e.child,n,r)}function dp(e,t,n,r,o){n=n.render;var i=t.ref;return vf(t,o),r=hd(e,t,n,r,i,o),n=vd(),null===e||cp?(Kc&&n&&qc(t),t.flags|=1,fp(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Mp(e,t,o))}function pp(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||_v(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Sv(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,hp(e,t,i,r,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:$s)(a,r)&&e.ref===t.ref)return Mp(e,t,o)}return t.flags|=1,(e=Ev(i,r)).ref=t.ref,e.return=t,t.child=e}function hp(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if($s(i,r)&&e.ref===t.ref){if(cp=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,Mp(e,t,o);0!=(131072&e.flags)&&(cp=!0)}}return gp(e,t,n,r,o)}function vp(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},mc(Eh,_h),_h|=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,mc(Eh,_h),_h|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,mc(Eh,_h),_h|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,mc(Eh,_h),_h|=r;return fp(e,t,o,n),t.child}function mp(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function gp(e,t,n,r,o){var i=_c(n)?xc:yc.current;return i=wc(t,i),vf(t,o),n=hd(e,t,n,r,i,o),r=vd(),null===e||cp?(Kc&&r&&qc(t),t.flags|=1,fp(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Mp(e,t,o))}function yp(e,t,n,r,o){if(_c(n)){var i=!0;Cc(t)}else i=!1;if(vf(t,o),null===t.stateNode)Lp(e,t),Mf(t,n,r),Ff(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"===lo(l)&&null!==l?l=mf(l):l=wc(t,l=_c(n)?xc:yc.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)&&Nf(t,a,r,l),wf=!1;var d=t.memoizedState;a.state=d,Tf(t,r,a,o),s=t.memoizedState,u!==r||d!==s||bc.current||wf?("function"==typeof c&&(Rf(t,n,c,r),s=t.memoizedState),(u=wf||Lf(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,Ef(e,t),u=t.memoizedProps,l=t.type===t.elementType?u:uf(t.type,u),a.props=l,f=t.pendingProps,d=a.context,"object"===lo(s=n.contextType)&&null!==s?s=mf(s):s=wc(t,s=_c(n)?xc:yc.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)&&Nf(t,a,r,s),wf=!1,d=t.memoizedState,a.state=d,Tf(t,r,a,o);var h=t.memoizedState;u!==f||d!==h||bc.current||wf?("function"==typeof p&&(Rf(t,n,p,r),h=t.memoizedState),(l=wf||Lf(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 bp(e,t,n,r,i,o)}function bp(e,t,n,r,o,i){mp(e,t);var a=0!=(128&t.flags);if(!r&&!a)return o&&Ac(t,n,!1),Mp(e,t,i);r=t.stateNode,lp.current=t;var u=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Uf(t,e.child,null,i),t.child=Uf(t,null,u,i)):fp(e,t,u,i),t.memoizedState=r.state,o&&Ac(t,n,!0),t.child}function xp(e){var t=e.stateNode;t.pendingContext?Sc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Sc(0,t.context,!1),Kf(e,t.containerInfo)}function wp(e,t,n,r,o){return rf(),of(o),t.flags|=256,fp(e,t,n,r),t.child}var _p,Ep,Sp,kp={dehydrated:null,treeContext:null,retryLane:0};function Cp(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ap(e,t,n){var r,o=t.pendingProps,i=$f.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),mc($f,1&i),null===e)return Jc(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=Cv(u,o,0,null),e=kv(e,o,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Cp(n),t.memoizedState=kp,e):Tp(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,Pp(e,t,a,r=tp(Error(Zo(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Cv({mode:"visible",children:r.children},o,0,null),(i=kv(i,o,a,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Uf(t,e.child,null,a),t.child.memoizedState=Cp(a),t.memoizedState=kp,i);if(0==(1&t.mode))return Pp(e,t,a,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var u=r.dgst;return r=u,Pp(e,t,a,r=tp(i=Error(Zo(419)),r,void 0))}if(u=0!=(a&e.childLanes),cp||u){if(null!==(r=bh)){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,xf(e,o),Gh(r,e,o,-1))}return iv(),Pp(e,t,a,r=tp(Error(Zo(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=gv.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Wc=Jl(o.nextSibling),Gc=t,Kc=!0,Xc=null,null!==e&&(Ic[jc++]=Bc,Ic[jc++]=Uc,Ic[jc++]=zc,Bc=e.id,Uc=e.overflow,zc=t),(t=Tp(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=Ev(i,s)).subtreeFlags=14680064&i.subtreeFlags,null!==r?a=Ev(r,a):(a=kv(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)?Cp(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},a.memoizedState=u,a.childLanes=e.childLanes&~n,t.memoizedState=kp,o}return e=(a=e.child).sibling,o=Ev(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 Tp(e,t){return(t=Cv({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Pp(e,t,n,r){return null!==r&&of(r),Uf(t,e.child,null,n),(e=Tp(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Op(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),hf(e.return,t,n)}function Rp(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 Dp(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(fp(e,t,r.children,n),0!=(2&(r=$f.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&&Op(e,n,t);else if(19===e.tag)Op(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(mc($f,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===Jf(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Rp(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===Jf(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Rp(t,!0,n,null,i);break;case"together":Rp(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Lp(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Mp(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ch|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(Zo(153));if(null!==t.child){for(n=Ev(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ev(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Np(e,t){if(!Kc)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 Fp(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 Ip(e,t,n){var r=t.pendingProps;switch(Yc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fp(t),null;case 1:case 17:return _c(t.type)&&Ec(),Fp(t),null;case 3:return r=t.stateNode,Xf(),vc(bc),vc(yc),td(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(tf(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==Xc&&(Zh(Xc),Xc=null))),Fp(t),null;case 5:Qf(t);var o=Wf(Gf.current);if(n=t.type,null!==e&&null!=t.stateNode)Ep(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(Zo(166));return Fp(t),null}if(e=Wf(qf.current),tf(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[nc]=t,r[rc]=i,e=0!=(1&t.mode),n){case"dialog":Pl("cancel",r),Pl("close",r);break;case"iframe":case"object":case"embed":Pl("load",r);break;case"video":case"audio":for(o=0;o<kl.length;o++)Pl(kl[o],r);break;case"source":Pl("error",r);break;case"img":case"image":case"link":Pl("error",r),Pl("load",r);break;case"details":Pl("toggle",r);break;case"input":Vi(r,i),Pl("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Pl("invalid",r);break;case"textarea":Zi(r,i),Pl("invalid",r)}for(var a in la(n,i),o=null,i)if(i.hasOwnProperty(a)){var u=i[a];"children"===a?"string"==typeof u?r.textContent!==u&&(!0!==i.suppressHydrationWarning&&Vl(r.textContent,u,e),o=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==i.suppressHydrationWarning&&Vl(r.textContent,u,e),o=["children",""+u]):$o.hasOwnProperty(a)&&null!=u&&"onScroll"===a&&Pl("scroll",r)}switch(n){case"input":ji(r),Yi(r,i,!0);break;case"textarea":ji(r),$i(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Hl)}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=Ji(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[nc]=t,e[rc]=r,_p(e,t),t.stateNode=e;e:{switch(a=ca(n,r),n){case"dialog":Pl("cancel",e),Pl("close",e),o=r;break;case"iframe":case"object":case"embed":Pl("load",e),o=r;break;case"video":case"audio":for(o=0;o<kl.length;o++)Pl(kl[o],e);o=r;break;case"source":Pl("error",e),o=r;break;case"img":case"image":case"link":Pl("error",e),Pl("load",e),o=r;break;case"details":Pl("toggle",e),o=r;break;case"input":Vi(e,r),o=Ui(e,r),Pl("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Pi({},r,{value:void 0}),Pl("invalid",e);break;case"textarea":Zi(e,r),o=Xi(e,r),Pl("invalid",e)}for(i in la(n,o),u=o)if(u.hasOwnProperty(i)){var s=u[i];"style"===i?ua(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&na(e,s):"children"===i?"string"==typeof s?("textarea"!==n||""!==s)&&ra(e,s):"number"==typeof s&&ra(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&($o.hasOwnProperty(i)?null!=s&&"onScroll"===i&&Pl("scroll",e):null!=s&&fi(e,i,s,a))}switch(n){case"input":ji(e),Yi(e,r,!1);break;case"textarea":ji(e),$i(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Fi(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?Ki(e,!!r.multiple,i,!1):null!=r.defaultValue&&Ki(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Hl)}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 Fp(t),null;case 6:if(e&&null!=t.stateNode)Sp(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(Zo(166));if(n=Wf(Gf.current),Wf(qf.current),tf(t)){if(r=t.stateNode,n=t.memoizedProps,r[nc]=t,(i=r.nodeValue!==n)&&null!==(e=Gc))switch(e.tag){case 3:Vl(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Vl(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[nc]=t,t.stateNode=r}return Fp(t),null;case 13:if(vc($f),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(Kc&&null!==Wc&&0!=(1&t.mode)&&0==(128&t.flags))nf(),rf(),t.flags|=98560,i=!1;else if(i=tf(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(Zo(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(Zo(317));i[nc]=t}else rf(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Fp(t),i=!1}else null!==Xc&&(Zh(Xc),Xc=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&$f.current)?0===Sh&&(Sh=3):iv())),null!==t.updateQueue&&(t.flags|=4),Fp(t),null);case 4:return Xf(),null===e&&Dl(t.stateNode.containerInfo),Fp(t),null;case 10:return pf(t.type._context),Fp(t),null;case 19:if(vc($f),null===(i=t.memoizedState))return Fp(t),null;if(r=0!=(128&t.flags),null===(a=i.rendering))if(r)Np(i,!1);else{if(0!==Sh||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=Jf(e))){for(t.flags|=128,Np(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 mc($f,1&$f.current|2),t.child}e=e.sibling}null!==i.tail&&Va()>Dh&&(t.flags|=128,r=!0,Np(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=Jf(a))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Np(i,!0),null===i.tail&&"hidden"===i.tailMode&&!a.alternate&&!Kc)return Fp(t),null}else 2*Va()-i.renderingStartTime>Dh&&1073741824!==n&&(t.flags|=128,r=!0,Np(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=Va(),t.sibling=null,n=$f.current,mc($f,r?1&n|2:1&n),t):(Fp(t),null);case 22:case 23:return tv(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&_h)&&(Fp(t),6&t.subtreeFlags&&(t.flags|=8192)):Fp(t),null;case 24:case 25:return null}throw Error(Zo(156,t.tag))}function jp(e,t){switch(Yc(t),t.tag){case 1:return _c(t.type)&&Ec(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Xf(),vc(bc),vc(yc),td(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Qf(t),null;case 13:if(vc($f),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(Zo(340));rf()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return vc($f),null;case 4:return Xf(),null;case 10:return pf(t.type._context),null;case 22:case 23:return tv(),null;default:return null}}_p=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}},Ep=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Wf(qf.current);var i,a=null;switch(n){case"input":o=Ui(e,o),r=Ui(e,r),a=[];break;case"select":o=Pi({},o,{value:void 0}),r=Pi({},r,{value:void 0}),a=[];break;case"textarea":o=Xi(e,o),r=Xi(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Hl)}for(l in la(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&&($o.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&&($o.hasOwnProperty(l)?(null!=s&&"onScroll"===l&&Pl("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)}},Sp=function(e,t,n,r){n!==r&&(t.flags|=4)};var zp=!1,Bp=!1,Up="function"==typeof WeakSet?WeakSet:Set,Vp=null;function Hp(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(Tw){hv(e,t,Tw)}else n.current=null}function qp(e,t,n){try{n()}catch(Tw){hv(e,t,Tw)}}var Yp=!1;function Gp(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&&qp(t,n,i)}o=o.next}while(o!==r)}}function Wp(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 Kp(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 Xp(e){var t=e.alternate;null!==t&&(e.alternate=null,Xp(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[nc],delete t[rc],delete t[ic],delete t[ac],delete t[uc])),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 Zp(e){return 5===e.tag||3===e.tag||4===e.tag}function Qp(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Zp(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 $p(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=Hl));else if(4!==r&&null!==(e=e.child))for($p(e,t,n),e=e.sibling;null!==e;)$p(e,t,n),e=e.sibling}function Jp(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(Jp(e,t,n),e=e.sibling;null!==e;)Jp(e,t,n),e=e.sibling}var eh=null,th=!1;function nh(e,t,n){for(n=n.child;null!==n;)rh(e,t,n),n=n.sibling}function rh(e,t,n){if(Za&&"function"==typeof Za.onCommitFiberUnmount)try{Za.onCommitFiberUnmount(Xa,n)}catch(Dw){}switch(n.tag){case 5:Bp||Hp(n,t);case 6:var r=eh,o=th;eh=null,nh(e,t,n),th=o,null!==(eh=r)&&(th?(e=eh,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):eh.removeChild(n.stateNode));break;case 18:null!==eh&&(th?(e=eh,n=n.stateNode,8===e.nodeType?$l(e.parentNode,n):1===e.nodeType&&$l(e,n),Lu(e)):$l(eh,n.stateNode));break;case 4:r=eh,o=th,eh=n.stateNode.containerInfo,th=!0,nh(e,t,n),eh=r,th=o;break;case 0:case 11:case 14:case 15:if(!Bp&&(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))&&qp(n,t,a),o=o.next}while(o!==r)}nh(e,t,n);break;case 1:if(!Bp&&(Hp(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(Dw){hv(n,t,Dw)}nh(e,t,n);break;case 21:nh(e,t,n);break;case 22:1&n.mode?(Bp=(r=Bp)||null!==n.memoizedState,nh(e,t,n),Bp=r):nh(e,t,n);break;default:nh(e,t,n)}}function oh(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Up),t.forEach((function(t){var r=yv.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ih(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:eh=u.stateNode,th=!1;break e;case 3:case 4:eh=u.stateNode.containerInfo,th=!0;break e}u=u.return}if(null===eh)throw Error(Zo(160));rh(i,a,o),eh=null,th=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(Mw){hv(o,t,Mw)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ah(t,e),t=t.sibling}function ah(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ih(t,e),uh(e),4&r){try{Gp(3,e,e.return),Wp(3,e)}catch(zw){hv(e,e.return,zw)}try{Gp(5,e,e.return)}catch(zw){hv(e,e.return,zw)}}break;case 1:ih(t,e),uh(e),512&r&&null!==n&&Hp(n,n.return);break;case 5:if(ih(t,e),uh(e),512&r&&null!==n&&Hp(n,n.return),32&e.flags){var o=e.stateNode;try{ra(o,"")}catch(zw){hv(e,e.return,zw)}}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&&Hi(o,i),ca(u,a);var l=ca(u,i);for(a=0;a<s.length;a+=2){var c=s[a],f=s[a+1];"style"===c?ua(o,f):"dangerouslySetInnerHTML"===c?na(o,f):"children"===c?ra(o,f):fi(o,c,f,l)}switch(u){case"input":qi(o,i);break;case"textarea":Qi(o,i);break;case"select":var d=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var p=i.value;null!=p?Ki(o,!!i.multiple,p,!1):d!==!!i.multiple&&(null!=i.defaultValue?Ki(o,!!i.multiple,i.defaultValue,!0):Ki(o,!!i.multiple,i.multiple?[]:"",!1))}o[rc]=i}catch(zw){hv(e,e.return,zw)}}break;case 6:if(ih(t,e),uh(e),4&r){if(null===e.stateNode)throw Error(Zo(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(zw){hv(e,e.return,zw)}}break;case 3:if(ih(t,e),uh(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Lu(t.containerInfo)}catch(zw){hv(e,e.return,zw)}break;case 4:default:ih(t,e),uh(e);break;case 13:ih(t,e),uh(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Rh=Va())),4&r&&oh(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(Bp=(l=Bp)||c,ih(t,e),Bp=l):ih(t,e),uh(e),8192&r){if(l=null!==e.memoizedState,(e.stateNode.isHidden=l)&&!c&&0!=(1&e.mode))for(Vp=e,c=e.child;null!==c;){for(f=Vp=c;null!==Vp;){switch(p=(d=Vp).child,d.tag){case 0:case 11:case 14:case 15:Gp(4,d,d.return);break;case 1:Hp(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(zw){hv(r,n,zw)}}break;case 5:Hp(d,d.return);break;case 22:if(null!==d.memoizedState){fh(f);continue}}null!==p?(p.return=d,Vp=p):fh(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=aa("display",a))}catch(zw){hv(e,e.return,zw)}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=l?"":f.memoizedProps}catch(zw){hv(e,e.return,zw)}}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:ih(t,e),uh(e),4&r&&oh(e);case 21:}}function uh(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(Zp(n)){var r=n;break e}n=n.return}throw Error(Zo(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(ra(o,""),r.flags&=-33),Jp(e,Qp(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;$p(e,Qp(e),i);break;default:throw Error(Zo(161))}}catch(u_){hv(e,e.return,u_)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function sh(e,t,n){Vp=e,lh(e)}function lh(e,t,n){for(var r=0!=(1&e.mode);null!==Vp;){var o=Vp,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||zp;if(!a){var u=o.alternate,s=null!==u&&null!==u.memoizedState||Bp;u=zp;var l=Bp;if(zp=a,(Bp=s)&&!l)for(Vp=o;null!==Vp;)s=(a=Vp).child,22===a.tag&&null!==a.memoizedState?dh(o):null!==s?(s.return=a,Vp=s):dh(o);for(;null!==i;)Vp=i,lh(i),i=i.sibling;Vp=o,zp=u,Bp=l}ch(e)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,Vp=i):ch(e)}}function ch(e){for(;null!==Vp;){var t=Vp;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Bp||Wp(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Bp)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:uf(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Pf(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}Pf(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&&Lu(f)}}}break;default:throw Error(Zo(163))}Bp||512&t.flags&&Kp(t)}catch(tx){hv(t,t.return,tx)}}if(t===e){Vp=null;break}if(null!==(n=t.sibling)){n.return=t.return,Vp=n;break}Vp=t.return}}function fh(e){for(;null!==Vp;){var t=Vp;if(t===e){Vp=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Vp=n;break}Vp=t.return}}function dh(e){for(;null!==Vp;){var t=Vp;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Wp(4,t)}catch(u_){hv(t,n,u_)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(u_){hv(t,o,u_)}}var i=t.return;try{Kp(t)}catch(u_){hv(t,i,u_)}break;case 5:var a=t.return;try{Kp(t)}catch(u_){hv(t,a,u_)}}}catch(u_){hv(t,t.return,u_)}if(t===e){Vp=null;break}var u=t.sibling;if(null!==u){u.return=t.return,Vp=u;break}Vp=t.return}}var ph,hh=Math.ceil,vh=di.ReactCurrentDispatcher,mh=di.ReactCurrentOwner,gh=di.ReactCurrentBatchConfig,yh=0,bh=null,xh=null,wh=0,_h=0,Eh=hc(0),Sh=0,kh=null,Ch=0,Ah=0,Th=0,Ph=null,Oh=null,Rh=0,Dh=1/0,Lh=null,Mh=!1,Nh=null,Fh=null,Ih=!1,jh=null,zh=0,Bh=0,Uh=null,Vh=-1,Hh=0;function qh(){return 0!=(6&yh)?Va():-1!==Vh?Vh:Vh=Va()}function Yh(e){return 0==(1&e.mode)?1:0!=(2&yh)&&0!==wh?wh&-wh:null!==af.transition?(0===Hh&&(Hh=au()),Hh):0!==(e=cu)?e:e=void 0===(e=window.event)?16:Uu(e.type)}function Gh(e,t,n,r){if(50<Bh)throw Bh=0,Uh=null,Error(Zo(185));su(e,n,r),0!=(2&yh)&&e===bh||(e===bh&&(0==(2&yh)&&(Ah|=n),4===Sh&&Qh(e,wh)),Wh(e,r),1===n&&0===yh&&0==(1&t.mode)&&(Dh=Va()+500,Pc&&Dc()))}function Wh(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-Qa(i),u=1<<a,s=o[a];-1===s?0!=(u&n)&&0==(u&r)||(o[a]=ou(u,t)):s<=t&&(e.expiredLanes|=u),i&=~u}}(e,t);var r=ru(e,e===bh?wh:0);if(0===r)null!==n&&za(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&za(n),1===t)0===e.tag?function(e){Pc=!0,Rc(e)}($h.bind(null,e)):Rc($h.bind(null,e)),Zl((function(){0==(6&yh)&&Dc()})),n=null;else{switch(fu(r)){case 1:n=qa;break;case 4:n=Ya;break;case 16:default:n=Ga;break;case 536870912:n=Ka}n=bv(n,Kh.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Kh(e,t){if(Vh=-1,Hh=0,0!=(6&yh))throw Error(Zo(327));var n=e.callbackNode;if(dv()&&e.callbackNode!==n)return null;var r=ru(e,e===bh?wh:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=av(e,r);else{t=r;var o=yh;yh|=2;var i=ov();for(bh===e&&wh===t||(Lh=null,Dh=Va()+500,nv(e,t));;)try{sv();break}catch(Dw){rv(e,Dw)}df(),vh.current=i,yh=o,null!==xh?t=0:(bh=null,wh=0,t=Sh)}if(0!==t){if(2===t&&(0!==(o=iu(e))&&(r=o,t=Xh(e,o))),1===t)throw n=kh,nv(e,0),Qh(e,r),Wh(e,Va()),n;if(6===t)Qh(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(!Qs(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=av(e,r))&&(0!==(i=iu(e))&&(r=i,t=Xh(e,i))),1===t))throw n=kh,nv(e,0),Qh(e,r),Wh(e,Va()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(Zo(345));case 2:case 5:fv(e,Oh,Lh);break;case 3:if(Qh(e,r),(130023424&r)===r&&10<(t=Rh+500-Va())){if(0!==ru(e,0))break;if(((o=e.suspendedLanes)&r)!==r){qh(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Wl(fv.bind(null,e,Oh,Lh),t);break}fv(e,Oh,Lh);break;case 4:if(Qh(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-Qa(r);i=1<<a,(a=t[a])>o&&(o=a),r&=~i}if(r=o,10<(r=(120>(r=Va()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hh(r/1960))-r)){e.timeoutHandle=Wl(fv.bind(null,e,Oh,Lh),r);break}fv(e,Oh,Lh);break;default:throw Error(Zo(329))}}}return Wh(e,Va()),e.callbackNode===n?Kh.bind(null,e):null}function Xh(e,t){var n=Ph;return e.current.memoizedState.isDehydrated&&(nv(e,t).flags|=256),2!==(e=av(e,t))&&(t=Oh,Oh=n,null!==t&&Zh(t)),e}function Zh(e){null===Oh?Oh=e:Oh.push.apply(Oh,e)}function Qh(e,t){for(t&=~Th,t&=~Ah,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Qa(t),r=1<<n;e[n]=-1,t&=~r}}function $h(e){if(0!=(6&yh))throw Error(Zo(327));dv();var t=ru(e,0);if(0==(1&t))return Wh(e,Va()),null;var n=av(e,t);if(0!==e.tag&&2===n){var r=iu(e);0!==r&&(t=r,n=Xh(e,r))}if(1===n)throw n=kh,nv(e,0),Qh(e,t),Wh(e,Va()),n;if(6===n)throw Error(Zo(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,fv(e,Oh,Lh),Wh(e,Va()),null}function Jh(e,t){var n=yh;yh|=1;try{return e(t)}finally{0===(yh=n)&&(Dh=Va()+500,Pc&&Dc())}}function ev(e){null!==jh&&0===jh.tag&&0==(6&yh)&&dv();var t=yh;yh|=1;var n=gh.transition,r=cu;try{if(gh.transition=null,cu=1,e)return e()}finally{cu=r,gh.transition=n,0==(6&(yh=t))&&Dc()}}function tv(){_h=Eh.current,vc(Eh)}function nv(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Kl(n)),null!==xh)for(n=xh.return;null!==n;){var r=n;switch(Yc(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ec();break;case 3:Xf(),vc(bc),vc(yc),td();break;case 5:Qf(r);break;case 4:Xf();break;case 13:case 19:vc($f);break;case 10:pf(r.type._context);break;case 22:case 23:tv()}n=n.return}if(bh=e,xh=e=Ev(e.current,null),wh=_h=t,Sh=0,kh=null,Th=Ah=Ch=0,Oh=Ph=null,null!==gf){for(t=0;t<gf.length;t++)if(null!==(r=(n=gf[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}gf=null}return e}function rv(e,t){for(;;){var n=xh;try{if(df(),nd.current=Zd,sd){for(var r=id.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}sd=!1}if(od=0,ud=ad=id=null,ld=!1,cd=0,mh.current=null,null===n||null===n.return){Sh=1,kh=t,xh=null;break}e:{var i=e,a=n.return,u=n,s=t;if(t=wh,u.flags|=32768,null!==s&&"object"===lo(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=up(a);if(null!==p){p.flags&=-257,sp(p,a,u,0,t),1&p.mode&&ap(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)){ap(i,l,t),iv();break e}s=Error(Zo(426))}else if(Kc&&1&u.mode){var m=up(a);if(null!==m){0==(65536&m.flags)&&(m.flags|=256),sp(m,a,u,0,t),of(ep(s,u));break e}}i=s=ep(s,u),4!==Sh&&(Sh=2),null===Ph?Ph=[i]:Ph.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Af(i,op(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===Fh||!Fh.has(y)))){i.flags|=65536,t&=-t,i.lanes|=t,Af(i,ip(i,u,t));break e}}i=i.return}while(null!==i)}cv(n)}catch(_G){t=_G,xh===n&&null!==n&&(xh=n=n.return);continue}break}}function ov(){var e=vh.current;return vh.current=Zd,null===e?Zd:e}function iv(){0!==Sh&&3!==Sh&&2!==Sh||(Sh=4),null===bh||0==(268435455&Ch)&&0==(268435455&Ah)||Qh(bh,wh)}function av(e,t){var n=yh;yh|=2;var r=ov();for(bh===e&&wh===t||(Lh=null,nv(e,t));;)try{uv();break}catch(Pw){rv(e,Pw)}if(df(),yh=n,vh.current=r,null!==xh)throw Error(Zo(261));return bh=null,wh=0,Sh}function uv(){for(;null!==xh;)lv(xh)}function sv(){for(;null!==xh&&!Ba();)lv(xh)}function lv(e){var t=ph(e.alternate,e,_h);e.memoizedProps=e.pendingProps,null===t?cv(e):xh=t,mh.current=null}function cv(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Ip(n,t,_h)))return void(xh=n)}else{if(null!==(n=jp(n,t)))return n.flags&=32767,void(xh=n);if(null===e)return Sh=6,void(xh=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(xh=t);xh=t=e}while(null!==t);0===Sh&&(Sh=5)}function fv(e,t,n){var r=cu,o=gh.transition;try{gh.transition=null,cu=1,function(e,t,n,r){do{dv()}while(null!==jh);if(0!=(6&yh))throw Error(Zo(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(Zo(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-Qa(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,i),e===bh&&(xh=bh=null,wh=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Ih||(Ih=!0,bv(Ga,(function(){return dv(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=gh.transition,gh.transition=null;var a=cu;cu=1;var u=yh;yh|=4,mh.current=null,function(e,t){if(ql=Nu,rl(e=nl())){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(h_){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(Yl={focusedElem:e,selectionRange:n},Nu=!1,Vp=t;null!==Vp;)if(e=(t=Vp).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Vp=e;else for(;null!==Vp;){t=Vp;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:uf(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(Zo(163))}}catch(h_){hv(t,t.return,h_)}if(null!==(e=t.sibling)){e.return=t.return,Vp=e;break}Vp=t.return}h=Yp,Yp=!1}(e,n),ah(n,e),ol(Yl),Nu=!!ql,Yl=ql=null,e.current=n,sh(n),Ua(),yh=u,cu=a,gh.transition=i}else e.current=n;if(Ih&&(Ih=!1,jh=e,zh=o),0===(i=e.pendingLanes)&&(Fh=null),function(e){if(Za&&"function"==typeof Za.onCommitFiberRoot)try{Za.onCommitFiberRoot(Xa,e,void 0,128==(128&e.current.flags))}catch(t){}}(n.stateNode),Wh(e,Va()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(Mh)throw Mh=!1,e=Nh,Nh=null,e;0!=(1&zh)&&0!==e.tag&&dv(),0!=(1&(i=e.pendingLanes))?e===Uh?Bh++:(Bh=0,Uh=e):Bh=0,Dc()}(e,t,n,r)}finally{gh.transition=o,cu=r}return null}function dv(){if(null!==jh){var e=fu(zh),t=gh.transition,n=cu;try{if(gh.transition=null,cu=16>e?16:e,null===jh)var r=!1;else{if(e=jh,jh=null,zh=0,0!=(6&yh))throw Error(Zo(331));var o=yh;for(yh|=4,Vp=e.current;null!==Vp;){var i=Vp,a=i.child;if(0!=(16&Vp.flags)){var u=i.deletions;if(null!==u){for(var s=0;s<u.length;s++){var l=u[s];for(Vp=l;null!==Vp;){var c=Vp;switch(c.tag){case 0:case 11:case 15:Gp(8,c,i)}var f=c.child;if(null!==f)f.return=c,Vp=f;else for(;null!==Vp;){var d=(c=Vp).sibling,p=c.return;if(Xp(c),c===l){Vp=null;break}if(null!==d){d.return=p,Vp=d;break}Vp=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)}}Vp=i}}if(0!=(2064&i.subtreeFlags)&&null!==a)a.return=i,Vp=a;else e:for(;null!==Vp;){if(0!=(2048&(i=Vp).flags))switch(i.tag){case 0:case 11:case 15:Gp(9,i,i.return)}var g=i.sibling;if(null!==g){g.return=i.return,Vp=g;break e}Vp=i.return}}var y=e.current;for(Vp=y;null!==Vp;){var b=(a=Vp).child;if(0!=(2064&a.subtreeFlags)&&null!==b)b.return=a,Vp=b;else e:for(a=y;null!==Vp;){if(0!=(2048&(u=Vp).flags))try{switch(u.tag){case 0:case 11:case 15:Wp(9,u)}}catch(_G){hv(u,u.return,_G)}if(u===a){Vp=null;break e}var x=u.sibling;if(null!==x){x.return=u.return,Vp=x;break e}Vp=u.return}}if(yh=o,Dc(),Za&&"function"==typeof Za.onPostCommitFiberRoot)try{Za.onPostCommitFiberRoot(Xa,e)}catch(_G){}r=!0}return r}finally{cu=n,gh.transition=t}}return!1}function pv(e,t,n){e=kf(e,t=op(0,t=ep(n,t),1),1),t=qh(),null!==e&&(su(e,1,t),Wh(e,t))}function hv(e,t,n){if(3===e.tag)pv(e,e,n);else for(;null!==t;){if(3===t.tag){pv(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Fh||!Fh.has(r))){t=kf(t,e=ip(t,e=ep(n,e),1),1),e=qh(),null!==t&&(su(t,1,e),Wh(t,e));break}}t=t.return}}function vv(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=qh(),e.pingedLanes|=e.suspendedLanes&n,bh===e&&(wh&n)===n&&(4===Sh||3===Sh&&(130023424&wh)===wh&&500>Va()-Rh?nv(e,0):Th|=n),Wh(e,t)}function mv(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tu,0==(130023424&(tu<<=1))&&(tu=4194304)));var n=qh();null!==(e=xf(e,t))&&(su(e,t,n),Wh(e,n))}function gv(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),mv(e,n)}function yv(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(Zo(314))}null!==r&&r.delete(t),mv(e,n)}function bv(e,t){return ja(e,t)}function xv(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 wv(e,t,n,r){return new xv(e,t,n,r)}function _v(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ev(e,t){var n=e.alternate;return null===n?((n=wv(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 Sv(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)_v(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case vi:return kv(n.children,o,i,t);case mi:a=8,o|=8;break;case gi:return(e=wv(12,n,t,2|o)).elementType=gi,e.lanes=i,e;case wi:return(e=wv(13,n,t,o)).elementType=wi,e.lanes=i,e;case _i:return(e=wv(19,n,t,o)).elementType=_i,e.lanes=i,e;case ki:return Cv(n,o,i,t);default:if("object"===lo(e)&&null!==e)switch(e.$$typeof){case yi:a=10;break e;case bi:a=9;break e;case xi:a=11;break e;case Ei:a=14;break e;case Si:a=16,r=null;break e}throw Error(Zo(130,null==e?e:lo(e),""))}return(t=wv(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function kv(e,t,n,r){return(e=wv(7,e,r,t)).lanes=n,e}function Cv(e,t,n,r){return(e=wv(22,e,r,t)).elementType=ki,e.lanes=n,e.stateNode={isHidden:!1},e}function Av(e,t,n){return(e=wv(6,e,null,t)).lanes=n,e}function Tv(e,t,n){return(t=wv(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Pv(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=uu(0),this.expirationTimes=uu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=uu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ov(e,t,n,r,o,i,a,u,s){return e=new Pv(e,t,n,u,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=wv(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},_f(i),e}function Rv(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:hi,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Dv(e){if(!e)return gc;e:{if(La(e=e._reactInternals)!==e||1!==e.tag)throw Error(Zo(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(_c(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(Zo(171))}if(1===e.tag){var n=e.type;if(_c(n))return kc(e,n,t)}return t}function Lv(e,t,n,r,o,i,a,u,s){return(e=Ov(n,r,!0,e,0,i,0,u,s)).context=Dv(null),n=e.current,(i=Sf(r=qh(),o=Yh(n))).callback=null!=t?t:null,kf(n,i,o),e.current.lanes=o,su(e,o,r),Wh(e,r),e}function Mv(e,t,n,r){var o=t.current,i=qh(),a=Yh(o);return n=Dv(n),null===t.context?t.context=n:t.pendingContext=n,(t=Sf(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=kf(o,t,a))&&(Gh(e,o,a,i),Cf(e,o,a)),a}function Nv(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Fv(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Iv(e,t){Fv(e,t),(e=e.alternate)&&Fv(e,t)}ph=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||bc.current)cp=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return cp=!1,function(e,t,n){switch(t.tag){case 3:xp(t),rf();break;case 5:Zf(t);break;case 1:_c(t.type)&&Cc(t);break;case 4:Kf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;mc(sf,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(mc($f,1&$f.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ap(e,t,n):(mc($f,1&$f.current),null!==(e=Mp(e,t,n))?e.sibling:null);mc($f,1&$f.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Dp(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),mc($f,$f.current),r)break;return null;case 22:case 23:return t.lanes=0,vp(e,t,n)}return Mp(e,t,n)}(e,t,n);cp=0!=(131072&e.flags)}else cp=!1,Kc&&0!=(1048576&t.flags)&&Hc(t,Fc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Lp(e,t),e=t.pendingProps;var o=wc(t,yc.current);vf(t,n),o=hd(null,t,r,e,o,n);var i=vd();return t.flags|=1,"object"===lo(o)&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,_c(r)?(i=!0,Cc(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,_f(t),o.updater=Df,t.stateNode=o,o._reactInternals=t,Ff(t,r,e,n),t=bp(null,t,r,!0,i,n)):(t.tag=0,Kc&&i&&qc(t),fp(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Lp(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return _v(e)?1:0;if(null!=e){if((e=e.$$typeof)===xi)return 11;if(e===Ei)return 14}return 2}(r),e=uf(r,e),o){case 0:t=gp(null,t,r,e,n);break e;case 1:t=yp(null,t,r,e,n);break e;case 11:t=dp(null,t,r,e,n);break e;case 14:t=pp(null,t,r,uf(r.type,e),n);break e}throw Error(Zo(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,gp(e,t,r,o=t.elementType===r?o:uf(r,o),n);case 1:return r=t.type,o=t.pendingProps,yp(e,t,r,o=t.elementType===r?o:uf(r,o),n);case 3:e:{if(xp(t),null===e)throw Error(Zo(387));r=t.pendingProps,o=(i=t.memoizedState).element,Ef(e,t),Tf(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=wp(e,t,r,n,o=ep(Error(Zo(423)),t));break e}if(r!==o){t=wp(e,t,r,n,o=ep(Error(Zo(424)),t));break e}for(Wc=Jl(t.stateNode.containerInfo.firstChild),Gc=t,Kc=!0,Xc=null,n=Vf(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(rf(),r===o){t=Mp(e,t,n);break e}fp(e,t,r,n)}t=t.child}return t;case 5:return Zf(t),null===e&&Jc(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,Gl(r,o)?a=null:null!==i&&Gl(r,i)&&(t.flags|=32),mp(e,t),fp(e,t,a,n),t.child;case 6:return null===e&&Jc(t),null;case 13:return Ap(e,t,n);case 4:return Kf(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Uf(t,null,r,n):fp(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,dp(e,t,r,o=t.elementType===r?o:uf(r,o),n);case 7:return fp(e,t,t.pendingProps,n),t.child;case 8:case 12:return fp(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,mc(sf,r._currentValue),r._currentValue=a,null!==i)if(Qs(i.value,a)){if(i.children===o.children&&!bc.current){t=Mp(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=Sf(-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),hf(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(Zo(341));a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),hf(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}fp(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,vf(t,n),r=r(o=mf(o)),t.flags|=1,fp(e,t,r,n),t.child;case 14:return o=uf(r=t.type,t.pendingProps),pp(e,t,r,o=uf(r.type,o),n);case 15:return hp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:uf(r,o),Lp(e,t),t.tag=1,_c(r)?(e=!0,Cc(t)):e=!1,vf(t,n),Mf(t,r,o),Ff(t,r,o,n),bp(null,t,r,!0,e,n);case 19:return Dp(e,t,n);case 22:return vp(e,t,n)}throw Error(Zo(156,t.tag))};var jv="function"==typeof reportError?reportError:function(e){console.error(e)};function zv(e){this._internalRoot=e}function Bv(e){this._internalRoot=e}function Uv(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Vv(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Hv(){}function qv(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=Nv(a);u.call(e)}}Mv(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=Nv(a);i.call(e)}}var a=Lv(t,r,e,0,null,!1,0,"",Hv);return e._reactRootContainer=a,e[oc]=a.current,Dl(8===e.nodeType?e.parentNode:e),ev(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var u=r;r=function(){var e=Nv(s);u.call(e)}}var s=Ov(e,0,!1,null,0,!1,0,"",Hv);return e._reactRootContainer=s,e[oc]=s.current,Dl(8===e.nodeType?e.parentNode:e),ev((function(){Mv(t,s,n,r)})),s}(n,t,e,o,r);return Nv(a)}Bv.prototype.render=zv.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(Zo(409));Mv(e,t,null,null)},Bv.prototype.unmount=zv.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ev((function(){Mv(null,e,null,null)})),t[oc]=null}},Bv.prototype.unstable_scheduleHydration=function(e){if(e){var t=vu();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Su.length&&0!==t&&t<Su[n].priority;n++);Su.splice(n,0,e),0===n&&Tu(e)}},du=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=nu(t.pendingLanes);0!==n&&(lu(t,1|n),Wh(t,Va()),0==(6&yh)&&(Dh=Va()+500,Dc()))}break;case 13:ev((function(){var t=xf(e,1);if(null!==t){var n=qh();Gh(t,e,1,n)}})),Iv(e,1)}},pu=function(e){if(13===e.tag){var t=xf(e,134217728);if(null!==t)Gh(t,e,134217728,qh());Iv(e,134217728)}},hu=function(e){if(13===e.tag){var t=Yh(e),n=xf(e,t);if(null!==n)Gh(n,e,t,qh());Iv(e,t)}},vu=function(){return cu},mu=function(e,t){var n=cu;try{return cu=e,t()}finally{cu=n}},pa=function(e,t,n){switch(t){case"input":if(qi(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=fc(r);if(!o)throw Error(Zo(90));zi(r),qi(r,o)}}}break;case"textarea":Qi(e,n);break;case"select":null!=(t=n.value)&&Ki(e,!!n.multiple,t,!1)}},ba=Jh,xa=ev;var Yv={usingClientEntryPoint:!1,Events:[lc,cc,fc,ga,ya,Jh]},Gv={findFiberByHostInstance:sc,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Wv={bundleType:Gv.bundleType,version:Gv.version,rendererPackageName:Gv.rendererPackageName,rendererConfig:Gv.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:di.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Fa(e))?null:e.stateNode},findFiberByHostInstance:Gv.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 Kv=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kv.isDisabled&&Kv.supportsFiber)try{Xa=Kv.inject(Wv),Za=Kv}catch(oU){}}Yo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Yv,Yo.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Uv(t))throw Error(Zo(200));return Rv(e,t,null,n)},Yo.createRoot=function(e,t){if(!Uv(e))throw Error(Zo(299));var n=!1,r="",o=jv;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Ov(e,1,!1,null,0,n,0,r,o),e[oc]=t.current,Dl(8===e.nodeType?e.parentNode:e),new zv(t)},Yo.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(Zo(188));throw e=Object.keys(e).join(","),Error(Zo(268,e))}return e=null===(e=Fa(t))?null:e.stateNode},Yo.flushSync=function(e){return ev(e)},Yo.hydrate=function(e,t,n){if(!Vv(t))throw Error(Zo(200));return qv(null,e,t,!0,n)},Yo.hydrateRoot=function(e,t,n){if(!Uv(e))throw Error(Zo(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",a=jv;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(a=n.onRecoverableError)),t=Lv(t,null,e,1,null!=n?n:null,o,0,i,a),e[oc]=t.current,Dl(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 Bv(t)},Yo.render=function(e,t,n){if(!Vv(t))throw Error(Zo(200));return qv(null,e,t,!1,n)},Yo.unmountComponentAtNode=function(e){if(!Vv(e))throw Error(Zo(40));return!!e._reactRootContainer&&(ev((function(){qv(null,null,e,!1,(function(){e._reactRootContainer=null,e[oc]=null}))})),!0)},Yo.unstable_batchedUpdates=Jh,Yo.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Vv(n))throw Error(Zo(200));if(null==e||void 0===e._reactInternals)throw Error(Zo(38));return qv(e,t,n,!1,r)},Yo.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=Yo}(qo);var Xv=Yr(qo.exports),Zv=qo.exports;function Qv(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function $v(e,t){return e.require(t)}Ho.createRoot=Zv.createRoot,Ho.hydrateRoot=Zv.hydrateRoot;var Jv={};function em(){return Qv()?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:Jv}function tm(e,t,n){var r=n||em(),o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=t())}var nm=Object.prototype.toString;function rm(e){switch(nm.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return pm(e,Error)}}function om(e,t){return nm.call(e)==="[object ".concat(t,"]")}function im(e){return om(e,"ErrorEvent")}function am(e){return om(e,"DOMError")}function um(e){return om(e,"String")}function sm(e){return null===e||"object"!==lo(e)&&"function"!=typeof e}function lm(e){return om(e,"Object")}function cm(e){return"undefined"!=typeof Event&&pm(e,Event)}function fm(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function dm(e){return"number"==typeof e&&e!=e}function pm(e,t){try{return e instanceof t}catch(n){return!1}}function hm(e,t){try{for(var n,r=e,o=[],i=0,a=0,u=" > ".length;r&&i++<5&&!("html"===(n=vm(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 vm(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)&&um(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 mm=function(e){eo(n,e);var t=to(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warn";return Jr(this,n),(r=t.call(this,e)).message=e,r.name=(this instanceof n?this.constructor:void 0).prototype.constructor.name,Object.setPrototypeOf(ro(r),(this instanceof n?this.constructor:void 0).prototype),r.logLevel=o,r}return $r(n)}(oo(Error)),gm=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function ym(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 bm(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function xm(e){var t="string"==typeof e?function(e){var t=gm.exec(e);if(!t)throw new mm("Invalid Sentry Dsn: ".concat(e));var n=Kr(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 bm({host:u,pass:a,path:c,projectId:f,port:l,protocol:r,publicKey:o})}(e):bm(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 mm("Invalid Sentry Dsn: ".concat(t," missing"))})),!n.match(/^\d+$/))throw new mm("Invalid Sentry Dsn: Invalid projectId ".concat(n));if(!function(e){return"http"===e||"https"===e}(r))throw new mm("Invalid Sentry Dsn: Invalid protocol ".concat(r));if(t&&isNaN(parseInt(t,10)))throw new mm("Invalid Sentry Dsn: Invalid port ".concat(t))}}(t),t}var wm,_m=em(),Em="Sentry Logger ",Sm=["debug","info","warn","error","log","assert","trace"];function km(e){var t=em();if(!("console"in t))return e();var n=t.console,r={};Sm.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 Cm(){var e=!1,t={enable:function(){e=!0},disable:function(){e=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?Sm.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&&km((function(){var e;(e=_m.console)[n].apply(e,["".concat(Em,"[").concat(n,"]:")].concat(r))}))}})):Sm.forEach((function(e){t[e]=function(){}})),t}function Am(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 Tm(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(Pw){n.push("[value cannot be serialized]")}}return n.join(t)}function Pm(e,t){return!!um(e)&&(om(t,"RegExp")?t.test(e):"string"==typeof t&&-1!==e.indexOf(t))}function Om(e,t,n){if(t in e){var r=e[t],o=n(r);if("function"==typeof o)try{Dm(o,r)}catch(i){}e[t]=o}}function Rm(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function Dm(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,Rm(e,"__sentry_original__",t)}function Lm(e){return e.__sentry_original__}function Mm(e){if(rm(e))return Gr({message:e.message,name:e.name,stack:e.stack},Fm(e));if(cm(e)){var t=Gr({type:e.type,target:Nm(e.target),currentTarget:Nm(e.currentTarget)},Fm(e));return"undefined"!=typeof CustomEvent&&pm(e,CustomEvent)&&(t.detail=e.detail),t}return e}function Nm(e){try{return t=e,"undefined"!=typeof Element&&pm(t,Element)?hm(e):Object.prototype.toString.call(e)}catch(n){return"<unknown>"}var t}function Fm(e){if("object"===lo(e)&&null!==e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function Im(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:40,n=Object.keys(Mm(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Am(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:Am(o,t)}return""}function jm(e){return zm(e,new Map)}function zm(e,t){if(lm(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]=zm(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(zm(e,t))})),n}return e}function Bm(e,t){return null!=e?e:t()}wm="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?tm("logger",Cm):Cm();function Um(){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=co(e.split("\n").slice(n));try{for(i.s();!(t=i.n()).done;){var a,u=t.value,s=u.replace(/\(error: (.*)\)/,"$1"),l=co(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 Hm(o)}}function Vm(e){return Array.isArray(e)?Um.apply(void 0,Hr(e)):e}function Hm(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 Gr(Gr({},e),{},{filename:e.filename||t[0].filename,function:e.function||"?"})})).reverse()}var qm="<anonymous>";function Ym(e){try{return e&&"function"==typeof e&&e.name||qm}catch(Pw){return qm}}function Gm(){if(!("fetch"in em()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(Pw){return!1}}function Wm(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}var Km,Xm=em(),Zm={},Qm={};function $m(e){if(!Qm[e])switch(Qm[e]=!0,e){case"console":!function(){if(!("console"in Xm))return;Sm.forEach((function(e){e in Xm.console&&Om(Xm.console,e,(function(t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];eg("console",{args:r,level:e}),t&&t.apply(Xm.console,r)}}))}))}();break;case"dom":!function(){if(!("document"in Xm))return;var e=eg.bind(null,"dom"),t=ug(e,!0);Xm.document.addEventListener("click",t,!1),Xm.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((function(t){var n=Xm[t]&&Xm[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Om(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=ug(e);u.handler=s,t.call(this,n,s,o)}u.refCount+=1}catch(Pw){}return t.call(this,n,r,o)}})),Om(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(Pw){}return e.call(this,t,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in Xm))return;var e=XMLHttpRequest.prototype;Om(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:um(n[0])?n[0].toUpperCase():n[0],url:n[1]};um(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(Pw){}eg("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:o})}};return"onreadystatechange"in o&&"function"==typeof o.onreadystatechange?Om(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)}})),Om(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]),eg("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),e.apply(this,n)}}))}();break;case"fetch":!function(){if(!function(){if(!Gm())return!1;var e=em();if(Wm(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=Wm(r.contentWindow.fetch)),n.head.removeChild(r)}catch(o){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return t}())return;Om(Xm,"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:tg(n),url:ng(n)},startTimestamp:Date.now()};return eg("fetch",Gr({},o)),e.apply(Xm,n).then((function(e){return eg("fetch",Gr(Gr({},o),{},{endTimestamp:Date.now(),response:e})),e}),(function(e){throw eg("fetch",Gr(Gr({},o),{},{endTimestamp:Date.now(),error:e})),e}))}}))}();break;case"history":!function(){if(!function(){var e=em(),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=Xm.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=Km,a=String(o);Km=a,eg("history",{from:i,to:a})}return e.apply(this,n)}}Xm.onpopstate=function(){var t=Xm.location.href,n=Km;if(Km=t,eg("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){}},Om(Xm.history,"pushState",t),Om(Xm.history,"replaceState",t)}();break;case"error":sg=Xm.onerror,Xm.onerror=function(e,t,n,r,o){return eg("error",{column:r,error:o,line:n,msg:e,url:t}),!!sg&&sg.apply(this,arguments)};break;case"unhandledrejection":cg=Xm.onunhandledrejection,Xm.onunhandledrejection=function(e){return eg("unhandledrejection",e),!cg||cg.apply(this,arguments)};break;default:return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("unknown instrumentation type:",e))}}function Jm(e,t){Zm[e]=Zm[e]||[],Zm[e].push(t),$m(e)}function eg(e,t){if(e&&Zm[e]){var n,r=co(Zm[e]||[]);try{for(r.s();!(n=r.n()).done;){var o=n.value;try{o(t)}catch(Pw){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.error("Error while triggering instrumentation handler.\nType: ".concat(e,"\nName: ").concat(Ym(o),"\nError:"),Pw)}}}catch(i){r.e(i)}finally{r.f()}}}function tg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return"Request"in Xm&&pm(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function ng(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return"string"==typeof e[0]?e[0]:"Request"in Xm&&pm(e[0],Request)?e[0].url:String(e[0])}var rg,og;function ig(e,t){if(!e)return!0;if(e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(Pw){}return!1}function ag(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(Pw){}return!0}function ug(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){if(n&&og!==n&&!ag(n)){var r="keypress"===n.type?"input":n.type;(void 0===rg||ig(og,n))&&(e({event:n,name:r,global:t}),og=n),clearTimeout(rg),rg=Xm.setTimeout((function(){rg=void 0}),1e3)}}}var sg=null;var lg,cg=null;function fg(){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 dg(){var e=em(),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 pg(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function hg(e){var t=e.message,n=e.event_id;if(t)return t;var r=pg(e);return r?r.type&&r.value?"".concat(r.type,": ").concat(r.value):r.type||r.value||n||"<unknown>":n||"<unknown>"}function vg(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 mg(e,t){var n=pg(e);if(n){var r=n.mechanism;if(n.mechanism=Gr(Gr(Gr({},{type:"generic",handled:!0}),r),t),t&&"data"in t){var o=Gr(Gr({},r&&r.data),t.data);n.mechanism.data=o}}}function gg(e){if(e&&e.__sentry_captured__)return!0;try{Rm(e,"__sentry_captured__",!0)}catch(t){}return!1}function yg(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 xg("",e,t,n)}catch(r){return{ERROR:"**non-serializable** (".concat(r,")")}}}function bg(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=yg(e,t);return _g(r)>n?bg(e,t-1,n):r}function xg(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]:fg(),i=Kr(o,2),a=i[0],u=i[1];if(null===t||["number","boolean","string"].includes(lo(t))&&!dm(t))return t;var s=wg(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 xg("",c,n-1,r,o)}catch(m){}var f=Array.isArray(t)?[]:{},d=0,p=Mm(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]=xg(h,v,n-1,r,o),d+=1}return u(t),f}function wg(e,t){try{return"domain"===e&&t&&"object"===lo(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]":lm(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(Ym(t),"]"):"symbol"===lo(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 _g(e){return function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(e))}function Eg(e){return new kg((function(t){t(e)}))}function Sg(e){return new kg((function(t,n){n(e)}))}!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(lg||(lg={}));var kg=function(){function e(t){Jr(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(Pw){this._reject(Pw)}}return $r(e,[{key:"__init",value:function(){this._state=lg.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(Pw){o(Pw)}else e(n)},function(t){if(n)try{e(n(t))}catch(Pw){o(Pw)}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(lg.RESOLVED,t)}}},{key:"__init4",value:function(){var e=this;this._reject=function(t){e._setResult(lg.REJECTED,t)}}},{key:"__init5",value:function(){var e=this;this._setResult=function(t,n){e._state===lg.PENDING&&(fm(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!==lg.PENDING){var t=e._handlers.slice();e._handlers=[],t.forEach((function(t){t[0]||(e._state===lg.RESOLVED&&t[1](e._value),e._state===lg.REJECTED&&t[2](e._value),t[0]=!0)}))}}}}]),e}();function Cg(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 Sg(new mm("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 kg((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){Eg(e).then((function(){--o||(clearTimeout(i),n(!0))}),r)}))}))}}}function Ag(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 Tg=["fatal","error","warning","log","info","debug"];var Pg={nowSeconds:function(){return Date.now()/1e3}};var Og=Qv()?function(){try{return $v(Vr,"perf_hooks").performance}catch($w){return}}():function(){var e=em().performance;if(e&&e.now)return{now:function(){return e.now()},timeOrigin:Date.now()-e.now()}}(),Rg=void 0===Og?Pg:{nowSeconds:function(){return(Og.timeOrigin+Og.now())/1e3}},Dg=Pg.nowSeconds.bind(Pg),Lg=Rg.nowSeconds.bind(Rg),Mg=Lg,Ng=function(){var e=em().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}}(),Fg=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Ig(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[e,t]}function jg(e,t){var n=Kr(e,2),r=n[0],o=n[1];return[r,[].concat(Hr(o),[t])]}function zg(e,t){e[1].forEach((function(e){var n=e[0].type;t(e,n)}))}function Bg(e,t){return(t||new TextEncoder).encode(e)}function Ug(e,t){var n=Kr(e,2),r=n[0],o=n[1],i=JSON.stringify(r);function a(e){"string"==typeof i?i="string"==typeof e?i+e:[Bg(i,t),e]:i.push("string"==typeof e?Bg(e,t):e)}var u,s=co(o);try{for(s.s();!(u=s.n()).done;){var l=Kr(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=co(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 Vg(e,t){var n="string"==typeof e.data?Bg(e.data,t):e.data;return[jm({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}var Hg={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function qg(e){return Hg[e]}function Yg(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 Gg(e,t){return e[t]||e.all||0}function Wg(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();return Gg(e,t)>n}function Kg(e,t){var n=t.statusCode,r=t.headers,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),i=Gr({},e),a=r&&r["x-sentry-rate-limits"],u=r&&r["retry-after"];if(a){var s,l=co(a.trim().split(","));try{for(l.s();!(s=l.n()).done;){var c=s.value,f=c.split(":",2),d=Kr(f,2),p=d[0],h=d[1],v=parseInt(p,10),m=1e3*(isNaN(v)?60:v);if(h){var g,y=co(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+Yg(u,o):429===n&&(i.all=o+6e4);return i}var Xg="baggage",Zg=/^sentry-/;function Qg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return[Gr({},e),t,n]}function $g(e){return e[0]}function Jg(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e)&&!um(e)||"number"==typeof e)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("[parseBaggageHeader] Received input value of incompatible type: ",lo(e),e),Qg({},"");var n=(um(e)?e:e.join(",")).split(",").map((function(e){return e.trim()})).filter((function(e){return""!==e&&(t||Zg.test(e))}));return n.reduce((function(e,t){var n=Kr(e,2),r=n[0],o=n[1],i=Kr(t.split("="),2),a=i[0],u=i[1];if(Zg.test(a)){var s=decodeURIComponent(a.split("-")[1]);return[Gr(Gr({},r),{},Wr({},s,decodeURIComponent(u))),o,!0]}return[r,""===o?t:"".concat(o,",").concat(t),!0]}),[{},"",!0])}function ey(e,t){if(!e&&!t)return"";var n=t&&Jg(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__)&&wm.warn("Not adding key: ".concat(n," with val: ").concat(r," to baggage due to exceeding baggage size limits.")),t):i}),e[1])}(Qg(e&&e[0]||{},r||""))}function ty(e,t){var n=Jg(e||"");return(t||!function(e){return 0===Object.keys(e[0]).length}(n))&&function(e){e[2]=!1}(n),n}function ny(e){var t=Lg(),n={sid:dg(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:function(){return function(e){return jm({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&&ry(n,e),n}function ry(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||Lg(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:dg()),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 oy=function(){function e(){Jr(this,e),this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}return $r(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&&ry(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=Gr(Gr({},this._tags),e),this._notifyScopeListeners(),this}},{key:"setTag",value:function(e,t){return this._tags=Gr(Gr({},this._tags),{},Wr({},e,t)),this._notifyScopeListeners(),this}},{key:"setExtras",value:function(e){return this._extra=Gr(Gr({},this._extra),e),this._notifyScopeListeners(),this}},{key:"setExtra",value:function(e,t){return this._extra=Gr(Gr({},this._extra),{},Wr({},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=Gr(Gr({},this._contexts),{},Wr({},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=Gr(Gr({},this._tags),t._tags),this._extra=Gr(Gr({},this._extra),t._extra),this._contexts=Gr(Gr({},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)):lm(t)&&(this._tags=Gr(Gr({},this._tags),t.tags),this._extra=Gr(Gr({},this._extra),t.extra),this._contexts=Gr(Gr({},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=Gr({timestamp:Dg()},e);return this._breadcrumbs=[].concat(Hr(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=Gr(Gr({},this._extra),e.extra)),this._tags&&Object.keys(this._tags).length&&(e.tags=Gr(Gr({},this._tags),e.tags)),this._user&&Object.keys(this._user).length&&(e.user=Gr(Gr({},this._user),e.user)),this._contexts&&Object.keys(this._contexts).length&&(e.contexts=Gr(Gr({},this._contexts),e.contexts)),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts=Gr({trace:this._span.getTraceContext()},e.contexts);var n=this._span.transaction&&this._span.transaction.name;n&&(e.tags=Gr({transaction:n},e.tags))}return this._applyFingerprint(e),e.breadcrumbs=[].concat(Hr(e.breadcrumbs||[]),Hr(this._breadcrumbs)),e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,e.sdkProcessingMetadata=Gr(Gr({},e.sdkProcessingMetadata),this._sdkProcessingMetadata),this._notifyEventProcessors([].concat(Hr(iy()),Hr(this._eventProcessors)),e,t)}},{key:"setSDKProcessingMetadata",value:function(e){return this._sdkProcessingMetadata=Gr(Gr({},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 kg((function(i,a){var u=e[o];if(null===t||"function"!=typeof u)i(t);else{var s=u(Gr({},t),n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.id&&null===s&&wm.log('Event processor "'.concat(u.id,'" dropped event')),fm(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=Hr(t._breadcrumbs),n._tags=Gr({},t._tags),n._extra=Gr({},t._extra),n._contexts=Gr({},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=Hr(t._eventProcessors),n._requestSession=t._requestSession,n._attachments=Hr(t._attachments)),n}}]),e}();function iy(){return tm("globalEventProcessors",(function(){return[]}))}function ay(e){iy().push(e)}var uy=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new oy,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;Jr(this,e),this._version=r,e.prototype.__init.call(this),this.getStackTop().scope=n,t&&this.bindClient(t)}return $r(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=oy.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:dg(),r=new Error("Sentry syntheticException");return this._withClient((function(o,i){o.captureException(e,Gr(Gr({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:dg(),o=new Error(e);return this._withClient((function(i,a){i.captureMessage(e,t,Gr(Gr({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:dg();return"transaction"!==e.type&&(this._lastEventId=n),this._withClient((function(r,o){r.captureEvent(e,Gr(Gr({},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=Gr({timestamp:Dg()},e),f=u?km((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=ly(this);try{e(this)}finally{ly(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__)&&wm.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"}),ry(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=(em().navigator||{}).userAgent,s=ny(Gr(Gr(Gr({release:i,environment:a},n&&{user:n.getUser()}),u&&{userAgent:u}),e));if(n){var l=n.getSession&&n.getSession();l&&"ok"===l.status&&ry(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=sy(),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__)&&wm.warn("Extension method ".concat(e," couldn't be found, doing nothing."))}}]),e}();function sy(){var e=em();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function ly(e){var t=sy(),n=dy(t);return py(t,e),n}function cy(){var e=sy();return fy(e)&&!dy(e).isOlderThan(4)||py(e,new uy),Qv()?function(e){try{var t=sy().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return dy(e);if(!fy(n)||dy(n).isOlderThan(4)){var r=dy(e).getStackTop();py(n,new uy(r.client,oy.clone(r.scope)))}return dy(n)}catch(o){return dy(e)}}(e):dy(e)}function fy(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function dy(e){return tm("hub",(function(){return new uy}),e)}function py(e,t){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0)}function hy(e,t){return cy().captureException(e,{captureContext:t})}function vy(e){cy().withScope(e)}function my(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 gy(e,t){return function(e){return Object.keys(e).map((function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))})).join("&")}(Gr({sentry_key:e.publicKey,sentry_version:"7"},t&&{sentry_client:"".concat(t.name,"/").concat(t.version)}))}function yy(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(my(e),"?").concat(gy(e,r))}function by(e){if(e&&e.sdk){var t=e.sdk;return{name:t.name,version:t.version}}}function xy(e,t,n,r){var o=by(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(Hr(e.sdk.integrations||[]),Hr(t.integrations||[])),e.sdk.packages=[].concat(Hr(e.sdk.packages||[]),Hr(t.packages||[])))}(e,n&&n.sdk);var l=function(e,t,n,r){var o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baggage,i=o&&$g(o);return Gr(Gr(Gr({event_id:e.event_id,sent_at:(new Date).toISOString()},t&&{sdk:t}),!!n&&{dsn:ym(r)}),"transaction"===e.type&&i&&{trace:jm(Gr({},i))})}(e,o,r,t);return delete e.sdkProcessingMetadata,Ig(l,[[{type:i,sample_rates:[{id:u,rate:s}]},e]])}var wy=[];function _y(e){return e.reduce((function(e,t){return e.every((function(e){return t.name!==e.name}))&&e.push(t),e}),[])}function Ey(e){var t=e.defaultIntegrations&&Hr(e.defaultIntegrations)||[],n=e.integrations,r=Hr(_y(t));Array.isArray(n)?r=[].concat(Hr(r.filter((function(e){return n.every((function(t){return t.name!==e.name}))}))),Hr(_y(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,Hr(r.splice(i.indexOf(a),1)));return r}var Sy="Not capturing exception because it's already been captured.",ky=function(){function e(t){if(Jr(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=xm(t.dsn);var n=yy(this._dsn,t);this._transport=t.transport(Gr(Gr({recordDroppedEvent:this.recordDroppedEvent.bind(this)},t.transportOptions),{},{url:n}))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("No DSN provided, client will not do anything.")}return $r(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(!gg(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__)&&wm.log(Sy)}},{key:"captureMessage",value:function(e,t,n,r){var o=this,i=n&&n.event_id,a=sm(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&&gg(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__)&&wm.log(Sy)}},{key:"captureSession",value:function(e){this._isEnabled()?"string"!=typeof e.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),ry(e,{init:!1})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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}))})):Eg(!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===wy.indexOf(e.name)&&(e.setupOnce(ay,cy),wy.push(e.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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__)&&wm.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=xy(e,this._dsn,this._options._metadata,this._options.tunnel),o=co(t.attachments||[]);try{for(o.s();!(n=o.n()).done;){var i=n.value;r=jg(r,Vg(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=by(n);return Ig(Gr(Gr({sent_at:(new Date).toISOString()},o&&{sdk:o}),!!r&&{dsn:ym(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__)&&wm.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=co(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)&&(ry(e,Gr(Gr({},n&&{status:"crashed"}),{},{errors:e.errors||Number(r||n)})),this.captureSession(e))}},{key:"_isClientDoneProcessing",value:function(e){var t=this;return new kg((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=Gr(Gr({},e),{},{event_id:e.event_id||t.event_id||dg(),timestamp:e.timestamp||Dg()});this._applyClientOptions(l),this._applyIntegrationsMetadata(l);var c=n;t.captureContext&&(c=oy.clone(c).update(t.captureContext));var f=Eg(l);if(c){var d=[].concat(Hr(t.attachments||[]),Hr(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=Gr(Gr(Gr(Gr(Gr({},e),e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((function(e){return Gr(Gr({},e),e.data&&{data:yg(e.data,t,n)})}))}),e.user&&{user:yg(e.user,t,n)}),e.contexts&&{contexts:yg(e.contexts,t,n)}),e.extra&&{extra:yg(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=yg(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map((function(e){return e.data&&(e.data=yg(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=Am(e.message,a));var u=e.exception&&e.exception.values&&e.exception.values[0];u&&u.value&&(u.value=Am(u.value,a));var s=e.request;s&&s.url&&(s.url=Am(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(Hr(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?wm.log(t.message):wm.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 Sg(new mm("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"),Sg(new mm("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 mm("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(fm(e))return e.then((function(e){if(!lm(e)&&null!==e)throw new mm(t);return e}),(function(e){throw new mm("beforeSend rejected with ".concat(e))}));if(!lm(e)&&null!==e)throw new mm(t);return e}(i(n,t))})).then((function(o){if(null===o)throw r.recordDroppedEvent("before_send",e.type||"error"),new mm("`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 mm)throw e;throw r.captureException(e,{data:{__sentry__:!0},originalException:e}),new mm("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__)&&wm.error("Error while sending event:",e)})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.error("Transport disabled")}},{key:"_clearOutcomes",value:function(){var e=this._outcomes;return this._outcomes={},Object.keys(e).map((function(t){var n=Kr(t.split(":"),2);return{reason:n[0],category:n[1],quantity:e[t]}}))}}]),e}();function Cy(e,t){!0===t.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?wm.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=cy(),r=n.getScope();r&&r.update(t.initialScope);var o=new e(t);n.bindClient(o)}function Ay(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Cg(e.bufferSize||30),r={},o=function(e){return n.drain(e)};function i(o){var i=[];if(zg(o,(function(t,n){var o=qg(n);Wg(r,o)?e.recordDroppedEvent("ratelimit_backoff",o):i.push(t)})),0===i.length)return Eg();var a=Ig(o[0],i),u=function(t){zg(a,(function(n,r){e.recordDroppedEvent(t,qg(r))}))};return n.add((function(){return t({body:Ug(a,e.textEncoder)}).then((function(e){void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Sentry responded with status code ".concat(e.statusCode," to sent event.")),r=Kg(r,e)}),(function(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.error("Failed while sending event:",e),u("network_error")}))})).then((function(e){return e}),(function(e){if(e instanceof mm)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.error("Skipped sending event due to full buffer"),u("queue_overflow"),Eg();throw e}))}return{send:i,flush:o}}var Ty,Py="7.11.1",Oy=function(){function e(){Jr(this,e),e.prototype.__init.call(this)}return $r(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){Ty=Function.prototype.toString,Function.prototype.toString=function(){for(var e=Lm(this)||this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ty.apply(e,n)}}}],[{key:"__initStatic",value:function(){this.id="FunctionToString"}}]),e}();Oy.__initStatic();var Ry=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Dy=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Jr(this,e),this._options=t,e.prototype.__init.call(this)}return $r(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(Hr(e.allowUrls||[]),Hr(t.allowUrls||[])),denyUrls:[].concat(Hr(e.denyUrls||[]),Hr(t.denyUrls||[])),ignoreErrors:[].concat(Hr(e.ignoreErrors||[]),Hr(t.ignoreErrors||[]),Ry),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(Pw){}return!1}(e))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Event dropped due to being internal Sentry Error.\nEvent: ".concat(hg(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__)&&wm.error("Cannot extract message for event ".concat(hg(e))),[]}return[]}(e).some((function(e){return t.some((function(t){return Pm(e,t)}))}))}(e,t.ignoreErrors))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: ".concat(hg(e))),!0;if(function(e,t){if(!t||!t.length)return!1;var n=Ly(e);return!!n&&t.some((function(e){return Pm(n,e)}))}(e,t.denyUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: ".concat(hg(e),".\nUrl: ").concat(Ly(e))),!0;if(!function(e,t){if(!t||!t.length)return!0;var n=Ly(e);return!n||t.some((function(e){return Pm(n,e)}))}(e,t.allowUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: ".concat(hg(e),".\nUrl: ").concat(Ly(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 Ly(e){try{var t;try{t=e.exception.values[0].stacktrace.frames}catch(Pw){}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__)&&wm.error("Cannot extract url for event ".concat(hg(e))),null}}function My(e,t){var n=Fy(e,t),r={type:t&&t.name,value:jy(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Ny(e,t){return{exception:{values:[My(e,t)]}}}function Fy(e,t){var n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(Iy.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(Pw){}return[]}Dy.__initStatic();var Iy=/Minified React error #\d+;/i;function jy(e){var t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function zy(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=Uy(e,t,i,o);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),Eg(a)}function By(e,t,n,r,o){var i;if(im(t)&&t.error)return Ny(e,t.error);if(am(t)||om(t,"DOMException")){var a=t;if("stack"in t)i=Ny(e,t);else{var u=a.name||(am(a)?"DOMError":"DOMException"),s=a.message?"".concat(u,": ").concat(a.message):u;vg(i=Uy(e,s,n,r),s)}return"code"in a&&(i.tags=Gr(Gr({},i.tags),{},{"DOMException.code":"".concat(a.code)})),i}return rm(t)?Ny(e,t):lm(t)||cm(t)?(i=function(e,t,n,r){var o={exception:{values:[{type:cm(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:"Non-Error ".concat(r?"promise rejection":"exception"," captured with keys: ").concat(Im(t))}]},extra:{__serialized__:bg(t)}};if(n){var i=Fy(e,n);i.length&&(o.exception.values[0].stacktrace={frames:i})}return o}(e,t,n,o),mg(i,{synthetic:!0}),i):(vg(i=Uy(e,t,n,r),"".concat(t),void 0),mg(i,{synthetic:!0}),i)}function Uy(e,t,n,r){var o={message:t};if(r&&n){var i=Fy(e,n);i.length&&(o.exception={values:[{value:t,stacktrace:{frames:i}}]})}return o}var Vy="Breadcrumbs",Hy=function(){function e(t){Jr(this,e),e.prototype.__init.call(this),this.options=Gr({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}return $r(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){this.options.console&&Jm("console",qy),this.options.dom&&Jm("dom",function(e){function t(t){var n,r="object"===lo(e)?e.serializeAttribute:void 0;"string"==typeof r&&(r=[r]);try{n=t.event.target?hm(t.event.target,r):hm(t.event,r)}catch(Pw){n="<unknown>"}0!==n.length&&cy().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&&Jm("xhr",Yy),this.options.fetch&&Jm("fetch",Gy),this.options.history&&Jm("history",Wy)}}],[{key:"__initStatic",value:function(){this.id=Vy}}]),e}();function qy(e){var t,n={category:"console",data:{arguments:e.args,logger:"console"},level:(t=e.level,"warn"===t?"warning":Tg.includes(t)?t:"log"),message:Tm(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;n.message="Assertion failed: ".concat(Tm(e.args.slice(1)," ")||"console.assert"),n.data.arguments=e.args.slice(1)}cy().addBreadcrumb(n,{input:e.args,level:e.level})}function Yy(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;cy().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:o},type:"http"},{xhr:e.xhr,input:i})}else;}function Gy(e){e.endTimestamp&&(e.fetchData.url.match(/sentry_key/)&&"POST"===e.fetchData.method||(e.error?cy().addBreadcrumb({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args}):cy().addBreadcrumb({category:"fetch",data:Gr(Gr({},e.fetchData),{},{status_code:e.response.status}),type:"http"},{input:e.args,response:e.response})))}function Wy(e){var t=em(),n=e.from,r=e.to,o=Ag(t.location.href),i=Ag(n),a=Ag(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),cy().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}Hy.__initStatic();var Ky,Xy=em();function Zy(){if(Ky)return Ky;if(Wm(Xy.fetch))return Ky=Xy.fetch.bind(Xy);var e=Xy.document,t=Xy.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(Pw){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",Pw)}return Ky=t.bind(Xy)}var Qy=em(),$y=function(e){eo(n,e);var t=to(n);function n(e){var r;return Jr(this,n),e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:Py}],version:Py},r=t.call(this,e),e.sendClientReports&&Qy.document&&Qy.document.addEventListener("visibilitychange",(function(){"hidden"===Qy.document.visibilityState&&r._flushOutcomes()})),r}return $r(n,[{key:"eventFromException",value:function(e,t){return function(e,t,n,r){var o=By(e,t,n&&n.syntheticException||void 0,r);return mg(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),Eg(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 zy(this._options.stackParser,e,t,n,this._options.attachStacktrace)}},{key:"sendEvent",value:function(e,t){var r=this.getIntegrationById(Vy);r&&r.options&&r.options.sentry&&cy().addBreadcrumb({category:"sentry.".concat("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:hg(e)},{event:e}),Ur(so(n.prototype),"sendEvent",this).call(this,e,t)}},{key:"_prepareEvent",value:function(e,t,r){return e.platform=e.platform||"javascript",Ur(so(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__)&&wm.log("Sending outcomes:",e);var t,n,r,o=yy(this._dsn,this._options),i=(t=e,Ig((n=this._options.tunnel&&ym(this._dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:r||Dg(),discarded_events:t}]]));try{!function(e,t){"[object Navigator]"===Object.prototype.toString.call(Xy&&Xy.navigator)&&"function"==typeof Xy.navigator.sendBeacon?Xy.navigator.sendBeacon.bind(Xy.navigator)(e,t):Gm()&&Zy()(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,(function(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.error(e)}))}(o,Ug(i))}catch(Pw){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.error(Pw)}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("No dsn provided, will not send outcomes");else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("No outcomes to send")}}]),n}(ky);function Jy(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Zy();function n(n){var r=Gr({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 Ay(e,n)}function eb(e){return Ay(e,(function(t){return new kg((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 tb="?";function nb(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 rb=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ob=/\((\S*)(?::(\d+))(?::(\d+))\)/,ib=/^\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,ab=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,ub=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,sb=[[30,function(e){var t=rb.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){var n=ob.exec(t[2]);n&&(t[2]=n[1],t[3]=n[2],t[4]=n[3])}var r=Kr(cb(t[1]||tb,t[2]),2),o=r[0];return nb(r[1],o,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],[50,function(e){var t=ib.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){var n=ab.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]||tb,i=Kr(cb(o,r),2);return o=i[0],nb(r=i[1],o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],[40,function(e){var t=ub.exec(e);return t?nb(t[2],t[1]||tb,+t[3],t[4]?+t[4]:void 0):void 0}]],lb=Um.apply(void 0,sb),cb=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]:tb,n?"safari-extension:".concat(t):"safari-web-extension:".concat(t)]:[e,t]},fb=0;function db(){return fb>0}function pb(){fb+=1,setTimeout((function(){fb-=1}))}function hb(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(Lm(e))return e}catch(Pw){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 hb(e,t)}));return e.apply(this,o)}catch(i){throw pb(),vy((function(e){e.addEventProcessor((function(e){return t.mechanism&&(vg(e,void 0,void 0),mg(e,t.mechanism)),e.extra=Gr(Gr({},e.extra),{},{arguments:r}),e})),hy(i)})),i}};try{for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e[i])}catch(u){}Dm(o,e),Rm(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 vb=function(){function e(t){Jr(this,e),e.prototype.__init.call(this),e.prototype.__init2.call(this),this._options=Gr({onerror:!0,onunhandledrejection:!0},t)}return $r(e,[{key:"__init",value:function(){this.name=e.id}},{key:"__init2",value:function(){this._installFunc={onerror:mb,onunhandledrejection:gb}}},{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__)&&wm.log("Global Handler attached: ".concat(e)),r(),this._installFunc[n]=void 0)}}}],[{key:"__initStatic",value:function(){this.id="GlobalHandlers"}}]),e}();function mb(){Jm("error",(function(e){var t=Kr(xb(),3),n=t[0],r=t[1],o=t[2];if(n.getIntegration(vb)){var i=e.msg,a=e.url,u=e.line,s=e.column,l=e.error;if(!(db()||l&&l.__sentry_own_request__)){var c=void 0===l&&um(i)?function(e,t,n,r){var o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,i=im(e)?e.message:e,a="Error",u=i.match(o);u&&(a=u[1],i=u[2]);return yb({exception:{values:[{type:a,value:i}]}},t,n,r)}(i,a,u,s):yb(By(r,l||i,void 0,o,!1),a,u,s);c.level="error",bb(n,l,c,"onerror")}}}))}function gb(){Jm("unhandledrejection",(function(e){var t=Kr(xb(),3),n=t[0],r=t[1],o=t[2];if(n.getIntegration(vb)){var i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch(u){}if(db()||i&&i.__sentry_own_request__)return!0;var a=sm(i)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: ".concat(String(i))}]}}:By(r,i,void 0,o,!0);a.level="error",bb(n,i,a,"onunhandledrejection")}}))}function yb(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=um(t)&&t.length>0?t:function(){var e=em();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 bb(e,t,n,r){mg(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function xb(){var e=cy(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:function(){return[]},attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}vb.__initStatic();var wb=["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"],_b=function(){function e(t){Jr(this,e),e.prototype.__init.call(this),this._options=Gr({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t)}return $r(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){var e=em();this._options.setTimeout&&Om(e,"setTimeout",Eb),this._options.setInterval&&Om(e,"setInterval",Eb),this._options.requestAnimationFrame&&Om(e,"requestAnimationFrame",Sb),this._options.XMLHttpRequest&&"XMLHttpRequest"in e&&Om(XMLHttpRequest.prototype,"send",kb);var t=this._options.eventTarget;t&&(Array.isArray(t)?t:wb).forEach(Cb)}}],[{key:"__initStatic",value:function(){this.id="TryCatch"}}]),e}();function Eb(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]=hb(o,{mechanism:{data:{function:Ym(e)},handled:!0,type:"instrument"}}),e.apply(this,n)}}function Sb(e){return function(t){return e.apply(this,[hb(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Ym(e)},handled:!0,type:"instrument"}})])}}function kb(e){return function(){var t=this,n=["onload","onerror","onprogress","onreadystatechange"];n.forEach((function(e){e in t&&"function"==typeof t[e]&&Om(t,e,(function(t){var n={mechanism:{data:{function:e,handler:Ym(t)},handled:!0,type:"instrument"}},r=Lm(t);return r&&(n.mechanism.data.handler=Ym(r)),hb(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 Cb(e){var t=em(),n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Om(n,"addEventListener",(function(t){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=hb(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Ym(r),target:e},handled:!0,type:"instrument"}}))}catch(i){}return t.apply(this,[n,hb(r,{mechanism:{data:{function:"addEventListener",handler:Ym(r),target:e},handled:!0,type:"instrument"}}),o])}})),Om(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(Pw){}return e.call(this,t,o,r)}})))}_b.__initStatic();var Ab="cause",Tb=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Jr(this,e),e.prototype.__init.call(this),this._key=t.key||Ab,this._limit=t.limit||5}return $r(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){var t=cy().getClient();t&&ay((function(n,r){var o=cy().getIntegration(e);return o?function(e,t,n,r,o){if(!(r.exception&&r.exception.values&&o&&pm(o.originalException,Error)))return r;var i=Pb(e,n,o.originalException,t);return r.exception.values=[].concat(Hr(i),Hr(r.exception.values)),r}(t.getOptions().stackParser,o._key,o._limit,n,r):n}))}}],[{key:"__initStatic",value:function(){this.id="LinkedErrors"}}]),e}();function Pb(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];if(!pm(n[r],Error)||o.length+1>=t)return o;var i=My(e,n[r]);return Pb(e,t,n[r],r,[i].concat(Hr(o)))}Tb.__initStatic();var Ob=em(),Rb=function(){function e(){Jr(this,e),e.prototype.__init.call(this)}return $r(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){ay((function(t){if(cy().getIntegration(e)){if(!Ob.navigator&&!Ob.location&&!Ob.document)return t;var n=t.request&&t.request.url||Ob.location&&Ob.location.href,r=(Ob.document||{}).referrer,o=(Ob.navigator||{}).userAgent,i=Gr(Gr(Gr({},t.request&&t.request.headers),r&&{Referer:r}),o&&{"User-Agent":o}),a=Gr(Gr({},n&&{url:n}),{},{headers:i});return Gr(Gr({},t),{},{request:a})}return t}))}}],[{key:"__initStatic",value:function(){this.id="HttpContext"}}]),e}();Rb.__initStatic();var Db=function(){function e(){Jr(this,e),e.prototype.__init.call(this)}return $r(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(!Mb(e,t))return!1;if(!Lb(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){var n=Nb(t),r=Nb(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!Mb(e,t))return!1;if(!Lb(e,t))return!1;return!0}(e,t))return!0;return!1}(t,r._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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 Lb(e,t){var n=Fb(e),r=Fb(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 Mb(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 Nb(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Fb(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(n){return}}Db.__initStatic();var Ib=[new Dy,new Oy,new _b,new Hy,new vb,new Tb,new Db,new Rb];function jb(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function zb(){if(void 0!==em().document){var e=cy();e.captureSession&&(jb(e),Jm("history",(function(e){var t=e.from,n=e.to;void 0!==t&&t!==n&&jb(cy())})))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}var Bb={exports:{}},Ub={},Vb="function"==typeof Symbol&&Symbol.for,Hb=Vb?Symbol.for("react.element"):60103,qb=Vb?Symbol.for("react.portal"):60106,Yb=Vb?Symbol.for("react.fragment"):60107,Gb=Vb?Symbol.for("react.strict_mode"):60108,Wb=Vb?Symbol.for("react.profiler"):60114,Kb=Vb?Symbol.for("react.provider"):60109,Xb=Vb?Symbol.for("react.context"):60110,Zb=Vb?Symbol.for("react.async_mode"):60111,Qb=Vb?Symbol.for("react.concurrent_mode"):60111,$b=Vb?Symbol.for("react.forward_ref"):60112,Jb=Vb?Symbol.for("react.suspense"):60113,ex=Vb?Symbol.for("react.suspense_list"):60120,tx=Vb?Symbol.for("react.memo"):60115,nx=Vb?Symbol.for("react.lazy"):60116,rx=Vb?Symbol.for("react.block"):60121,ox=Vb?Symbol.for("react.fundamental"):60117,ix=Vb?Symbol.for("react.responder"):60118,ax=Vb?Symbol.for("react.scope"):60119;function ux(e){if("object"===lo(e)&&null!==e){var t=e.$$typeof;switch(t){case Hb:switch(e=e.type){case Zb:case Qb:case Yb:case Wb:case Gb:case Jb:return e;default:switch(e=e&&e.$$typeof){case Xb:case $b:case nx:case tx:case Kb:return e;default:return t}}case qb:return t}}}function sx(e){return ux(e)===Qb}Ub.AsyncMode=Zb,Ub.ConcurrentMode=Qb,Ub.ContextConsumer=Xb,Ub.ContextProvider=Kb,Ub.Element=Hb,Ub.ForwardRef=$b,Ub.Fragment=Yb,Ub.Lazy=nx,Ub.Memo=tx,Ub.Portal=qb,Ub.Profiler=Wb,Ub.StrictMode=Gb,Ub.Suspense=Jb,Ub.isAsyncMode=function(e){return sx(e)||ux(e)===Zb},Ub.isConcurrentMode=sx,Ub.isContextConsumer=function(e){return ux(e)===Xb},Ub.isContextProvider=function(e){return ux(e)===Kb},Ub.isElement=function(e){return"object"===lo(e)&&null!==e&&e.$$typeof===Hb},Ub.isForwardRef=function(e){return ux(e)===$b},Ub.isFragment=function(e){return ux(e)===Yb},Ub.isLazy=function(e){return ux(e)===nx},Ub.isMemo=function(e){return ux(e)===tx},Ub.isPortal=function(e){return ux(e)===qb},Ub.isProfiler=function(e){return ux(e)===Wb},Ub.isStrictMode=function(e){return ux(e)===Gb},Ub.isSuspense=function(e){return ux(e)===Jb},Ub.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Yb||e===Qb||e===Wb||e===Gb||e===Jb||e===ex||"object"===lo(e)&&null!==e&&(e.$$typeof===nx||e.$$typeof===tx||e.$$typeof===Kb||e.$$typeof===Xb||e.$$typeof===$b||e.$$typeof===ox||e.$$typeof===ix||e.$$typeof===ax||e.$$typeof===rx)},Ub.typeOf=ux,function(e){e.exports=Ub}(Bb);var lx=Bb.exports,cx={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},fx={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},dx={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},px={};function hx(e){return lx.isMemo(e)?dx:px[e.$$typeof]||cx}px[lx.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},px[lx.Memo]=dx;var vx=Object.defineProperty,mx=Object.getOwnPropertyNames,gx=Object.getOwnPropertySymbols,yx=Object.getOwnPropertyDescriptor,bx=Object.getPrototypeOf,xx=Object.prototype;var wx=function e(t,n,r){if("string"!=typeof n){if(xx){var o=bx(n);o&&o!==xx&&e(t,o,r)}var i=mx(n);gx&&(i=i.concat(gx(n)));for(var a=hx(t),u=hx(n),s=0;s<i.length;++s){var l=i[s];if(!(fx[l]||r&&r[l]||u&&u[l]||a&&a[l])){var c=yx(n,l);try{vx(t,l,c)}catch(Pw){}}}}return t},_x={exports:{}},Ex={},Sx=Xr.exports,kx=Symbol.for("react.element"),Cx=Symbol.for("react.fragment"),Ax=Object.prototype.hasOwnProperty,Tx=Sx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Px={key:!0,ref:!0,__self:!0,__source:!0};function Ox(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)Ax.call(t,r)&&!Px.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:kx,type:e,key:i,ref:a,props:o,_owner:Tx.current}}Ex.Fragment=Cx,Ex.jsx=Ox,Ex.jsxs=Ox,function(e){e.exports=Ex}(_x);var Rx=Ir("F",_x.exports.Fragment),Dx=Ir("j",_x.exports.jsx),Lx=Ir("k",_x.exports.jsxs);function Mx(e){var t=cy().getClient(),n=e||t&&t.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function Nx(e){var t=(e||cy()).getScope();return t&&t.getTransaction()}function Fx(e){return e/1e3}function Ix(){var e=Nx();if(e){var t="internal_error";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] Transaction: ".concat(t," -> Global error occured")),e.setStatus(t)}}var jx=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;Jr(this,e),e.prototype.__init.call(this),this._maxlen=t}return $r(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 zx=function(e){eo(n,e);var t=to(n);function n(e,r){var o;return Jr(this,n),o=t.call(this,e),n.prototype.__init.call(ro(o)),o._hub=r||cy(),o._name=e.name||"",o.metadata=Gr(Gr({},e.metadata),{},{spanMetadata:{}}),o._trimEnd=e.trimEnd,o.transaction=ro(o),o}return $r(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 jx(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=Gr(Gr({},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__)&&wm.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),Ur(so(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=Gr({contexts:{trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:Gr(Gr({},o),{},{baggage:this.getBaggage()})},o.source&&{transaction_info:{source:o.source}});return Object.keys(this._measurements).length>0&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] Finishing ".concat(this.op," transaction: ").concat(this.name,".")),this._hub.captureEvent(i)}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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 jm(Gr(Gr({},Ur(so(n.prototype),"toContext",this).call(this)),{},{name:this.name,trimEnd:this._trimEnd}))}},{key:"updateWithContext",value:function(e){return Ur(so(n.prototype),"updateWithContext",this).call(this,e),this.name=Bm(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]:Qg({}),t=this._hub||cy(),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 Qg(jm(Gr({environment:o,release:i,transaction:p,user_segment:f,public_key:u,trace_id:this.traceId,sample_rate:s},$g(e))),"",!1)}}]),n}(function(){function e(t){if(Jr(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 $r(e,[{key:"__init2",value:function(){this.traceId=dg()}},{key:"__init3",value:function(){this.spanId=dg().substring(16)}},{key:"__init4",value:function(){this.startTimestamp=Mg()}},{key:"__init5",value:function(){this.tags={}}},{key:"__init6",value:function(){this.data={}}},{key:"startChild",value:function(t){var n=new e(Gr(Gr({},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},wm.log(a)}return n}},{key:"setTag",value:function(e,t){return this.tags=Gr(Gr({},this.tags),{},Wr({},e,t)),this}},{key:"setData",value:function(e,t){return this.data=Gr(Gr({},this.data),{},Wr({},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&&wm.log(t.replace("Starting","Finishing"))}this.endTimestamp="number"==typeof e?e:Mg()}},{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 jm({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=Bm(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=Bm(e.spanId,(function(){return t.spanId})),this.startTimestamp=Bm(e.startTimestamp,(function(){return t.startTimestamp})),this.status=e.status,this.tags=Bm(e.tags,(function(){return{}})),this.traceId=Bm(e.traceId,(function(){return t.traceId})),this}},{key:"getTraceContext",value:function(){return jm({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 jm({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}()),Bx=1e3,Ux=3e4,Vx=function(e){eo(n,e);var t=to(n);function n(e,r,o,i){var a;return Jr(this,n),(a=t.call(this,i))._pushActivity=e,a._popActivity=r,a.transactionSpanId=o,a}return $r(n,[{key:"add",value:function(e){var t=this;e.spanId!==this.transactionSpanId&&(e.finish=function(n){e.endTimestamp="number"==typeof n?n:Mg(),t._popActivity(e.spanId)},void 0===e.endTimestamp&&this._pushActivity(e.spanId)),Ur(so(n.prototype),"add",this).call(this,e)}}]),n}(jx),Hx=function(e){eo(n,e);var t=to(n);function n(e,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Bx,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ux,u=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return Jr(this,n),(o=t.call(this,e,r))._idleHub=r,o._idleTimeout=i,o._finalTimeout=a,o._onScope=u,n.prototype.__init.call(ro(o)),n.prototype.__init2.call(ro(o)),n.prototype.__init3.call(ro(o)),n.prototype.__init4.call(ro(o)),u&&(qx(r),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("Setting idle transaction on scope. Span ID: ".concat(o.spanId)),r.configureScope((function(e){return e.setSpan(ro(o))}))),o._startIdleTimeout(),setTimeout((function(){o._finished||(o.setStatus("deadline_exceeded"),o.finish())}),o._finalTimeout),o}return $r(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]:Mg();if(this._finished=!0,this.activities={},this.spanRecorder){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op);var r,o=co(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__)&&wm.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__)&&wm.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(n,void 0,2)),r})),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] flushing IdleTransaction")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] No active IdleTransaction");return this._onScope&&qx(this._idleHub),Ur(so(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 Vx((function(e){t._finished||t._pushActivity(e)}),(function(e){t._finished||t._popActivity(e)}),this.spanId,e),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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__)&&wm.log("[Tracing] pushActivity: ".concat(e)),this.activities[e]=!0,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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__)&&wm.log("[Tracing] popActivity ".concat(e)),delete this.activities[e],("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){var t=Mg()+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__)&&wm.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__)&&wm.log("pinging Heartbeat -> current counter: ".concat(this._heartbeatCounter)),setTimeout((function(){e._beat()}),5e3)}}]),n}(zx);function qx(e){var t=e.getScope();t&&(t.getTransaction()&&t.setSpan(void 0))}function Yx(){var e=this.getScope();if(e){var t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function Gx(e,t,n){return Mx(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(dm(e)||"number"!=typeof e&&"boolean"!=typeof e)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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(lo(e)),".")),!1;if(e<0||e>1)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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__)&&wm.log("[Tracing] starting ".concat(e.op," transaction - ").concat(e.name)),e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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__)&&wm.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__)&&wm.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)):(e.sampled=!1,e);var r}function Wx(e,t){var n=this.getClient(),r=n&&n.getOptions()||{},o=new zx(e,this);return(o=Gx(o,r,Gr({parentSampled:e.parentSampled,transactionContext:e},t))).sampled&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),o}function Kx(){var e=sy();if(e.__SENTRY__){var t={mongodb:function(){return new($v(Vr,"./integrations/node/mongo").Mongo)},mongoose:function(){return new($v(Vr,"./integrations/node/mongo").Mongo)({mongoose:!0})},mysql:function(){return new($v(Vr,"./integrations/node/mysql").Mysql)},pg:function(){return new($v(Vr,"./integrations/node/postgres").Postgres)}},n=Object.keys(t).filter((function(e){return!!function(e){var t;try{t=$v(Vr,e)}catch(Pw){}try{var n=$v(Vr,"process").cwd;t=$v(Vr,"".concat(n(),"/node_modules/").concat(e))}catch(Pw){}return t}(e)})).map((function(e){try{return t[e]()}catch(Pw){return}})).filter((function(e){return e}));n.length>0&&(e.__SENTRY__.integrations=[].concat(Hr(e.__SENTRY__.integrations||[]),Hr(n)))}}var Xx=em();var Zx=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)))}},Qx=function(e,t){return{name:e,value:Bm(t,(function(){return-1})),delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},$x=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(Pw){}},Jx=function(e,t){var n=function n(r){"pagehide"!==r.type&&"hidden"!==em().document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},ew=-1,tw=function(){return ew<0&&(ew="hidden"===em().document.visibilityState?0:1/0,Jx((function(e){var t=e.timeStamp;ew=t}),!0)),{get firstHiddenTime(){return ew}}},nw={};function rw(e){return"number"==typeof e&&isFinite(e)}function ow(e,t){var n=t.startTimestamp,r=Br(t,Pt);return n&&e.startTimestamp>n&&(e.startTimestamp=n),e.startChild(Gr({startTimestamp:n},r))}var iw=em();function aw(){return iw&&iw.addEventListener&&iw.performance}var uw,sw,lw=0,cw={};function fw(){!function(e,t){var n,r=Qx("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=$x("layout-shift",a);u&&(n=Zx(e,r,t),Jx((function(){u.takeRecords().map(a),n(!0)})))}((function(e){var t=e.entries.pop();t&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding CLS"),cw.cls={value:e.value,unit:""},sw=t)}))}function dw(e){!function(e,t){var n,r=tw(),o=Qx("LCP"),i=function(e){var t=e.startTime;t<r.firstHiddenTime&&(o.value=t,o.entries.push(e)),n&&n()},a=$x("largest-contentful-paint",i);if(a){n=Zx(e,o,t);var u=function(){nw[o.id]||(a.takeRecords().map(i),a.disconnect(),nw[o.id]=!0,n(!0))};["keydown","click"].forEach((function(e){addEventListener(e,u,{once:!0,capture:!0})})),Jx(u,!0)}}((function(e){var t=e.entries.pop();if(t){var n=Fx(Ng),r=Fx(t.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding LCP"),cw.lcp={value:e.value,unit:"millisecond"},cw["mark.lcp"]={value:n+r,unit:"second"},uw=t}}),e)}function pw(){!function(e,t){var n,r=tw(),o=Qx("FID"),i=function(e){n&&e.startTime<r.firstHiddenTime&&(o.value=e.processingStart-e.startTime,o.entries.push(e),n(!0))},a=$x("first-input",i);a&&(n=Zx(e,o,t),Jx((function(){a.takeRecords().map(i),a.disconnect()}),!0))}((function(e){var t=e.entries.pop();if(t){var n=Fx(Ng),r=Fx(t.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding FID"),cw.fid={value:e.value,unit:"millisecond"},cw["mark.fid"]={value:n+r,unit:"second"}}}))}function hw(e){var t=aw();if(t&&iw.performance.getEntries&&Ng){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] Adding & adjusting spans using Performance API");var n,r,o=Fx(Ng),i=t.getEntries();i.slice(lw).forEach((function(t){var i=Fx(t.startTime),a=Fx(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){vw(e,t,r,n)})),vw(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),vw(e,t,"fetch",n,"cache","domainLookupStart"),vw(e,t,"domainLookup",n,"DNS"),function(e,t,n){ow(e,{op:"browser",description:"request",startTimestamp:n+Fx(t.requestStart),endTimestamp:n+Fx(t.responseEnd)}),ow(e,{op:"browser",description:"response",startTimestamp:n+Fx(t.responseStart),endTimestamp:n+Fx(t.responseEnd)})}(e,t,n)}(e,t,o),n=o+Fx(t.responseStart),r=o+Fx(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 ow(e,{description:t.name,endTimestamp:a,op:t.entryType,startTimestamp:i}),i}(e,t,i,a,o),s=tw(),l=t.startTime<s.firstHiddenTime;"first-paint"===t.name&&l&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding FP"),cw.fp={value:t.startTime,unit:"millisecond"},cw["mark.fp"]={value:u,unit:"second"}),"first-contentful-paint"===t.name&&l&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding FCP"),cw.fcp={value:t.startTime,unit:"millisecond"},cw["mark.fcp"]={value:u,unit:"second"});break;case"resource":var c=t.name.replace(iw.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;ow(e,{description:n,endTimestamp:u+o,op:t.initiatorType?"resource.".concat(t.initiatorType):"resource",startTimestamp:u,data:a})}(e,t,c,i,a,o)}})),lw=Math.max(i.length-1,0),function(e){var t=iw.navigator;if(!t)return;var n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),rw(n.rtt)&&(cw["connection.rtt"]={value:n.rtt,unit:"millisecond"}),rw(n.downlink)&&(cw["connection.downlink"]={value:n.downlink,unit:""}));rw(t.deviceMemory)&&e.setTag("deviceMemory","".concat(t.deviceMemory," GB"));rw(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===e.op&&("number"==typeof n&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding TTFB"),cw.ttfb={value:1e3*(n-e.startTimestamp),unit:"millisecond"},"number"==typeof r&&r<=n&&(cw["ttfb.requestTime"]={value:1e3*(n-r),unit:"millisecond"})),["fcp","fp","lcp"].forEach((function(t){if(cw[t]&&!(o>=e.startTimestamp)){var n=cw[t].value,r=o+Fx(n),i=Math.abs(1e3*(r-e.startTimestamp)),a=i-n;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Normalized ".concat(t," from ").concat(n," to ").concat(i," (").concat(a,")")),cw[t].value=i}})),cw["mark.fid"]&&cw.fid&&ow(e,{description:"first input delay",endTimestamp:cw["mark.fid"].value+Fx(cw.fid.value),op:"web.vitals",startTimestamp:cw["mark.fid"].value}),"fcp"in cw||delete cw.cls,Object.keys(cw).forEach((function(t){e.setMeasurement(t,cw[t].value,cw[t].unit)})),function(e){uw&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding LCP Data"),uw.element&&e.setTag("lcp.element",hm(uw.element)),uw.id&&e.setTag("lcp.id",uw.id),uw.url&&e.setTag("lcp.url",uw.url.trim().slice(0,200)),e.setTag("lcp.size",uw.size));sw&&sw.sources&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding CLS Data"),sw.sources.forEach((function(t,n){return e.setTag("cls.source.".concat(n+1),hm(t.node))})))}(e)),uw=void 0,sw=void 0,cw={}}}function vw(e,t,n,r,o,i){var a=i?t[i]:t["".concat(n,"End")],u=t["".concat(n,"Start")];u&&a&&ow(e,{op:"browser",description:Bm(o,(function(){return n})),startTimestamp:r+Fx(u),endTimestamp:r+Fx(a)})}var mw={traceFetch:!0,traceXHR:!0,tracingOrigins:["localhost",/^\//]};function gw(e){var t=Gr(Gr({},mw),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 Pm(e,t)}))&&!Pm(e,"sentry_key"),a[e]},s=u;"function"==typeof i&&(s=function(e){return u(e)&&i(e)});var l={};n&&Jm("fetch",(function(e){!function(e,t,n){if(!Mx()||!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=Nx();if(o){var i=o.startChild({data:Gr(Gr({},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;pm(e,Request)&&(o=e.headers);if(o)if("function"==typeof o.append)o.append("sentry-trace",n.toTraceparent()),o.append(Xg,ey(t,o.get(Xg)));else if(Array.isArray(o)){var i=o.find((function(e){var t=Kr(e,2),n=t[0];t[1];return n===Xg})),a=Kr(i,2)[1];o=[].concat(Hr(o),[["sentry-trace",n.toTraceparent()],[Xg,ey(t,a)]])}else o=Gr(Gr({},o),{},{"sentry-trace":n.toTraceparent(),baggage:ey(t,o.baggage)});else o={"sentry-trace":n.toTraceparent(),baggage:ey(t)};return o}(a,o.getBaggage(),i,u)}}(e,s,l)})),r&&Jm("xhr",(function(e){!function(e,t,n){if(!Mx()||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=Nx();if(i){var a=i.startChild({data:Gr(Gr({},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(Xg);e.xhr.setRequestHeader(Xg,ey(i.getBaggage(),u))}catch($w){}}}(e,s,l)}))}var yw=em();var bw,xw=Gr({idleTimeout:Bx,finalTimeout:Ux,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(yw&&yw.location){var r,o=yw.location.href;t&&(r=e({name:yw.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&Jm("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__)&&wm.log("[Tracing] Finishing current transaction with op: ".concat(r.op)),r.finish()),r=e({name:yw.location.pathname,op:"navigation",metadata:{source:"url"}}))}))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Could not initialize routing instrumentation due to invalid location")},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,_experiments:{enableLongTask:!0}},mw),ww=function(){function e(t){Jr(this,e),e.prototype.__init.call(this);var n=mw.tracingOrigins;t&&(t.tracingOrigins&&Array.isArray(t.tracingOrigins)?n=t.tracingOrigins:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(this._emitOptionsWarning=!0)),this.options=Gr(Gr(Gr({},xw),t),{},{tracingOrigins:n});var r=this.options._metricOptions;!function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=aw();t&&Ng&&(t.mark&&iw.performance.mark("sentry-tracing-init"),fw(),dw(e),pw())}(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}])&&$x("longtask",(function(e){var t=Nx();if(t){var n=Fx(Ng+e.startTime),r=Fx(e.duration);t.startChild({description:"Long Task",op:"ui.long-task",startTimestamp:n,endTimestamp:n+r})}}))}return $r(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__)&&wm.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__)&&wm.warn("[Tracing] We added a reasonable default for you: ".concat(mw.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&&(Xx&&Xx.document?Xx.document.addEventListener("visibilitychange",(function(){var e=Nx();if(Xx.document.hidden&&e){var t="cancelled";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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__)&&wm.warn("[Tracing] Could not set up background tab detection due to lack of global document")),gw({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=_w("sentry-trace"),t=_w("baggage"),n=e?function(e){var t,n=e.match(Fg);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=ty(t,e);if(n||r)return Gr(Gr({},n&&n),r&&{metadata:{baggage:r}});return}():void 0,u=Gr(Gr(Gr(Gr({},e),a),a&&{metadata:Gr(Gr({},e.metadata),a.metadata)}),{},{trimEnd:!0}),s="function"==typeof r?r(u):u,l=void 0===s?Gr(Gr({},u),{},{sampled:!1}):s;l.metadata=l.name!==u.name?Gr(Gr({},l.metadata),{},{source:"custom"}):l.metadata,!1===l.sampled&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] Will not send ".concat(l.op," transaction because of beforeNavigate.")),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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 Hx(t,e,n,r,o);return(s=Gx(s,u,Gr({parentSampled:t.parentSampled,transactionContext:t},i))).sampled&&s.initSpanRecorder(u._experiments&&u._experiments.maxSpans),s}(this._getCurrentHub(),l,o,i,!0,{location:em().location});return c.registerBeforeFinishCallback((function(e){hw(e),e.setTag("sentry_reportAllChanges",Boolean(t.options._metricOptions&&t.options._metricOptions._reportAllChanges))})),c}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("[Tracing] Did not create ".concat(e.op," transaction because _getCurrentHub is invalid."))}}]),e}();function _w(e){var t=em();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__)&&((bw=sy()).__SENTRY__&&(bw.__SENTRY__.extensions=bw.__SENTRY__.extensions||{},bw.__SENTRY__.extensions.startTransaction||(bw.__SENTRY__.extensions.startTransaction=Wx),bw.__SENTRY__.extensions.traceHeaders||(bw.__SENTRY__.extensions.traceHeaders=Yx)),Qv()&&Kx(),Jm("error",Ix),Jm("unhandledrejection",Ix));var Ew,Sw={exports:{}},kw={},Cw=Symbol.for("react.element"),Aw=Symbol.for("react.portal"),Tw=Symbol.for("react.fragment"),Pw=Symbol.for("react.strict_mode"),Ow=Symbol.for("react.profiler"),Rw=Symbol.for("react.provider"),Dw=Symbol.for("react.context"),Lw=Symbol.for("react.server_context"),Mw=Symbol.for("react.forward_ref"),Nw=Symbol.for("react.suspense"),Fw=Symbol.for("react.suspense_list"),Iw=Symbol.for("react.memo"),jw=Symbol.for("react.lazy"),zw=Symbol.for("react.offscreen");function Bw(e){if("object"===lo(e)&&null!==e){var t=e.$$typeof;switch(t){case Cw:switch(e=e.type){case Tw:case Ow:case Pw:case Nw:case Fw:return e;default:switch(e=e&&e.$$typeof){case Lw:case Dw:case Mw:case jw:case Iw:case Rw:return e;default:return t}}case Aw:return t}}}Ew=Symbol.for("react.module.reference"),kw.ContextConsumer=Dw,kw.ContextProvider=Rw,kw.Element=Cw,kw.ForwardRef=Mw,kw.Fragment=Tw,kw.Lazy=jw,kw.Memo=Iw,kw.Portal=Aw,kw.Profiler=Ow,kw.StrictMode=Pw,kw.Suspense=Nw,kw.SuspenseList=Fw,kw.isAsyncMode=function(){return!1},kw.isConcurrentMode=function(){return!1},kw.isContextConsumer=function(e){return Bw(e)===Dw},kw.isContextProvider=function(e){return Bw(e)===Rw},kw.isElement=function(e){return"object"===lo(e)&&null!==e&&e.$$typeof===Cw},kw.isForwardRef=function(e){return Bw(e)===Mw},kw.isFragment=function(e){return Bw(e)===Tw},kw.isLazy=function(e){return Bw(e)===jw},kw.isMemo=function(e){return Bw(e)===Iw},kw.isPortal=function(e){return Bw(e)===Aw},kw.isProfiler=function(e){return Bw(e)===Ow},kw.isStrictMode=function(e){return Bw(e)===Pw},kw.isSuspense=function(e){return Bw(e)===Nw},kw.isSuspenseList=function(e){return Bw(e)===Fw},kw.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Tw||e===Ow||e===Pw||e===Nw||e===Fw||e===zw||"object"===lo(e)&&null!==e&&(e.$$typeof===jw||e.$$typeof===Iw||e.$$typeof===Rw||e.$$typeof===Dw||e.$$typeof===Mw||e.$$typeof===Ew||void 0!==e.getModuleId)},kw.typeOf=Bw,function(e){e.exports=kw}(Sw);function Uw(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"===lo(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 Vw={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 Hw(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var qw=/^((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)-.*))$/,Yw=Hw((function(e){return qw.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function Gw(){return(Gw=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 Ww=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},Kw=function(e){return null!==e&&"object"==lo(e)&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!Sw.exports.typeOf(e)},Xw=Object.freeze([]),Zw=Object.freeze({});function Qw(e){return"function"==typeof e}function $w(e){return e.displayName||e.name||"Component"}function Jw(e){return e&&"string"==typeof e.styledComponentId}var e_="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",t_="undefined"!=typeof window&&"HTMLElement"in window,n_=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)),r_={};function o_(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 i_=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&&o_(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}(),a_=new Map,u_=new Map,s_=1,l_=function(e){if(a_.has(e))return a_.get(e);for(;u_.has(s_);)s_++;var t=s_++;return a_.set(e,t),u_.set(t,e),t},c_=function(e){return u_.get(e)},f_=function(e,t){t>=s_&&(s_=t+1),a_.set(e,t),u_.set(t,e)},d_="style["+e_+'][data-styled-version="5.3.5"]',p_=new RegExp("^"+e_+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),h_=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)},v_=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(p_);if(u){var s=0|parseInt(u[1],10),l=u[2];0!==s&&(f_(l,s),h_(e,l,u[3]),e.getTag().insertRules(s,r)),r.length=0}else r.push(a)}}},m_=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(e_))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(e_,"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},g_=function(){function e(e){var t=this.element=m_(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}o_(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}(),y_=function(){function e(e){var t=this.element=m_(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}(),b_=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}(),x_=t_,w_={isServer:!t_,useCSSOMInjection:!n_},__=function(){function e(e,t,n){void 0===e&&(e=Zw),void 0===t&&(t={}),this.options=Gw({},w_,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&t_&&x_&&(x_=!1,function(e){for(var t=document.querySelectorAll(d_),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(e_)&&(v_(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return l_(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(Gw({},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 b_(o):r?new g_(o):new y_(o),new i_(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(l_(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(l_(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(l_(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=c_(o);if(void 0!==i){var a=e.names.get(i),u=t.getGroup(o);if(a&&u&&a.size){var s=e_+".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}(),E_=/(a)(d)/gi,S_=function(e){return String.fromCharCode(e+(e>25?39:97))};function k_(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=S_(t%52)+n;return(S_(t%52)+n).replace(E_,"$1-$2")}var C_=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},A_=function(e){return C_(5381,e)};function T_(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Qw(n)&&!Jw(n))return!1}return!0}var P_=A_("5.3.5"),O_=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&T_(e),this.componentId=t,this.baseHash=C_(P_,t),this.baseStyle=n,__.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=K_(this.rules,e,t,n).join(""),a=k_(C_(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=C_(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=K_(d,e,t,n),h=Array.isArray(p)?p.join(""):p;l=C_(l,h+f),c+=h}}if(c){var v=k_(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}(),R_=/^\s*\/\/.*$/gm,D_=[":","[",".","#"];function L_(e){var t,n,r,o,i=void 0===e?Zw:e,a=i.options,u=void 0===a?Zw:a,s=i.plugins,l=void 0===s?Xw:s,c=new Uw(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!==D_.indexOf(i[n.length])||i.match(o)?e:"."+t};function h(e,i,a,u){void 0===u&&(u="&");var s=e.replace(R_,""),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||o_(15),C_(e,t.name)}),5381).toString():"",h}var M_=Uo.createContext();M_.Consumer;var N_=Uo.createContext(),F_=(N_.Consumer,new __),I_=L_();function j_(){return Xr.exports.useContext(M_)||F_}function z_(){return Xr.exports.useContext(N_)||I_}function B_(e){var t=Xr.exports.useState(e.stylisPlugins),n=t[0],r=t[1],o=j_(),i=Xr.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=Xr.exports.useMemo((function(){return L_({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return Xr.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"!==lo(e)||!e||"object"!==lo(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]),Uo.createElement(M_.Provider,{value:i},Uo.createElement(N_.Provider,{value:a},e.children))}var U_=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=I_);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 o_(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=I_),this.name+e.hash},e}(),V_=/([A-Z])/,H_=/([A-Z])/g,q_=/^ms-/,Y_=function(e){return"-"+e.toLowerCase()};function G_(e){return V_.test(e)?e.replace(H_,Y_).replace(q_,"-ms-"):e}var W_=function(e){return null==e||!1===e||""===e};function K_(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,u=e.length;a<u;a+=1)""!==(o=K_(e[a],t,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return W_(e)?"":Jw(e)?"."+e.styledComponentId:Qw(e)?"function"!=typeof(s=e)||s.prototype&&s.prototype.isReactComponent||!t?e:K_(e(t),t,n,r):e instanceof U_?n?(e.inject(n,r),e.getName(r)):e:Kw(e)?function e(t,n){var r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!W_(t[a])&&(Array.isArray(t[a])&&t[a].isCss||Qw(t[a])?i.push(G_(a)+":",t[a],";"):Kw(t[a])?i.push.apply(i,e(t[a],a)):i.push(G_(a)+": "+(r=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in Vw?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString();var s}var X_=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Z_(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 Qw(e)||Kw(e)?X_(K_(Ww(Xw,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:X_(K_(Ww(e,n)))}var Q_=function(e,t,n){return void 0===n&&(n=Zw),e.theme!==n.theme&&e.theme||t||n.theme},$_=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,J_=/(^-|-$)/g;function eE(e){return e.replace($_,"-").replace(J_,"")}var tE=function(e){return k_(A_(e)>>>0)};function nE(e){return"string"==typeof e&&!0}var rE=function(e){return"function"==typeof e||"object"==lo(e)&&null!==e&&!Array.isArray(e)},oE=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function iE(e,t,n){var r=e[n];rE(t)&&rE(r)?aE(r,t):e[n]=t}function aE(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(rE(a))for(var u in a)oE(u)&&iE(e,a[u],u)}return e}var uE=Uo.createContext();uE.Consumer;var sE={};function lE(e,t,n){var r=Jw(e),o=!nE(e),i=t.attrs,a=void 0===i?Xw:i,u=t.componentId,s=void 0===u?function(e,t){var n="string"!=typeof e?"sc":eE(e);sE[n]=(sE[n]||0)+1;var r=n+"-"+tE("5.3.5"+n+sE[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):u,l=t.displayName,c=void 0===l?function(e){return nE(e)?"styled."+e:"Styled("+$w(e)+")"}(e):l,f=t.displayName&&t.componentId?eE(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 O_(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=Zw);var r=Gw({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,a=e;for(t in Qw(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]}(Q_(t,Xr.exports.useContext(uE),a)||Zw,t,o),d=f[0],p=f[1],h=function(e,t,n,r){var o=j_(),i=z_();return t?e.generateAndInjectStyles(Zw,o,i):e.generateAndInjectStyles(n,o,i)}(i,r,d),v=n,m=p.$as||t.$as||p.as||t.as||c,g=nE(m),y=p!==t?Gw({},t,{},p):t,b={};for(var x in y)"$"!==x[0]&&"as"!==x&&("forwardedAs"===x?b.as=y[x]:(s?s(x,Yw,m):!g||Yw(x))&&(b[x]=y[x]));return t.style&&p.style!==t.style&&(b.style=Gw({},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,Xr.exports.createElement(m,b)}(h,e,t,m)};return g.displayName=c,(h=Uo.forwardRef(g)).attrs=d,h.componentStyle=v,h.displayName=c,h.shouldForwardProp=p,h.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Xw,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+"-"+(nE(e)?e:eE($w(e)));return lE(e,Gw({},o,{attrs:d,componentId:i}),n)},Object.defineProperty(h,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?aE({},e.defaultProps,t):t}}),h.toString=function(){return"."+h.styledComponentId},o&&wx(h,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),h}var cE=function(e){return function e(t,n,r){if(void 0===r&&(r=Zw),!Sw.exports.isValidElementType(n))return o_(1,String(n));var o=function(){return t(n,r,Z_.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,Gw({},r,{},o))},o.attrs=function(o){return e(t,n,Gw({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(lE,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){cE[e]=cE(e)}));var fE=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=T_(e),__.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var o=r(K_(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&&__.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function dE(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=Z_.apply(void 0,[e].concat(n)),i="sc-global-"+tE(JSON.stringify(o)),a=new fE(o,i);function u(e){var t=j_(),n=z_(),r=Xr.exports.useContext(uE),o=Xr.exports.useRef(t.allocateGSInstance(i)).current;return t.server&&s(o,e,t,r,n),Xr.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,r_,n,o);else{var i=Gw({},t,{theme:Q_(t,r,u.defaultProps)});a.renderStyles(e,i,n,o)}}return Uo.memo(u)}function pE(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=Z_.apply(void 0,[e].concat(n)).join(""),i=tE(o);return new U_(i,o)}var hE=Ir("s",cE),vE={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"},mE={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"},gE={colorBlue70:"#0056D3"},yE=Object.freeze(Object.defineProperty({__proto__:null,primaryColors:vE,neutralColors:mE,blueColors:gE},Symbol.toStringTag,{value:"Module"})),bE={"--ll-color-primary":vE.colorPrimary50,"--ll-color-primary-variant1":vE.colorPrimary40,"--ll-color-background":mE.colorNeutral100,"--ll-color-surface":mE.colorNeutral95,"--ll-color-surface-variant1":mE.colorNeutral90,"--ll-color-surface-variant2":mE.colorNeutral80,"--ll-color-on-primary":mE.colorNeutral100,"--ll-color-on-primary-variant1":mE.colorNeutral90,"--ll-color-on-background":mE.colorNeutral10,"--ll-color-on-background-variant1":mE.colorNeutral30,"--ll-color-on-surface":mE.colorNeutral10,"--ll-color-on-surface-variant1":mE.colorNeutral30,"--ll-color-placeholder":mE.colorNeutral60,"--ll-color-disabled":mE.colorNeutral60,"--ll-color-border":mE.colorNeutral90,"--ll-color-link":gE.colorBlue70},xE={"--ll-border-radius-small":"".concat(4,"px"),"--ll-border-radius-medium":"".concat(8,"px")},wE={"--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)"},_E=Gr(Gr(Gr(Gr(Gr(Gr(Gr({},bE),xE),{"--ll-shadow-small":"rgb(0 0 0 / 18%) 0px 2px 5px","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"}),wE),{"--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"}),EE=Gr(Gr({},_E),{},{"--ll-color-primary":vE.colorPrimary60,"--ll-color-primary-variant1":vE.colorPrimary50,"--ll-color-background":mE.colorNeutral10,"--ll-color-surface":mE.colorNeutral20,"--ll-color-surface-variant1":mE.colorNeutral30,"--ll-color-surface-variant2":mE.colorNeutral40,"--ll-color-on-primary":mE.colorNeutral100,"--ll-color-on-primary-variant1":mE.colorNeutral90,"--ll-color-on-background":mE.colorNeutral99,"--ll-color-on-background-variant1":mE.colorNeutral80,"--ll-color-on-surface":mE.colorNeutral80,"--ll-color-on-surface-variant1":mE.colorNeutral90,"--ll-color-placeholder":mE.colorNeutral70,"--ll-color-disabled":mE.colorNeutral70,"--ll-color-border":mE.colorNeutral30,"--ll-color-link":gE.colorBlue70}),SE=Object.keys(_E).reduce((function(e,t){return Gr(Gr({},e),{},Wr({},t,"var(".concat(t,")")))}),{}),kE={day:_E,night:EE},CE=dE(e||(e=zr(["\n :root {\n ",";\n }\n"])),(function(e){var t=e.themeName,n=e.overrides;return Gr(Gr({},kE[t||"day"]),n)})),AE={default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}},TE=Object.freeze(Object.defineProperty({__proto__:null,transitions:AE},Symbol.toStringTag,{value:"Module"})),PE=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"})),OE=Gr(Gr({colors:yE},TE),PE);hE.span(o||(o=zr(["\n display: inline-flex;\n color: ",";\n background-color: ",";\n border-radius: ",";\n line-height: 1;\n font-family: ",";\n font-size: ",";\n\n ",";\n"])),(function(e){return e.textColor}),(function(e){return e.backgroundColor}),SE["--ll-border-radius-small"],SE["--ll-font-family"],SE["--ll-font-size-caption-1"],(function(e){var o=e.size;return"small"===o?Z_(t||(t=zr(["\n padding: calc("," / 2) ",";\n "])),SE["--ll-spacing-xx-small"],SE["--ll-spacing-xx-small"]):"large"===o?Z_(n||(n=zr(["\n padding: calc("," / 2) ",";\n font-size: ",";\n "])),SE["--ll-spacing-small"],SE["--ll-spacing-medium"],SE["--ll-font-size-p"]):Z_(r||(r=zr(["\n padding: "," ",";\n "])),SE["--ll-spacing-xx-small"],SE["--ll-spacing-x-small"])})),Ir({I:4,y:SE,w:OE});var RE,DE={exports:{}},LE={};
21
+ var Ko=Xr.exports,Xo=Go.exports;function Zo(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 Qo=new Set,$o={};function Jo(e,t){ei(e,t),ei(e+"Capture",t)}function ei(e,t){for($o[e]=t,e=0;e<t.length;e++)Qo.add(t[e])}var ti=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ni=Object.prototype.hasOwnProperty,ri=/^[: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]*$/,oi={},ii={};function ai(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(lo(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 ui(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 si={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){si[e]=new ui(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];si[t]=new ui(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){si[e]=new ui(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){si[e]=new ui(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){si[e]=new ui(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){si[e]=new ui(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){si[e]=new ui(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){si[e]=new ui(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){si[e]=new ui(e,5,!1,e.toLowerCase(),null,!1,!1)}));var li=/[\-:]([a-z])/g;function ci(e){return e[1].toUpperCase()}function fi(e,t,n,r){var o=si.hasOwnProperty(t)?si[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(ai(t,n,o,r)&&(n=null),r||null===o?function(e){return!!ni.call(ii,e)||!ni.call(oi,e)&&(ri.test(e)?ii[e]=!0:(oi[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(li,ci);si[t]=new ui(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(li,ci);si[t]=new ui(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(li,ci);si[t]=new ui(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){si[e]=new ui(e,1,!1,e.toLowerCase(),null,!1,!1)})),si.xlinkHref=new ui("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){si[e]=new ui(e,1,!1,e.toLowerCase(),null,!0,!0)}));var di=Ko.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,pi=Symbol.for("react.element"),hi=Symbol.for("react.portal"),vi=Symbol.for("react.fragment"),mi=Symbol.for("react.strict_mode"),gi=Symbol.for("react.profiler"),yi=Symbol.for("react.provider"),bi=Symbol.for("react.context"),xi=Symbol.for("react.forward_ref"),wi=Symbol.for("react.suspense"),_i=Symbol.for("react.suspense_list"),Ei=Symbol.for("react.memo"),Si=Symbol.for("react.lazy"),ki=Symbol.for("react.offscreen"),Ci=Symbol.iterator;function Ai(e){return null===e||"object"!==lo(e)?null:"function"==typeof(e=Ci&&e[Ci]||e["@@iterator"])?e:null}var Ti,Pi=Object.assign;function Oi(e){if(void 0===Ti)try{throw Error()}catch(aU){var t=aU.stack.trim().match(/\n( *(at )?)/);Ti=t&&t[1]||""}return"\n"+Ti+e}var Ri=!1;function Di(e,t){if(!e||Ri)return"";Ri=!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":lo(Reflect))&&Reflect.construct){try{Reflect.construct(t,[])}catch(Mw){var r=Mw}Reflect.construct(e,[],t)}else{try{t.call()}catch(Mw){r=Mw}e.call(t.prototype)}else{try{throw Error()}catch(Mw){r=Mw}e()}}catch(Mw){if(Mw&&r&&"string"==typeof Mw.stack){for(var o=Mw.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{Ri=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Oi(e):""}function Li(e){switch(e.tag){case 5:return Oi(e.type);case 16:return Oi("Lazy");case 13:return Oi("Suspense");case 19:return Oi("SuspenseList");case 0:case 2:case 15:return e=Di(e.type,!1);case 11:return e=Di(e.type.render,!1);case 1:return e=Di(e.type,!0);default:return""}}function Mi(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 vi:return"Fragment";case hi:return"Portal";case gi:return"Profiler";case mi:return"StrictMode";case wi:return"Suspense";case _i:return"SuspenseList"}if("object"===lo(e))switch(e.$$typeof){case bi:return(e.displayName||"Context")+".Consumer";case yi:return(e._context.displayName||"Context")+".Provider";case xi:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Ei:return null!==(t=e.displayName||null)?t:Mi(e.type)||"Memo";case Si:t=e._payload,e=e._init;try{return Mi(e(t))}catch(aU){}}return null}function Ni(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 Mi(t);case 8:return t===mi?"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 Fi(e){switch(lo(e)){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Ii(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ji(e){e._valueTracker||(e._valueTracker=function(e){var t=Ii(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 zi(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ii(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Bi(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 Ui(e,t){var n=t.checked;return Pi({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Vi(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Fi(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 Hi(e,t){null!=(t=t.checked)&&fi(e,"checked",t,!1)}function qi(e,t){Hi(e,t);var n=Fi(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")?Gi(e,t.type,n):t.hasOwnProperty("defaultValue")&&Gi(e,t.type,Fi(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Yi(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 Gi(e,t,n){"number"===t&&Bi(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Wi=Array.isArray;function Ki(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=""+Fi(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 Xi(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(Zo(91));return Pi({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Zi(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(Zo(92));if(Wi(n)){if(1<n.length)throw Error(Zo(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Fi(n)}}function Qi(e,t){var n=Fi(t.value),r=Fi(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 $i(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function Ji(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 ea(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Ji(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ta,na=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((ta=ta||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ta.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function ra(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 oa={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},ia=["Webkit","ms","Moz","O"];function aa(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||oa.hasOwnProperty(e)&&oa[e]?(""+t).trim():t+"px"}function ua(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=aa(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(oa).forEach((function(e){ia.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),oa[t]=oa[e]}))}));var sa=Pi({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 la(e,t){if(t){if(sa[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(Zo(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(Zo(60));if("object"!==lo(t.dangerouslySetInnerHTML)||!("__html"in t.dangerouslySetInnerHTML))throw Error(Zo(61))}if(null!=t.style&&"object"!==lo(t.style))throw Error(Zo(62))}}function ca(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 fa=null;function da(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var pa=null,ha=null,va=null;function ma(e){if(e=lc(e)){if("function"!=typeof pa)throw Error(Zo(280));var t=e.stateNode;t&&(t=fc(t),pa(e.stateNode,e.type,t))}}function ga(e){ha?va?va.push(e):va=[e]:ha=e}function ya(){if(ha){var e=ha,t=va;if(va=ha=null,ma(e),t)for(e=0;e<t.length;e++)ma(t[e])}}function ba(e,t){return e(t)}function xa(){}var wa=!1;function _a(e,t,n){if(wa)return e(t,n);wa=!0;try{return ba(e,t,n)}finally{wa=!1,(null!==ha||null!==va)&&(xa(),ya())}}function Ea(e,t){var n=e.stateNode;if(null===n)return null;var r=fc(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(Zo(231,t,lo(n)));return n}var Sa=!1;if(ti)try{var ka={};Object.defineProperty(ka,"passive",{get:function(){Sa=!0}}),window.addEventListener("test",ka,ka),window.removeEventListener("test",ka,ka)}catch(oU){Sa=!1}function Ca(e,t,n,r,o,i,a,u,s){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(Nw){this.onError(Nw)}}var Aa=!1,Ta=null,Pa=!1,Oa=null,Ra={onError:function(e){Aa=!0,Ta=e}};function Da(e,t,n,r,o,i,a,u,s){Aa=!1,Ta=null,Ca.apply(Ra,arguments)}function La(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 Ma(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 Na(e){if(La(e)!==e)throw Error(Zo(188))}function Fa(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=La(e)))throw Error(Zo(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 Na(o),e;if(i===r)return Na(o),t;i=i.sibling}throw Error(Zo(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(Zo(189))}}if(n.alternate!==r)throw Error(Zo(190))}if(3!==n.tag)throw Error(Zo(188));return n.stateNode.current===n?e:t}(e),null!==e?Ia(e):null}function Ia(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ia(e);if(null!==t)return t;e=e.sibling}return null}var ja=Xo.unstable_scheduleCallback,za=Xo.unstable_cancelCallback,Ba=Xo.unstable_shouldYield,Ua=Xo.unstable_requestPaint,Va=Xo.unstable_now,Ha=Xo.unstable_getCurrentPriorityLevel,qa=Xo.unstable_ImmediatePriority,Ya=Xo.unstable_UserBlockingPriority,Ga=Xo.unstable_NormalPriority,Wa=Xo.unstable_LowPriority,Ka=Xo.unstable_IdlePriority,Xa=null,Za=null;var Qa=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-($a(e)/Ja|0)|0},$a=Math.log,Ja=Math.LN2;var eu=64,tu=4194304;function nu(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 ru(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=nu(u):0!==(i&=a)&&(r=nu(i))}else 0!==(a=n&~o)?r=nu(a):0!==i&&(r=nu(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-Qa(t)),r|=e[n],t&=~o;return r}function ou(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 iu(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function au(){var e=eu;return 0==(4194240&(eu<<=1))&&(eu=64),e}function uu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function su(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-Qa(t)]=n}function lu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Qa(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var cu=0;function fu(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var du,pu,hu,vu,mu,gu=!1,yu=[],bu=null,xu=null,wu=null,_u=new Map,Eu=new Map,Su=[],ku="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 Cu(e,t){switch(e){case"focusin":case"focusout":bu=null;break;case"dragenter":case"dragleave":xu=null;break;case"mouseover":case"mouseout":wu=null;break;case"pointerover":case"pointerout":_u.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Eu.delete(t.pointerId)}}function Au(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=lc(t))&&pu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Tu(e){var t=sc(e.target);if(null!==t){var n=La(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ma(n)))return e.blockedOn=t,void mu(e.priority,(function(){hu(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 Pu(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Bu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=lc(n))&&pu(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);fa=r,n.target.dispatchEvent(r),fa=null,t.shift()}return!0}function Ou(e,t,n){Pu(e)&&n.delete(t)}function Ru(){gu=!1,null!==bu&&Pu(bu)&&(bu=null),null!==xu&&Pu(xu)&&(xu=null),null!==wu&&Pu(wu)&&(wu=null),_u.forEach(Ou),Eu.forEach(Ou)}function Du(e,t){e.blockedOn===t&&(e.blockedOn=null,gu||(gu=!0,Xo.unstable_scheduleCallback(Xo.unstable_NormalPriority,Ru)))}function Lu(e){function t(t){return Du(t,e)}if(0<yu.length){Du(yu[0],e);for(var n=1;n<yu.length;n++){var r=yu[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==bu&&Du(bu,e),null!==xu&&Du(xu,e),null!==wu&&Du(wu,e),_u.forEach(t),Eu.forEach(t),n=0;n<Su.length;n++)(r=Su[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Su.length&&null===(n=Su[0]).blockedOn;)Tu(n),null===n.blockedOn&&Su.shift()}var Mu=di.ReactCurrentBatchConfig,Nu=!0;function Fu(e,t,n,r){var o=cu,i=Mu.transition;Mu.transition=null;try{cu=1,ju(e,t,n,r)}finally{cu=o,Mu.transition=i}}function Iu(e,t,n,r){var o=cu,i=Mu.transition;Mu.transition=null;try{cu=4,ju(e,t,n,r)}finally{cu=o,Mu.transition=i}}function ju(e,t,n,r){if(Nu){var o=Bu(e,t,n,r);if(null===o)Ml(e,t,r,zu,n),Cu(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return bu=Au(bu,e,t,n,r,o),!0;case"dragenter":return xu=Au(xu,e,t,n,r,o),!0;case"mouseover":return wu=Au(wu,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return _u.set(i,Au(_u.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Eu.set(i,Au(Eu.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Cu(e,r),4&t&&-1<ku.indexOf(e)){for(;null!==o;){var i=lc(o);if(null!==i&&du(i),null===(i=Bu(e,t,n,r))&&Ml(e,t,r,zu,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Ml(e,t,r,null,n)}}var zu=null;function Bu(e,t,n,r){if(zu=null,null!==(e=sc(e=da(r))))if(null===(t=La(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ma(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 zu=e,null}function Uu(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(Ha()){case qa:return 1;case Ya:return 4;case Ga:case Wa:return 16;case Ka:return 536870912;default:return 16}default:return 16}}var Vu=null,Hu=null,qu=null;function Yu(){if(qu)return qu;var e,t,n=Hu,r=n.length,o="value"in Vu?Vu.value:Vu.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 qu=o.slice(e,1<t?1-t:void 0)}function Gu(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 Wu(){return!0}function Ku(){return!1}function Xu(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)?Wu:Ku,this.isPropagationStopped=Ku,this}return Pi(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=Wu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Wu)},persist:function(){},isPersistent:Wu}),t}var Zu,Qu,$u,Ju={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},es=Xu(Ju),ts=Pi({},Ju,{view:0,detail:0}),ns=Xu(ts),rs=Pi({},ts,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vs,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!==$u&&($u&&"mousemove"===e.type?(Zu=e.screenX-$u.screenX,Qu=e.screenY-$u.screenY):Qu=Zu=0,$u=e),Zu)},movementY:function(e){return"movementY"in e?e.movementY:Qu}}),os=Xu(rs),is=Xu(Pi({},rs,{dataTransfer:0})),as=Xu(Pi({},ts,{relatedTarget:0})),us=Xu(Pi({},Ju,{animationName:0,elapsedTime:0,pseudoElement:0})),ss=Pi({},Ju,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ls=Xu(ss),cs=Xu(Pi({},Ju,{data:0})),fs={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ds={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"},ps={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hs(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=ps[e])&&!!t[e]}function vs(){return hs}var ms=Pi({},ts,{key:function(e){if(e.key){var t=fs[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Gu(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ds[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vs,charCode:function(e){return"keypress"===e.type?Gu(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Gu(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),gs=Xu(ms),ys=Xu(Pi({},rs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),bs=Xu(Pi({},ts,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vs})),xs=Xu(Pi({},Ju,{propertyName:0,elapsedTime:0,pseudoElement:0})),ws=Pi({},rs,{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}),_s=Xu(ws),Es=[9,13,27,32],Ss=ti&&"CompositionEvent"in window,ks=null;ti&&"documentMode"in document&&(ks=document.documentMode);var Cs=ti&&"TextEvent"in window&&!ks,As=ti&&(!Ss||ks&&8<ks&&11>=ks),Ts=String.fromCharCode(32),Ps=!1;function Os(e,t){switch(e){case"keyup":return-1!==Es.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rs(e){return"object"===lo(e=e.detail)&&"data"in e?e.data:null}var Ds=!1;var Ls={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 Ms(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Ls[e.type]:"textarea"===t}function Ns(e,t,n,r){ga(r),0<(t=Fl(t,"onChange")).length&&(n=new es("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Fs=null,Is=null;function js(e){Tl(e,0)}function zs(e){if(zi(cc(e)))return e}function Bs(e,t){if("change"===e)return t}var Us=!1;if(ti){var Vs;if(ti){var Hs="oninput"in document;if(!Hs){var qs=document.createElement("div");qs.setAttribute("oninput","return;"),Hs="function"==typeof qs.oninput}Vs=Hs}else Vs=!1;Us=Vs&&(!document.documentMode||9<document.documentMode)}function Ys(){Fs&&(Fs.detachEvent("onpropertychange",Gs),Is=Fs=null)}function Gs(e){if("value"===e.propertyName&&zs(Is)){var t=[];Ns(t,Is,e,da(e)),_a(js,t)}}function Ws(e,t,n){"focusin"===e?(Ys(),Is=n,(Fs=t).attachEvent("onpropertychange",Gs)):"focusout"===e&&Ys()}function Ks(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return zs(Is)}function Xs(e,t){if("click"===e)return zs(t)}function Zs(e,t){if("input"===e||"change"===e)return zs(t)}var Qs="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function $s(e,t){if(Qs(e,t))return!0;if("object"!==lo(e)||null===e||"object"!==lo(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(!ni.call(t,o)||!Qs(e[o],t[o]))return!1}return!0}function Js(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function el(e,t){var n,r=Js(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=Js(r)}}function tl(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?tl(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function nl(){for(var e=window,t=Bi();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(Tw){n=!1}if(!n)break;t=Bi((e=t.contentWindow).document)}return t}function rl(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 ol(e){var t=nl(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&tl(n.ownerDocument.documentElement,n)){if(null!==r&&rl(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=el(n,i);var a=el(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 il=ti&&"documentMode"in document&&11>=document.documentMode,al=null,ul=null,sl=null,ll=!1;function cl(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;ll||null==al||al!==Bi(r)||("selectionStart"in(r=al)&&rl(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},sl&&$s(sl,r)||(sl=r,0<(r=Fl(ul,"onSelect")).length&&(t=new es("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=al)))}function fl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var dl={animationend:fl("Animation","AnimationEnd"),animationiteration:fl("Animation","AnimationIteration"),animationstart:fl("Animation","AnimationStart"),transitionend:fl("Transition","TransitionEnd")},pl={},hl={};function vl(e){if(pl[e])return pl[e];if(!dl[e])return e;var t,n=dl[e];for(t in n)if(n.hasOwnProperty(t)&&t in hl)return pl[e]=n[t];return e}ti&&(hl=document.createElement("div").style,"AnimationEvent"in window||(delete dl.animationend.animation,delete dl.animationiteration.animation,delete dl.animationstart.animation),"TransitionEvent"in window||delete dl.transitionend.transition);var ml=vl("animationend"),gl=vl("animationiteration"),yl=vl("animationstart"),bl=vl("transitionend"),xl=new Map,wl="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 _l(e,t){xl.set(e,t),Jo(t,[e])}for(var El=0;El<wl.length;El++){var Sl=wl[El];_l(Sl.toLowerCase(),"on"+(Sl[0].toUpperCase()+Sl.slice(1)))}_l(ml,"onAnimationEnd"),_l(gl,"onAnimationIteration"),_l(yl,"onAnimationStart"),_l("dblclick","onDoubleClick"),_l("focusin","onFocus"),_l("focusout","onBlur"),_l(bl,"onTransitionEnd"),ei("onMouseEnter",["mouseout","mouseover"]),ei("onMouseLeave",["mouseout","mouseover"]),ei("onPointerEnter",["pointerout","pointerover"]),ei("onPointerLeave",["pointerout","pointerover"]),Jo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Jo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Jo("onBeforeInput",["compositionend","keypress","textInput","paste"]),Jo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Jo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Jo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kl="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(" "),Cl=new Set("cancel close invalid load scroll toggle".split(" ").concat(kl));function Al(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,u,s){if(Da.apply(this,arguments),Aa){if(!Aa)throw Error(Zo(198));var l=Ta;Aa=!1,Ta=null,Pa||(Pa=!0,Oa=l)}}(r,t,void 0,e),e.currentTarget=null}function Tl(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;Al(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;Al(o,u,l),i=s}}}if(Pa)throw e=Oa,Pa=!1,Oa=null,e}function Pl(e,t){var n=t[ic];void 0===n&&(n=t[ic]=new Set);var r=e+"__bubble";n.has(r)||(Ll(t,e,2,!1),n.add(r))}function Ol(e,t,n){var r=0;t&&(r|=4),Ll(n,e,r,t)}var Rl="_reactListening"+Math.random().toString(36).slice(2);function Dl(e){if(!e[Rl]){e[Rl]=!0,Qo.forEach((function(t){"selectionchange"!==t&&(Cl.has(t)||Ol(t,!1,e),Ol(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Rl]||(t[Rl]=!0,Ol("selectionchange",!1,t))}}function Ll(e,t,n,r){switch(Uu(t)){case 1:var o=Fu;break;case 4:o=Iu;break;default:o=ju}n=o.bind(null,t,n,e),o=void 0,!Sa||"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 Ml(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=sc(u)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}u=u.parentNode}}r=r.return}_a((function(){var r=i,o=da(n),a=[];e:{var u=xl.get(e);if(void 0!==u){var s=es,l=e;switch(e){case"keypress":if(0===Gu(n))break e;case"keydown":case"keyup":s=gs;break;case"focusin":l="focus",s=as;break;case"focusout":l="blur",s=as;break;case"beforeblur":case"afterblur":s=as;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=os;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=is;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=bs;break;case ml:case gl:case yl:s=us;break;case bl:s=xs;break;case"scroll":s=ns;break;case"wheel":s=_s;break;case"copy":case"cut":case"paste":s=ls;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=ys}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=Ea(h,d))&&c.push(Nl(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===fa||!(l=n.relatedTarget||n.fromElement)||!sc(l)&&!l[oc])&&(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)?sc(l):null)&&(l!==(f=La(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(s=null,l=r),s!==l)){if(c=os,v="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=ys,v="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==s?u:cc(s),p=null==l?u:cc(l),(u=new c(v,h+"leave",s,n,o)).target=f,u.relatedTarget=p,v=null,sc(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=Il(p))h++;for(p=0,v=d;v;v=Il(v))p++;for(;0<h-p;)c=Il(c),h--;for(;0<p-h;)d=Il(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Il(c),d=Il(d)}c=null}else c=null;null!==s&&jl(a,u,s,c,!1),null!==l&&null!==f&&jl(a,f,l,c,!0)}if("select"===(s=(u=r?cc(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===s&&"file"===u.type)var m=Bs;else if(Ms(u))if(Us)m=Zs;else{m=Ks;var g=Ws}else(s=u.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(m=Xs);switch(m&&(m=m(e,r))?Ns(a,m,n,o):(g&&g(e,u,r),"focusout"===e&&(g=u._wrapperState)&&g.controlled&&"number"===u.type&&Gi(u,"number",u.value)),g=r?cc(r):window,e){case"focusin":(Ms(g)||"true"===g.contentEditable)&&(al=g,ul=r,sl=null);break;case"focusout":sl=ul=al=null;break;case"mousedown":ll=!0;break;case"contextmenu":case"mouseup":case"dragend":ll=!1,cl(a,n,o);break;case"selectionchange":if(il)break;case"keydown":case"keyup":cl(a,n,o)}var y;if(Ss)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 Ds?Os(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(As&&"ko"!==n.locale&&(Ds||"onCompositionStart"!==b?"onCompositionEnd"===b&&Ds&&(y=Yu()):(Hu="value"in(Vu=o)?Vu.value:Vu.textContent,Ds=!0)),0<(g=Fl(r,b)).length&&(b=new cs(b,e,null,n,o),a.push({event:b,listeners:g}),y?b.data=y:null!==(y=Rs(n))&&(b.data=y))),(y=Cs?function(e,t){switch(e){case"compositionend":return Rs(t);case"keypress":return 32!==t.which?null:(Ps=!0,Ts);case"textInput":return(e=t.data)===Ts&&Ps?null:e;default:return null}}(e,n):function(e,t){if(Ds)return"compositionend"===e||!Ss&&Os(e,t)?(e=Yu(),qu=Hu=Vu=null,Ds=!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 As&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Fl(r,"onBeforeInput")).length&&(o=new cs("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}Tl(a,t)}))}function Nl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Fl(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=Ea(e,n))&&r.unshift(Nl(e,i,o)),null!=(i=Ea(e,t))&&r.push(Nl(e,i,o))),e=e.return}return r}function Il(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function jl(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=Ea(n,i))&&a.unshift(Nl(n,s,u)):o||null!=(s=Ea(n,i))&&a.push(Nl(n,s,u))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var zl=/\r\n?/g,Bl=/\u0000|\uFFFD/g;function Ul(e){return("string"==typeof e?e:""+e).replace(zl,"\n").replace(Bl,"")}function Vl(e,t,n){if(t=Ul(t),Ul(e)!==t&&n)throw Error(Zo(425))}function Hl(){}var ql=null,Yl=null;function Gl(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"===lo(t.dangerouslySetInnerHTML)&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Wl="function"==typeof setTimeout?setTimeout:void 0,Kl="function"==typeof clearTimeout?clearTimeout:void 0,Xl="function"==typeof Promise?Promise:void 0,Zl="function"==typeof queueMicrotask?queueMicrotask:void 0!==Xl?function(e){return Xl.resolve(null).then(e).catch(Ql)}:Wl;function Ql(e){setTimeout((function(){throw e}))}function $l(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 Lu(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Lu(t)}function Jl(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 ec(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 tc=Math.random().toString(36).slice(2),nc="__reactFiber$"+tc,rc="__reactProps$"+tc,oc="__reactContainer$"+tc,ic="__reactEvents$"+tc,ac="__reactListeners$"+tc,uc="__reactHandles$"+tc;function sc(e){var t=e[nc];if(t)return t;for(var n=e.parentNode;n;){if(t=n[oc]||n[nc]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ec(e);null!==e;){if(n=e[nc])return n;e=ec(e)}return t}n=(e=n).parentNode}return null}function lc(e){return!(e=e[nc]||e[oc])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function cc(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(Zo(33))}function fc(e){return e[rc]||null}var dc=[],pc=-1;function hc(e){return{current:e}}function vc(e){0>pc||(e.current=dc[pc],dc[pc]=null,pc--)}function mc(e,t){pc++,dc[pc]=e.current,e.current=t}var gc={},yc=hc(gc),bc=hc(!1),xc=gc;function wc(e,t){var n=e.type.contextTypes;if(!n)return gc;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 _c(e){return null!=(e=e.childContextTypes)}function Ec(){vc(bc),vc(yc)}function Sc(e,t,n){if(yc.current!==gc)throw Error(Zo(168));mc(yc,t),mc(bc,n)}function kc(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(Zo(108,Ni(e)||"Unknown",o));return Pi({},n,r)}function Cc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gc,xc=yc.current,mc(yc,e),mc(bc,bc.current),!0}function Ac(e,t,n){var r=e.stateNode;if(!r)throw Error(Zo(169));n?(e=kc(e,t,xc),r.__reactInternalMemoizedMergedChildContext=e,vc(bc),vc(yc),mc(yc,e)):vc(bc),mc(bc,n)}var Tc=null,Pc=!1,Oc=!1;function Rc(e){null===Tc?Tc=[e]:Tc.push(e)}function Dc(){if(!Oc&&null!==Tc){Oc=!0;var e=0,t=cu;try{var n=Tc;for(cu=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Tc=null,Pc=!1}catch(Pw){throw null!==Tc&&(Tc=Tc.slice(e+1)),ja(qa,Dc),Pw}finally{cu=t,Oc=!1}}return null}var Lc=[],Mc=0,Nc=null,Fc=0,Ic=[],jc=0,zc=null,Bc=1,Uc="";function Vc(e,t){Lc[Mc++]=Fc,Lc[Mc++]=Nc,Nc=e,Fc=t}function Hc(e,t,n){Ic[jc++]=Bc,Ic[jc++]=Uc,Ic[jc++]=zc,zc=e;var r=Bc;e=Uc;var o=32-Qa(r)-1;r&=~(1<<o),n+=1;var i=32-Qa(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Bc=1<<32-Qa(t)+o|n<<o|r,Uc=i+e}else Bc=1<<i|n<<o|r,Uc=e}function qc(e){null!==e.return&&(Vc(e,1),Hc(e,1,0))}function Yc(e){for(;e===Nc;)Nc=Lc[--Mc],Lc[Mc]=null,Fc=Lc[--Mc],Lc[Mc]=null;for(;e===zc;)zc=Ic[--jc],Ic[jc]=null,Uc=Ic[--jc],Ic[jc]=null,Bc=Ic[--jc],Ic[jc]=null}var Gc=null,Wc=null,Kc=!1,Xc=null;function Zc(e,t){var n=wv(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 Qc(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,Gc=e,Wc=Jl(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Gc=e,Wc=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==zc?{id:Bc,overflow:Uc}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=wv(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Gc=e,Wc=null,!0);default:return!1}}function $c(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function Jc(e){if(Kc){var t=Wc;if(t){var n=t;if(!Qc(e,t)){if($c(e))throw Error(Zo(418));t=Jl(n.nextSibling);var r=Gc;t&&Qc(e,t)?Zc(r,n):(e.flags=-4097&e.flags|2,Kc=!1,Gc=e)}}else{if($c(e))throw Error(Zo(418));e.flags=-4097&e.flags|2,Kc=!1,Gc=e}}}function ef(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Gc=e}function tf(e){if(e!==Gc)return!1;if(!Kc)return ef(e),Kc=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Gl(e.type,e.memoizedProps)),t&&(t=Wc)){if($c(e))throw nf(),Error(Zo(418));for(;t;)Zc(e,t),t=Jl(t.nextSibling)}if(ef(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(Zo(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Wc=Jl(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Wc=null}}else Wc=Gc?Jl(e.stateNode.nextSibling):null;return!0}function nf(){for(var e=Wc;e;)e=Jl(e.nextSibling)}function rf(){Wc=Gc=null,Kc=!1}function of(e){null===Xc?Xc=[e]:Xc.push(e)}var af=di.ReactCurrentBatchConfig;function uf(e,t){if(e&&e.defaultProps){for(var n in t=Pi({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var sf=hc(null),lf=null,cf=null,ff=null;function df(){ff=cf=lf=null}function pf(e){var t=sf.current;vc(sf),e._currentValue=t}function hf(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 vf(e,t){lf=e,ff=cf=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(cp=!0),e.firstContext=null)}function mf(e){var t=e._currentValue;if(ff!==e)if(e={context:e,memoizedValue:t,next:null},null===cf){if(null===lf)throw Error(Zo(308));cf=e,lf.dependencies={lanes:0,firstContext:e}}else cf=cf.next=e;return t}var gf=null;function yf(e){null===gf?gf=[e]:gf.push(e)}function bf(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,yf(t)):(n.next=o.next,o.next=n),t.interleaved=n,xf(e,r)}function xf(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 wf=!1;function _f(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ef(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 Sf(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function kf(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&yh)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,xf(e,n)}return null===(o=r.interleaved)?(t.next=t,yf(r)):(t.next=o.next,o.next=t),r.interleaved=t,xf(e,n)}function Cf(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,lu(e,n)}}function Af(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 Tf(e,t,n,r){var o=e.updateQueue;wf=!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=Pi({},f,d);break e;case 2:wf=!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);Ch|=a,e.lanes=a,e.memoizedState=f}}function Pf(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(Zo(191,o));o.call(r)}}}var Of=(new Ko.Component).refs;function Rf(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Pi({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Df={isMounted:function(e){return!!(e=e._reactInternals)&&La(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=qh(),o=Yh(e),i=Sf(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=kf(e,i,o))&&(Gh(t,e,o,r),Cf(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=qh(),o=Yh(e),i=Sf(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=kf(e,i,o))&&(Gh(t,e,o,r),Cf(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=qh(),r=Yh(e),o=Sf(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=kf(e,o,r))&&(Gh(t,e,r,n),Cf(t,e,r))}};function Lf(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!$s(n,r)||!$s(o,i))}function Mf(e,t,n){var r=!1,o=gc,i=t.contextType;return"object"===lo(i)&&null!==i?i=mf(i):(o=_c(t)?xc:yc.current,i=(r=null!=(r=t.contextTypes))?wc(e,o):gc),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Df,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Nf(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&&Df.enqueueReplaceState(t,t.state,null)}function Ff(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Of,_f(e);var i=t.contextType;"object"===lo(i)&&null!==i?o.context=mf(i):(i=_c(t)?xc:yc.current,o.context=wc(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Rf(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&&Df.enqueueReplaceState(o,o.state,null),Tf(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function If(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!==lo(e)){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(Zo(309));var r=n.stateNode}if(!r)throw Error(Zo(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===Of&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(Zo(284));if(!n._owner)throw Error(Zo(290,e))}return e}function jf(e,t){throw e=Object.prototype.toString.call(t),Error(Zo(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function zf(e){return(0,e._init)(e._payload)}function Bf(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=Ev(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=Av(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===vi?c(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===lo(i)&&null!==i&&i.$$typeof===Si&&zf(i)===t.type)?((r=o(t,n.props)).ref=If(e,t,n),r.return=e,r):((r=Sv(n.type,n.key,n.props,null,e.mode,r)).ref=If(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=Tv(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=kv(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=Av(""+t,e.mode,n)).return=e,t;if("object"===lo(t)&&null!==t){switch(t.$$typeof){case pi:return(n=Sv(t.type,t.key,t.props,null,e.mode,n)).ref=If(e,null,t),n.return=e,n;case hi:return(t=Tv(t,e.mode,n)).return=e,t;case Si:return f(e,(0,t._init)(t._payload),n)}if(Wi(t)||Ai(t))return(t=kv(t,e.mode,n,null)).return=e,t;jf(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"===lo(n)&&null!==n){switch(n.$$typeof){case pi:return n.key===o?s(e,t,n,r):null;case hi:return n.key===o?l(e,t,n,r):null;case Si:return d(e,t,(o=n._init)(n._payload),r)}if(Wi(n)||Ai(n))return null!==o?null:c(e,t,n,r,null);jf(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"===lo(r)&&null!==r){switch(r.$$typeof){case pi:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case hi:return l(t,e=e.get(null===r.key?n:r.key)||null,r,o);case Si:return p(e,t,n,(0,r._init)(r._payload),o)}if(Wi(r)||Ai(r))return c(t,e=e.get(n)||null,r,o,null);jf(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),Kc&&Vc(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 Kc&&Vc(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)})),Kc&&Vc(o,v),l}function v(o,a,u,s){var l=Ai(u);if("function"!=typeof l)throw Error(Zo(150));if(null==(u=l.call(u)))throw Error(Zo(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),Kc&&Vc(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 Kc&&Vc(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)})),Kc&&Vc(o,v),l}return function e(r,i,u,s){if("object"===lo(u)&&null!==u&&u.type===vi&&null===u.key&&(u=u.props.children),"object"===lo(u)&&null!==u){switch(u.$$typeof){case pi:e:{for(var l=u.key,c=i;null!==c;){if(c.key===l){if((l=u.type)===vi){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"===lo(l)&&null!==l&&l.$$typeof===Si&&zf(l)===c.type){n(r,c.sibling),(i=o(c,u.props)).ref=If(r,c,u),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}u.type===vi?((i=kv(u.props.children,r.mode,s,u.key)).return=r,r=i):((s=Sv(u.type,u.key,u.props,null,r.mode,s)).ref=If(r,i,u),s.return=r,r=s)}return a(r);case hi: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=Tv(u,r.mode,s)).return=r,r=i}return a(r);case Si:return e(r,i,(c=u._init)(u._payload),s)}if(Wi(u))return h(r,i,u,s);if(Ai(u))return v(r,i,u,s);jf(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=Av(u,r.mode,s)).return=r,r=i),a(r)):n(r,i)}}var Uf=Bf(!0),Vf=Bf(!1),Hf={},qf=hc(Hf),Yf=hc(Hf),Gf=hc(Hf);function Wf(e){if(e===Hf)throw Error(Zo(174));return e}function Kf(e,t){switch(mc(Gf,t),mc(Yf,e),mc(qf,Hf),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ea(null,"");break;default:t=ea(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}vc(qf),mc(qf,t)}function Xf(){vc(qf),vc(Yf),vc(Gf)}function Zf(e){Wf(Gf.current);var t=Wf(qf.current),n=ea(t,e.type);t!==n&&(mc(Yf,e),mc(qf,n))}function Qf(e){Yf.current===e&&(vc(qf),vc(Yf))}var $f=hc(0);function Jf(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 ed=[];function td(){for(var e=0;e<ed.length;e++)ed[e]._workInProgressVersionPrimary=null;ed.length=0}var nd=di.ReactCurrentDispatcher,rd=di.ReactCurrentBatchConfig,od=0,id=null,ad=null,ud=null,sd=!1,ld=!1,cd=0,fd=0;function dd(){throw Error(Zo(321))}function pd(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Qs(e[n],t[n]))return!1;return!0}function hd(e,t,n,r,o,i){if(od=i,id=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,nd.current=null===e||null===e.memoizedState?Qd:$d,e=n(r,o),ld){i=0;do{if(ld=!1,cd=0,25<=i)throw Error(Zo(301));i+=1,ud=ad=null,t.updateQueue=null,nd.current=Jd,e=n(r,o)}while(ld)}if(nd.current=Zd,t=null!==ad&&null!==ad.next,od=0,ud=ad=id=null,sd=!1,t)throw Error(Zo(300));return e}function vd(){var e=0!==cd;return cd=0,e}function md(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ud?id.memoizedState=ud=e:ud=ud.next=e,ud}function gd(){if(null===ad){var e=id.alternate;e=null!==e?e.memoizedState:null}else e=ad.next;var t=null===ud?id.memoizedState:ud.next;if(null!==t)ud=t,ad=e;else{if(null===e)throw Error(Zo(310));e={memoizedState:(ad=e).memoizedState,baseState:ad.baseState,baseQueue:ad.baseQueue,queue:ad.queue,next:null},null===ud?id.memoizedState=ud=e:ud=ud.next=e}return ud}function yd(e,t){return"function"==typeof t?t(e):t}function bd(e){var t=gd(),n=t.queue;if(null===n)throw Error(Zo(311));n.lastRenderedReducer=e;var r=ad,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((od&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,id.lanes|=c,Ch|=c}l=l.next}while(null!==l&&l!==i);null===s?a=r:s.next=u,Qs(r,t.memoizedState)||(cp=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,id.lanes|=i,Ch|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function xd(e){var t=gd(),n=t.queue;if(null===n)throw Error(Zo(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);Qs(i,t.memoizedState)||(cp=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function wd(){}function _d(e,t){var n=id,r=gd(),o=t(),i=!Qs(r.memoizedState,o);if(i&&(r.memoizedState=o,cp=!0),r=r.queue,Md(kd.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==ud&&1&ud.memoizedState.tag){if(n.flags|=2048,Pd(9,Sd.bind(null,n,r,o,t),void 0,null),null===bh)throw Error(Zo(349));0!=(30&od)||Ed(n,t,o)}return o}function Ed(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=id.updateQueue)?(t={lastEffect:null,stores:null},id.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Sd(e,t,n,r){t.value=n,t.getSnapshot=r,Cd(t)&&Ad(e)}function kd(e,t,n){return n((function(){Cd(t)&&Ad(e)}))}function Cd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Qs(e,n)}catch(Tw){return!0}}function Ad(e){var t=xf(e,1);null!==t&&Gh(t,e,1,-1)}function Td(e){var t=md();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:yd,lastRenderedState:e},t.queue=e,e=e.dispatch=Gd.bind(null,id,e),[t.memoizedState,e]}function Pd(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=id.updateQueue)?(t={lastEffect:null,stores:null},id.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 Od(){return gd().memoizedState}function Rd(e,t,n,r){var o=md();id.flags|=e,o.memoizedState=Pd(1|t,n,void 0,void 0===r?null:r)}function Dd(e,t,n,r){var o=gd();r=void 0===r?null:r;var i=void 0;if(null!==ad){var a=ad.memoizedState;if(i=a.destroy,null!==r&&pd(r,a.deps))return void(o.memoizedState=Pd(t,n,i,r))}id.flags|=e,o.memoizedState=Pd(1|t,n,i,r)}function Ld(e,t){return Rd(8390656,8,e,t)}function Md(e,t){return Dd(2048,8,e,t)}function Nd(e,t){return Dd(4,2,e,t)}function Fd(e,t){return Dd(4,4,e,t)}function Id(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 jd(e,t,n){return n=null!=n?n.concat([e]):null,Dd(4,4,Id.bind(null,t,e),n)}function zd(){}function Bd(e,t){var n=gd();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&pd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ud(e,t){var n=gd();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&pd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Vd(e,t,n){return 0==(21&od)?(e.baseState&&(e.baseState=!1,cp=!0),e.memoizedState=n):(Qs(n,t)||(n=au(),id.lanes|=n,Ch|=n,e.baseState=!0),t)}function Hd(e,t){var n=cu;cu=0!==n&&4>n?n:4,e(!0);var r=rd.transition;rd.transition={};try{e(!1),t()}finally{cu=n,rd.transition=r}}function qd(){return gd().memoizedState}function Yd(e,t,n){var r=Yh(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Wd(e))Kd(t,n);else if(null!==(n=bf(e,t,n,r))){Gh(n,e,r,qh()),Xd(n,t,r)}}function Gd(e,t,n){var r=Yh(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Wd(e))Kd(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,Qs(u,a)){var s=t.interleaved;return null===s?(o.next=o,yf(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(Mw){}null!==(n=bf(e,t,o,r))&&(Gh(n,e,r,o=qh()),Xd(n,t,r))}}function Wd(e){var t=e.alternate;return e===id||null!==t&&t===id}function Kd(e,t){ld=sd=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Xd(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,lu(e,n)}}var Zd={readContext:mf,useCallback:dd,useContext:dd,useEffect:dd,useImperativeHandle:dd,useInsertionEffect:dd,useLayoutEffect:dd,useMemo:dd,useReducer:dd,useRef:dd,useState:dd,useDebugValue:dd,useDeferredValue:dd,useTransition:dd,useMutableSource:dd,useSyncExternalStore:dd,useId:dd,unstable_isNewReconciler:!1},Qd={readContext:mf,useCallback:function(e,t){return md().memoizedState=[e,void 0===t?null:t],e},useContext:mf,useEffect:Ld,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Rd(4194308,4,Id.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Rd(4194308,4,e,t)},useInsertionEffect:function(e,t){return Rd(4,2,e,t)},useMemo:function(e,t){var n=md();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=md();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=Yd.bind(null,id,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},md().memoizedState=e},useState:Td,useDebugValue:zd,useDeferredValue:function(e){return md().memoizedState=e},useTransition:function(){var e=Td(!1),t=e[0];return e=Hd.bind(null,e[1]),md().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=id,o=md();if(Kc){if(void 0===n)throw Error(Zo(407));n=n()}else{if(n=t(),null===bh)throw Error(Zo(349));0!=(30&od)||Ed(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Ld(kd.bind(null,r,i,e),[e]),r.flags|=2048,Pd(9,Sd.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=md(),t=bh.identifierPrefix;if(Kc){var n=Uc;t=":"+t+"R"+(n=(Bc&~(1<<32-Qa(Bc)-1)).toString(32)+n),0<(n=cd++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=fd++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},$d={readContext:mf,useCallback:Bd,useContext:mf,useEffect:Md,useImperativeHandle:jd,useInsertionEffect:Nd,useLayoutEffect:Fd,useMemo:Ud,useReducer:bd,useRef:Od,useState:function(){return bd(yd)},useDebugValue:zd,useDeferredValue:function(e){return Vd(gd(),ad.memoizedState,e)},useTransition:function(){return[bd(yd)[0],gd().memoizedState]},useMutableSource:wd,useSyncExternalStore:_d,useId:qd,unstable_isNewReconciler:!1},Jd={readContext:mf,useCallback:Bd,useContext:mf,useEffect:Md,useImperativeHandle:jd,useInsertionEffect:Nd,useLayoutEffect:Fd,useMemo:Ud,useReducer:xd,useRef:Od,useState:function(){return xd(yd)},useDebugValue:zd,useDeferredValue:function(e){var t=gd();return null===ad?t.memoizedState=e:Vd(t,ad.memoizedState,e)},useTransition:function(){return[xd(yd)[0],gd().memoizedState]},useMutableSource:wd,useSyncExternalStore:_d,useId:qd,unstable_isNewReconciler:!1};function ep(e,t){try{var n="",r=t;do{n+=Li(r),r=r.return}while(r);var o=n}catch(Ow){o="\nError generating stack: "+Ow.message+"\n"+Ow.stack}return{value:e,source:t,stack:o,digest:null}}function tp(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function np(e,t){try{console.error(t.value)}catch(aU){setTimeout((function(){throw aU}))}}var rp="function"==typeof WeakMap?WeakMap:Map;function op(e,t,n){(n=Sf(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Mh||(Mh=!0,Nh=r),np(0,t)},n}function ip(e,t,n){(n=Sf(-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(){np(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){np(0,t),"function"!=typeof r&&(null===Fh?Fh=new Set([this]):Fh.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ap(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new rp;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=vv.bind(null,e,t,n),t.then(e,e))}function up(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 sp(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=Sf(-1,1)).tag=2,kf(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var lp=di.ReactCurrentOwner,cp=!1;function fp(e,t,n,r){t.child=null===e?Vf(t,null,n,r):Uf(t,e.child,n,r)}function dp(e,t,n,r,o){n=n.render;var i=t.ref;return vf(t,o),r=hd(e,t,n,r,i,o),n=vd(),null===e||cp?(Kc&&n&&qc(t),t.flags|=1,fp(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Mp(e,t,o))}function pp(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||_v(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Sv(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,hp(e,t,i,r,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:$s)(a,r)&&e.ref===t.ref)return Mp(e,t,o)}return t.flags|=1,(e=Ev(i,r)).ref=t.ref,e.return=t,t.child=e}function hp(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if($s(i,r)&&e.ref===t.ref){if(cp=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,Mp(e,t,o);0!=(131072&e.flags)&&(cp=!0)}}return gp(e,t,n,r,o)}function vp(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},mc(Eh,_h),_h|=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,mc(Eh,_h),_h|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,mc(Eh,_h),_h|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,mc(Eh,_h),_h|=r;return fp(e,t,o,n),t.child}function mp(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function gp(e,t,n,r,o){var i=_c(n)?xc:yc.current;return i=wc(t,i),vf(t,o),n=hd(e,t,n,r,i,o),r=vd(),null===e||cp?(Kc&&r&&qc(t),t.flags|=1,fp(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Mp(e,t,o))}function yp(e,t,n,r,o){if(_c(n)){var i=!0;Cc(t)}else i=!1;if(vf(t,o),null===t.stateNode)Lp(e,t),Mf(t,n,r),Ff(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"===lo(l)&&null!==l?l=mf(l):l=wc(t,l=_c(n)?xc:yc.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)&&Nf(t,a,r,l),wf=!1;var d=t.memoizedState;a.state=d,Tf(t,r,a,o),s=t.memoizedState,u!==r||d!==s||bc.current||wf?("function"==typeof c&&(Rf(t,n,c,r),s=t.memoizedState),(u=wf||Lf(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,Ef(e,t),u=t.memoizedProps,l=t.type===t.elementType?u:uf(t.type,u),a.props=l,f=t.pendingProps,d=a.context,"object"===lo(s=n.contextType)&&null!==s?s=mf(s):s=wc(t,s=_c(n)?xc:yc.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)&&Nf(t,a,r,s),wf=!1,d=t.memoizedState,a.state=d,Tf(t,r,a,o);var h=t.memoizedState;u!==f||d!==h||bc.current||wf?("function"==typeof p&&(Rf(t,n,p,r),h=t.memoizedState),(l=wf||Lf(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 bp(e,t,n,r,i,o)}function bp(e,t,n,r,o,i){mp(e,t);var a=0!=(128&t.flags);if(!r&&!a)return o&&Ac(t,n,!1),Mp(e,t,i);r=t.stateNode,lp.current=t;var u=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Uf(t,e.child,null,i),t.child=Uf(t,null,u,i)):fp(e,t,u,i),t.memoizedState=r.state,o&&Ac(t,n,!0),t.child}function xp(e){var t=e.stateNode;t.pendingContext?Sc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Sc(0,t.context,!1),Kf(e,t.containerInfo)}function wp(e,t,n,r,o){return rf(),of(o),t.flags|=256,fp(e,t,n,r),t.child}var _p,Ep,Sp,kp={dehydrated:null,treeContext:null,retryLane:0};function Cp(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ap(e,t,n){var r,o=t.pendingProps,i=$f.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),mc($f,1&i),null===e)return Jc(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=Cv(u,o,0,null),e=kv(e,o,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Cp(n),t.memoizedState=kp,e):Tp(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,Pp(e,t,a,r=tp(Error(Zo(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Cv({mode:"visible",children:r.children},o,0,null),(i=kv(i,o,a,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Uf(t,e.child,null,a),t.child.memoizedState=Cp(a),t.memoizedState=kp,i);if(0==(1&t.mode))return Pp(e,t,a,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var u=r.dgst;return r=u,Pp(e,t,a,r=tp(i=Error(Zo(419)),r,void 0))}if(u=0!=(a&e.childLanes),cp||u){if(null!==(r=bh)){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,xf(e,o),Gh(r,e,o,-1))}return iv(),Pp(e,t,a,r=tp(Error(Zo(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=gv.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Wc=Jl(o.nextSibling),Gc=t,Kc=!0,Xc=null,null!==e&&(Ic[jc++]=Bc,Ic[jc++]=Uc,Ic[jc++]=zc,Bc=e.id,Uc=e.overflow,zc=t),(t=Tp(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=Ev(i,s)).subtreeFlags=14680064&i.subtreeFlags,null!==r?a=Ev(r,a):(a=kv(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)?Cp(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},a.memoizedState=u,a.childLanes=e.childLanes&~n,t.memoizedState=kp,o}return e=(a=e.child).sibling,o=Ev(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 Tp(e,t){return(t=Cv({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Pp(e,t,n,r){return null!==r&&of(r),Uf(t,e.child,null,n),(e=Tp(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Op(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),hf(e.return,t,n)}function Rp(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 Dp(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(fp(e,t,r.children,n),0!=(2&(r=$f.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&&Op(e,n,t);else if(19===e.tag)Op(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(mc($f,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===Jf(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Rp(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===Jf(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Rp(t,!0,n,null,i);break;case"together":Rp(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Lp(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Mp(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ch|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(Zo(153));if(null!==t.child){for(n=Ev(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ev(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Np(e,t){if(!Kc)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 Fp(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 Ip(e,t,n){var r=t.pendingProps;switch(Yc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fp(t),null;case 1:case 17:return _c(t.type)&&Ec(),Fp(t),null;case 3:return r=t.stateNode,Xf(),vc(bc),vc(yc),td(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(tf(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==Xc&&(Zh(Xc),Xc=null))),Fp(t),null;case 5:Qf(t);var o=Wf(Gf.current);if(n=t.type,null!==e&&null!=t.stateNode)Ep(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(Zo(166));return Fp(t),null}if(e=Wf(qf.current),tf(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[nc]=t,r[rc]=i,e=0!=(1&t.mode),n){case"dialog":Pl("cancel",r),Pl("close",r);break;case"iframe":case"object":case"embed":Pl("load",r);break;case"video":case"audio":for(o=0;o<kl.length;o++)Pl(kl[o],r);break;case"source":Pl("error",r);break;case"img":case"image":case"link":Pl("error",r),Pl("load",r);break;case"details":Pl("toggle",r);break;case"input":Vi(r,i),Pl("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Pl("invalid",r);break;case"textarea":Zi(r,i),Pl("invalid",r)}for(var a in la(n,i),o=null,i)if(i.hasOwnProperty(a)){var u=i[a];"children"===a?"string"==typeof u?r.textContent!==u&&(!0!==i.suppressHydrationWarning&&Vl(r.textContent,u,e),o=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==i.suppressHydrationWarning&&Vl(r.textContent,u,e),o=["children",""+u]):$o.hasOwnProperty(a)&&null!=u&&"onScroll"===a&&Pl("scroll",r)}switch(n){case"input":ji(r),Yi(r,i,!0);break;case"textarea":ji(r),$i(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Hl)}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=Ji(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[nc]=t,e[rc]=r,_p(e,t),t.stateNode=e;e:{switch(a=ca(n,r),n){case"dialog":Pl("cancel",e),Pl("close",e),o=r;break;case"iframe":case"object":case"embed":Pl("load",e),o=r;break;case"video":case"audio":for(o=0;o<kl.length;o++)Pl(kl[o],e);o=r;break;case"source":Pl("error",e),o=r;break;case"img":case"image":case"link":Pl("error",e),Pl("load",e),o=r;break;case"details":Pl("toggle",e),o=r;break;case"input":Vi(e,r),o=Ui(e,r),Pl("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Pi({},r,{value:void 0}),Pl("invalid",e);break;case"textarea":Zi(e,r),o=Xi(e,r),Pl("invalid",e)}for(i in la(n,o),u=o)if(u.hasOwnProperty(i)){var s=u[i];"style"===i?ua(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&na(e,s):"children"===i?"string"==typeof s?("textarea"!==n||""!==s)&&ra(e,s):"number"==typeof s&&ra(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&($o.hasOwnProperty(i)?null!=s&&"onScroll"===i&&Pl("scroll",e):null!=s&&fi(e,i,s,a))}switch(n){case"input":ji(e),Yi(e,r,!1);break;case"textarea":ji(e),$i(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Fi(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?Ki(e,!!r.multiple,i,!1):null!=r.defaultValue&&Ki(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Hl)}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 Fp(t),null;case 6:if(e&&null!=t.stateNode)Sp(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(Zo(166));if(n=Wf(Gf.current),Wf(qf.current),tf(t)){if(r=t.stateNode,n=t.memoizedProps,r[nc]=t,(i=r.nodeValue!==n)&&null!==(e=Gc))switch(e.tag){case 3:Vl(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Vl(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[nc]=t,t.stateNode=r}return Fp(t),null;case 13:if(vc($f),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(Kc&&null!==Wc&&0!=(1&t.mode)&&0==(128&t.flags))nf(),rf(),t.flags|=98560,i=!1;else if(i=tf(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(Zo(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(Zo(317));i[nc]=t}else rf(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Fp(t),i=!1}else null!==Xc&&(Zh(Xc),Xc=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&$f.current)?0===Sh&&(Sh=3):iv())),null!==t.updateQueue&&(t.flags|=4),Fp(t),null);case 4:return Xf(),null===e&&Dl(t.stateNode.containerInfo),Fp(t),null;case 10:return pf(t.type._context),Fp(t),null;case 19:if(vc($f),null===(i=t.memoizedState))return Fp(t),null;if(r=0!=(128&t.flags),null===(a=i.rendering))if(r)Np(i,!1);else{if(0!==Sh||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=Jf(e))){for(t.flags|=128,Np(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 mc($f,1&$f.current|2),t.child}e=e.sibling}null!==i.tail&&Va()>Dh&&(t.flags|=128,r=!0,Np(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=Jf(a))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Np(i,!0),null===i.tail&&"hidden"===i.tailMode&&!a.alternate&&!Kc)return Fp(t),null}else 2*Va()-i.renderingStartTime>Dh&&1073741824!==n&&(t.flags|=128,r=!0,Np(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=Va(),t.sibling=null,n=$f.current,mc($f,r?1&n|2:1&n),t):(Fp(t),null);case 22:case 23:return tv(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&_h)&&(Fp(t),6&t.subtreeFlags&&(t.flags|=8192)):Fp(t),null;case 24:case 25:return null}throw Error(Zo(156,t.tag))}function jp(e,t){switch(Yc(t),t.tag){case 1:return _c(t.type)&&Ec(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Xf(),vc(bc),vc(yc),td(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Qf(t),null;case 13:if(vc($f),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(Zo(340));rf()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return vc($f),null;case 4:return Xf(),null;case 10:return pf(t.type._context),null;case 22:case 23:return tv(),null;default:return null}}_p=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}},Ep=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Wf(qf.current);var i,a=null;switch(n){case"input":o=Ui(e,o),r=Ui(e,r),a=[];break;case"select":o=Pi({},o,{value:void 0}),r=Pi({},r,{value:void 0}),a=[];break;case"textarea":o=Xi(e,o),r=Xi(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Hl)}for(l in la(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&&($o.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&&($o.hasOwnProperty(l)?(null!=s&&"onScroll"===l&&Pl("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)}},Sp=function(e,t,n,r){n!==r&&(t.flags|=4)};var zp=!1,Bp=!1,Up="function"==typeof WeakSet?WeakSet:Set,Vp=null;function Hp(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(Tw){hv(e,t,Tw)}else n.current=null}function qp(e,t,n){try{n()}catch(Tw){hv(e,t,Tw)}}var Yp=!1;function Gp(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&&qp(t,n,i)}o=o.next}while(o!==r)}}function Wp(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 Kp(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 Xp(e){var t=e.alternate;null!==t&&(e.alternate=null,Xp(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[nc],delete t[rc],delete t[ic],delete t[ac],delete t[uc])),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 Zp(e){return 5===e.tag||3===e.tag||4===e.tag}function Qp(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Zp(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 $p(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=Hl));else if(4!==r&&null!==(e=e.child))for($p(e,t,n),e=e.sibling;null!==e;)$p(e,t,n),e=e.sibling}function Jp(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(Jp(e,t,n),e=e.sibling;null!==e;)Jp(e,t,n),e=e.sibling}var eh=null,th=!1;function nh(e,t,n){for(n=n.child;null!==n;)rh(e,t,n),n=n.sibling}function rh(e,t,n){if(Za&&"function"==typeof Za.onCommitFiberUnmount)try{Za.onCommitFiberUnmount(Xa,n)}catch(Dw){}switch(n.tag){case 5:Bp||Hp(n,t);case 6:var r=eh,o=th;eh=null,nh(e,t,n),th=o,null!==(eh=r)&&(th?(e=eh,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):eh.removeChild(n.stateNode));break;case 18:null!==eh&&(th?(e=eh,n=n.stateNode,8===e.nodeType?$l(e.parentNode,n):1===e.nodeType&&$l(e,n),Lu(e)):$l(eh,n.stateNode));break;case 4:r=eh,o=th,eh=n.stateNode.containerInfo,th=!0,nh(e,t,n),eh=r,th=o;break;case 0:case 11:case 14:case 15:if(!Bp&&(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))&&qp(n,t,a),o=o.next}while(o!==r)}nh(e,t,n);break;case 1:if(!Bp&&(Hp(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(Dw){hv(n,t,Dw)}nh(e,t,n);break;case 21:nh(e,t,n);break;case 22:1&n.mode?(Bp=(r=Bp)||null!==n.memoizedState,nh(e,t,n),Bp=r):nh(e,t,n);break;default:nh(e,t,n)}}function oh(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Up),t.forEach((function(t){var r=yv.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ih(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:eh=u.stateNode,th=!1;break e;case 3:case 4:eh=u.stateNode.containerInfo,th=!0;break e}u=u.return}if(null===eh)throw Error(Zo(160));rh(i,a,o),eh=null,th=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(Mw){hv(o,t,Mw)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ah(t,e),t=t.sibling}function ah(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ih(t,e),uh(e),4&r){try{Gp(3,e,e.return),Wp(3,e)}catch(zw){hv(e,e.return,zw)}try{Gp(5,e,e.return)}catch(zw){hv(e,e.return,zw)}}break;case 1:ih(t,e),uh(e),512&r&&null!==n&&Hp(n,n.return);break;case 5:if(ih(t,e),uh(e),512&r&&null!==n&&Hp(n,n.return),32&e.flags){var o=e.stateNode;try{ra(o,"")}catch(zw){hv(e,e.return,zw)}}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&&Hi(o,i),ca(u,a);var l=ca(u,i);for(a=0;a<s.length;a+=2){var c=s[a],f=s[a+1];"style"===c?ua(o,f):"dangerouslySetInnerHTML"===c?na(o,f):"children"===c?ra(o,f):fi(o,c,f,l)}switch(u){case"input":qi(o,i);break;case"textarea":Qi(o,i);break;case"select":var d=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var p=i.value;null!=p?Ki(o,!!i.multiple,p,!1):d!==!!i.multiple&&(null!=i.defaultValue?Ki(o,!!i.multiple,i.defaultValue,!0):Ki(o,!!i.multiple,i.multiple?[]:"",!1))}o[rc]=i}catch(zw){hv(e,e.return,zw)}}break;case 6:if(ih(t,e),uh(e),4&r){if(null===e.stateNode)throw Error(Zo(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(zw){hv(e,e.return,zw)}}break;case 3:if(ih(t,e),uh(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Lu(t.containerInfo)}catch(zw){hv(e,e.return,zw)}break;case 4:default:ih(t,e),uh(e);break;case 13:ih(t,e),uh(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Rh=Va())),4&r&&oh(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(Bp=(l=Bp)||c,ih(t,e),Bp=l):ih(t,e),uh(e),8192&r){if(l=null!==e.memoizedState,(e.stateNode.isHidden=l)&&!c&&0!=(1&e.mode))for(Vp=e,c=e.child;null!==c;){for(f=Vp=c;null!==Vp;){switch(p=(d=Vp).child,d.tag){case 0:case 11:case 14:case 15:Gp(4,d,d.return);break;case 1:Hp(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(zw){hv(r,n,zw)}}break;case 5:Hp(d,d.return);break;case 22:if(null!==d.memoizedState){fh(f);continue}}null!==p?(p.return=d,Vp=p):fh(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=aa("display",a))}catch(zw){hv(e,e.return,zw)}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=l?"":f.memoizedProps}catch(zw){hv(e,e.return,zw)}}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:ih(t,e),uh(e),4&r&&oh(e);case 21:}}function uh(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(Zp(n)){var r=n;break e}n=n.return}throw Error(Zo(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(ra(o,""),r.flags&=-33),Jp(e,Qp(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;$p(e,Qp(e),i);break;default:throw Error(Zo(161))}}catch(u_){hv(e,e.return,u_)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function sh(e,t,n){Vp=e,lh(e)}function lh(e,t,n){for(var r=0!=(1&e.mode);null!==Vp;){var o=Vp,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||zp;if(!a){var u=o.alternate,s=null!==u&&null!==u.memoizedState||Bp;u=zp;var l=Bp;if(zp=a,(Bp=s)&&!l)for(Vp=o;null!==Vp;)s=(a=Vp).child,22===a.tag&&null!==a.memoizedState?dh(o):null!==s?(s.return=a,Vp=s):dh(o);for(;null!==i;)Vp=i,lh(i),i=i.sibling;Vp=o,zp=u,Bp=l}ch(e)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,Vp=i):ch(e)}}function ch(e){for(;null!==Vp;){var t=Vp;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Bp||Wp(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Bp)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:uf(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Pf(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}Pf(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&&Lu(f)}}}break;default:throw Error(Zo(163))}Bp||512&t.flags&&Kp(t)}catch(tx){hv(t,t.return,tx)}}if(t===e){Vp=null;break}if(null!==(n=t.sibling)){n.return=t.return,Vp=n;break}Vp=t.return}}function fh(e){for(;null!==Vp;){var t=Vp;if(t===e){Vp=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Vp=n;break}Vp=t.return}}function dh(e){for(;null!==Vp;){var t=Vp;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Wp(4,t)}catch(u_){hv(t,n,u_)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(u_){hv(t,o,u_)}}var i=t.return;try{Kp(t)}catch(u_){hv(t,i,u_)}break;case 5:var a=t.return;try{Kp(t)}catch(u_){hv(t,a,u_)}}}catch(u_){hv(t,t.return,u_)}if(t===e){Vp=null;break}var u=t.sibling;if(null!==u){u.return=t.return,Vp=u;break}Vp=t.return}}var ph,hh=Math.ceil,vh=di.ReactCurrentDispatcher,mh=di.ReactCurrentOwner,gh=di.ReactCurrentBatchConfig,yh=0,bh=null,xh=null,wh=0,_h=0,Eh=hc(0),Sh=0,kh=null,Ch=0,Ah=0,Th=0,Ph=null,Oh=null,Rh=0,Dh=1/0,Lh=null,Mh=!1,Nh=null,Fh=null,Ih=!1,jh=null,zh=0,Bh=0,Uh=null,Vh=-1,Hh=0;function qh(){return 0!=(6&yh)?Va():-1!==Vh?Vh:Vh=Va()}function Yh(e){return 0==(1&e.mode)?1:0!=(2&yh)&&0!==wh?wh&-wh:null!==af.transition?(0===Hh&&(Hh=au()),Hh):0!==(e=cu)?e:e=void 0===(e=window.event)?16:Uu(e.type)}function Gh(e,t,n,r){if(50<Bh)throw Bh=0,Uh=null,Error(Zo(185));su(e,n,r),0!=(2&yh)&&e===bh||(e===bh&&(0==(2&yh)&&(Ah|=n),4===Sh&&Qh(e,wh)),Wh(e,r),1===n&&0===yh&&0==(1&t.mode)&&(Dh=Va()+500,Pc&&Dc()))}function Wh(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-Qa(i),u=1<<a,s=o[a];-1===s?0!=(u&n)&&0==(u&r)||(o[a]=ou(u,t)):s<=t&&(e.expiredLanes|=u),i&=~u}}(e,t);var r=ru(e,e===bh?wh:0);if(0===r)null!==n&&za(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&za(n),1===t)0===e.tag?function(e){Pc=!0,Rc(e)}($h.bind(null,e)):Rc($h.bind(null,e)),Zl((function(){0==(6&yh)&&Dc()})),n=null;else{switch(fu(r)){case 1:n=qa;break;case 4:n=Ya;break;case 16:default:n=Ga;break;case 536870912:n=Ka}n=bv(n,Kh.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Kh(e,t){if(Vh=-1,Hh=0,0!=(6&yh))throw Error(Zo(327));var n=e.callbackNode;if(dv()&&e.callbackNode!==n)return null;var r=ru(e,e===bh?wh:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=av(e,r);else{t=r;var o=yh;yh|=2;var i=ov();for(bh===e&&wh===t||(Lh=null,Dh=Va()+500,nv(e,t));;)try{sv();break}catch(Dw){rv(e,Dw)}df(),vh.current=i,yh=o,null!==xh?t=0:(bh=null,wh=0,t=Sh)}if(0!==t){if(2===t&&(0!==(o=iu(e))&&(r=o,t=Xh(e,o))),1===t)throw n=kh,nv(e,0),Qh(e,r),Wh(e,Va()),n;if(6===t)Qh(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(!Qs(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=av(e,r))&&(0!==(i=iu(e))&&(r=i,t=Xh(e,i))),1===t))throw n=kh,nv(e,0),Qh(e,r),Wh(e,Va()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(Zo(345));case 2:case 5:fv(e,Oh,Lh);break;case 3:if(Qh(e,r),(130023424&r)===r&&10<(t=Rh+500-Va())){if(0!==ru(e,0))break;if(((o=e.suspendedLanes)&r)!==r){qh(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Wl(fv.bind(null,e,Oh,Lh),t);break}fv(e,Oh,Lh);break;case 4:if(Qh(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-Qa(r);i=1<<a,(a=t[a])>o&&(o=a),r&=~i}if(r=o,10<(r=(120>(r=Va()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hh(r/1960))-r)){e.timeoutHandle=Wl(fv.bind(null,e,Oh,Lh),r);break}fv(e,Oh,Lh);break;default:throw Error(Zo(329))}}}return Wh(e,Va()),e.callbackNode===n?Kh.bind(null,e):null}function Xh(e,t){var n=Ph;return e.current.memoizedState.isDehydrated&&(nv(e,t).flags|=256),2!==(e=av(e,t))&&(t=Oh,Oh=n,null!==t&&Zh(t)),e}function Zh(e){null===Oh?Oh=e:Oh.push.apply(Oh,e)}function Qh(e,t){for(t&=~Th,t&=~Ah,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Qa(t),r=1<<n;e[n]=-1,t&=~r}}function $h(e){if(0!=(6&yh))throw Error(Zo(327));dv();var t=ru(e,0);if(0==(1&t))return Wh(e,Va()),null;var n=av(e,t);if(0!==e.tag&&2===n){var r=iu(e);0!==r&&(t=r,n=Xh(e,r))}if(1===n)throw n=kh,nv(e,0),Qh(e,t),Wh(e,Va()),n;if(6===n)throw Error(Zo(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,fv(e,Oh,Lh),Wh(e,Va()),null}function Jh(e,t){var n=yh;yh|=1;try{return e(t)}finally{0===(yh=n)&&(Dh=Va()+500,Pc&&Dc())}}function ev(e){null!==jh&&0===jh.tag&&0==(6&yh)&&dv();var t=yh;yh|=1;var n=gh.transition,r=cu;try{if(gh.transition=null,cu=1,e)return e()}finally{cu=r,gh.transition=n,0==(6&(yh=t))&&Dc()}}function tv(){_h=Eh.current,vc(Eh)}function nv(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Kl(n)),null!==xh)for(n=xh.return;null!==n;){var r=n;switch(Yc(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ec();break;case 3:Xf(),vc(bc),vc(yc),td();break;case 5:Qf(r);break;case 4:Xf();break;case 13:case 19:vc($f);break;case 10:pf(r.type._context);break;case 22:case 23:tv()}n=n.return}if(bh=e,xh=e=Ev(e.current,null),wh=_h=t,Sh=0,kh=null,Th=Ah=Ch=0,Oh=Ph=null,null!==gf){for(t=0;t<gf.length;t++)if(null!==(r=(n=gf[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}gf=null}return e}function rv(e,t){for(;;){var n=xh;try{if(df(),nd.current=Zd,sd){for(var r=id.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}sd=!1}if(od=0,ud=ad=id=null,ld=!1,cd=0,mh.current=null,null===n||null===n.return){Sh=1,kh=t,xh=null;break}e:{var i=e,a=n.return,u=n,s=t;if(t=wh,u.flags|=32768,null!==s&&"object"===lo(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=up(a);if(null!==p){p.flags&=-257,sp(p,a,u,0,t),1&p.mode&&ap(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)){ap(i,l,t),iv();break e}s=Error(Zo(426))}else if(Kc&&1&u.mode){var m=up(a);if(null!==m){0==(65536&m.flags)&&(m.flags|=256),sp(m,a,u,0,t),of(ep(s,u));break e}}i=s=ep(s,u),4!==Sh&&(Sh=2),null===Ph?Ph=[i]:Ph.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Af(i,op(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===Fh||!Fh.has(y)))){i.flags|=65536,t&=-t,i.lanes|=t,Af(i,ip(i,u,t));break e}}i=i.return}while(null!==i)}cv(n)}catch(NG){t=NG,xh===n&&null!==n&&(xh=n=n.return);continue}break}}function ov(){var e=vh.current;return vh.current=Zd,null===e?Zd:e}function iv(){0!==Sh&&3!==Sh&&2!==Sh||(Sh=4),null===bh||0==(268435455&Ch)&&0==(268435455&Ah)||Qh(bh,wh)}function av(e,t){var n=yh;yh|=2;var r=ov();for(bh===e&&wh===t||(Lh=null,nv(e,t));;)try{uv();break}catch(Pw){rv(e,Pw)}if(df(),yh=n,vh.current=r,null!==xh)throw Error(Zo(261));return bh=null,wh=0,Sh}function uv(){for(;null!==xh;)lv(xh)}function sv(){for(;null!==xh&&!Ba();)lv(xh)}function lv(e){var t=ph(e.alternate,e,_h);e.memoizedProps=e.pendingProps,null===t?cv(e):xh=t,mh.current=null}function cv(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Ip(n,t,_h)))return void(xh=n)}else{if(null!==(n=jp(n,t)))return n.flags&=32767,void(xh=n);if(null===e)return Sh=6,void(xh=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(xh=t);xh=t=e}while(null!==t);0===Sh&&(Sh=5)}function fv(e,t,n){var r=cu,o=gh.transition;try{gh.transition=null,cu=1,function(e,t,n,r){do{dv()}while(null!==jh);if(0!=(6&yh))throw Error(Zo(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(Zo(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-Qa(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,i),e===bh&&(xh=bh=null,wh=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Ih||(Ih=!0,bv(Ga,(function(){return dv(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=gh.transition,gh.transition=null;var a=cu;cu=1;var u=yh;yh|=4,mh.current=null,function(e,t){if(ql=Nu,rl(e=nl())){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(h_){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(Yl={focusedElem:e,selectionRange:n},Nu=!1,Vp=t;null!==Vp;)if(e=(t=Vp).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Vp=e;else for(;null!==Vp;){t=Vp;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:uf(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(Zo(163))}}catch(h_){hv(t,t.return,h_)}if(null!==(e=t.sibling)){e.return=t.return,Vp=e;break}Vp=t.return}h=Yp,Yp=!1}(e,n),ah(n,e),ol(Yl),Nu=!!ql,Yl=ql=null,e.current=n,sh(n),Ua(),yh=u,cu=a,gh.transition=i}else e.current=n;if(Ih&&(Ih=!1,jh=e,zh=o),0===(i=e.pendingLanes)&&(Fh=null),function(e){if(Za&&"function"==typeof Za.onCommitFiberRoot)try{Za.onCommitFiberRoot(Xa,e,void 0,128==(128&e.current.flags))}catch(t){}}(n.stateNode),Wh(e,Va()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(Mh)throw Mh=!1,e=Nh,Nh=null,e;0!=(1&zh)&&0!==e.tag&&dv(),0!=(1&(i=e.pendingLanes))?e===Uh?Bh++:(Bh=0,Uh=e):Bh=0,Dc()}(e,t,n,r)}finally{gh.transition=o,cu=r}return null}function dv(){if(null!==jh){var e=fu(zh),t=gh.transition,n=cu;try{if(gh.transition=null,cu=16>e?16:e,null===jh)var r=!1;else{if(e=jh,jh=null,zh=0,0!=(6&yh))throw Error(Zo(331));var o=yh;for(yh|=4,Vp=e.current;null!==Vp;){var i=Vp,a=i.child;if(0!=(16&Vp.flags)){var u=i.deletions;if(null!==u){for(var s=0;s<u.length;s++){var l=u[s];for(Vp=l;null!==Vp;){var c=Vp;switch(c.tag){case 0:case 11:case 15:Gp(8,c,i)}var f=c.child;if(null!==f)f.return=c,Vp=f;else for(;null!==Vp;){var d=(c=Vp).sibling,p=c.return;if(Xp(c),c===l){Vp=null;break}if(null!==d){d.return=p,Vp=d;break}Vp=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)}}Vp=i}}if(0!=(2064&i.subtreeFlags)&&null!==a)a.return=i,Vp=a;else e:for(;null!==Vp;){if(0!=(2048&(i=Vp).flags))switch(i.tag){case 0:case 11:case 15:Gp(9,i,i.return)}var g=i.sibling;if(null!==g){g.return=i.return,Vp=g;break e}Vp=i.return}}var y=e.current;for(Vp=y;null!==Vp;){var b=(a=Vp).child;if(0!=(2064&a.subtreeFlags)&&null!==b)b.return=a,Vp=b;else e:for(a=y;null!==Vp;){if(0!=(2048&(u=Vp).flags))try{switch(u.tag){case 0:case 11:case 15:Wp(9,u)}}catch(NG){hv(u,u.return,NG)}if(u===a){Vp=null;break e}var x=u.sibling;if(null!==x){x.return=u.return,Vp=x;break e}Vp=u.return}}if(yh=o,Dc(),Za&&"function"==typeof Za.onPostCommitFiberRoot)try{Za.onPostCommitFiberRoot(Xa,e)}catch(NG){}r=!0}return r}finally{cu=n,gh.transition=t}}return!1}function pv(e,t,n){e=kf(e,t=op(0,t=ep(n,t),1),1),t=qh(),null!==e&&(su(e,1,t),Wh(e,t))}function hv(e,t,n){if(3===e.tag)pv(e,e,n);else for(;null!==t;){if(3===t.tag){pv(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Fh||!Fh.has(r))){t=kf(t,e=ip(t,e=ep(n,e),1),1),e=qh(),null!==t&&(su(t,1,e),Wh(t,e));break}}t=t.return}}function vv(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=qh(),e.pingedLanes|=e.suspendedLanes&n,bh===e&&(wh&n)===n&&(4===Sh||3===Sh&&(130023424&wh)===wh&&500>Va()-Rh?nv(e,0):Th|=n),Wh(e,t)}function mv(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tu,0==(130023424&(tu<<=1))&&(tu=4194304)));var n=qh();null!==(e=xf(e,t))&&(su(e,t,n),Wh(e,n))}function gv(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),mv(e,n)}function yv(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(Zo(314))}null!==r&&r.delete(t),mv(e,n)}function bv(e,t){return ja(e,t)}function xv(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 wv(e,t,n,r){return new xv(e,t,n,r)}function _v(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ev(e,t){var n=e.alternate;return null===n?((n=wv(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 Sv(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)_v(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case vi:return kv(n.children,o,i,t);case mi:a=8,o|=8;break;case gi:return(e=wv(12,n,t,2|o)).elementType=gi,e.lanes=i,e;case wi:return(e=wv(13,n,t,o)).elementType=wi,e.lanes=i,e;case _i:return(e=wv(19,n,t,o)).elementType=_i,e.lanes=i,e;case ki:return Cv(n,o,i,t);default:if("object"===lo(e)&&null!==e)switch(e.$$typeof){case yi:a=10;break e;case bi:a=9;break e;case xi:a=11;break e;case Ei:a=14;break e;case Si:a=16,r=null;break e}throw Error(Zo(130,null==e?e:lo(e),""))}return(t=wv(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function kv(e,t,n,r){return(e=wv(7,e,r,t)).lanes=n,e}function Cv(e,t,n,r){return(e=wv(22,e,r,t)).elementType=ki,e.lanes=n,e.stateNode={isHidden:!1},e}function Av(e,t,n){return(e=wv(6,e,null,t)).lanes=n,e}function Tv(e,t,n){return(t=wv(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Pv(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=uu(0),this.expirationTimes=uu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=uu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ov(e,t,n,r,o,i,a,u,s){return e=new Pv(e,t,n,u,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=wv(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},_f(i),e}function Rv(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:hi,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Dv(e){if(!e)return gc;e:{if(La(e=e._reactInternals)!==e||1!==e.tag)throw Error(Zo(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(_c(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(Zo(171))}if(1===e.tag){var n=e.type;if(_c(n))return kc(e,n,t)}return t}function Lv(e,t,n,r,o,i,a,u,s){return(e=Ov(n,r,!0,e,0,i,0,u,s)).context=Dv(null),n=e.current,(i=Sf(r=qh(),o=Yh(n))).callback=null!=t?t:null,kf(n,i,o),e.current.lanes=o,su(e,o,r),Wh(e,r),e}function Mv(e,t,n,r){var o=t.current,i=qh(),a=Yh(o);return n=Dv(n),null===t.context?t.context=n:t.pendingContext=n,(t=Sf(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=kf(o,t,a))&&(Gh(e,o,a,i),Cf(e,o,a)),a}function Nv(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Fv(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Iv(e,t){Fv(e,t),(e=e.alternate)&&Fv(e,t)}ph=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||bc.current)cp=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return cp=!1,function(e,t,n){switch(t.tag){case 3:xp(t),rf();break;case 5:Zf(t);break;case 1:_c(t.type)&&Cc(t);break;case 4:Kf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;mc(sf,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(mc($f,1&$f.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ap(e,t,n):(mc($f,1&$f.current),null!==(e=Mp(e,t,n))?e.sibling:null);mc($f,1&$f.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Dp(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),mc($f,$f.current),r)break;return null;case 22:case 23:return t.lanes=0,vp(e,t,n)}return Mp(e,t,n)}(e,t,n);cp=0!=(131072&e.flags)}else cp=!1,Kc&&0!=(1048576&t.flags)&&Hc(t,Fc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Lp(e,t),e=t.pendingProps;var o=wc(t,yc.current);vf(t,n),o=hd(null,t,r,e,o,n);var i=vd();return t.flags|=1,"object"===lo(o)&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,_c(r)?(i=!0,Cc(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,_f(t),o.updater=Df,t.stateNode=o,o._reactInternals=t,Ff(t,r,e,n),t=bp(null,t,r,!0,i,n)):(t.tag=0,Kc&&i&&qc(t),fp(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Lp(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return _v(e)?1:0;if(null!=e){if((e=e.$$typeof)===xi)return 11;if(e===Ei)return 14}return 2}(r),e=uf(r,e),o){case 0:t=gp(null,t,r,e,n);break e;case 1:t=yp(null,t,r,e,n);break e;case 11:t=dp(null,t,r,e,n);break e;case 14:t=pp(null,t,r,uf(r.type,e),n);break e}throw Error(Zo(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,gp(e,t,r,o=t.elementType===r?o:uf(r,o),n);case 1:return r=t.type,o=t.pendingProps,yp(e,t,r,o=t.elementType===r?o:uf(r,o),n);case 3:e:{if(xp(t),null===e)throw Error(Zo(387));r=t.pendingProps,o=(i=t.memoizedState).element,Ef(e,t),Tf(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=wp(e,t,r,n,o=ep(Error(Zo(423)),t));break e}if(r!==o){t=wp(e,t,r,n,o=ep(Error(Zo(424)),t));break e}for(Wc=Jl(t.stateNode.containerInfo.firstChild),Gc=t,Kc=!0,Xc=null,n=Vf(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(rf(),r===o){t=Mp(e,t,n);break e}fp(e,t,r,n)}t=t.child}return t;case 5:return Zf(t),null===e&&Jc(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,Gl(r,o)?a=null:null!==i&&Gl(r,i)&&(t.flags|=32),mp(e,t),fp(e,t,a,n),t.child;case 6:return null===e&&Jc(t),null;case 13:return Ap(e,t,n);case 4:return Kf(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Uf(t,null,r,n):fp(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,dp(e,t,r,o=t.elementType===r?o:uf(r,o),n);case 7:return fp(e,t,t.pendingProps,n),t.child;case 8:case 12:return fp(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,mc(sf,r._currentValue),r._currentValue=a,null!==i)if(Qs(i.value,a)){if(i.children===o.children&&!bc.current){t=Mp(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=Sf(-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),hf(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(Zo(341));a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),hf(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}fp(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,vf(t,n),r=r(o=mf(o)),t.flags|=1,fp(e,t,r,n),t.child;case 14:return o=uf(r=t.type,t.pendingProps),pp(e,t,r,o=uf(r.type,o),n);case 15:return hp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:uf(r,o),Lp(e,t),t.tag=1,_c(r)?(e=!0,Cc(t)):e=!1,vf(t,n),Mf(t,r,o),Ff(t,r,o,n),bp(null,t,r,!0,e,n);case 19:return Dp(e,t,n);case 22:return vp(e,t,n)}throw Error(Zo(156,t.tag))};var jv="function"==typeof reportError?reportError:function(e){console.error(e)};function zv(e){this._internalRoot=e}function Bv(e){this._internalRoot=e}function Uv(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Vv(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Hv(){}function qv(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=Nv(a);u.call(e)}}Mv(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=Nv(a);i.call(e)}}var a=Lv(t,r,e,0,null,!1,0,"",Hv);return e._reactRootContainer=a,e[oc]=a.current,Dl(8===e.nodeType?e.parentNode:e),ev(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var u=r;r=function(){var e=Nv(s);u.call(e)}}var s=Ov(e,0,!1,null,0,!1,0,"",Hv);return e._reactRootContainer=s,e[oc]=s.current,Dl(8===e.nodeType?e.parentNode:e),ev((function(){Mv(t,s,n,r)})),s}(n,t,e,o,r);return Nv(a)}Bv.prototype.render=zv.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(Zo(409));Mv(e,t,null,null)},Bv.prototype.unmount=zv.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ev((function(){Mv(null,e,null,null)})),t[oc]=null}},Bv.prototype.unstable_scheduleHydration=function(e){if(e){var t=vu();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Su.length&&0!==t&&t<Su[n].priority;n++);Su.splice(n,0,e),0===n&&Tu(e)}},du=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=nu(t.pendingLanes);0!==n&&(lu(t,1|n),Wh(t,Va()),0==(6&yh)&&(Dh=Va()+500,Dc()))}break;case 13:ev((function(){var t=xf(e,1);if(null!==t){var n=qh();Gh(t,e,1,n)}})),Iv(e,1)}},pu=function(e){if(13===e.tag){var t=xf(e,134217728);if(null!==t)Gh(t,e,134217728,qh());Iv(e,134217728)}},hu=function(e){if(13===e.tag){var t=Yh(e),n=xf(e,t);if(null!==n)Gh(n,e,t,qh());Iv(e,t)}},vu=function(){return cu},mu=function(e,t){var n=cu;try{return cu=e,t()}finally{cu=n}},pa=function(e,t,n){switch(t){case"input":if(qi(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=fc(r);if(!o)throw Error(Zo(90));zi(r),qi(r,o)}}}break;case"textarea":Qi(e,n);break;case"select":null!=(t=n.value)&&Ki(e,!!n.multiple,t,!1)}},ba=Jh,xa=ev;var Yv={usingClientEntryPoint:!1,Events:[lc,cc,fc,ga,ya,Jh]},Gv={findFiberByHostInstance:sc,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Wv={bundleType:Gv.bundleType,version:Gv.version,rendererPackageName:Gv.rendererPackageName,rendererConfig:Gv.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:di.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Fa(e))?null:e.stateNode},findFiberByHostInstance:Gv.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 Kv=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kv.isDisabled&&Kv.supportsFiber)try{Xa=Kv.inject(Wv),Za=Kv}catch(oU){}}Yo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Yv,Yo.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Uv(t))throw Error(Zo(200));return Rv(e,t,null,n)},Yo.createRoot=function(e,t){if(!Uv(e))throw Error(Zo(299));var n=!1,r="",o=jv;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Ov(e,1,!1,null,0,n,0,r,o),e[oc]=t.current,Dl(8===e.nodeType?e.parentNode:e),new zv(t)},Yo.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(Zo(188));throw e=Object.keys(e).join(","),Error(Zo(268,e))}return e=null===(e=Fa(t))?null:e.stateNode},Yo.flushSync=function(e){return ev(e)},Yo.hydrate=function(e,t,n){if(!Vv(t))throw Error(Zo(200));return qv(null,e,t,!0,n)},Yo.hydrateRoot=function(e,t,n){if(!Uv(e))throw Error(Zo(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",a=jv;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(a=n.onRecoverableError)),t=Lv(t,null,e,1,null!=n?n:null,o,0,i,a),e[oc]=t.current,Dl(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 Bv(t)},Yo.render=function(e,t,n){if(!Vv(t))throw Error(Zo(200));return qv(null,e,t,!1,n)},Yo.unmountComponentAtNode=function(e){if(!Vv(e))throw Error(Zo(40));return!!e._reactRootContainer&&(ev((function(){qv(null,null,e,!1,(function(){e._reactRootContainer=null,e[oc]=null}))})),!0)},Yo.unstable_batchedUpdates=Jh,Yo.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Vv(n))throw Error(Zo(200));if(null==e||void 0===e._reactInternals)throw Error(Zo(38));return qv(e,t,n,!1,r)},Yo.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=Yo}(qo);var Xv=Yr(qo.exports),Zv=qo.exports;function Qv(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function $v(e,t){return e.require(t)}Ho.createRoot=Zv.createRoot,Ho.hydrateRoot=Zv.hydrateRoot;var Jv={};function em(){return Qv()?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:Jv}function tm(e,t,n){var r=n||em(),o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=t())}var nm=Object.prototype.toString;function rm(e){switch(nm.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return pm(e,Error)}}function om(e,t){return nm.call(e)==="[object ".concat(t,"]")}function im(e){return om(e,"ErrorEvent")}function am(e){return om(e,"DOMError")}function um(e){return om(e,"String")}function sm(e){return null===e||"object"!==lo(e)&&"function"!=typeof e}function lm(e){return om(e,"Object")}function cm(e){return"undefined"!=typeof Event&&pm(e,Event)}function fm(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function dm(e){return"number"==typeof e&&e!=e}function pm(e,t){try{return e instanceof t}catch(n){return!1}}function hm(e,t){try{for(var n,r=e,o=[],i=0,a=0,u=" > ".length;r&&i++<5&&!("html"===(n=vm(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 vm(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)&&um(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 mm=function(e){eo(n,e);var t=to(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warn";return Jr(this,n),(r=t.call(this,e)).message=e,r.name=(this instanceof n?this.constructor:void 0).prototype.constructor.name,Object.setPrototypeOf(ro(r),(this instanceof n?this.constructor:void 0).prototype),r.logLevel=o,r}return $r(n)}(oo(Error)),gm=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function ym(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 bm(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function xm(e){var t="string"==typeof e?function(e){var t=gm.exec(e);if(!t)throw new mm("Invalid Sentry Dsn: ".concat(e));var n=Kr(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 bm({host:u,pass:a,path:c,projectId:f,port:l,protocol:r,publicKey:o})}(e):bm(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 mm("Invalid Sentry Dsn: ".concat(t," missing"))})),!n.match(/^\d+$/))throw new mm("Invalid Sentry Dsn: Invalid projectId ".concat(n));if(!function(e){return"http"===e||"https"===e}(r))throw new mm("Invalid Sentry Dsn: Invalid protocol ".concat(r));if(t&&isNaN(parseInt(t,10)))throw new mm("Invalid Sentry Dsn: Invalid port ".concat(t))}}(t),t}var wm,_m=em(),Em="Sentry Logger ",Sm=["debug","info","warn","error","log","assert","trace"];function km(e){var t=em();if(!("console"in t))return e();var n=t.console,r={};Sm.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 Cm(){var e=!1,t={enable:function(){e=!0},disable:function(){e=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?Sm.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&&km((function(){var e;(e=_m.console)[n].apply(e,["".concat(Em,"[").concat(n,"]:")].concat(r))}))}})):Sm.forEach((function(e){t[e]=function(){}})),t}function Am(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 Tm(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(Pw){n.push("[value cannot be serialized]")}}return n.join(t)}function Pm(e,t){return!!um(e)&&(om(t,"RegExp")?t.test(e):"string"==typeof t&&-1!==e.indexOf(t))}function Om(e,t,n){if(t in e){var r=e[t],o=n(r);if("function"==typeof o)try{Dm(o,r)}catch(i){}e[t]=o}}function Rm(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function Dm(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,Rm(e,"__sentry_original__",t)}function Lm(e){return e.__sentry_original__}function Mm(e){if(rm(e))return Gr({message:e.message,name:e.name,stack:e.stack},Fm(e));if(cm(e)){var t=Gr({type:e.type,target:Nm(e.target),currentTarget:Nm(e.currentTarget)},Fm(e));return"undefined"!=typeof CustomEvent&&pm(e,CustomEvent)&&(t.detail=e.detail),t}return e}function Nm(e){try{return t=e,"undefined"!=typeof Element&&pm(t,Element)?hm(e):Object.prototype.toString.call(e)}catch(n){return"<unknown>"}var t}function Fm(e){if("object"===lo(e)&&null!==e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function Im(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:40,n=Object.keys(Mm(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Am(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:Am(o,t)}return""}function jm(e){return zm(e,new Map)}function zm(e,t){if(lm(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]=zm(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(zm(e,t))})),n}return e}function Bm(e,t){return null!=e?e:t()}wm="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?tm("logger",Cm):Cm();function Um(){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=co(e.split("\n").slice(n));try{for(i.s();!(t=i.n()).done;){var a,u=t.value,s=u.replace(/\(error: (.*)\)/,"$1"),l=co(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 Hm(o)}}function Vm(e){return Array.isArray(e)?Um.apply(void 0,Hr(e)):e}function Hm(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 Gr(Gr({},e),{},{filename:e.filename||t[0].filename,function:e.function||"?"})})).reverse()}var qm="<anonymous>";function Ym(e){try{return e&&"function"==typeof e&&e.name||qm}catch(Pw){return qm}}function Gm(){if(!("fetch"in em()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(Pw){return!1}}function Wm(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}var Km,Xm=em(),Zm={},Qm={};function $m(e){if(!Qm[e])switch(Qm[e]=!0,e){case"console":!function(){if(!("console"in Xm))return;Sm.forEach((function(e){e in Xm.console&&Om(Xm.console,e,(function(t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];eg("console",{args:r,level:e}),t&&t.apply(Xm.console,r)}}))}))}();break;case"dom":!function(){if(!("document"in Xm))return;var e=eg.bind(null,"dom"),t=ug(e,!0);Xm.document.addEventListener("click",t,!1),Xm.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((function(t){var n=Xm[t]&&Xm[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Om(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=ug(e);u.handler=s,t.call(this,n,s,o)}u.refCount+=1}catch(Pw){}return t.call(this,n,r,o)}})),Om(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(Pw){}return e.call(this,t,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in Xm))return;var e=XMLHttpRequest.prototype;Om(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:um(n[0])?n[0].toUpperCase():n[0],url:n[1]};um(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(Pw){}eg("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:o})}};return"onreadystatechange"in o&&"function"==typeof o.onreadystatechange?Om(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)}})),Om(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]),eg("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),e.apply(this,n)}}))}();break;case"fetch":!function(){if(!function(){if(!Gm())return!1;var e=em();if(Wm(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=Wm(r.contentWindow.fetch)),n.head.removeChild(r)}catch(o){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return t}())return;Om(Xm,"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:tg(n),url:ng(n)},startTimestamp:Date.now()};return eg("fetch",Gr({},o)),e.apply(Xm,n).then((function(e){return eg("fetch",Gr(Gr({},o),{},{endTimestamp:Date.now(),response:e})),e}),(function(e){throw eg("fetch",Gr(Gr({},o),{},{endTimestamp:Date.now(),error:e})),e}))}}))}();break;case"history":!function(){if(!function(){var e=em(),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=Xm.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=Km,a=String(o);Km=a,eg("history",{from:i,to:a})}return e.apply(this,n)}}Xm.onpopstate=function(){var t=Xm.location.href,n=Km;if(Km=t,eg("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){}},Om(Xm.history,"pushState",t),Om(Xm.history,"replaceState",t)}();break;case"error":sg=Xm.onerror,Xm.onerror=function(e,t,n,r,o){return eg("error",{column:r,error:o,line:n,msg:e,url:t}),!!sg&&sg.apply(this,arguments)};break;case"unhandledrejection":cg=Xm.onunhandledrejection,Xm.onunhandledrejection=function(e){return eg("unhandledrejection",e),!cg||cg.apply(this,arguments)};break;default:return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("unknown instrumentation type:",e))}}function Jm(e,t){Zm[e]=Zm[e]||[],Zm[e].push(t),$m(e)}function eg(e,t){if(e&&Zm[e]){var n,r=co(Zm[e]||[]);try{for(r.s();!(n=r.n()).done;){var o=n.value;try{o(t)}catch(Pw){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.error("Error while triggering instrumentation handler.\nType: ".concat(e,"\nName: ").concat(Ym(o),"\nError:"),Pw)}}}catch(i){r.e(i)}finally{r.f()}}}function tg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return"Request"in Xm&&pm(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function ng(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return"string"==typeof e[0]?e[0]:"Request"in Xm&&pm(e[0],Request)?e[0].url:String(e[0])}var rg,og;function ig(e,t){if(!e)return!0;if(e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(Pw){}return!1}function ag(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(Pw){}return!0}function ug(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){if(n&&og!==n&&!ag(n)){var r="keypress"===n.type?"input":n.type;(void 0===rg||ig(og,n))&&(e({event:n,name:r,global:t}),og=n),clearTimeout(rg),rg=Xm.setTimeout((function(){rg=void 0}),1e3)}}}var sg=null;var lg,cg=null;function fg(){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 dg(){var e=em(),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 pg(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function hg(e){var t=e.message,n=e.event_id;if(t)return t;var r=pg(e);return r?r.type&&r.value?"".concat(r.type,": ").concat(r.value):r.type||r.value||n||"<unknown>":n||"<unknown>"}function vg(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 mg(e,t){var n=pg(e);if(n){var r=n.mechanism;if(n.mechanism=Gr(Gr(Gr({},{type:"generic",handled:!0}),r),t),t&&"data"in t){var o=Gr(Gr({},r&&r.data),t.data);n.mechanism.data=o}}}function gg(e){if(e&&e.__sentry_captured__)return!0;try{Rm(e,"__sentry_captured__",!0)}catch(t){}return!1}function yg(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 xg("",e,t,n)}catch(r){return{ERROR:"**non-serializable** (".concat(r,")")}}}function bg(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=yg(e,t);return _g(r)>n?bg(e,t-1,n):r}function xg(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]:fg(),i=Kr(o,2),a=i[0],u=i[1];if(null===t||["number","boolean","string"].includes(lo(t))&&!dm(t))return t;var s=wg(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 xg("",c,n-1,r,o)}catch(m){}var f=Array.isArray(t)?[]:{},d=0,p=Mm(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]=xg(h,v,n-1,r,o),d+=1}return u(t),f}function wg(e,t){try{return"domain"===e&&t&&"object"===lo(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]":lm(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(Ym(t),"]"):"symbol"===lo(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 _g(e){return function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(e))}function Eg(e){return new kg((function(t){t(e)}))}function Sg(e){return new kg((function(t,n){n(e)}))}!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(lg||(lg={}));var kg=function(){function e(t){Jr(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(Pw){this._reject(Pw)}}return $r(e,[{key:"__init",value:function(){this._state=lg.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(Pw){o(Pw)}else e(n)},function(t){if(n)try{e(n(t))}catch(Pw){o(Pw)}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(lg.RESOLVED,t)}}},{key:"__init4",value:function(){var e=this;this._reject=function(t){e._setResult(lg.REJECTED,t)}}},{key:"__init5",value:function(){var e=this;this._setResult=function(t,n){e._state===lg.PENDING&&(fm(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!==lg.PENDING){var t=e._handlers.slice();e._handlers=[],t.forEach((function(t){t[0]||(e._state===lg.RESOLVED&&t[1](e._value),e._state===lg.REJECTED&&t[2](e._value),t[0]=!0)}))}}}}]),e}();function Cg(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 Sg(new mm("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 kg((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){Eg(e).then((function(){--o||(clearTimeout(i),n(!0))}),r)}))}))}}}function Ag(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 Tg=["fatal","error","warning","log","info","debug"];var Pg={nowSeconds:function(){return Date.now()/1e3}};var Og=Qv()?function(){try{return $v(Vr,"perf_hooks").performance}catch($w){return}}():function(){var e=em().performance;if(e&&e.now)return{now:function(){return e.now()},timeOrigin:Date.now()-e.now()}}(),Rg=void 0===Og?Pg:{nowSeconds:function(){return(Og.timeOrigin+Og.now())/1e3}},Dg=Pg.nowSeconds.bind(Pg),Lg=Rg.nowSeconds.bind(Rg),Mg=Lg,Ng=function(){var e=em().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}}(),Fg=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Ig(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[e,t]}function jg(e,t){var n=Kr(e,2),r=n[0],o=n[1];return[r,[].concat(Hr(o),[t])]}function zg(e,t){e[1].forEach((function(e){var n=e[0].type;t(e,n)}))}function Bg(e,t){return(t||new TextEncoder).encode(e)}function Ug(e,t){var n=Kr(e,2),r=n[0],o=n[1],i=JSON.stringify(r);function a(e){"string"==typeof i?i="string"==typeof e?i+e:[Bg(i,t),e]:i.push("string"==typeof e?Bg(e,t):e)}var u,s=co(o);try{for(s.s();!(u=s.n()).done;){var l=Kr(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=co(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 Vg(e,t){var n="string"==typeof e.data?Bg(e.data,t):e.data;return[jm({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}var Hg={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function qg(e){return Hg[e]}function Yg(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 Gg(e,t){return e[t]||e.all||0}function Wg(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();return Gg(e,t)>n}function Kg(e,t){var n=t.statusCode,r=t.headers,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),i=Gr({},e),a=r&&r["x-sentry-rate-limits"],u=r&&r["retry-after"];if(a){var s,l=co(a.trim().split(","));try{for(l.s();!(s=l.n()).done;){var c=s.value,f=c.split(":",2),d=Kr(f,2),p=d[0],h=d[1],v=parseInt(p,10),m=1e3*(isNaN(v)?60:v);if(h){var g,y=co(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+Yg(u,o):429===n&&(i.all=o+6e4);return i}var Xg="baggage",Zg=/^sentry-/;function Qg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return[Gr({},e),t,n]}function $g(e){return e[0]}function Jg(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e)&&!um(e)||"number"==typeof e)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("[parseBaggageHeader] Received input value of incompatible type: ",lo(e),e),Qg({},"");var n=(um(e)?e:e.join(",")).split(",").map((function(e){return e.trim()})).filter((function(e){return""!==e&&(t||Zg.test(e))}));return n.reduce((function(e,t){var n=Kr(e,2),r=n[0],o=n[1],i=Kr(t.split("="),2),a=i[0],u=i[1];if(Zg.test(a)){var s=decodeURIComponent(a.split("-")[1]);return[Gr(Gr({},r),{},Wr({},s,decodeURIComponent(u))),o,!0]}return[r,""===o?t:"".concat(o,",").concat(t),!0]}),[{},"",!0])}function ey(e,t){if(!e&&!t)return"";var n=t&&Jg(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__)&&wm.warn("Not adding key: ".concat(n," with val: ").concat(r," to baggage due to exceeding baggage size limits.")),t):i}),e[1])}(Qg(e&&e[0]||{},r||""))}function ty(e,t){var n=Jg(e||"");return(t||!function(e){return 0===Object.keys(e[0]).length}(n))&&function(e){e[2]=!1}(n),n}function ny(e){var t=Lg(),n={sid:dg(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:function(){return function(e){return jm({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&&ry(n,e),n}function ry(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||Lg(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:dg()),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 oy=function(){function e(){Jr(this,e),this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}return $r(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&&ry(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=Gr(Gr({},this._tags),e),this._notifyScopeListeners(),this}},{key:"setTag",value:function(e,t){return this._tags=Gr(Gr({},this._tags),{},Wr({},e,t)),this._notifyScopeListeners(),this}},{key:"setExtras",value:function(e){return this._extra=Gr(Gr({},this._extra),e),this._notifyScopeListeners(),this}},{key:"setExtra",value:function(e,t){return this._extra=Gr(Gr({},this._extra),{},Wr({},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=Gr(Gr({},this._contexts),{},Wr({},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=Gr(Gr({},this._tags),t._tags),this._extra=Gr(Gr({},this._extra),t._extra),this._contexts=Gr(Gr({},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)):lm(t)&&(this._tags=Gr(Gr({},this._tags),t.tags),this._extra=Gr(Gr({},this._extra),t.extra),this._contexts=Gr(Gr({},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=Gr({timestamp:Dg()},e);return this._breadcrumbs=[].concat(Hr(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=Gr(Gr({},this._extra),e.extra)),this._tags&&Object.keys(this._tags).length&&(e.tags=Gr(Gr({},this._tags),e.tags)),this._user&&Object.keys(this._user).length&&(e.user=Gr(Gr({},this._user),e.user)),this._contexts&&Object.keys(this._contexts).length&&(e.contexts=Gr(Gr({},this._contexts),e.contexts)),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts=Gr({trace:this._span.getTraceContext()},e.contexts);var n=this._span.transaction&&this._span.transaction.name;n&&(e.tags=Gr({transaction:n},e.tags))}return this._applyFingerprint(e),e.breadcrumbs=[].concat(Hr(e.breadcrumbs||[]),Hr(this._breadcrumbs)),e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,e.sdkProcessingMetadata=Gr(Gr({},e.sdkProcessingMetadata),this._sdkProcessingMetadata),this._notifyEventProcessors([].concat(Hr(iy()),Hr(this._eventProcessors)),e,t)}},{key:"setSDKProcessingMetadata",value:function(e){return this._sdkProcessingMetadata=Gr(Gr({},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 kg((function(i,a){var u=e[o];if(null===t||"function"!=typeof u)i(t);else{var s=u(Gr({},t),n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.id&&null===s&&wm.log('Event processor "'.concat(u.id,'" dropped event')),fm(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=Hr(t._breadcrumbs),n._tags=Gr({},t._tags),n._extra=Gr({},t._extra),n._contexts=Gr({},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=Hr(t._eventProcessors),n._requestSession=t._requestSession,n._attachments=Hr(t._attachments)),n}}]),e}();function iy(){return tm("globalEventProcessors",(function(){return[]}))}function ay(e){iy().push(e)}var uy=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new oy,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;Jr(this,e),this._version=r,e.prototype.__init.call(this),this.getStackTop().scope=n,t&&this.bindClient(t)}return $r(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=oy.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:dg(),r=new Error("Sentry syntheticException");return this._withClient((function(o,i){o.captureException(e,Gr(Gr({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:dg(),o=new Error(e);return this._withClient((function(i,a){i.captureMessage(e,t,Gr(Gr({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:dg();return"transaction"!==e.type&&(this._lastEventId=n),this._withClient((function(r,o){r.captureEvent(e,Gr(Gr({},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=Gr({timestamp:Dg()},e),f=u?km((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=ly(this);try{e(this)}finally{ly(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__)&&wm.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"}),ry(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=(em().navigator||{}).userAgent,s=ny(Gr(Gr(Gr({release:i,environment:a},n&&{user:n.getUser()}),u&&{userAgent:u}),e));if(n){var l=n.getSession&&n.getSession();l&&"ok"===l.status&&ry(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=sy(),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__)&&wm.warn("Extension method ".concat(e," couldn't be found, doing nothing."))}}]),e}();function sy(){var e=em();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function ly(e){var t=sy(),n=dy(t);return py(t,e),n}function cy(){var e=sy();return fy(e)&&!dy(e).isOlderThan(4)||py(e,new uy),Qv()?function(e){try{var t=sy().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return dy(e);if(!fy(n)||dy(n).isOlderThan(4)){var r=dy(e).getStackTop();py(n,new uy(r.client,oy.clone(r.scope)))}return dy(n)}catch(o){return dy(e)}}(e):dy(e)}function fy(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function dy(e){return tm("hub",(function(){return new uy}),e)}function py(e,t){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0)}function hy(e,t){return cy().captureException(e,{captureContext:t})}function vy(e){cy().withScope(e)}function my(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 gy(e,t){return function(e){return Object.keys(e).map((function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))})).join("&")}(Gr({sentry_key:e.publicKey,sentry_version:"7"},t&&{sentry_client:"".concat(t.name,"/").concat(t.version)}))}function yy(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(my(e),"?").concat(gy(e,r))}function by(e){if(e&&e.sdk){var t=e.sdk;return{name:t.name,version:t.version}}}function xy(e,t,n,r){var o=by(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(Hr(e.sdk.integrations||[]),Hr(t.integrations||[])),e.sdk.packages=[].concat(Hr(e.sdk.packages||[]),Hr(t.packages||[])))}(e,n&&n.sdk);var l=function(e,t,n,r){var o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baggage,i=o&&$g(o);return Gr(Gr(Gr({event_id:e.event_id,sent_at:(new Date).toISOString()},t&&{sdk:t}),!!n&&{dsn:ym(r)}),"transaction"===e.type&&i&&{trace:jm(Gr({},i))})}(e,o,r,t);return delete e.sdkProcessingMetadata,Ig(l,[[{type:i,sample_rates:[{id:u,rate:s}]},e]])}var wy=[];function _y(e){return e.reduce((function(e,t){return e.every((function(e){return t.name!==e.name}))&&e.push(t),e}),[])}function Ey(e){var t=e.defaultIntegrations&&Hr(e.defaultIntegrations)||[],n=e.integrations,r=Hr(_y(t));Array.isArray(n)?r=[].concat(Hr(r.filter((function(e){return n.every((function(t){return t.name!==e.name}))}))),Hr(_y(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,Hr(r.splice(i.indexOf(a),1)));return r}var Sy="Not capturing exception because it's already been captured.",ky=function(){function e(t){if(Jr(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=xm(t.dsn);var n=yy(this._dsn,t);this._transport=t.transport(Gr(Gr({recordDroppedEvent:this.recordDroppedEvent.bind(this)},t.transportOptions),{},{url:n}))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("No DSN provided, client will not do anything.")}return $r(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(!gg(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__)&&wm.log(Sy)}},{key:"captureMessage",value:function(e,t,n,r){var o=this,i=n&&n.event_id,a=sm(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&&gg(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__)&&wm.log(Sy)}},{key:"captureSession",value:function(e){this._isEnabled()?"string"!=typeof e.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),ry(e,{init:!1})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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}))})):Eg(!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===wy.indexOf(e.name)&&(e.setupOnce(ay,cy),wy.push(e.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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__)&&wm.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=xy(e,this._dsn,this._options._metadata,this._options.tunnel),o=co(t.attachments||[]);try{for(o.s();!(n=o.n()).done;){var i=n.value;r=jg(r,Vg(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=by(n);return Ig(Gr(Gr({sent_at:(new Date).toISOString()},o&&{sdk:o}),!!r&&{dsn:ym(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__)&&wm.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=co(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)&&(ry(e,Gr(Gr({},n&&{status:"crashed"}),{},{errors:e.errors||Number(r||n)})),this.captureSession(e))}},{key:"_isClientDoneProcessing",value:function(e){var t=this;return new kg((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=Gr(Gr({},e),{},{event_id:e.event_id||t.event_id||dg(),timestamp:e.timestamp||Dg()});this._applyClientOptions(l),this._applyIntegrationsMetadata(l);var c=n;t.captureContext&&(c=oy.clone(c).update(t.captureContext));var f=Eg(l);if(c){var d=[].concat(Hr(t.attachments||[]),Hr(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=Gr(Gr(Gr(Gr(Gr({},e),e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((function(e){return Gr(Gr({},e),e.data&&{data:yg(e.data,t,n)})}))}),e.user&&{user:yg(e.user,t,n)}),e.contexts&&{contexts:yg(e.contexts,t,n)}),e.extra&&{extra:yg(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=yg(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map((function(e){return e.data&&(e.data=yg(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=Am(e.message,a));var u=e.exception&&e.exception.values&&e.exception.values[0];u&&u.value&&(u.value=Am(u.value,a));var s=e.request;s&&s.url&&(s.url=Am(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(Hr(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?wm.log(t.message):wm.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 Sg(new mm("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"),Sg(new mm("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 mm("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(fm(e))return e.then((function(e){if(!lm(e)&&null!==e)throw new mm(t);return e}),(function(e){throw new mm("beforeSend rejected with ".concat(e))}));if(!lm(e)&&null!==e)throw new mm(t);return e}(i(n,t))})).then((function(o){if(null===o)throw r.recordDroppedEvent("before_send",e.type||"error"),new mm("`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 mm)throw e;throw r.captureException(e,{data:{__sentry__:!0},originalException:e}),new mm("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__)&&wm.error("Error while sending event:",e)})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.error("Transport disabled")}},{key:"_clearOutcomes",value:function(){var e=this._outcomes;return this._outcomes={},Object.keys(e).map((function(t){var n=Kr(t.split(":"),2);return{reason:n[0],category:n[1],quantity:e[t]}}))}}]),e}();function Cy(e,t){!0===t.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?wm.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=cy(),r=n.getScope();r&&r.update(t.initialScope);var o=new e(t);n.bindClient(o)}function Ay(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Cg(e.bufferSize||30),r={},o=function(e){return n.drain(e)};function i(o){var i=[];if(zg(o,(function(t,n){var o=qg(n);Wg(r,o)?e.recordDroppedEvent("ratelimit_backoff",o):i.push(t)})),0===i.length)return Eg();var a=Ig(o[0],i),u=function(t){zg(a,(function(n,r){e.recordDroppedEvent(t,qg(r))}))};return n.add((function(){return t({body:Ug(a,e.textEncoder)}).then((function(e){void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Sentry responded with status code ".concat(e.statusCode," to sent event.")),r=Kg(r,e)}),(function(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.error("Failed while sending event:",e),u("network_error")}))})).then((function(e){return e}),(function(e){if(e instanceof mm)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.error("Skipped sending event due to full buffer"),u("queue_overflow"),Eg();throw e}))}return{send:i,flush:o}}var Ty,Py="7.11.1",Oy=function(){function e(){Jr(this,e),e.prototype.__init.call(this)}return $r(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){Ty=Function.prototype.toString,Function.prototype.toString=function(){for(var e=Lm(this)||this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ty.apply(e,n)}}}],[{key:"__initStatic",value:function(){this.id="FunctionToString"}}]),e}();Oy.__initStatic();var Ry=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Dy=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Jr(this,e),this._options=t,e.prototype.__init.call(this)}return $r(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(Hr(e.allowUrls||[]),Hr(t.allowUrls||[])),denyUrls:[].concat(Hr(e.denyUrls||[]),Hr(t.denyUrls||[])),ignoreErrors:[].concat(Hr(e.ignoreErrors||[]),Hr(t.ignoreErrors||[]),Ry),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(Pw){}return!1}(e))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Event dropped due to being internal Sentry Error.\nEvent: ".concat(hg(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__)&&wm.error("Cannot extract message for event ".concat(hg(e))),[]}return[]}(e).some((function(e){return t.some((function(t){return Pm(e,t)}))}))}(e,t.ignoreErrors))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: ".concat(hg(e))),!0;if(function(e,t){if(!t||!t.length)return!1;var n=Ly(e);return!!n&&t.some((function(e){return Pm(n,e)}))}(e,t.denyUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: ".concat(hg(e),".\nUrl: ").concat(Ly(e))),!0;if(!function(e,t){if(!t||!t.length)return!0;var n=Ly(e);return!n||t.some((function(e){return Pm(n,e)}))}(e,t.allowUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: ".concat(hg(e),".\nUrl: ").concat(Ly(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 Ly(e){try{var t;try{t=e.exception.values[0].stacktrace.frames}catch(Pw){}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__)&&wm.error("Cannot extract url for event ".concat(hg(e))),null}}function My(e,t){var n=Fy(e,t),r={type:t&&t.name,value:jy(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Ny(e,t){return{exception:{values:[My(e,t)]}}}function Fy(e,t){var n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(Iy.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(Pw){}return[]}Dy.__initStatic();var Iy=/Minified React error #\d+;/i;function jy(e){var t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function zy(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=Uy(e,t,i,o);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),Eg(a)}function By(e,t,n,r,o){var i;if(im(t)&&t.error)return Ny(e,t.error);if(am(t)||om(t,"DOMException")){var a=t;if("stack"in t)i=Ny(e,t);else{var u=a.name||(am(a)?"DOMError":"DOMException"),s=a.message?"".concat(u,": ").concat(a.message):u;vg(i=Uy(e,s,n,r),s)}return"code"in a&&(i.tags=Gr(Gr({},i.tags),{},{"DOMException.code":"".concat(a.code)})),i}return rm(t)?Ny(e,t):lm(t)||cm(t)?(i=function(e,t,n,r){var o={exception:{values:[{type:cm(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:"Non-Error ".concat(r?"promise rejection":"exception"," captured with keys: ").concat(Im(t))}]},extra:{__serialized__:bg(t)}};if(n){var i=Fy(e,n);i.length&&(o.exception.values[0].stacktrace={frames:i})}return o}(e,t,n,o),mg(i,{synthetic:!0}),i):(vg(i=Uy(e,t,n,r),"".concat(t),void 0),mg(i,{synthetic:!0}),i)}function Uy(e,t,n,r){var o={message:t};if(r&&n){var i=Fy(e,n);i.length&&(o.exception={values:[{value:t,stacktrace:{frames:i}}]})}return o}var Vy="Breadcrumbs",Hy=function(){function e(t){Jr(this,e),e.prototype.__init.call(this),this.options=Gr({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}return $r(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){this.options.console&&Jm("console",qy),this.options.dom&&Jm("dom",function(e){function t(t){var n,r="object"===lo(e)?e.serializeAttribute:void 0;"string"==typeof r&&(r=[r]);try{n=t.event.target?hm(t.event.target,r):hm(t.event,r)}catch(Pw){n="<unknown>"}0!==n.length&&cy().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&&Jm("xhr",Yy),this.options.fetch&&Jm("fetch",Gy),this.options.history&&Jm("history",Wy)}}],[{key:"__initStatic",value:function(){this.id=Vy}}]),e}();function qy(e){var t,n={category:"console",data:{arguments:e.args,logger:"console"},level:(t=e.level,"warn"===t?"warning":Tg.includes(t)?t:"log"),message:Tm(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;n.message="Assertion failed: ".concat(Tm(e.args.slice(1)," ")||"console.assert"),n.data.arguments=e.args.slice(1)}cy().addBreadcrumb(n,{input:e.args,level:e.level})}function Yy(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;cy().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:o},type:"http"},{xhr:e.xhr,input:i})}else;}function Gy(e){e.endTimestamp&&(e.fetchData.url.match(/sentry_key/)&&"POST"===e.fetchData.method||(e.error?cy().addBreadcrumb({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args}):cy().addBreadcrumb({category:"fetch",data:Gr(Gr({},e.fetchData),{},{status_code:e.response.status}),type:"http"},{input:e.args,response:e.response})))}function Wy(e){var t=em(),n=e.from,r=e.to,o=Ag(t.location.href),i=Ag(n),a=Ag(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),cy().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}Hy.__initStatic();var Ky,Xy=em();function Zy(){if(Ky)return Ky;if(Wm(Xy.fetch))return Ky=Xy.fetch.bind(Xy);var e=Xy.document,t=Xy.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(Pw){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",Pw)}return Ky=t.bind(Xy)}var Qy=em(),$y=function(e){eo(n,e);var t=to(n);function n(e){var r;return Jr(this,n),e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:Py}],version:Py},r=t.call(this,e),e.sendClientReports&&Qy.document&&Qy.document.addEventListener("visibilitychange",(function(){"hidden"===Qy.document.visibilityState&&r._flushOutcomes()})),r}return $r(n,[{key:"eventFromException",value:function(e,t){return function(e,t,n,r){var o=By(e,t,n&&n.syntheticException||void 0,r);return mg(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),Eg(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 zy(this._options.stackParser,e,t,n,this._options.attachStacktrace)}},{key:"sendEvent",value:function(e,t){var r=this.getIntegrationById(Vy);r&&r.options&&r.options.sentry&&cy().addBreadcrumb({category:"sentry.".concat("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:hg(e)},{event:e}),Ur(so(n.prototype),"sendEvent",this).call(this,e,t)}},{key:"_prepareEvent",value:function(e,t,r){return e.platform=e.platform||"javascript",Ur(so(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__)&&wm.log("Sending outcomes:",e);var t,n,r,o=yy(this._dsn,this._options),i=(t=e,Ig((n=this._options.tunnel&&ym(this._dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:r||Dg(),discarded_events:t}]]));try{!function(e,t){"[object Navigator]"===Object.prototype.toString.call(Xy&&Xy.navigator)&&"function"==typeof Xy.navigator.sendBeacon?Xy.navigator.sendBeacon.bind(Xy.navigator)(e,t):Gm()&&Zy()(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,(function(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.error(e)}))}(o,Ug(i))}catch(Pw){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.error(Pw)}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("No dsn provided, will not send outcomes");else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("No outcomes to send")}}]),n}(ky);function Jy(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Zy();function n(n){var r=Gr({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 Ay(e,n)}function eb(e){return Ay(e,(function(t){return new kg((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 tb="?";function nb(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 rb=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ob=/\((\S*)(?::(\d+))(?::(\d+))\)/,ib=/^\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,ab=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,ub=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,sb=[[30,function(e){var t=rb.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){var n=ob.exec(t[2]);n&&(t[2]=n[1],t[3]=n[2],t[4]=n[3])}var r=Kr(cb(t[1]||tb,t[2]),2),o=r[0];return nb(r[1],o,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],[50,function(e){var t=ib.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){var n=ab.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]||tb,i=Kr(cb(o,r),2);return o=i[0],nb(r=i[1],o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],[40,function(e){var t=ub.exec(e);return t?nb(t[2],t[1]||tb,+t[3],t[4]?+t[4]:void 0):void 0}]],lb=Um.apply(void 0,sb),cb=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]:tb,n?"safari-extension:".concat(t):"safari-web-extension:".concat(t)]:[e,t]},fb=0;function db(){return fb>0}function pb(){fb+=1,setTimeout((function(){fb-=1}))}function hb(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(Lm(e))return e}catch(Pw){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 hb(e,t)}));return e.apply(this,o)}catch(i){throw pb(),vy((function(e){e.addEventProcessor((function(e){return t.mechanism&&(vg(e,void 0,void 0),mg(e,t.mechanism)),e.extra=Gr(Gr({},e.extra),{},{arguments:r}),e})),hy(i)})),i}};try{for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e[i])}catch(u){}Dm(o,e),Rm(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 vb=function(){function e(t){Jr(this,e),e.prototype.__init.call(this),e.prototype.__init2.call(this),this._options=Gr({onerror:!0,onunhandledrejection:!0},t)}return $r(e,[{key:"__init",value:function(){this.name=e.id}},{key:"__init2",value:function(){this._installFunc={onerror:mb,onunhandledrejection:gb}}},{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__)&&wm.log("Global Handler attached: ".concat(e)),r(),this._installFunc[n]=void 0)}}}],[{key:"__initStatic",value:function(){this.id="GlobalHandlers"}}]),e}();function mb(){Jm("error",(function(e){var t=Kr(xb(),3),n=t[0],r=t[1],o=t[2];if(n.getIntegration(vb)){var i=e.msg,a=e.url,u=e.line,s=e.column,l=e.error;if(!(db()||l&&l.__sentry_own_request__)){var c=void 0===l&&um(i)?function(e,t,n,r){var o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,i=im(e)?e.message:e,a="Error",u=i.match(o);u&&(a=u[1],i=u[2]);return yb({exception:{values:[{type:a,value:i}]}},t,n,r)}(i,a,u,s):yb(By(r,l||i,void 0,o,!1),a,u,s);c.level="error",bb(n,l,c,"onerror")}}}))}function gb(){Jm("unhandledrejection",(function(e){var t=Kr(xb(),3),n=t[0],r=t[1],o=t[2];if(n.getIntegration(vb)){var i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch(u){}if(db()||i&&i.__sentry_own_request__)return!0;var a=sm(i)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: ".concat(String(i))}]}}:By(r,i,void 0,o,!0);a.level="error",bb(n,i,a,"onunhandledrejection")}}))}function yb(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=um(t)&&t.length>0?t:function(){var e=em();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 bb(e,t,n,r){mg(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function xb(){var e=cy(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:function(){return[]},attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}vb.__initStatic();var wb=["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"],_b=function(){function e(t){Jr(this,e),e.prototype.__init.call(this),this._options=Gr({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t)}return $r(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){var e=em();this._options.setTimeout&&Om(e,"setTimeout",Eb),this._options.setInterval&&Om(e,"setInterval",Eb),this._options.requestAnimationFrame&&Om(e,"requestAnimationFrame",Sb),this._options.XMLHttpRequest&&"XMLHttpRequest"in e&&Om(XMLHttpRequest.prototype,"send",kb);var t=this._options.eventTarget;t&&(Array.isArray(t)?t:wb).forEach(Cb)}}],[{key:"__initStatic",value:function(){this.id="TryCatch"}}]),e}();function Eb(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]=hb(o,{mechanism:{data:{function:Ym(e)},handled:!0,type:"instrument"}}),e.apply(this,n)}}function Sb(e){return function(t){return e.apply(this,[hb(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Ym(e)},handled:!0,type:"instrument"}})])}}function kb(e){return function(){var t=this,n=["onload","onerror","onprogress","onreadystatechange"];n.forEach((function(e){e in t&&"function"==typeof t[e]&&Om(t,e,(function(t){var n={mechanism:{data:{function:e,handler:Ym(t)},handled:!0,type:"instrument"}},r=Lm(t);return r&&(n.mechanism.data.handler=Ym(r)),hb(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 Cb(e){var t=em(),n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Om(n,"addEventListener",(function(t){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=hb(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Ym(r),target:e},handled:!0,type:"instrument"}}))}catch(i){}return t.apply(this,[n,hb(r,{mechanism:{data:{function:"addEventListener",handler:Ym(r),target:e},handled:!0,type:"instrument"}}),o])}})),Om(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(Pw){}return e.call(this,t,o,r)}})))}_b.__initStatic();var Ab="cause",Tb=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Jr(this,e),e.prototype.__init.call(this),this._key=t.key||Ab,this._limit=t.limit||5}return $r(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){var t=cy().getClient();t&&ay((function(n,r){var o=cy().getIntegration(e);return o?function(e,t,n,r,o){if(!(r.exception&&r.exception.values&&o&&pm(o.originalException,Error)))return r;var i=Pb(e,n,o.originalException,t);return r.exception.values=[].concat(Hr(i),Hr(r.exception.values)),r}(t.getOptions().stackParser,o._key,o._limit,n,r):n}))}}],[{key:"__initStatic",value:function(){this.id="LinkedErrors"}}]),e}();function Pb(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];if(!pm(n[r],Error)||o.length+1>=t)return o;var i=My(e,n[r]);return Pb(e,t,n[r],r,[i].concat(Hr(o)))}Tb.__initStatic();var Ob=em(),Rb=function(){function e(){Jr(this,e),e.prototype.__init.call(this)}return $r(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){ay((function(t){if(cy().getIntegration(e)){if(!Ob.navigator&&!Ob.location&&!Ob.document)return t;var n=t.request&&t.request.url||Ob.location&&Ob.location.href,r=(Ob.document||{}).referrer,o=(Ob.navigator||{}).userAgent,i=Gr(Gr(Gr({},t.request&&t.request.headers),r&&{Referer:r}),o&&{"User-Agent":o}),a=Gr(Gr({},n&&{url:n}),{},{headers:i});return Gr(Gr({},t),{},{request:a})}return t}))}}],[{key:"__initStatic",value:function(){this.id="HttpContext"}}]),e}();Rb.__initStatic();var Db=function(){function e(){Jr(this,e),e.prototype.__init.call(this)}return $r(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(!Mb(e,t))return!1;if(!Lb(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){var n=Nb(t),r=Nb(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!Mb(e,t))return!1;if(!Lb(e,t))return!1;return!0}(e,t))return!0;return!1}(t,r._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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 Lb(e,t){var n=Fb(e),r=Fb(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 Mb(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 Nb(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Fb(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(n){return}}Db.__initStatic();var Ib=[new Dy,new Oy,new _b,new Hy,new vb,new Tb,new Db,new Rb];function jb(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function zb(){if(void 0!==em().document){var e=cy();e.captureSession&&(jb(e),Jm("history",(function(e){var t=e.from,n=e.to;void 0!==t&&t!==n&&jb(cy())})))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}var Bb={exports:{}},Ub={},Vb="function"==typeof Symbol&&Symbol.for,Hb=Vb?Symbol.for("react.element"):60103,qb=Vb?Symbol.for("react.portal"):60106,Yb=Vb?Symbol.for("react.fragment"):60107,Gb=Vb?Symbol.for("react.strict_mode"):60108,Wb=Vb?Symbol.for("react.profiler"):60114,Kb=Vb?Symbol.for("react.provider"):60109,Xb=Vb?Symbol.for("react.context"):60110,Zb=Vb?Symbol.for("react.async_mode"):60111,Qb=Vb?Symbol.for("react.concurrent_mode"):60111,$b=Vb?Symbol.for("react.forward_ref"):60112,Jb=Vb?Symbol.for("react.suspense"):60113,ex=Vb?Symbol.for("react.suspense_list"):60120,tx=Vb?Symbol.for("react.memo"):60115,nx=Vb?Symbol.for("react.lazy"):60116,rx=Vb?Symbol.for("react.block"):60121,ox=Vb?Symbol.for("react.fundamental"):60117,ix=Vb?Symbol.for("react.responder"):60118,ax=Vb?Symbol.for("react.scope"):60119;function ux(e){if("object"===lo(e)&&null!==e){var t=e.$$typeof;switch(t){case Hb:switch(e=e.type){case Zb:case Qb:case Yb:case Wb:case Gb:case Jb:return e;default:switch(e=e&&e.$$typeof){case Xb:case $b:case nx:case tx:case Kb:return e;default:return t}}case qb:return t}}}function sx(e){return ux(e)===Qb}Ub.AsyncMode=Zb,Ub.ConcurrentMode=Qb,Ub.ContextConsumer=Xb,Ub.ContextProvider=Kb,Ub.Element=Hb,Ub.ForwardRef=$b,Ub.Fragment=Yb,Ub.Lazy=nx,Ub.Memo=tx,Ub.Portal=qb,Ub.Profiler=Wb,Ub.StrictMode=Gb,Ub.Suspense=Jb,Ub.isAsyncMode=function(e){return sx(e)||ux(e)===Zb},Ub.isConcurrentMode=sx,Ub.isContextConsumer=function(e){return ux(e)===Xb},Ub.isContextProvider=function(e){return ux(e)===Kb},Ub.isElement=function(e){return"object"===lo(e)&&null!==e&&e.$$typeof===Hb},Ub.isForwardRef=function(e){return ux(e)===$b},Ub.isFragment=function(e){return ux(e)===Yb},Ub.isLazy=function(e){return ux(e)===nx},Ub.isMemo=function(e){return ux(e)===tx},Ub.isPortal=function(e){return ux(e)===qb},Ub.isProfiler=function(e){return ux(e)===Wb},Ub.isStrictMode=function(e){return ux(e)===Gb},Ub.isSuspense=function(e){return ux(e)===Jb},Ub.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Yb||e===Qb||e===Wb||e===Gb||e===Jb||e===ex||"object"===lo(e)&&null!==e&&(e.$$typeof===nx||e.$$typeof===tx||e.$$typeof===Kb||e.$$typeof===Xb||e.$$typeof===$b||e.$$typeof===ox||e.$$typeof===ix||e.$$typeof===ax||e.$$typeof===rx)},Ub.typeOf=ux,function(e){e.exports=Ub}(Bb);var lx=Bb.exports,cx={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},fx={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},dx={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},px={};function hx(e){return lx.isMemo(e)?dx:px[e.$$typeof]||cx}px[lx.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},px[lx.Memo]=dx;var vx=Object.defineProperty,mx=Object.getOwnPropertyNames,gx=Object.getOwnPropertySymbols,yx=Object.getOwnPropertyDescriptor,bx=Object.getPrototypeOf,xx=Object.prototype;var wx=function e(t,n,r){if("string"!=typeof n){if(xx){var o=bx(n);o&&o!==xx&&e(t,o,r)}var i=mx(n);gx&&(i=i.concat(gx(n)));for(var a=hx(t),u=hx(n),s=0;s<i.length;++s){var l=i[s];if(!(fx[l]||r&&r[l]||u&&u[l]||a&&a[l])){var c=yx(n,l);try{vx(t,l,c)}catch(Pw){}}}}return t},_x={exports:{}},Ex={},Sx=Xr.exports,kx=Symbol.for("react.element"),Cx=Symbol.for("react.fragment"),Ax=Object.prototype.hasOwnProperty,Tx=Sx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Px={key:!0,ref:!0,__self:!0,__source:!0};function Ox(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)Ax.call(t,r)&&!Px.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:kx,type:e,key:i,ref:a,props:o,_owner:Tx.current}}Ex.Fragment=Cx,Ex.jsx=Ox,Ex.jsxs=Ox,function(e){e.exports=Ex}(_x);var Rx=Ir("F",_x.exports.Fragment),Dx=Ir("j",_x.exports.jsx),Lx=Ir("i",_x.exports.jsxs);function Mx(e){var t=cy().getClient(),n=e||t&&t.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function Nx(e){var t=(e||cy()).getScope();return t&&t.getTransaction()}function Fx(e){return e/1e3}function Ix(){var e=Nx();if(e){var t="internal_error";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] Transaction: ".concat(t," -> Global error occured")),e.setStatus(t)}}var jx=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;Jr(this,e),e.prototype.__init.call(this),this._maxlen=t}return $r(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 zx=function(e){eo(n,e);var t=to(n);function n(e,r){var o;return Jr(this,n),o=t.call(this,e),n.prototype.__init.call(ro(o)),o._hub=r||cy(),o._name=e.name||"",o.metadata=Gr(Gr({},e.metadata),{},{spanMetadata:{}}),o._trimEnd=e.trimEnd,o.transaction=ro(o),o}return $r(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 jx(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=Gr(Gr({},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__)&&wm.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),Ur(so(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=Gr({contexts:{trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:Gr(Gr({},o),{},{baggage:this.getBaggage()})},o.source&&{transaction_info:{source:o.source}});return Object.keys(this._measurements).length>0&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] Finishing ".concat(this.op," transaction: ").concat(this.name,".")),this._hub.captureEvent(i)}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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 jm(Gr(Gr({},Ur(so(n.prototype),"toContext",this).call(this)),{},{name:this.name,trimEnd:this._trimEnd}))}},{key:"updateWithContext",value:function(e){return Ur(so(n.prototype),"updateWithContext",this).call(this,e),this.name=Bm(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]:Qg({}),t=this._hub||cy(),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 Qg(jm(Gr({environment:o,release:i,transaction:p,user_segment:f,public_key:u,trace_id:this.traceId,sample_rate:s},$g(e))),"",!1)}}]),n}(function(){function e(t){if(Jr(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 $r(e,[{key:"__init2",value:function(){this.traceId=dg()}},{key:"__init3",value:function(){this.spanId=dg().substring(16)}},{key:"__init4",value:function(){this.startTimestamp=Mg()}},{key:"__init5",value:function(){this.tags={}}},{key:"__init6",value:function(){this.data={}}},{key:"startChild",value:function(t){var n=new e(Gr(Gr({},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},wm.log(a)}return n}},{key:"setTag",value:function(e,t){return this.tags=Gr(Gr({},this.tags),{},Wr({},e,t)),this}},{key:"setData",value:function(e,t){return this.data=Gr(Gr({},this.data),{},Wr({},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&&wm.log(t.replace("Starting","Finishing"))}this.endTimestamp="number"==typeof e?e:Mg()}},{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 jm({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=Bm(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=Bm(e.spanId,(function(){return t.spanId})),this.startTimestamp=Bm(e.startTimestamp,(function(){return t.startTimestamp})),this.status=e.status,this.tags=Bm(e.tags,(function(){return{}})),this.traceId=Bm(e.traceId,(function(){return t.traceId})),this}},{key:"getTraceContext",value:function(){return jm({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 jm({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}()),Bx=1e3,Ux=3e4,Vx=function(e){eo(n,e);var t=to(n);function n(e,r,o,i){var a;return Jr(this,n),(a=t.call(this,i))._pushActivity=e,a._popActivity=r,a.transactionSpanId=o,a}return $r(n,[{key:"add",value:function(e){var t=this;e.spanId!==this.transactionSpanId&&(e.finish=function(n){e.endTimestamp="number"==typeof n?n:Mg(),t._popActivity(e.spanId)},void 0===e.endTimestamp&&this._pushActivity(e.spanId)),Ur(so(n.prototype),"add",this).call(this,e)}}]),n}(jx),Hx=function(e){eo(n,e);var t=to(n);function n(e,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Bx,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ux,u=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return Jr(this,n),(o=t.call(this,e,r))._idleHub=r,o._idleTimeout=i,o._finalTimeout=a,o._onScope=u,n.prototype.__init.call(ro(o)),n.prototype.__init2.call(ro(o)),n.prototype.__init3.call(ro(o)),n.prototype.__init4.call(ro(o)),u&&(qx(r),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("Setting idle transaction on scope. Span ID: ".concat(o.spanId)),r.configureScope((function(e){return e.setSpan(ro(o))}))),o._startIdleTimeout(),setTimeout((function(){o._finished||(o.setStatus("deadline_exceeded"),o.finish())}),o._finalTimeout),o}return $r(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]:Mg();if(this._finished=!0,this.activities={},this.spanRecorder){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op);var r,o=co(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__)&&wm.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__)&&wm.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(n,void 0,2)),r})),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] flushing IdleTransaction")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] No active IdleTransaction");return this._onScope&&qx(this._idleHub),Ur(so(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 Vx((function(e){t._finished||t._pushActivity(e)}),(function(e){t._finished||t._popActivity(e)}),this.spanId,e),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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__)&&wm.log("[Tracing] pushActivity: ".concat(e)),this.activities[e]=!0,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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__)&&wm.log("[Tracing] popActivity ".concat(e)),delete this.activities[e],("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){var t=Mg()+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__)&&wm.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__)&&wm.log("pinging Heartbeat -> current counter: ".concat(this._heartbeatCounter)),setTimeout((function(){e._beat()}),5e3)}}]),n}(zx);function qx(e){var t=e.getScope();t&&(t.getTransaction()&&t.setSpan(void 0))}function Yx(){var e=this.getScope();if(e){var t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function Gx(e,t,n){return Mx(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(dm(e)||"number"!=typeof e&&"boolean"!=typeof e)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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(lo(e)),".")),!1;if(e<0||e>1)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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__)&&wm.log("[Tracing] starting ".concat(e.op," transaction - ").concat(e.name)),e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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__)&&wm.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__)&&wm.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)):(e.sampled=!1,e);var r}function Wx(e,t){var n=this.getClient(),r=n&&n.getOptions()||{},o=new zx(e,this);return(o=Gx(o,r,Gr({parentSampled:e.parentSampled,transactionContext:e},t))).sampled&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),o}function Kx(){var e=sy();if(e.__SENTRY__){var t={mongodb:function(){return new($v(Vr,"./integrations/node/mongo").Mongo)},mongoose:function(){return new($v(Vr,"./integrations/node/mongo").Mongo)({mongoose:!0})},mysql:function(){return new($v(Vr,"./integrations/node/mysql").Mysql)},pg:function(){return new($v(Vr,"./integrations/node/postgres").Postgres)}},n=Object.keys(t).filter((function(e){return!!function(e){var t;try{t=$v(Vr,e)}catch(Pw){}try{var n=$v(Vr,"process").cwd;t=$v(Vr,"".concat(n(),"/node_modules/").concat(e))}catch(Pw){}return t}(e)})).map((function(e){try{return t[e]()}catch(Pw){return}})).filter((function(e){return e}));n.length>0&&(e.__SENTRY__.integrations=[].concat(Hr(e.__SENTRY__.integrations||[]),Hr(n)))}}var Xx=em();var Zx=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)))}},Qx=function(e,t){return{name:e,value:Bm(t,(function(){return-1})),delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},$x=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(Pw){}},Jx=function(e,t){var n=function n(r){"pagehide"!==r.type&&"hidden"!==em().document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},ew=-1,tw=function(){return ew<0&&(ew="hidden"===em().document.visibilityState?0:1/0,Jx((function(e){var t=e.timeStamp;ew=t}),!0)),{get firstHiddenTime(){return ew}}},nw={};function rw(e){return"number"==typeof e&&isFinite(e)}function ow(e,t){var n=t.startTimestamp,r=Br(t,Pt);return n&&e.startTimestamp>n&&(e.startTimestamp=n),e.startChild(Gr({startTimestamp:n},r))}var iw=em();function aw(){return iw&&iw.addEventListener&&iw.performance}var uw,sw,lw=0,cw={};function fw(){!function(e,t){var n,r=Qx("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=$x("layout-shift",a);u&&(n=Zx(e,r,t),Jx((function(){u.takeRecords().map(a),n(!0)})))}((function(e){var t=e.entries.pop();t&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding CLS"),cw.cls={value:e.value,unit:""},sw=t)}))}function dw(e){!function(e,t){var n,r=tw(),o=Qx("LCP"),i=function(e){var t=e.startTime;t<r.firstHiddenTime&&(o.value=t,o.entries.push(e)),n&&n()},a=$x("largest-contentful-paint",i);if(a){n=Zx(e,o,t);var u=function(){nw[o.id]||(a.takeRecords().map(i),a.disconnect(),nw[o.id]=!0,n(!0))};["keydown","click"].forEach((function(e){addEventListener(e,u,{once:!0,capture:!0})})),Jx(u,!0)}}((function(e){var t=e.entries.pop();if(t){var n=Fx(Ng),r=Fx(t.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding LCP"),cw.lcp={value:e.value,unit:"millisecond"},cw["mark.lcp"]={value:n+r,unit:"second"},uw=t}}),e)}function pw(){!function(e,t){var n,r=tw(),o=Qx("FID"),i=function(e){n&&e.startTime<r.firstHiddenTime&&(o.value=e.processingStart-e.startTime,o.entries.push(e),n(!0))},a=$x("first-input",i);a&&(n=Zx(e,o,t),Jx((function(){a.takeRecords().map(i),a.disconnect()}),!0))}((function(e){var t=e.entries.pop();if(t){var n=Fx(Ng),r=Fx(t.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding FID"),cw.fid={value:e.value,unit:"millisecond"},cw["mark.fid"]={value:n+r,unit:"second"}}}))}function hw(e){var t=aw();if(t&&iw.performance.getEntries&&Ng){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] Adding & adjusting spans using Performance API");var n,r,o=Fx(Ng),i=t.getEntries();i.slice(lw).forEach((function(t){var i=Fx(t.startTime),a=Fx(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){vw(e,t,r,n)})),vw(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),vw(e,t,"fetch",n,"cache","domainLookupStart"),vw(e,t,"domainLookup",n,"DNS"),function(e,t,n){ow(e,{op:"browser",description:"request",startTimestamp:n+Fx(t.requestStart),endTimestamp:n+Fx(t.responseEnd)}),ow(e,{op:"browser",description:"response",startTimestamp:n+Fx(t.responseStart),endTimestamp:n+Fx(t.responseEnd)})}(e,t,n)}(e,t,o),n=o+Fx(t.responseStart),r=o+Fx(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 ow(e,{description:t.name,endTimestamp:a,op:t.entryType,startTimestamp:i}),i}(e,t,i,a,o),s=tw(),l=t.startTime<s.firstHiddenTime;"first-paint"===t.name&&l&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding FP"),cw.fp={value:t.startTime,unit:"millisecond"},cw["mark.fp"]={value:u,unit:"second"}),"first-contentful-paint"===t.name&&l&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding FCP"),cw.fcp={value:t.startTime,unit:"millisecond"},cw["mark.fcp"]={value:u,unit:"second"});break;case"resource":var c=t.name.replace(iw.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;ow(e,{description:n,endTimestamp:u+o,op:t.initiatorType?"resource.".concat(t.initiatorType):"resource",startTimestamp:u,data:a})}(e,t,c,i,a,o)}})),lw=Math.max(i.length-1,0),function(e){var t=iw.navigator;if(!t)return;var n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),rw(n.rtt)&&(cw["connection.rtt"]={value:n.rtt,unit:"millisecond"}),rw(n.downlink)&&(cw["connection.downlink"]={value:n.downlink,unit:""}));rw(t.deviceMemory)&&e.setTag("deviceMemory","".concat(t.deviceMemory," GB"));rw(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===e.op&&("number"==typeof n&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding TTFB"),cw.ttfb={value:1e3*(n-e.startTimestamp),unit:"millisecond"},"number"==typeof r&&r<=n&&(cw["ttfb.requestTime"]={value:1e3*(n-r),unit:"millisecond"})),["fcp","fp","lcp"].forEach((function(t){if(cw[t]&&!(o>=e.startTimestamp)){var n=cw[t].value,r=o+Fx(n),i=Math.abs(1e3*(r-e.startTimestamp)),a=i-n;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Normalized ".concat(t," from ").concat(n," to ").concat(i," (").concat(a,")")),cw[t].value=i}})),cw["mark.fid"]&&cw.fid&&ow(e,{description:"first input delay",endTimestamp:cw["mark.fid"].value+Fx(cw.fid.value),op:"web.vitals",startTimestamp:cw["mark.fid"].value}),"fcp"in cw||delete cw.cls,Object.keys(cw).forEach((function(t){e.setMeasurement(t,cw[t].value,cw[t].unit)})),function(e){uw&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding LCP Data"),uw.element&&e.setTag("lcp.element",hm(uw.element)),uw.id&&e.setTag("lcp.id",uw.id),uw.url&&e.setTag("lcp.url",uw.url.trim().slice(0,200)),e.setTag("lcp.size",uw.size));sw&&sw.sources&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Measurements] Adding CLS Data"),sw.sources.forEach((function(t,n){return e.setTag("cls.source.".concat(n+1),hm(t.node))})))}(e)),uw=void 0,sw=void 0,cw={}}}function vw(e,t,n,r,o,i){var a=i?t[i]:t["".concat(n,"End")],u=t["".concat(n,"Start")];u&&a&&ow(e,{op:"browser",description:Bm(o,(function(){return n})),startTimestamp:r+Fx(u),endTimestamp:r+Fx(a)})}var mw={traceFetch:!0,traceXHR:!0,tracingOrigins:["localhost",/^\//]};function gw(e){var t=Gr(Gr({},mw),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 Pm(e,t)}))&&!Pm(e,"sentry_key"),a[e]},s=u;"function"==typeof i&&(s=function(e){return u(e)&&i(e)});var l={};n&&Jm("fetch",(function(e){!function(e,t,n){if(!Mx()||!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=Nx();if(o){var i=o.startChild({data:Gr(Gr({},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;pm(e,Request)&&(o=e.headers);if(o)if("function"==typeof o.append)o.append("sentry-trace",n.toTraceparent()),o.append(Xg,ey(t,o.get(Xg)));else if(Array.isArray(o)){var i=o.find((function(e){var t=Kr(e,2),n=t[0];t[1];return n===Xg})),a=Kr(i,2)[1];o=[].concat(Hr(o),[["sentry-trace",n.toTraceparent()],[Xg,ey(t,a)]])}else o=Gr(Gr({},o),{},{"sentry-trace":n.toTraceparent(),baggage:ey(t,o.baggage)});else o={"sentry-trace":n.toTraceparent(),baggage:ey(t)};return o}(a,o.getBaggage(),i,u)}}(e,s,l)})),r&&Jm("xhr",(function(e){!function(e,t,n){if(!Mx()||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=Nx();if(i){var a=i.startChild({data:Gr(Gr({},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(Xg);e.xhr.setRequestHeader(Xg,ey(i.getBaggage(),u))}catch($w){}}}(e,s,l)}))}var yw=em();var bw,xw=Gr({idleTimeout:Bx,finalTimeout:Ux,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(yw&&yw.location){var r,o=yw.location.href;t&&(r=e({name:yw.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&Jm("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__)&&wm.log("[Tracing] Finishing current transaction with op: ".concat(r.op)),r.finish()),r=e({name:yw.location.pathname,op:"navigation",metadata:{source:"url"}}))}))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("Could not initialize routing instrumentation due to invalid location")},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,_experiments:{enableLongTask:!0}},mw),ww=function(){function e(t){Jr(this,e),e.prototype.__init.call(this);var n=mw.tracingOrigins;t&&(t.tracingOrigins&&Array.isArray(t.tracingOrigins)?n=t.tracingOrigins:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(this._emitOptionsWarning=!0)),this.options=Gr(Gr(Gr({},xw),t),{},{tracingOrigins:n});var r=this.options._metricOptions;!function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=aw();t&&Ng&&(t.mark&&iw.performance.mark("sentry-tracing-init"),fw(),dw(e),pw())}(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}])&&$x("longtask",(function(e){var t=Nx();if(t){var n=Fx(Ng+e.startTime),r=Fx(e.duration);t.startChild({description:"Long Task",op:"ui.long-task",startTimestamp:n,endTimestamp:n+r})}}))}return $r(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__)&&wm.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__)&&wm.warn("[Tracing] We added a reasonable default for you: ".concat(mw.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&&(Xx&&Xx.document?Xx.document.addEventListener("visibilitychange",(function(){var e=Nx();if(Xx.document.hidden&&e){var t="cancelled";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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__)&&wm.warn("[Tracing] Could not set up background tab detection due to lack of global document")),gw({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=_w("sentry-trace"),t=_w("baggage"),n=e?function(e){var t,n=e.match(Fg);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=ty(t,e);if(n||r)return Gr(Gr({},n&&n),r&&{metadata:{baggage:r}});return}():void 0,u=Gr(Gr(Gr(Gr({},e),a),a&&{metadata:Gr(Gr({},e.metadata),a.metadata)}),{},{trimEnd:!0}),s="function"==typeof r?r(u):u,l=void 0===s?Gr(Gr({},u),{},{sampled:!1}):s;l.metadata=l.name!==u.name?Gr(Gr({},l.metadata),{},{source:"custom"}):l.metadata,!1===l.sampled&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.log("[Tracing] Will not send ".concat(l.op," transaction because of beforeNavigate.")),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.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 Hx(t,e,n,r,o);return(s=Gx(s,u,Gr({parentSampled:t.parentSampled,transactionContext:t},i))).sampled&&s.initSpanRecorder(u._experiments&&u._experiments.maxSpans),s}(this._getCurrentHub(),l,o,i,!0,{location:em().location});return c.registerBeforeFinishCallback((function(e){hw(e),e.setTag("sentry_reportAllChanges",Boolean(t.options._metricOptions&&t.options._metricOptions._reportAllChanges))})),c}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&wm.warn("[Tracing] Did not create ".concat(e.op," transaction because _getCurrentHub is invalid."))}}]),e}();function _w(e){var t=em();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__)&&((bw=sy()).__SENTRY__&&(bw.__SENTRY__.extensions=bw.__SENTRY__.extensions||{},bw.__SENTRY__.extensions.startTransaction||(bw.__SENTRY__.extensions.startTransaction=Wx),bw.__SENTRY__.extensions.traceHeaders||(bw.__SENTRY__.extensions.traceHeaders=Yx)),Qv()&&Kx(),Jm("error",Ix),Jm("unhandledrejection",Ix));var Ew,Sw={exports:{}},kw={},Cw=Symbol.for("react.element"),Aw=Symbol.for("react.portal"),Tw=Symbol.for("react.fragment"),Pw=Symbol.for("react.strict_mode"),Ow=Symbol.for("react.profiler"),Rw=Symbol.for("react.provider"),Dw=Symbol.for("react.context"),Lw=Symbol.for("react.server_context"),Mw=Symbol.for("react.forward_ref"),Nw=Symbol.for("react.suspense"),Fw=Symbol.for("react.suspense_list"),Iw=Symbol.for("react.memo"),jw=Symbol.for("react.lazy"),zw=Symbol.for("react.offscreen");function Bw(e){if("object"===lo(e)&&null!==e){var t=e.$$typeof;switch(t){case Cw:switch(e=e.type){case Tw:case Ow:case Pw:case Nw:case Fw:return e;default:switch(e=e&&e.$$typeof){case Lw:case Dw:case Mw:case jw:case Iw:case Rw:return e;default:return t}}case Aw:return t}}}Ew=Symbol.for("react.module.reference"),kw.ContextConsumer=Dw,kw.ContextProvider=Rw,kw.Element=Cw,kw.ForwardRef=Mw,kw.Fragment=Tw,kw.Lazy=jw,kw.Memo=Iw,kw.Portal=Aw,kw.Profiler=Ow,kw.StrictMode=Pw,kw.Suspense=Nw,kw.SuspenseList=Fw,kw.isAsyncMode=function(){return!1},kw.isConcurrentMode=function(){return!1},kw.isContextConsumer=function(e){return Bw(e)===Dw},kw.isContextProvider=function(e){return Bw(e)===Rw},kw.isElement=function(e){return"object"===lo(e)&&null!==e&&e.$$typeof===Cw},kw.isForwardRef=function(e){return Bw(e)===Mw},kw.isFragment=function(e){return Bw(e)===Tw},kw.isLazy=function(e){return Bw(e)===jw},kw.isMemo=function(e){return Bw(e)===Iw},kw.isPortal=function(e){return Bw(e)===Aw},kw.isProfiler=function(e){return Bw(e)===Ow},kw.isStrictMode=function(e){return Bw(e)===Pw},kw.isSuspense=function(e){return Bw(e)===Nw},kw.isSuspenseList=function(e){return Bw(e)===Fw},kw.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Tw||e===Ow||e===Pw||e===Nw||e===Fw||e===zw||"object"===lo(e)&&null!==e&&(e.$$typeof===jw||e.$$typeof===Iw||e.$$typeof===Rw||e.$$typeof===Dw||e.$$typeof===Mw||e.$$typeof===Ew||void 0!==e.getModuleId)},kw.typeOf=Bw,function(e){e.exports=kw}(Sw);function Uw(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"===lo(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 Vw={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 Hw(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var qw=/^((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)-.*))$/,Yw=Hw((function(e){return qw.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function Gw(){return(Gw=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 Ww=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},Kw=function(e){return null!==e&&"object"==lo(e)&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!Sw.exports.typeOf(e)},Xw=Object.freeze([]),Zw=Object.freeze({});function Qw(e){return"function"==typeof e}function $w(e){return e.displayName||e.name||"Component"}function Jw(e){return e&&"string"==typeof e.styledComponentId}var e_="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",t_="undefined"!=typeof window&&"HTMLElement"in window,n_=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)),r_={};function o_(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 i_=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&&o_(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}(),a_=new Map,u_=new Map,s_=1,l_=function(e){if(a_.has(e))return a_.get(e);for(;u_.has(s_);)s_++;var t=s_++;return a_.set(e,t),u_.set(t,e),t},c_=function(e){return u_.get(e)},f_=function(e,t){t>=s_&&(s_=t+1),a_.set(e,t),u_.set(t,e)},d_="style["+e_+'][data-styled-version="5.3.5"]',p_=new RegExp("^"+e_+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),h_=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)},v_=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(p_);if(u){var s=0|parseInt(u[1],10),l=u[2];0!==s&&(f_(l,s),h_(e,l,u[3]),e.getTag().insertRules(s,r)),r.length=0}else r.push(a)}}},m_=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(e_))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(e_,"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},g_=function(){function e(e){var t=this.element=m_(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}o_(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}(),y_=function(){function e(e){var t=this.element=m_(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}(),b_=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}(),x_=t_,w_={isServer:!t_,useCSSOMInjection:!n_},__=function(){function e(e,t,n){void 0===e&&(e=Zw),void 0===t&&(t={}),this.options=Gw({},w_,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&t_&&x_&&(x_=!1,function(e){for(var t=document.querySelectorAll(d_),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(e_)&&(v_(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return l_(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(Gw({},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 b_(o):r?new g_(o):new y_(o),new i_(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(l_(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(l_(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(l_(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=c_(o);if(void 0!==i){var a=e.names.get(i),u=t.getGroup(o);if(a&&u&&a.size){var s=e_+".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}(),E_=/(a)(d)/gi,S_=function(e){return String.fromCharCode(e+(e>25?39:97))};function k_(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=S_(t%52)+n;return(S_(t%52)+n).replace(E_,"$1-$2")}var C_=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},A_=function(e){return C_(5381,e)};function T_(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Qw(n)&&!Jw(n))return!1}return!0}var P_=A_("5.3.5"),O_=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&T_(e),this.componentId=t,this.baseHash=C_(P_,t),this.baseStyle=n,__.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=K_(this.rules,e,t,n).join(""),a=k_(C_(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=C_(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=K_(d,e,t,n),h=Array.isArray(p)?p.join(""):p;l=C_(l,h+f),c+=h}}if(c){var v=k_(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}(),R_=/^\s*\/\/.*$/gm,D_=[":","[",".","#"];function L_(e){var t,n,r,o,i=void 0===e?Zw:e,a=i.options,u=void 0===a?Zw:a,s=i.plugins,l=void 0===s?Xw:s,c=new Uw(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!==D_.indexOf(i[n.length])||i.match(o)?e:"."+t};function h(e,i,a,u){void 0===u&&(u="&");var s=e.replace(R_,""),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||o_(15),C_(e,t.name)}),5381).toString():"",h}var M_=Uo.createContext();M_.Consumer;var N_=Uo.createContext(),F_=(N_.Consumer,new __),I_=L_();function j_(){return Xr.exports.useContext(M_)||F_}function z_(){return Xr.exports.useContext(N_)||I_}function B_(e){var t=Xr.exports.useState(e.stylisPlugins),n=t[0],r=t[1],o=j_(),i=Xr.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=Xr.exports.useMemo((function(){return L_({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return Xr.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"!==lo(e)||!e||"object"!==lo(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]),Uo.createElement(M_.Provider,{value:i},Uo.createElement(N_.Provider,{value:a},e.children))}var U_=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=I_);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 o_(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=I_),this.name+e.hash},e}(),V_=/([A-Z])/,H_=/([A-Z])/g,q_=/^ms-/,Y_=function(e){return"-"+e.toLowerCase()};function G_(e){return V_.test(e)?e.replace(H_,Y_).replace(q_,"-ms-"):e}var W_=function(e){return null==e||!1===e||""===e};function K_(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,u=e.length;a<u;a+=1)""!==(o=K_(e[a],t,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return W_(e)?"":Jw(e)?"."+e.styledComponentId:Qw(e)?"function"!=typeof(s=e)||s.prototype&&s.prototype.isReactComponent||!t?e:K_(e(t),t,n,r):e instanceof U_?n?(e.inject(n,r),e.getName(r)):e:Kw(e)?function e(t,n){var r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!W_(t[a])&&(Array.isArray(t[a])&&t[a].isCss||Qw(t[a])?i.push(G_(a)+":",t[a],";"):Kw(t[a])?i.push.apply(i,e(t[a],a)):i.push(G_(a)+": "+(r=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in Vw?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString();var s}var X_=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Z_(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 Qw(e)||Kw(e)?X_(K_(Ww(Xw,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:X_(K_(Ww(e,n)))}var Q_=function(e,t,n){return void 0===n&&(n=Zw),e.theme!==n.theme&&e.theme||t||n.theme},$_=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,J_=/(^-|-$)/g;function eE(e){return e.replace($_,"-").replace(J_,"")}var tE=function(e){return k_(A_(e)>>>0)};function nE(e){return"string"==typeof e&&!0}var rE=function(e){return"function"==typeof e||"object"==lo(e)&&null!==e&&!Array.isArray(e)},oE=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function iE(e,t,n){var r=e[n];rE(t)&&rE(r)?aE(r,t):e[n]=t}function aE(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(rE(a))for(var u in a)oE(u)&&iE(e,a[u],u)}return e}var uE=Uo.createContext();uE.Consumer;var sE={};function lE(e,t,n){var r=Jw(e),o=!nE(e),i=t.attrs,a=void 0===i?Xw:i,u=t.componentId,s=void 0===u?function(e,t){var n="string"!=typeof e?"sc":eE(e);sE[n]=(sE[n]||0)+1;var r=n+"-"+tE("5.3.5"+n+sE[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):u,l=t.displayName,c=void 0===l?function(e){return nE(e)?"styled."+e:"Styled("+$w(e)+")"}(e):l,f=t.displayName&&t.componentId?eE(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 O_(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=Zw);var r=Gw({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,a=e;for(t in Qw(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]}(Q_(t,Xr.exports.useContext(uE),a)||Zw,t,o),d=f[0],p=f[1],h=function(e,t,n,r){var o=j_(),i=z_();return t?e.generateAndInjectStyles(Zw,o,i):e.generateAndInjectStyles(n,o,i)}(i,r,d),v=n,m=p.$as||t.$as||p.as||t.as||c,g=nE(m),y=p!==t?Gw({},t,{},p):t,b={};for(var x in y)"$"!==x[0]&&"as"!==x&&("forwardedAs"===x?b.as=y[x]:(s?s(x,Yw,m):!g||Yw(x))&&(b[x]=y[x]));return t.style&&p.style!==t.style&&(b.style=Gw({},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,Xr.exports.createElement(m,b)}(h,e,t,m)};return g.displayName=c,(h=Uo.forwardRef(g)).attrs=d,h.componentStyle=v,h.displayName=c,h.shouldForwardProp=p,h.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Xw,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+"-"+(nE(e)?e:eE($w(e)));return lE(e,Gw({},o,{attrs:d,componentId:i}),n)},Object.defineProperty(h,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?aE({},e.defaultProps,t):t}}),h.toString=function(){return"."+h.styledComponentId},o&&wx(h,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),h}var cE=function(e){return function e(t,n,r){if(void 0===r&&(r=Zw),!Sw.exports.isValidElementType(n))return o_(1,String(n));var o=function(){return t(n,r,Z_.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,Gw({},r,{},o))},o.attrs=function(o){return e(t,n,Gw({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(lE,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){cE[e]=cE(e)}));var fE=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=T_(e),__.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var o=r(K_(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&&__.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function dE(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=Z_.apply(void 0,[e].concat(n)),i="sc-global-"+tE(JSON.stringify(o)),a=new fE(o,i);function u(e){var t=j_(),n=z_(),r=Xr.exports.useContext(uE),o=Xr.exports.useRef(t.allocateGSInstance(i)).current;return t.server&&s(o,e,t,r,n),Xr.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,r_,n,o);else{var i=Gw({},t,{theme:Q_(t,r,u.defaultProps)});a.renderStyles(e,i,n,o)}}return Uo.memo(u)}function pE(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=Z_.apply(void 0,[e].concat(n)).join(""),i=tE(o);return new U_(i,o)}var hE=Ir("s",cE),vE={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"},mE={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"},gE={colorBlue70:"#0056D3"},yE=Object.freeze(Object.defineProperty({__proto__:null,primaryColors:vE,neutralColors:mE,blueColors:gE},Symbol.toStringTag,{value:"Module"})),bE={"--ll-color-primary":vE.colorPrimary50,"--ll-color-primary-variant1":vE.colorPrimary40,"--ll-color-background":mE.colorNeutral100,"--ll-color-surface":mE.colorNeutral95,"--ll-color-surface-variant1":mE.colorNeutral90,"--ll-color-surface-variant2":mE.colorNeutral80,"--ll-color-on-primary":mE.colorNeutral100,"--ll-color-on-primary-variant1":mE.colorNeutral90,"--ll-color-on-background":mE.colorNeutral10,"--ll-color-on-background-variant1":mE.colorNeutral30,"--ll-color-on-surface":mE.colorNeutral10,"--ll-color-on-surface-variant1":mE.colorNeutral30,"--ll-color-placeholder":mE.colorNeutral60,"--ll-color-disabled":mE.colorNeutral60,"--ll-color-border":mE.colorNeutral90,"--ll-color-link":gE.colorBlue70},xE={"--ll-border-radius-small":"".concat(4,"px"),"--ll-border-radius-medium":"".concat(8,"px")},wE={"--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)"},_E=Gr(Gr(Gr(Gr(Gr(Gr(Gr({},bE),xE),{"--ll-shadow-small":"rgb(0 0 0 / 18%) 0px 2px 5px","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"}),wE),{"--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"}),EE=Gr(Gr({},_E),{},{"--ll-color-primary":vE.colorPrimary60,"--ll-color-primary-variant1":vE.colorPrimary50,"--ll-color-background":mE.colorNeutral10,"--ll-color-surface":mE.colorNeutral20,"--ll-color-surface-variant1":mE.colorNeutral30,"--ll-color-surface-variant2":mE.colorNeutral40,"--ll-color-on-primary":mE.colorNeutral100,"--ll-color-on-primary-variant1":mE.colorNeutral90,"--ll-color-on-background":mE.colorNeutral99,"--ll-color-on-background-variant1":mE.colorNeutral80,"--ll-color-on-surface":mE.colorNeutral80,"--ll-color-on-surface-variant1":mE.colorNeutral90,"--ll-color-placeholder":mE.colorNeutral70,"--ll-color-disabled":mE.colorNeutral70,"--ll-color-border":mE.colorNeutral30,"--ll-color-link":gE.colorBlue70}),SE=Object.keys(_E).reduce((function(e,t){return Gr(Gr({},e),{},Wr({},t,"var(".concat(t,")")))}),{}),kE={day:_E,night:EE},CE=dE(e||(e=zr(["\n :root {\n ",";\n }\n"])),(function(e){var t=e.themeName,n=e.overrides;return Gr(Gr({},kE[t||"day"]),n)})),AE={default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}},TE=Object.freeze(Object.defineProperty({__proto__:null,transitions:AE},Symbol.toStringTag,{value:"Module"})),PE=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"})),OE=Gr(Gr({colors:yE},TE),PE);hE.span(o||(o=zr(["\n display: inline-flex;\n color: ",";\n background-color: ",";\n border-radius: ",";\n line-height: 1;\n font-family: ",";\n font-size: ",";\n\n ",";\n"])),(function(e){return e.textColor}),(function(e){return e.backgroundColor}),SE["--ll-border-radius-small"],SE["--ll-font-family"],SE["--ll-font-size-caption-1"],(function(e){var o=e.size;return"small"===o?Z_(t||(t=zr(["\n padding: calc("," / 2) ",";\n "])),SE["--ll-spacing-xx-small"],SE["--ll-spacing-xx-small"]):"large"===o?Z_(n||(n=zr(["\n padding: calc("," / 2) ",";\n font-size: ",";\n "])),SE["--ll-spacing-small"],SE["--ll-spacing-medium"],SE["--ll-font-size-p"]):Z_(r||(r=zr(["\n padding: "," ",";\n "])),SE["--ll-spacing-xx-small"],SE["--ll-spacing-x-small"])})),Ir({I:4,y:SE,w:OE});var RE,DE={exports:{}},LE={};
22
22
  /**
23
23
  * @license React
24
24
  * react-jsx-runtime.production.min.js
@@ -27,7 +27,7 @@ var Ko=Xr.exports,Xo=Go.exports;function Zo(e){for(var t="https://reactjs.org/do
27
27
  *
28
28
  * This source code is licensed under the MIT license found in the
29
29
  * LICENSE file in the root directory of this source tree.
30
- */!function(e){e.exports=function(){if(RE)return LE;RE=1;var e=Uo,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 LE.Fragment=n,LE.jsx=a,LE.jsxs=a,LE}()}(DE);var ME=DE.exports.Fragment,NE=DE.exports.jsx,FE=DE.exports.jsxs,IE=hE.div(i||(i=zr(["\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})),jE=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 NE(IE,{fill:r,height:i,width:void 0===a?24:a,children:NE(t,{})})},zE=function(e){var t=e.variant;return"h1"===t?SE["--ll-font-size-h1"]:"h2"===t?SE["--ll-font-size-h2"]:"h3"===t?SE["--ll-font-size-h3"]:"h4"===t?SE["--ll-font-size-h4"]:"h5"===t?SE["--ll-font-size-h5"]:"h6"===t?SE["--ll-font-size-h6"]:"p"===t?SE["--ll-font-size-p"]:"caption1"===t?SE["--ll-font-size-caption-1"]:"caption2"===t?SE["--ll-font-size-caption-2"]:SE["--ll-font-size-h2"]},BE=function(e){var t=e.color;return t in SE?SE[t]:t},UE=hE.span(a||(a=zr(["\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"})),VE=hE.div(u||(u=zr(["\n ","\n"])),(function(e){return Z_(s||(s=zr(["\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,zE(e),"sans-serif"===e.family?SE["--ll-font-family"]:SE["--ll-font-family-mono"],BE(e),SE[e.weight],zE(e),BE(e),UE,e.noWrap&&Z_(l||(l=zr(["\n text-overflow: ellipsis;\n white-space: nowrap;\n "]))))})),HE=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 NE(VE,{variant:r,align:o,color:a,noWrap:u,weight:f,family:p,children:NE(UE,{as:v,noMargin:s,className:h,lineHeight:l,children:t})})};function qE(){return qE=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},qE.apply(this,arguments)}function YE(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];function r(t,r){var o=Xr.exports.createContext(r),i=n.length;function a(t){var n=t.scope,r=t.children,a=Br(t,Rt),u=(null==n?void 0:n[e][i])||o,s=Xr.exports.useMemo((function(){return a}),Object.values(a));return Xr.exports.createElement(u.Provider,{value:s},r)}return n=[].concat(Hr(n),[r]),a.displayName=t+"Provider",[a,function(n,a){var u=(null==a?void 0:a[e][i])||o,s=Xr.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 Xr.exports.createContext(e)}));return function(n){var r=(null==n?void 0:n[e])||t;return Xr.exports.useMemo((function(){return Wr({},"__scope".concat(e),Gr(Gr({},n),{},Wr({},e,r)))}),[n,r])}};return o.scopeName=e,[r,GE.apply(void 0,[o].concat(Hr(t)))]}function GE(){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 Gr(Gr({},e),i)}),{});return Xr.exports.useMemo((function(){return Wr({},"__scope".concat(r.scopeName),n)}),[n])}};return o.scopeName=r.scopeName,o}function WE(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function KE(){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 WE(t,e)}))}}function XE(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Xr.exports.useCallback(KE.apply(void 0,t),t)}hE.a(c||(c=zr(["\n font-family: ",";\n font-size: ",";\n color: ",";\n cursor: pointer;\n\n ","\n"])),SE["--ll-font-family"],SE["--ll-font-size-p"],SE["--ll-color-link"],(function(e){var t=e.lineClamp;return t&&Z_(f||(f=zr(["\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ",";\n "])),t)})),Ir({O:jE,v:HE});var ZE=Xr.exports.forwardRef((function(e,t){var n=e.children,r=Br(e,Dt),o=Xr.exports.Children.toArray(n),i=o.find(JE);if(i){var a=i.props.children,u=o.map((function(e){return e===i?Xr.exports.Children.count(a)>1?Xr.exports.Children.only(null):Xr.exports.isValidElement(a)?a.props.children:null:e}));return Xr.exports.createElement(QE,qE({},r,{ref:t}),Xr.exports.isValidElement(a)?Xr.exports.cloneElement(a,void 0,u):null)}return Xr.exports.createElement(QE,qE({},r,{ref:t}),n)}));ZE.displayName="Slot";var QE=Xr.exports.forwardRef((function(e,t){var n=e.children,r=Br(e,Lt);return Xr.exports.isValidElement(n)?Xr.exports.cloneElement(n,Gr(Gr({},function(e,t){var n=Gr({},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]=Gr(Gr({},o),i):"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))};for(var o in t)r(o);return Gr(Gr({},e),n)}(r,n.props)),{},{ref:KE(t,n.ref)})):Xr.exports.Children.count(n)>1?Xr.exports.Children.only(null):null}));QE.displayName="SlotClone";var $E=function(e){var t=e.children;return Xr.exports.createElement(Xr.exports.Fragment,null,t)};function JE(e){return Xr.exports.isValidElement(e)&&e.type===$E}var eS=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"].reduce((function(e,t){var n=Xr.exports.forwardRef((function(e,n){var r=e.asChild,o=Br(e,Mt),i=r?ZE:t;return Xr.exports.useEffect((function(){window[Symbol.for("radix-ui")]=!0}),[]),Xr.exports.createElement(i,qE({},o,{ref:n}))}));return n.displayName="Primitive.".concat(t),Gr(Gr({},e),{},Wr({},t,n))}),{});var tS=Boolean(null==globalThis?void 0:globalThis.document)?Xr.exports.useLayoutEffect:function(){},nS=Vo["useId".toString()]||function(){},rS=0;function oS(e){var t=Kr(Xr.exports.useState(nS()),2),n=t[0],r=t[1];return tS((function(){e||r((function(e){return null!=e?e:String(rS++)}))}),[e]),e||(n?"radix-".concat(n):"")}var iS=function(e,t){var n=Xr.exports.createContext(t);function r(e){var t=e.children,r=Br(e,Ot),o=Xr.exports.useMemo((function(){return r}),Object.values(r));return Xr.exports.createElement(n.Provider,{value:o},t)}return r.displayName=e+"Provider",[r,function(r){var o=Xr.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}}),aS=Kr(iS,2),uS=aS[0],sS=aS[1],lS=Xr.exports.forwardRef((function(e,t){var n=e.htmlFor,r=e.id,o=Br(e,Nt),i=Xr.exports.useRef(null),a=Xr.exports.useRef(null),u=XE(t,a),s=oS(r);return Xr.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]),Xr.exports.createElement(uS,{id:s,controlRef:i},Xr.exports.createElement(eS.span,qE({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())}}})))})),cS=function(e){var t=sS("LabelConsumer"),n=t.controlRef;return Xr.exports.useEffect((function(){e&&(n.current=e)}),[e,n]),t.id},fS=hE(lS)(d||(d=zr(["\n font-size: ",";\n font-family: ",";\n color: ",";\n"])),SE["--ll-font-size-p"],SE["--ll-font-family"],SE["--ll-color-placeholder"]),dS=function(e){return NE(fS,Gr({},e))},pS=0,hS=hE.div(p||(p=zr(["\n display: flex;\n flex-direction: column;\n"]))),vS=hE.input(h||(h=zr(["\n all: unset;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ",";\n padding: 0 10px;\n height: 32px;\n line-height: 1;\n font-size: ",";\n font-family: ",";\n color: ",";\n background-color: ",";\n border: 1px solid ",";\n\n &:focus {\n box-shadow: ",";\n }\n"])),SE["--ll-border-radius-small"],SE["--ll-font-size-p"],SE["--ll-font-family"],SE["--ll-color-on-background"],SE["--ll-color-background"],SE["--ll-color-border"],SE["--ll-shadow-small"]),mS=pE(v||(v=zr(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]))),gS={small:16,medium:24,large:32},yS=hE.div(m||(m=zr(["\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 gS[t]}),(function(e){var t=e.size;return gS[t]}),(function(e){var t=e.size;return gS[t]/6}),SE["--ll-color-on-surface-variant1"],mS),bS=function(e){var t=e.size;return NE(yS,{size:void 0===t?"medium":t})},xS={primary:{background:SE["--ll-color-primary"],onBackground:SE["--ll-color-on-primary"],hover:SE["--ll-color-primary-variant1"]}},wS=function(e){var t=e.size;return"".concat("small"===t?32:"large"===t?48:40,"px")},_S=Z_(g||(g=zr(["\n ",";\n\n height: ",";\n"])),(function(e){e.color;return Z_(y||(y=zr(["\n color: ",";\n\n &:disabled {\n cursor: default;\n }\n "])),SE["--ll-color-on-background"])}),wS),ES=Z_(b||(b=zr(["\n ",";\n height: ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t;return Z_(x||(x=zr(["\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 "])),xS[n].background,xS[n].onBackground,xS[n].hover,SE["--ll-color-disabled"])}),wS),SS=Z_(w||(w=zr(["\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 Z_(_||(_=zr(["\n border-color: ",";\n border-width: 1px;\n border-style: solid;\n color: ",";\n "])),xS[n].background,xS[n].background)}),wS),kS=hE.div(E||(E=zr(["\n display: flex;\n align-items: center;\n margin-right: ",";\n margin-left: calc(-1 * ",");\n"])),SE["--ll-spacing-x-small"],SE["--ll-spacing-xx-small"]),CS=hE.button(S||(S=zr(["\n font-weight: ",";\n border-radius: ",";\n align-items: 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"])),SE["--ll-font-weight-normal"],SE["--ll-border-radius-small"],(function(e){return{contained:ES,outlined:SS,text:_S}[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?SE["--ll-font-size-caption-1"]:SE["--ll-font-size-p"])}),(function(e){var t=e.size;return"padding: 0 ".concat("small"===t?SE["--ll-spacing-x-small"]:"large"===t?SE["--ll-spacing-medium"]:SE["--ll-spacing-small"])})),AS=Uo.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 NE(CS,{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?NE(bS,{}):FE(ME,{children:[s&&NE(kS,{children:s}),n]})})}));function TS(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 PS(e){var t=Xr.exports.useRef(e);return Xr.exports.useEffect((function(){t.current=e})),Xr.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 OS(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=Xr.exports.useState(t),o=Kr(r,1)[0],i=Xr.exports.useRef(o),a=PS(n);return Xr.exports.useEffect((function(){i.current!==o&&(a(o),i.current=o)}),[o,i,a]),r}({defaultProp:n,onChange:o}),a=Kr(i,2),u=a[0],s=a[1],l=void 0!==t,c=l?t:u,f=PS(o);return[c,Xr.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 RS(e){var t=Xr.exports.useRef({value:e,previous:e});return Xr.exports.useMemo((function(){return t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous}),[e])}function DS(e){var t=Kr(Xr.exports.useState(void 0),2),n=t[0],r=t[1];return tS((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}Ir({a3:function(e){var t=e.value,n=e.label,r=e.placeholder,o=e.onBlur,i=e.onFocus,a=e.onChange,u=Kr(Xr.exports.useState((function(){return"id-".concat(pS+=1)})),1)[0],s=Xr.exports.useMemo((function(){return n?NE(dS,{htmlFor:u,style:{lineHeight:"26px"},children:n}):null}),[n]);return FE(hS,{children:[s,NE(vS,{id:u,value:t,onBlur:o,onFocus:i,onChange:a,placeholder:r})]})},t:bS,a1:AS}),AS.displayName="Button";var LS="Switch",MS=Kr(YE(LS),2),NS=MS[0],FS=(MS[1],Kr(NS(LS),2)),IS=FS[0],jS=FS[1],zS=Xr.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=Br(e,Ft),p=Kr(Xr.exports.useState(null),2),h=p[0],v=p[1],m=XE(t,(function(e){return v(e)})),g=cS(h),y=r||g,b=Xr.exports.useRef(!1),x=!h||Boolean(h.closest("form")),w=Kr(OS({prop:i,defaultProp:a,onChange:f}),2),_=w[0],E=void 0!==_&&_,S=w[1];return Xr.exports.createElement(IS,{scope:n,checked:E,disabled:s},Xr.exports.createElement(eS.button,qE({type:"button",role:"switch","aria-checked":E,"aria-labelledby":y,"aria-required":u,"data-state":VS(E),"data-disabled":s?"":void 0,disabled:s,value:c},d,{ref:m,onClick:TS(e.onClick,(function(e){S((function(e){return!e})),x&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())}))})),x&&Xr.exports.createElement(US,{control:h,bubbles:!b.current,name:o,value:c,checked:E,required:u,disabled:s,style:{transform:"translateX(-100%)"}}))})),BS=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSwitch,r=Br(e,It),o=jS("SwitchThumb",n);return Xr.exports.createElement(eS.span,qE({"data-state":VS(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))})),US=function(e){var t=e.control,n=e.checked,r=e.bubbles,o=void 0===r||r,i=Br(e,jt),a=Xr.exports.useRef(null),u=RS(n),s=DS(t);return Xr.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]),Xr.exports.createElement("input",qE({type:"checkbox","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:a,style:Gr(Gr(Gr({},e.style),s),{},{position:"absolute",pointerEvents:"none",opacity:0,margin:0})}))};function VS(e){return e?"checked":"unchecked"}var HS=BS,qS=hE(zS)(k||(k=zr(["\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"])),SE["--ll-color-disabled"],SE["--ll-color-on-background"]),YS=hE(HS)(C||(C=zr(["\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'])),SE["--ll-color-background"]);Ir("a0",(function(e){return NE(qS,Gr(Gr({},e),{},{children:NE(YS,{})}))}));function GS(e,t){var n=Kr(t,2),r=n[0],o=n[1];return Math.min(o,Math.max(r,e))}var WS=Xr.exports.createContext(void 0);function KS(e){var t=Xr.exports.useContext(WS);return e||t||"ltr"}function XS(e){var t=e+"CollectionProvider",n=Kr(YE(t),2),r=n[0],o=n[1],i=Kr(r(t,{collectionRef:{current:null},itemMap:new Map}),2),a=i[0],u=i[1],s=e+"CollectionSlot",l=Uo.forwardRef((function(e,t){var n=e.scope,r=e.children,o=XE(t,u(s,n).collectionRef);return Uo.createElement(ZE,{ref:o},r)})),c=e+"CollectionItemSlot",f="data-radix-collection-item",d=Uo.forwardRef((function(e,t){var n,r=e.scope,o=e.children,i=Br(e,zt),a=Uo.useRef(null),s=XE(t,a),l=u(c,r);return Uo.useEffect((function(){return l.itemMap.set(a,Gr({ref:a},i)),function(){l.itemMap.delete(a)}})),Uo.createElement(ZE,(Wr(n={},f,""),Wr(n,"ref",s),n),o)}));return[{Provider:function(e){var t=e.scope,n=e.children,r=Uo.useRef(null),o=Uo.useRef(new Map).current;return Uo.createElement(a,{scope:t,itemMap:o,collectionRef:r},n)},Slot:l,ItemSlot:d},function(t){var n=u(e+"CollectionConsumer",t);return Uo.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 ZS=["PageUp","PageDown"],QS=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],$S={ltr:["ArrowDown","Home","ArrowLeft","PageDown"],rtl:["ArrowDown","Home","ArrowRight","PageDown"]},JS="Slider",ek=Kr(XS(JS),3),tk=ek[0],nk=ek[1],rk=ek[2],ok=Kr(YE(JS,[rk]),2),ik=ok[0],ak=(ok[1],Kr(ik(JS),2)),uk=ak[0],sk=ak[1],lk=Xr.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=Br(e,Bt),w=Kr(Xr.exports.useState(null),2),_=w[0],E=w[1],S=XE(t,(function(e){return E(e)})),k=Xr.exports.useRef(new Set),C=Xr.exports.useRef(0),A="horizontal"===c,T=!_||Boolean(_.closest("form")),P=A?pk:hk,O=OS({prop:g,defaultProp:m,onChange:function(e){var t;null===(t=Hr(k.current)[C.current])||void 0===t||t.focus(),b(e)}}),R=Kr(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=GS(r,[o,a]);M((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=Ek(e,i,t);return kk(n,h*s)?(C.current=n.indexOf(i),String(n)===String(e)?e:n):e}))}return Xr.exports.createElement(uk,{scope:e.__scopeSlider,disabled:d,min:o,max:a,valueIndexToChangeRef:C,thumbs:k.current,values:L,orientation:c},Xr.exports.createElement(tk.Provider,{scope:e.__scopeSlider},Xr.exports.createElement(tk.Slot,{scope:e.__scopeSlider},Xr.exports.createElement(P,qE({"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,Hr(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=ZS.includes(t.key)||t.shiftKey&&QS.includes(t.key)?10:1,o=C.current;N(L[o]+s*r*n,o)}}})))),T&&L.map((function(e,t){return Xr.exports.createElement(_k,{key:t,name:n?n+(L.length>1?"[]":""):void 0,value:e})})))})),ck=Kr(ik(JS,{startEdge:"left",endEdge:"right",size:"width",direction:1}),2),fk=ck[0],dk=ck[1],pk=Xr.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=Br(e,Ut),l=Kr(Xr.exports.useState(null),2),c=l[0],f=l[1],d=XE(t,(function(e){return f(e)})),p=Xr.exports.useRef(),h=KS(o),v="ltr"===h;function m(e){var t=p.current||c.getBoundingClientRect(),o=Ck([0,t.width],v?[n,r]:[r,n]);return p.current=t,o(e-t.left)}return Xr.exports.createElement(fk,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width"},Xr.exports.createElement(vk,qE({dir:h,"data-orientation":"horizontal"},s,{ref:d,style:Gr(Gr({},s.style),{},Wr({},"--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=$S[h].includes(e.key);null==u||u({event:e,direction:t?-1:1})}})))})),hk=Xr.exports.forwardRef((function(e,t){var n=e.min,r=e.max,o=e.onSlideStart,i=e.onSlideMove,a=e.onStepKeyDown,u=Br(e,Vt),s=Xr.exports.useRef(null),l=XE(t,s),c=Xr.exports.useRef();function f(e){var t=c.current||s.current.getBoundingClientRect(),o=Ck([0,t.height],[r,n]);return c.current=t,o(e-t.top)}return Xr.exports.createElement(fk,{scope:e.__scopeSlider,startEdge:"bottom",endEdge:"top",size:"height",direction:1},Xr.exports.createElement(vk,qE({"data-orientation":"vertical"},u,{ref:l,style:Gr(Gr({},u.style),{},Wr({},"--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=$S.ltr.includes(e.key);null==a||a({event:e,direction:t?-1:1})}})))})),vk=Xr.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=Br(e,Ht),c=sk(JS,n);return Xr.exports.createElement(eS.span,qE({},l,{ref:t,onKeyDown:TS(e.onKeyDown,(function(e){"Home"===e.key?(a(e),e.preventDefault()):"End"===e.key?(u(e),e.preventDefault()):ZS.concat(QS).includes(e.key)&&(s(e),e.preventDefault())})),onPointerDown:TS(e.onPointerDown,(function(e){var t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),c.thumbs.has(t)?t.focus():r(e)})),onPointerMove:TS(e.onPointerMove,(function(e){e.target.hasPointerCapture(e.pointerId)&&o(e)})),onPointerUp:TS(e.onPointerUp,(function(e){var t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),i(e))}))}))})),mk=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=Br(e,qt),o=sk("SliderTrack",n);return Xr.exports.createElement(eS.span,qE({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))})),gk="SliderRange",yk=Xr.exports.forwardRef((function(e,t){var n,r=e.__scopeSlider,o=Br(e,Yt),i=sk(gk,r),a=dk(gk,r),u=XE(t,Xr.exports.useRef(null)),s=i.values.length,l=i.values.map((function(e){return Sk(e,i.min,i.max)})),c=s>1?Math.min.apply(Math,Hr(l)):0,f=100-Math.max.apply(Math,Hr(l));return Xr.exports.createElement(eS.span,qE({"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0},o,{ref:u,style:Gr(Gr({},e.style),{},(n={},Wr(n,a.startEdge,c+"%"),Wr(n,a.endEdge,f+"%"),n))}))})),bk="SliderThumb",xk=Xr.exports.forwardRef((function(e,t){var n=nk(e.__scopeSlider),r=Kr(Xr.exports.useState(null),2),o=r[0],i=r[1],a=XE(t,(function(e){return i(e)})),u=Xr.exports.useMemo((function(){return o?n().findIndex((function(e){return e.ref.current===o})):-1}),[n,o]);return Xr.exports.createElement(wk,qE({},e,{ref:a,index:u}))})),wk=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=e.index,o=Br(e,Gt),i=sk(bk,n),a=dk(bk,n),u=Kr(Xr.exports.useState(null),2),s=u[0],l=u[1],c=XE(t,(function(e){return l(e)})),f=DS(s),d=i.values[r],p=void 0===d?0:Sk(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=Ck([0,50],[0,r]);return(r-o(t)*n)*n}(v,p,a.direction):0;return Xr.exports.useEffect((function(){if(s)return i.thumbs.add(s),function(){i.thumbs.delete(s)}}),[s,i.thumbs]),Xr.exports.createElement("span",{style:Wr({transform:"var(--radix-slider-thumb-transform)",position:"absolute"},a.startEdge,"calc(".concat(p,"% + ").concat(m,"px)"))},Xr.exports.createElement(tk.ItemSlot,{scope:e.__scopeSlider},Xr.exports.createElement(eS.span,qE({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:TS(e.onFocus,(function(){i.valueIndexToChangeRef.current=r}))}))))})),_k=function(e){var t=e.value,n=Br(e,Wt),r=Xr.exports.useRef(null),o=RS(t);return Xr.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]),Xr.exports.createElement("input",qE({style:{display:"none"}},n,{ref:r,defaultValue:t}))};function Ek(){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=Hr(e);return r[n]=t,r.sort((function(e,t){return e-t}))}function Sk(e,t,n){return 100/(n-t)*(e-t)}function kk(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,Hr(n))>=t}return!0}function Ck(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 Ak=lk,Tk=mk,Pk=yk,Ok=xk,Rk=hE.div(A||(A=zr([""]))),Dk=hE.div(T||(T=zr(["\n display: flex;\n align-items: center;\n"]))),Lk=hE(Ak)(P||(P=zr(["\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"]))),Mk=hE(Ok)(O||(O=zr(["\n all: unset;\n height: 20px;\n width: 20px;\n border-radius: 50%;\n display: block;\n background-color: ",";\n box-shadow: ",";\n"])),SE["--ll-color-primary"],SE["--ll-shadow-medium"]),Nk=hE(Tk)(R||(R=zr(["\n height: 4px;\n border-radius: 2px;\n background-color: ",";\n position: relative;\n flex: 1;\n"])),SE["--ll-color-surface-variant1"]),Fk=hE(Pk)(D||(D=zr(["\n height: 100%;\n position: absolute;\n background-color: ",";\n border-radius: 2px;\n"])),SE["--ll-color-primary"]),Ik=hE.div(L||(L=zr(["\n margin: ",";\n flex-shrink: 0;\n"])),(function(e){return function(e){var t=e.vertical,n=e.spacing,r=SE[n];return t?"".concat(r," 0 0 0"):"0 ".concat(r," 0 0")}(e)})),jk=function(e){var t=e.vertical,n=void 0!==t&&t,r=e.spacing;return NE(Ik,{vertical:n,spacing:void 0===r?"--ll-spacing-auto":r})};Ir({o:jk,a7:function(e){var t=e.label,n=e.showValue,r=Br(e,Kt);return FE(Rk,{children:[t&&NE(dS,{style:{lineHeight:"50px"},children:t}),FE(Dk,{children:[FE(Lk,Gr(Gr({},r),{},{children:[NE(Nk,{children:NE(Fk,{})}),NE(Mk,{})]})),n&&FE(ME,{children:[NE(jk,{spacing:"--ll-spacing-small"}),NE(HE,{noMargin:!0,children:r.value})]})]})]})}});var zk,Bk="dismissableLayer.update",Uk="dismissableLayer.pointerDownOutside",Vk="dismissableLayer.focusOutside",Hk=Xr.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),qk=Xr.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=Br(e,Xt),c=Xr.exports.useContext(Hk),f=Kr(Xr.exports.useState(null),2),d=f[0],p=f[1],h=Kr(Xr.exports.useState({}),2)[1],v=XE(t,(function(e){return p(e)})),m=Array.from(c.layers),g=Kr(Hr(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=PS(e),n=Xr.exports.useRef(!1),r=Xr.exports.useRef((function(){}));return Xr.exports.useEffect((function(){var e=function(e){if(e.target&&!n.current){var o=function(){Gk(Uk,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=Hr(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=PS(e),n=Xr.exports.useRef(!1);return Xr.exports.useEffect((function(){var e=function(e){e.target&&!n.current&&Gk(Vk,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;Hr(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=PS(e);Xr.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()))})),Xr.exports.useEffect((function(){if(d)return r&&(0===c.layersWithOutsidePointerEventsDisabled.size&&(zk=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),Yk(),function(){r&&1===c.layersWithOutsidePointerEventsDisabled.size&&(document.body.style.pointerEvents=zk)}}),[d,r,c]),Xr.exports.useEffect((function(){return function(){!d||(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),Yk())}}),[d,c]),Xr.exports.useEffect((function(){var e=function(){return h({})};return document.addEventListener(Bk,e),function(){return document.removeEventListener(Bk,e)}}),[]),Xr.exports.createElement(eS.div,qE({},l,{ref:v,style:Gr({pointerEvents:x?w?"auto":"none":void 0},e.style),onFocusCapture:TS(e.onFocusCapture,E.onFocusCapture),onBlurCapture:TS(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:TS(e.onPointerDownCapture,_.onPointerDownCapture)}))}));function Yk(){var e=new CustomEvent(Bk);document.dispatchEvent(e)}function Gk(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&&qo.exports.flushSync((function(){return e.dispatchEvent(t)}))}(i,a):i.dispatchEvent(a)}var Wk=0;function Kk(){Xr.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:Xk()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Xk()),Wk++,function(){1===Wk&&document.querySelectorAll("[data-radix-focus-guard]").forEach((function(e){return e.remove()})),Wk--}}),[])}function Xk(){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 Zk="focusScope.autoFocusOnMount",Qk="focusScope.autoFocusOnUnmount",$k={bubbles:!1,cancelable:!0},Jk=Xr.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=Br(e,Zt),l=Kr(Xr.exports.useState(null),2),c=l[0],f=l[1],d=PS(a),p=PS(u),h=Xr.exports.useRef(null),v=XE(t,(function(e){return f(e)})),m=Xr.exports.useRef({paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}}).current;Xr.exports.useEffect((function(){if(i){var e=function(e){if(!m.paused&&c){var t=e.target;c.contains(t)?h.current=t:oC(h.current,{select:!0})}},t=function(e){m.paused||!c||c.contains(e.relatedTarget)||oC(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]),Xr.exports.useEffect((function(){if(c){iC.add(m);var e=document.activeElement;if(!c.contains(e)){var t=new CustomEvent(Zk,$k);c.addEventListener(Zk,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=co(e);try{for(i.s();!(t=i.n()).done;){if(oC(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}))}(eC(c)),{select:!0}),document.activeElement===e&&oC(c))}return function(){c.removeEventListener(Zk,d),setTimeout((function(){var t=new CustomEvent(Qk,$k);c.addEventListener(Qk,p),c.dispatchEvent(t),t.defaultPrevented||oC(null!=e?e:document.body,{select:!0}),c.removeEventListener(Qk,p),iC.remove(m)}),0)}}}),[c,d,p,m]);var g=Xr.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=eC(e),n=tC(t,e),r=tC(t.reverse(),e);return[n,r]}(o),u=Kr(a,2),s=u[0],l=u[1];s&&l?e.shiftKey||n!==l?e.shiftKey&&n===s&&(e.preventDefault(),r&&oC(l,{select:!0})):(e.preventDefault(),r&&oC(s,{select:!0})):n===o&&e.preventDefault()}}}),[r,i,m.paused]);return Xr.exports.createElement(eS.div,qE({tabIndex:-1},s,{ref:v,onKeyDown:g}))}));function eC(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 tC(e,t){var n,r=co(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!nC(o,{upTo:t}))return o}}catch(i){r.e(i)}finally{r.f()}}function nC(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 rC(e){return e instanceof HTMLInputElement&&"select"in e}function oC(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&&rC(e)&&r&&e.select()}}var iC=function(){var e=[];return{add:function(t){var n=e[0];t!==n&&(null==n||n.pause()),(e=aC(e,t)).unshift(t)},remove:function(t){var n;null===(n=(e=aC(e,t))[0])||void 0===n||n.resume()}}}();function aC(e,t){var n=Hr(e),r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}function uC(e){return e.split("-")[0]}function sC(e){return e.split("-")[1]}function lC(e){return["top","bottom"].includes(uC(e))?"x":"y"}function cC(e){return"y"===e?"height":"width"}function fC(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=lC(t),l=cC(s),c=o[l]/2-i[l]/2,f="x"===s;switch(uC(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(sC(t)){case"start":r[s]-=c*(n&&f?-1:1);break;case"end":r[s]+=c*(n&&f?-1:1)}return r}var dC=function(){var e=jr(Fr().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 Fr().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=fC(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=Gr(Gr({},g),{},Wr({},w,Gr(Gr({},g[w]),C))),!(A&&y<=50)){e.next=49;break}if(y++,e.t0="object"==lo(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=fC(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 pC(e){return"number"!=typeof e?function(e){return Gr({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function hC(e){return Gr(Gr({},e),{},{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function vC(e,t){return mC.apply(this,arguments)}function mC(){return mC=jr(Fr().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 Fr().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=pC(void 0===b?0:b),w=s[y?"floating"===m?"reference":"floating":m],e.t0=hC,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=hC,!a.convertOffsetParentRelativeRectToViewportRelativeRect){e.next=61;break}return e.t14=a,e.t15="floating"===m?Gr(Gr({},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)}))),mC.apply(this,arguments)}var gC=Math.min,yC=Math.max;function bC(e,t,n){return yC(e,gC(t,n))}var xC=function(e){return{name:"arrow",options:e,fn:function(t){return jr(Fr().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 Fr().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=pC(s),v={x:l,y:c},m=lC(f),g=sC(f),y=cC(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=bC(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",(Wr(o={},m,v[m]-R),Wr(o,"data",(Wr(r={},m,O),Wr(r,"centerOffset",P-O),r)),o));case 22:case"end":return n.stop()}}),n)})))()}}},wC={left:"right",right:"left",bottom:"top",top:"bottom"};function _C(e){return e.replace(/left|right|bottom|top/g,(function(e){return wC[e]}))}function EC(e,t,n){void 0===n&&(n=!1);var r=sC(e),o=lC(e),i=cC(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=_C(a)),{main:a,cross:_C(a)}}var SC={start:"end",end:"start"};function kC(e){return e.replace(/start|end/g,(function(e){return SC[e]}))}var CC=["top","right","bottom","left"];function AC(e){var t=_C(e);return[kC(e),t,kC(t)]}var TC=function(e){return void 0===e&&(e={}),{name:"flip",options:e,fn:function(t){return jr(Fr().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 Fr().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=Br(c,Qt),w=uC(o),_=v||(w!==u&&b?AC(u):[_C(u)]),E=[u].concat(Hr(_)),n.next=22,vC(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=EC,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(Hr(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 PC(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function OC(e){return CC.some((function(t){return e[t]>=0}))}var RC=function(e){var t=void 0===e?{}:e,n=t.strategy,r=void 0===n?"referenceHidden":n,o=Br(t,$t);return{name:"hide",fn:function(e){return jr(Fr().mark((function t(){var n,i,a,u,s;return Fr().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,vC(e,Gr(Gr({},o),{},{elementContext:"reference"}));case 6:return i=t.sent,a=PC(i,n.reference),t.abrupt("return",{data:{referenceHiddenOffsets:a,referenceHidden:OC(a)}});case 9:return t.next=11,vC(e,Gr(Gr({},o),{},{altBoundary:!0}));case 11:return u=t.sent,s=PC(u,n.floating),t.abrupt("return",{data:{escapedOffsets:s,escaped:OC(s)}});case 14:return t.abrupt("return",{});case 15:case"end":return t.stop()}}),t)})))()}}};function DC(e,t){return LC.apply(this,arguments)}function LC(){return LC=jr(Fr().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m;return Fr().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=uC(r),s=sC(r),l="x"===lC(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}:Gr({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)}))),LC.apply(this,arguments)}var MC=function(e){return void 0===e&&(e=0),{name:"offset",options:e,fn:function(t){return jr(Fr().mark((function n(){var r,o,i;return Fr().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.x,o=t.y,n.next=4,DC(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 NC(e){return"x"===e?"y":"x"}var FC=function(e){return void 0===e&&(e={}),{name:"shift",options:e,fn:function(t){return jr(Fr().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 Fr().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=Br(u,Jt),v={x:o,y:i},n.next=14,vC(t,h);case 14:return m=n.sent,g=lC(uC(a)),y=NC(g),b=v[g],x=v[y],l&&(w="y"===g?"bottom":"right",_=b+m["y"===g?"top":"left"],E=b-m[w],b=bC(_,b,E)),f&&(S="y"===y?"bottom":"right",k=x+m["y"===y?"top":"left"],C=x-m[S],x=bC(k,x,C)),A=p.fn(Gr(Gr({},t),{},(Wr(r={},g,b),Wr(r,y,x),r))),n.abrupt("return",Gr(Gr({},A),{},{data:{x:A.x-o,y:A.y-i}}));case 22:case"end":return n.stop()}}),n)})))()}}},IC=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=lC(i),g=NC(m),y=v[m],b=v[g],x="function"==typeof c?c(Gr(Gr({},a),{},{placement:i})):c,w="number"==typeof x?{mainAxis:x,crossAxis:0}:Gr({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(uC(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 Wr(n={},m,y),Wr(n,g,b),n}}};function jC(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function zC(e){if(null==e)return window;if(!jC(e)){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function BC(e){return zC(e).getComputedStyle(e)}function UC(e){return jC(e)?"":e?(e.nodeName||"").toLowerCase():""}function VC(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function HC(e){return e instanceof zC(e).HTMLElement}function qC(e){return e instanceof zC(e).Element}function YC(e){return!(("undefined"==typeof ShadowRoot?"undefined":lo(ShadowRoot))>"u")&&(e instanceof zC(e).ShadowRoot||e instanceof ShadowRoot)}function GC(e){var t=BC(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function WC(e){return["table","td","th"].includes(UC(e))}function KC(e){var t=/firefox/i.test(VC()),n=BC(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 XC(){return!/^((?!chrome|android).)*safari/i.test(VC())}var ZC=Math.min,QC=Math.max,$C=Math.round;function JC(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&&HC(e)&&(s=e.offsetWidth>0&&$C(u.width)/e.offsetWidth||1,l=e.offsetHeight>0&&$C(u.height)/e.offsetHeight||1);var c=qC(e)?zC(e):window,f=!XC()&&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 eA(e){return((function(e){return e instanceof zC(e).Node}(e)?e.ownerDocument:e.document)||window.document).documentElement}function tA(e){return qC(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function nA(e){return JC(eA(e)).left+tA(e).scrollLeft}function rA(e,t,n){var r=HC(t),o=eA(t),i=JC(e,r&&function(e){var t=JC(e);return $C(t.width)!==e.offsetWidth||$C(t.height)!==e.offsetHeight}(t),"fixed"===n),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==UC(t)||GC(o))&&(a=tA(t)),HC(t)){var s=JC(t,!0);u.x=s.x+t.clientLeft,u.y=s.y+t.clientTop}else o&&(u.x=nA(o));return{x:i.left+a.scrollLeft-u.x,y:i.top+a.scrollTop-u.y,width:i.width,height:i.height}}function oA(e){return"html"===UC(e)?e:e.assignedSlot||e.parentNode||(YC(e)?e.host:null)||eA(e)}function iA(e){return HC(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function aA(e){for(var t=zC(e),n=iA(e);n&&WC(n)&&"static"===getComputedStyle(n).position;)n=iA(n);return n&&("html"===UC(n)||"body"===UC(n)&&"static"===getComputedStyle(n).position&&!KC(n))?t:n||function(e){var t=oA(e);for(YC(t)&&(t=t.host);HC(t)&&!["html","body"].includes(UC(t));){if(KC(t))return t;t=t.parentNode}return null}(e)||t}function uA(e){if(HC(e))return{width:e.offsetWidth,height:e.offsetHeight};var t=JC(e);return{width:t.width,height:t.height}}function sA(e){var t=oA(e);return["html","body","#document"].includes(UC(t))?e.ownerDocument.body:HC(t)&&GC(t)?t:sA(t)}function lA(e,t){var n;void 0===t&&(t=[]);var r=sA(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=zC(r),a=o?[i].concat(i.visualViewport||[],GC(r)?r:[]):r,u=t.concat(a);return o?u:u.concat(lA(a))}function cA(e,t,n){return"viewport"===t?hC(function(e,t){var n=zC(e),r=eA(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,u=0,s=0;if(o){i=o.width,a=o.height;var l=XC();(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=JC(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):hC(function(e){var t,n=eA(e),r=tA(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=QC(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=QC(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+nA(e),s=-r.scrollTop;return"rtl"===BC(o||n).direction&&(u+=QC(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:s}}(eA(e)))}function fA(e){var t=lA(e),n=["absolute","fixed"].includes(BC(e).position)&&HC(e)?aA(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&&YC(n)){var r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}(e,n)&&"body"!==UC(e)})):[]}var dA={getClippingRect:function(e){var t=e.element,n=e.boundary,r=e.rootBoundary,o=e.strategy,i=[].concat(Hr("clippingAncestors"===n?fA(t):[].concat(n)),[r]),a=i[0],u=i.reduce((function(e,n){var r=cA(t,n,o);return e.top=QC(r.top,e.top),e.right=ZC(r.right,e.right),e.bottom=ZC(r.bottom,e.bottom),e.left=QC(r.left,e.left),e}),cA(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=HC(n),i=eA(n);if(n===i)return t;var a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==UC(n)||GC(i))&&(a=tA(n)),HC(n))){var s=JC(n,!0);u.x=s.x+n.clientLeft,u.y=s.y+n.clientTop}return Gr(Gr({},t),{},{x:t.x-a.scrollLeft+u.x,y:t.y-a.scrollTop+u.y})},isElement:qC,getDimensions:uA,getOffsetParent:aA,getDocumentElement:eA,getElementRects:function(e){var t=e.reference,n=e.floating,r=e.strategy;return{reference:rA(t,aA(n),r),floating:Gr(Gr({},uA(n)),{},{x:0,y:0})}},getClientRects:function(e){return Array.from(e.getClientRects())},isRTL:function(e){return"rtl"===BC(e).direction}};function pA(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(Hr(qC(e)?lA(e):[]),Hr(lA(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?JC(e):null;return d&&function t(){var r=JC(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 hA=("undefined"==typeof document?"undefined":lo(document))<"u"?Xr.exports.useLayoutEffect:Xr.exports.useEffect;function vA(e,t){if(e===t)return!0;if(lo(e)!=lo(t))return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;var n,r,o;if(e&&t&&"object"==lo(e)){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!vA(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||vA(e[i],t[i])))return!1}return!0}return e!=e&&t!=t}function mA(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=Xr.exports.useRef(null),l=Xr.exports.useRef(null),c=function(e){var t=Xr.exports.useRef(e);return hA((function(){t.current=e})),t}(u),f=Xr.exports.useRef(null),d=Kr(Xr.exports.useState({x:null,y:null,strategy:a,placement:o,middlewareData:{}}),2),p=d[0],h=d[1],v=Kr(Xr.exports.useState(n),2),m=v[0],g=v[1];vA(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=Xr.exports.useCallback((function(){!s.current||!l.current||function(e,t,n){return dC(e,t,Gr({platform:dA},n))}(s.current,l.current,{middleware:m,placement:o,strategy:a}).then((function(e){b.current&&qo.exports.flushSync((function(){h(e)}))}))}),[m,o,a]);hA((function(){b.current&&y()}),[y]);var b=Xr.exports.useRef(!1);hA((function(){return b.current=!0,function(){b.current=!1}}),[]);var x=Xr.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=Xr.exports.useCallback((function(e){s.current=e,x()}),[x]),_=Xr.exports.useCallback((function(e){l.current=e,x()}),[x]),E=Xr.exports.useMemo((function(){return{reference:s,floating:l}}),[]);return Xr.exports.useMemo((function(){return Gr(Gr({},p),{},{update:y,refs:E,reference:w,floating:_})}),[p,y,E,w,_])}var gA=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?xC({element:t.current,padding:n}).fn(e):{}:t?xC({element:t,padding:n}).fn(e):{}}}},yA=Xr.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=Br(e,en);return Xr.exports.createElement(eS.svg,qE({},u,{ref:t,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:Xr.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))})),bA=yA,xA="Popper",wA=Kr(YE(xA),2),_A=wA[0],EA=wA[1],SA=Kr(_A(xA),2),kA=(SA[0],SA[1]),CA=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopper,r=e.virtualRef,o=Br(e,tn),i=kA("PopperAnchor",n),a=Xr.exports.useRef(null),u=XE(t,a);return Xr.exports.useEffect((function(){i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:Xr.exports.createElement(eS.div,qE({},o,{ref:u}))})),AA="PopperContent",TA=Kr(_A(AA),2),PA=TA[0],OA=TA[1],RA=Kr(_A(AA,{hasParent:!1,positionUpdateFns:new Set}),2),DA=RA[0],LA=RA[1],MA=Xr.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=Br(e,nn),D=kA(AA,c),L=Kr(Xr.exports.useState(null),2),M=L[0],N=L[1],F=XE(t,(function(e){return N(e)})),I=Kr(Xr.exports.useState(null),2),j=I[0],z=I[1],B=DS(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:Gr({top:0,right:0,bottom:0,left:0},S),Y=Array.isArray(_)?_:[_],G=Y.length>0,W={padding:q,boundary:Y.filter(jA),altBoundary:G},K=mA({strategy:"fixed",placement:H,whileElementsMounted:pA,middleware:[MC({mainAxis:h+V,alignmentAxis:y}),O?FC(Gr({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?IC():void 0},W)):void 0,j?gA({element:j,padding:x}):void 0,O?TC(Gr({},W)):void 0,zA({arrowWidth:U,arrowHeight:V}),T?RC({strategy:"referenceHidden"}):void 0].filter(IA)}),X=K.reference,Z=K.floating,Q=K.strategy,$=K.x,J=K.y,ee=K.placement,te=K.middlewareData,ne=K.update;tS((function(){X(D.anchor)}),[X,D.anchor]);var re=null!==$&&null!==J,oe=Kr(BA(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=Kr(Xr.exports.useState(),2),fe=ce[0],de=ce[1];tS((function(){M&&de(window.getComputedStyle(M).zIndex)}),[M]);var pe=LA(AA,c),he=pe.hasParent,ve=pe.positionUpdateFns,me=!he;Xr.exports.useLayoutEffect((function(){if(!me)return ve.add(ne),function(){ve.delete(ne)}}),[me,ve,ne]),Xr.exports.useLayoutEffect((function(){me&&re&&Array.from(ve).reverse().forEach((function(e){return requestAnimationFrame(e)}))}),[me,re,ve]);var ge=Gr(Gr({"data-side":ie,"data-align":ae},R),{},{ref:F,style:Gr(Gr({},R.style),{},{animation:re?void 0:"none",opacity:null!==(u=te.hide)&&void 0!==u&&u.referenceHidden?0:void 0})});return Xr.exports.createElement("div",{ref:Z,"data-radix-popper-content-wrapper":"",style:Wr({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(" "))},Xr.exports.createElement(PA,{scope:c,placedSide:ie,onArrowChange:z,arrowX:ue,arrowY:se,shouldHideArrow:le},me?Xr.exports.createElement(DA,{scope:c,hasParent:!0,positionUpdateFns:ve},Xr.exports.createElement(eS.div,ge)):Xr.exports.createElement(eS.div,ge)))})),NA={top:"bottom",right:"left",bottom:"top",left:"right"},FA=Xr.exports.forwardRef((function(e,t){var n,r=e.__scopePopper,o=Br(e,rn),i=OA("PopperArrow",r),a=NA[i.placedSide];return Xr.exports.createElement("span",{ref:i.onArrowChange,style:(n={position:"absolute",left:i.arrowX,top:i.arrowY},Wr(n,a,0),Wr(n,"transformOrigin",{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide]),Wr(n,"transform",{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide]),Wr(n,"visibility",i.shouldHideArrow?"hidden":void 0),n)},Xr.exports.createElement(bA,qE({},o,{ref:t,style:Gr(Gr({},o.style),{},{display:"block"})})))}));function IA(e){return void 0!==e}function jA(e){return null!==e}var zA=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=Kr(BA(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 BA(e){var t=Kr(e.split("-"),2),n=t[0],r=t[1];return[n,void 0===r?"center":r]}var UA=CA,VA=MA,HA=FA,qA=Xr.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=Br(e,on);return o?Xv.createPortal(Xr.exports.createElement(eS.div,qE({},i,{ref:t})),o):null}));var YA=function(e){var t=e.present,n=e.children,r=function(e){var t=Kr(Xr.exports.useState(),2),n=t[0],r=t[1],o=Xr.exports.useRef({}),i=Xr.exports.useRef(e),a=Xr.exports.useRef("none"),u=Kr(function(e,t){return Xr.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 Xr.exports.useEffect((function(){var e=GA(o.current);a.current="mounted"===s?e:"none"}),[s]),tS((function(){var t=o.current,n=i.current;if(n!==e){var r=a.current,u=GA(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]),tS((function(){if(n){var e=function(e){var t=GA(o.current).includes(e.animationName);e.target===n&&t&&qo.exports.flushSync((function(){return l("ANIMATION_END")}))},t=function(e){e.target===n&&(a.current=GA(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:Xr.exports.useCallback((function(e){e&&(o.current=getComputedStyle(e)),r(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):Xr.exports.Children.only(n),i=XE(r.ref,o.ref);return"function"==typeof n||r.isPresent?Xr.exports.cloneElement(o,{ref:i}):null};function GA(e){return(null==e?void 0:e.animationName)||"none"}YA.displayName="Presence";var WA=new WeakMap,KA=new WeakMap,XA={},ZA=0,QA=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":lo(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];XA[n]||(XA[n]=new WeakMap);var i=XA[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=(WA.get(t)||0)+1,c=(i.get(t)||0)+1;WA.set(t,l),i.set(t,c),a.push(t),1===l&&s&&KA.set(t,!0),1===c&&t.setAttribute(n,"true"),s||t.setAttribute(r,"true")}}))}(t),u.clear(),ZA++,function(){a.forEach((function(e){var t=WA.get(e)-1,o=i.get(e)-1;WA.set(e,t),i.set(e,o),t||(KA.has(e)||e.removeAttribute(r),KA.delete(e)),o||e.removeAttribute(n)})),--ZA||(WA=new WeakMap,WA=new WeakMap,KA=new WeakMap,XA={})}}(r,o,n,"aria-hidden")):function(){return null}},$A=function(){return $A=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},$A.apply(this,arguments)};function JA(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 eT="right-scroll-bar-position",tT="width-before-scroll-bar";function nT(e,t){return function(e,t){var n=Xr.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 rT(e){return e}var oT=function(e){var t=e.sideCar,n=JA(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 NE(r,Gr({},$A({},n)))};oT.isSideCarExport=!0;var iT=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=rT);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=$A({async:!0,ssr:!1},e),t}(),aT=function(){},uT=Xr.exports.forwardRef((function(e,t){var n=Xr.exports.useRef(null),r=Xr.exports.useState({onScrollCapture:aT,onWheelCapture:aT,onTouchMoveCapture:aT}),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=JA(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=d,x=nT([n,t]),w=$A($A({},y),o);return FE(ME,{children:[c&&NE(b,{sideCar:iT,removeScrollBar:l,shards:f,noIsolation:p,inert:h,setCallbacks:i,allowPinchZoom:!!v,lockRef:n}),a?Xr.exports.cloneElement(Xr.exports.Children.only(u),$A($A({},w),{ref:x})):NE(g,Gr(Gr({},$A({},w,{className:s,ref:x})),{},{children:u}))]})}));uT.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},uT.classNames={fullWidth:tT,zeroRight:eT};function sT(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if(("undefined"==typeof __webpack_nonce__?"undefined":lo(__webpack_nonce__))<"u")return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var lT=function(){var e=0,t=null;return{add:function(n){0==e&&(t=sT())&&(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)}}},cT=function(){var e=function(){var e=lT();return function(t,n){Xr.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}},fT={left:0,top:0,right:0,gap:0},dT=function(e){return parseInt(e||"",10)||0},pT=function(e){if(void 0===e&&(e="margin"),("undefined"==typeof window?"undefined":lo(window))>"u")return fT;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[dT(n),dT(r),dT(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])}},hT=cT(),vT=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(eT," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(tT," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(eT," .").concat(eT," {\n right: 0 ").concat(r,";\n }\n \n .").concat(tT," .").concat(tT," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},mT=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=Xr.exports.useMemo((function(){return pT(o)}),[o]);return NE(hT,{styles:vT(i,!t,o,n?"":"!important")})},gT=!1;if(("undefined"==typeof window?"undefined":lo(window))<"u")try{var yT=Object.defineProperty({},"passive",{get:function(){return gT=!0,!0}});window.addEventListener("test",yT,yT),window.removeEventListener("test",yT,yT)}catch(t5){gT=!1}var bT=!!gT&&{passive:!1},xT=function(e,t){var n=t;do{if(("undefined"==typeof ShadowRoot?"undefined":lo(ShadowRoot))<"u"&&n instanceof ShadowRoot&&(n=n.host),wT(e,n)){var r=_T(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},wT=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)},_T=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)},ET=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ST=function(e){return[e.deltaX,e.deltaY]},kT=function(e){return e&&"current"in e?e.current:e},CT=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},AT=0,TT=[];var PT=function(e,t){return e.useMedium(t),oT}(iT,(function(e){var t=Xr.exports.useRef([]),n=Xr.exports.useRef([0,0]),r=Xr.exports.useRef(),o=Xr.exports.useState(AT++)[0],i=Xr.exports.useState((function(){return cT()}))[0],a=Xr.exports.useRef(e);Xr.exports.useEffect((function(){a.current=e}),[e]),Xr.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(kT),!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=Xr.exports.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=ET(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=xT(f,c);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=xT(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=_T(e,u),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&wT(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=Xr.exports.useCallback((function(e){var n=e;if(TT.length&&TT[TT.length-1]===i){var r="deltaY"in n?ST(n):ET(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(kT).filter(Boolean).filter((function(e){return e.contains(n.target)}));(s.length>0?u(n,s[0]):!a.current.noIsolation)&&n.preventDefault()}}}),[]),l=Xr.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=Xr.exports.useCallback((function(e){n.current=ET(e),r.current=void 0}),[]),f=Xr.exports.useCallback((function(t){l(t.type,ST(t),t.target,u(t,e.lockRef.current))}),[]),d=Xr.exports.useCallback((function(t){l(t.type,ET(t),t.target,u(t,e.lockRef.current))}),[]);Xr.exports.useEffect((function(){return TT.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",s,bT),document.addEventListener("touchmove",s,bT),document.addEventListener("touchstart",c,bT),function(){TT=TT.filter((function(e){return e!==i})),document.removeEventListener("wheel",s,bT),document.removeEventListener("touchmove",s,bT),document.removeEventListener("touchstart",c,bT)}}),[]);var p=e.removeScrollBar,h=e.inert;return FE(ME,{children:[h?NE(i,{styles:CT(o)}):null,p?NE(mT,{gapMode:"margin"}):null]})})),OT=Xr.exports.forwardRef((function(e,t){return NE(uT,Gr({},$A({},e,{ref:t,sideCar:PT})))}));OT.classNames=uT.classNames;var RT=OT,DT="Popover",LT=Kr(YE(DT,[EA]),2),MT=LT[0],NT=(LT[1],EA()),FT=Kr(MT(DT),2),IT=(FT[0],FT[1]),jT=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=Br(e,an),o=IT("PopoverTrigger",n),i=NT(n),a=XE(t,o.triggerRef),u=Xr.exports.createElement(eS.button,qE({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":WT(o.open)},r,{ref:a,onClick:TS(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?u:Xr.exports.createElement(UA,qE({asChild:!0},i),u)})),zT=Kr(MT("PopoverPortal",{forceMount:void 0}),2),BT=(zT[0],zT[1]),UT="PopoverContent",VT=Xr.exports.forwardRef((function(e,t){var n=BT(UT,e.__scopePopover),r=e.forceMount,o=void 0===r?n.forceMount:r,i=Br(e,un),a=IT(UT,e.__scopePopover);return Xr.exports.createElement(YA,{present:o||a.open},a.modal?Xr.exports.createElement(HT,qE({},i,{ref:t})):Xr.exports.createElement(qT,qE({},i,{ref:t})))})),HT=Xr.exports.forwardRef((function(e,t){var n=IT(UT,e.__scopePopover),r=Xr.exports.useRef(null),o=XE(t,r),i=Xr.exports.useRef(!1);return Xr.exports.useEffect((function(){var e=r.current;if(e)return QA(e)}),[]),Xr.exports.createElement(RT,{as:ZE,allowPinchZoom:!0},Xr.exports.createElement(YT,qE({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:TS(e.onCloseAutoFocus,(function(e){var t;e.preventDefault(),i.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:TS(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:TS(e.onFocusOutside,(function(e){return e.preventDefault()}),{checkForDefaultPrevented:!1})})))})),qT=Xr.exports.forwardRef((function(e,t){var n=IT(UT,e.__scopePopover),r=Xr.exports.useRef(!1);return Xr.exports.createElement(YT,qE({},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()}}))})),YT=Xr.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=Br(e,sn),d=IT(UT,n),p=NT(n);return Kk(),Xr.exports.createElement(Jk,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},Xr.exports.createElement(qk,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:l,onDismiss:function(){return d.onOpenChange(!1)}},Xr.exports.createElement(VA,qE({"data-state":WT(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:Gr(Gr({},f.style),{},Wr({},"--radix-popover-content-transform-origin","var(--radix-popper-transform-origin)"))}))))})),GT=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=Br(e,ln),o=NT(n);return Xr.exports.createElement(HA,qE({},o,r,{ref:t}))}));function WT(e){return e?"open":"closed"}var KT=VT,XT=GT;hE(jT)(M||(M=zr(["\n background: none;\n border: none;\n padding: 0;\n"]))),hE(KT)(N||(N=zr(["\n border-radius: ",";\n box-shadow: ",";\n padding: ",";\n"])),SE["--ll-border-radius-small"],SE["--ll-shadow-small"],SE["--ll-spacing-medium"]),hE(XT)(F||(F=zr(["\n fill: ",";\n"])),SE["--ll-color-background"]);var ZT={primary:{background:"transparent",onBackground:SE["--ll-color-primary"],hover:"rgba(0,0,0,0.05)"},neutral:{background:"transparent",onBackground:SE["--ll-color-on-background-variant1"],hover:"rgba(0,0,0,0.05)"}},QT={small:24,medium:32,large:48};hE.button(I||(I=zr(["\n ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t,r=e.size,o=void 0===r?"medium":r;return Z_(j||(j=zr(["\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\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 "])),ZT[n].background,ZT[n].onBackground,QT[o],QT[o],ZT[n].hover,SE["--ll-color-on-background-variant1"])}));var $T=pE(B||(B=zr(["\n from {\n background-position: -800px 0;\n }\n\n to {\n background-position: 800px 0;\n }\n"]))),JT=hE.div(U||(U=zr(["\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"])),SE["--ll-border-radius-medium"],$T,SE["--ll-color-surface-variant1"],SE["--ll-color-surface-variant2"],SE["--ll-color-surface-variant1"],(function(e){var t=e.height,n=e.width;return Z_(z||(z=zr(["\n height: ",";\n width: ",";\n "])),t,n)}));Ir("n",(function(e){var t=e.height,n=e.width,r=e.className;return NE(JT,{height:t,width:n,className:r})}));hE.div(V||(V=zr(["\n flex: 1;\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),hE.div(H||(H=zr(["\n display: flex;\n flex-direction: column;\n align-items: center;\n"])));var eP=Xr.exports.forwardRef((function(e,t){return Xr.exports.createElement(eS.span,qE({},e,{ref:t,style:Gr({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)}))})),tP=[" ","Enter","ArrowUp","ArrowDown"],nP=[" ","Enter"],rP="Select",oP=Kr(XS(rP),3),iP=oP[0],aP=oP[1],uP=Kr(YE(rP,[oP[2]]),2),sP=uP[0],lP=uP[1],cP=Kr(sP(rP),2),fP=cP[0],dP=cP[1],pP=Kr(sP(rP),2),hP=pP[0],vP=pP[1],mP=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=Kr(Xr.exports.useState(null),2),p=d[0],h=d[1],v=Kr(Xr.exports.useState(null),2),m=v[0],g=v[1],y=Kr(Xr.exports.useState(!1),2),b=y[0],x=y[1],w=KS(l),_=Kr(OS({prop:r,defaultProp:o,onChange:i}),2),E=_[0],S=void 0!==E&&E,k=_[1],C=Kr(OS({prop:a,defaultProp:u,onChange:s}),2),A=C[0],T=C[1],P=Xr.exports.useRef(null),O=!p||Boolean(p.closest("form")),R=Kr(Xr.exports.useState(new Set),2),D=R[0],L=R[1],M=Array.from(D).map((function(e){return e.props.value})).join(";");return Xr.exports.createElement(fP,{scope:t,trigger:p,onTriggerChange:h,valueNode:m,onValueNodeChange:g,valueNodeHasChildren:b,onValueNodeHasChildrenChange:x,contentId:oS(),value:A,onValueChange:T,open:S,onOpenChange:k,dir:w,triggerPointerDownPosRef:P},Xr.exports.createElement(iP.Provider,{scope:t},Xr.exports.createElement(hP,{scope:e.__scopeSelect,onNativeOptionAdd:Xr.exports.useCallback((function(e){L((function(t){return new Set(t).add(e)}))}),[]),onNativeOptionRemove:Xr.exports.useCallback((function(e){L((function(t){var n=new Set(t);return n.delete(e),n}))}),[])},n)),O?Xr.exports.createElement(GP,{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)},gP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.disabled,o=void 0!==r&&r,i=e["aria-labelledby"],a=Br(e,cn),u=dP("SelectTrigger",n),s=XE(t,u.onTriggerChange),l=aP(n),c=cS(u.trigger),f=i||c,d=WP((function(e){var t=l().filter((function(e){return!e.disabled})),n=t.find((function(e){return e.value===u.value})),r=KP(t,e,n);void 0!==r&&u.onValueChange(r.value)})),p=Kr(d,3),h=p[0],v=p[1],m=p[2],g=function(){o||(u.onOpenChange(!0),m())};return Xr.exports.createElement(eS.button,qE({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:TS(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:TS(a.onKeyDown,(function(e){var t=""!==h.current;!(e.ctrlKey||e.altKey||e.metaKey)&&1===e.key.length&&v(e.key),(!t||" "!==e.key)&&tP.includes(e.key)&&(g(),e.preventDefault())}))}))})),yP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=(e.className,e.style,e.children),o=e.placeholder,i=Br(e,fn),a=dP("SelectValue",n),u=a.onValueNodeHasChildrenChange,s=void 0!==r,l=XE(t,a.onValueNodeChange);return tS((function(){u(s)}),[u,s]),Xr.exports.createElement(eS.span,qE({},i,{ref:l,style:{pointerEvents:"none"}}),void 0===a.value&&void 0!==o?o:r)})),bP=Xr.exports.forwardRef((function(e,t){e.__scopeSelect;var n=e.children,r=Br(e,dn);return Xr.exports.createElement(eS.span,qE({"aria-hidden":!0},r,{ref:t}),n||"▼")})),xP=function(e){return Xr.exports.createElement(qA,qE({asChild:!0},e))},wP="SelectContent",_P=Xr.exports.forwardRef((function(e,t){var n=dP(wP,e.__scopeSelect),r=Kr(Xr.exports.useState(),2),o=r[0],i=r[1];return tS((function(){i(new DocumentFragment)}),[]),Xr.exports.createElement(Xr.exports.Fragment,null,n.open?Xr.exports.createElement(AP,qE({},e,{ref:t})):o?qo.exports.createPortal(Xr.exports.createElement(kP,{scope:e.__scopeSelect},Xr.exports.createElement(iP.Slot,{scope:e.__scopeSelect},Xr.exports.createElement("div",null,e.children))),o):null)})),EP=10,SP=Kr(sP(wP),2),kP=SP[0],CP=SP[1],AP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.onCloseAutoFocus,o=Br(e,pn),i=dP(wP,n),a=Kr(Xr.exports.useState(null),2),u=a[0],s=a[1],l=Kr(Xr.exports.useState(null),2),c=l[0],f=l[1],d=Kr(Xr.exports.useState(null),2),p=d[0],h=d[1],v=XE(t,(function(e){return f(e)})),m=Kr(Xr.exports.useState(null),2),g=m[0],y=m[1],b=Kr(Xr.exports.useState(null),2),x=b[0],w=b[1],_=aP(n),E=Kr(Xr.exports.useState(!1),2),S=E[0],k=E[1],C=Xr.exports.useRef(!0),A=Xr.exports.useRef(!1),T=Xr.exports.useRef(!1);Xr.exports.useEffect((function(){if(c)return QA(c)}),[c]),Kk();var P=Kr(Xr.exports.useState(),2),O=P[0],R=P[1];tS((function(){c&&R(window.getComputedStyle(c).zIndex)}),[c]);var D=Xr.exports.useCallback((function(e){var t,n=_().map((function(e){return e.ref.current})),r=Nr(n),o=r[0],i=Kr(r.slice(1).slice(-1),1)[0],a=document.activeElement,u=co(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=Xr.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-EP,h=GS(a,[EP,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-EP,S=GS(m,[EP,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-EP,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(EP,"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]);tS((function(){return L()}),[L]);var M=Xr.exports.useCallback((function(){return D([g,c])}),[D,g,c]);Xr.exports.useEffect((function(){S&&M()}),[S,M]);var N=Xr.exports.useCallback((function(e){e&&!0===C.current&&(L(),M(),C.current=!1)}),[L,M]),F=i.onOpenChange,I=i.triggerPointerDownPosRef;Xr.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]),Xr.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=WP((function(e){var t=_().filter((function(e){return!e.disabled})),n=t.find((function(e){return e.ref.current===document.activeElement})),r=KP(t,e,n);r&&setTimeout((function(){return r.ref.current.focus()}))})),z=Kr(j,2),B=z[0],U=z[1],V=Xr.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=Xr.exports.useCallback((function(){return null==c?void 0:c.focus()}),[c]),q=Xr.exports.useCallback((function(e,t,n){var r=!T.current&&!n;(void 0!==i.value&&i.value===t||r)&&w(e)}),[i.value]);return Xr.exports.createElement(kP,{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},Xr.exports.createElement(RT,{as:ZE,allowPinchZoom:!0},Xr.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:O}},Xr.exports.createElement(Jk,{asChild:!0,trapped:i.open,onMountAutoFocus:function(e){e.preventDefault()},onUnmountAutoFocus:TS(r,(function(e){var t;null===(t=i.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}))},Xr.exports.createElement(qk,qE({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:function(e){return e.preventDefault()}},o,{ref:v,style:Gr({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:TS(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()}}))}))))))})),TP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=Br(e,hn),o=CP("SelectViewport",n),i=XE(t,o.onViewportChange),a=Xr.exports.useRef(0);return Xr.exports.createElement(Xr.exports.Fragment,null,Xr.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}"}}),Xr.exports.createElement(iP.Slot,{scope:n},Xr.exports.createElement(eS.div,qE({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:Gr({position:"relative",flex:1,overflow:"auto"},r.style),onScroll:TS(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}))}))))})),PP=Kr(sP("SelectGroup"),2),OP=PP[0],RP=PP[1],DP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=Br(e,vn),o=oS();return Xr.exports.createElement(OP,{scope:n,id:o},Xr.exports.createElement(eS.div,qE({role:"group","aria-labelledby":o},r,{ref:t})))})),LP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=Br(e,mn),o=RP("SelectLabel",n);return Xr.exports.createElement(eS.div,qE({id:o.id},r,{ref:t}))})),MP="SelectItem",NP=Kr(sP(MP),2),FP=NP[0],IP=NP[1],jP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.value,o=e.disabled,i=void 0!==o&&o,a=e.textValue,u=Br(e,gn),s=dP(MP,n),l=CP(MP,n),c=s.value===r,f=Kr(Xr.exports.useState(null!=a?a:""),2),d=f[0],p=f[1],h=Kr(Xr.exports.useState(!1),2),v=h[0],m=h[1],g=XE(t,(function(e){var t;return null===(t=l.itemRefCallback)||void 0===t?void 0:t.call(l,e,r,i)})),y=oS(),b=function(){i||(s.onValueChange(r),s.onOpenChange(!1))};return Xr.exports.createElement(FP,{scope:n,value:r,disabled:i,textId:y,isSelected:c,onItemTextChange:Xr.exports.useCallback((function(e){p((function(t){var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()}))}),[])},Xr.exports.createElement(iP.ItemSlot,{scope:n,value:r,disabled:i,textValue:d},Xr.exports.createElement(eS.div,qE({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:TS(u.onFocus,(function(){return m(!0)})),onBlur:TS(u.onBlur,(function(){return m(!1)})),onPointerUp:TS(u.onPointerUp,b),onPointerMove:TS(u.onPointerMove,(function(e){var t;i?null===(t=l.onItemLeave)||void 0===t||t.call(l):e.currentTarget.focus({preventScroll:!0})})),onPointerLeave:TS(u.onPointerLeave,(function(e){var t;e.currentTarget===document.activeElement&&(null===(t=l.onItemLeave)||void 0===t||t.call(l))})),onKeyDown:TS(u.onKeyDown,(function(e){var t;""!==(null===(t=l.searchRef)||void 0===t?void 0:t.current)&&" "===e.key||(nP.includes(e.key)&&b()," "===e.key&&e.preventDefault())}))}))))})),zP="SelectItemText",BP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=(e.className,e.style,Br(e,yn)),o=dP(zP,n),i=CP(zP,n),a=IP(zP,n),u=vP(zP,n),s=Kr(Xr.exports.useState(null),2),l=s[0],c=s[1],f=XE(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=Xr.exports.useMemo((function(){return Xr.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 tS((function(){return h(p),function(){return v(p)}}),[h,v,p]),Xr.exports.createElement(Xr.exports.Fragment,null,Xr.exports.createElement(eS.span,qE({id:a.textId},r,{ref:f})),a.isSelected&&o.valueNode&&!o.valueNodeHasChildren?qo.exports.createPortal(r.children,o.valueNode):null)})),UP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=Br(e,bn);return IP("SelectItemIndicator",n).isSelected?Xr.exports.createElement(eS.span,qE({"aria-hidden":!0},r,{ref:t})):null})),VP=Xr.exports.forwardRef((function(e,t){var n=CP("SelectScrollUpButton",e.__scopeSelect),r=Kr(Xr.exports.useState(!1),2),o=r[0],i=r[1],a=XE(t,n.onScrollButtonChange);return tS((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?Xr.exports.createElement(qP,qE({},e,{ref:a,onAutoScroll:function(){var e=n.viewport,t=n.selectedItem;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}})):null})),HP=Xr.exports.forwardRef((function(e,t){var n=CP("SelectScrollDownButton",e.__scopeSelect),r=Kr(Xr.exports.useState(!1),2),o=r[0],i=r[1],a=XE(t,n.onScrollButtonChange);return tS((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?Xr.exports.createElement(qP,qE({},e,{ref:a,onAutoScroll:function(){var e=n.viewport,t=n.selectedItem;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}})):null})),qP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.onAutoScroll,o=Br(e,xn),i=CP("SelectScrollButton",n),a=Xr.exports.useRef(null),u=aP(n),s=Xr.exports.useCallback((function(){null!==a.current&&(window.clearInterval(a.current),a.current=null)}),[]);return Xr.exports.useEffect((function(){return function(){return s()}}),[s]),tS((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]),Xr.exports.createElement(eS.div,qE({"aria-hidden":!0},o,{ref:t,style:Gr({flexShrink:0},o.style),onPointerMove:TS(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:TS(o.onPointerLeave,(function(){s()}))}))})),YP=Xr.exports.forwardRef((function(e,t){e.__scopeSelect;var n=Br(e,wn);return Xr.exports.createElement(eS.div,qE({"aria-hidden":!0},n,{ref:t}))})),GP=Xr.exports.forwardRef((function(e,t){var n=e.value,r=Br(e,_n),o=Xr.exports.useRef(null),i=XE(t,o),a=RS(n);return Xr.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]),Xr.exports.createElement(eP,{asChild:!0},Xr.exports.createElement("select",qE({},r,{ref:i,defaultValue:n})))}));function WP(e){var t=PS(e),n=Xr.exports.useRef(""),r=Xr.exports.useRef(0),o=Xr.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=Xr.exports.useCallback((function(){n.current="",window.clearTimeout(r.current)}),[]);return Xr.exports.useEffect((function(){return function(){return window.clearTimeout(r.current)}}),[]),[n,o,i]}function KP(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}GP.displayName="BubbleSelect";var XP,ZP=mP,QP=gP,$P=yP,JP=bP,eO=xP,tO=_P,nO=TP,rO=DP,oO=LP,iO=jP,aO=BP,uO=UP,sO=VP,lO=HP,cO=YP,fO=Object.freeze(Object.defineProperty({__proto__:null,createSelectScope:lP,Select:mP,SelectTrigger:gP,SelectValue:yP,SelectIcon:bP,SelectPortal:xP,SelectContent:_P,SelectViewport:TP,SelectGroup:DP,SelectLabel:LP,SelectItem:jP,SelectItemText:BP,SelectItemIndicator:UP,SelectScrollUpButton:VP,SelectScrollDownButton:HP,SelectSeparator:YP,Root:ZP,Trigger:QP,Value:$P,Icon:JP,Portal:eO,Content:tO,Viewport:nO,Group:rO,Label:oO,Item:iO,ItemText:aO,ItemIndicator:uO,ScrollUpButton:sO,ScrollDownButton:lO,Separator:cO},Symbol.toStringTag,{value:"Module"})),dO=function(e){return Dx("svg",Gr(Gr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("g",{clipPath:"url(#clip0_17_2062)",children:Dx("path",{d:"M7.41 8.58997L12 13.17L16.59 8.58997L18 9.99997L12 16L6 9.99997L7.41 8.58997Z"})})}))},pO=function(e){return Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("g",{clipPath:"url(#clip0_17_4631)",children:Dx("path",{d:"M9.00016 16.17L4.83016 12L3.41016 13.41L9.00016 19L21.0002 6.99997L19.5902 5.58997L9.00016 16.17Z"})})}))},hO=hE(QP)(q||(q=zr(["\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"])),SE["--ll-color-background"],SE["--ll-border-radius-small"],SE["--ll-color-border"],SE["--ll-color-on-background-variant1"],SE["--ll-spacing-xx-small"],SE["--ll-spacing-x-small"],SE["--ll-spacing-xx-small"],SE["--ll-spacing-small"],(function(e){return"medium"===e.size?"32px":"40px"}),(function(e){return"medium"===e.size?SE["--ll-font-size-p"]:SE["--ll-font-size-h6"]})),vO=hE(bP)(Y||(Y=zr(["\n margin-left: ",";\n"])),SE["--ll-spacing-x-small"]),mO=hE(tO)(G||(G=zr(["\n overflow: hidden;\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n min-width: 120px;\n z-index: 1;\n font-size: ",";\n"])),SE["--ll-color-background"],SE["--ll-border-radius-small"],SE["--ll-shadow-medium"],(function(e){return"medium"===e.size?SE["--ll-font-size-p"]:SE["--ll-font-size-h6"]})),gO=hE(iO)(W||(W=zr(["\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"])),SE["--ll-font-family"],SE["--ll-spacing-xx-small"],SE["--ll-spacing-x-large"],SE["--ll-spacing-xx-small"],SE["--ll-spacing-large"],SE["--ll-border-radius-small"],SE["--ll-color-on-surface-variant1"],SE["--ll-color-primary"],SE["--ll-color-on-primary"]),yO=hE(uO)(K||(K=zr(["\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"])),SE["--ll-spacing-large"]),bO=hE(nO)(X||(X=zr(["\n font-size: inherit;\n padding: ",";\n"])),SE["--ll-spacing-base-unit"]),xO=hE(eO)(Z||(Z=zr(["\n z-index: 1;\n"]))),wO=Object.freeze(Object.defineProperty({__proto__:null,Trigger:hO,SelectIcon:vO,Content:mO,Item:gO,ItemIndicator:yO,Viewport:bO,Portal:xO},Symbol.toStringTag,{value:"Module"})),_O=fO.Root,EO=wO.Portal;Ir("N",Object.freeze(Object.defineProperty({__proto__:null,Root:_O,Trigger:function(e){var t=e.size,n=void 0===t?"medium":t,r=e.children,o=Br(e,En);return FE(hO,Gr(Gr({size:n},o),{},{children:[r,NE(bP,{children:NE(jE,{SVGElement:dO,fill:SE["--ll-color-on-background-variant1"],height:20})})]}))},Content:function(e){var t=e.size,n=void 0===t?"medium":t,r=e.children,o=Br(e,Sn);return NE(mO,Gr(Gr({size:n},o),{},{children:NE(bO,{children:r})}))},Item:function(e){var t=e.children,n=Br(e,kn);return FE(gO,Gr(Gr({},n),{},{children:[NE(aO,{children:t}),NE(yO,{children:NE(jE,{SVGElement:pO,fill:"currentColor",height:12})})]}))},Portal:EO},Symbol.toStringTag,{value:"Module"})));function SO(){return Ir("Z",SO=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}),SO.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(XP||(XP={}));var kO="beforeunload";function CO(e,t,n){return Math.min(Math.max(e,t),n)}function AO(e){e.preventDefault(),e.returnValue=""}function TO(){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 PO(){return Math.random().toString(36).substr(2,8)}function OO(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 RO(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}
30
+ */!function(e){e.exports=function(){if(RE)return LE;RE=1;var e=Uo,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 LE.Fragment=n,LE.jsx=a,LE.jsxs=a,LE}()}(DE);var ME=DE.exports.Fragment,NE=DE.exports.jsx,FE=DE.exports.jsxs,IE=hE.div(i||(i=zr(["\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})),jE=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 NE(IE,{fill:r,height:i,width:void 0===a?24:a,children:NE(t,{})})},zE=function(e){var t=e.variant;return"h1"===t?SE["--ll-font-size-h1"]:"h2"===t?SE["--ll-font-size-h2"]:"h3"===t?SE["--ll-font-size-h3"]:"h4"===t?SE["--ll-font-size-h4"]:"h5"===t?SE["--ll-font-size-h5"]:"h6"===t?SE["--ll-font-size-h6"]:"p"===t?SE["--ll-font-size-p"]:"caption1"===t?SE["--ll-font-size-caption-1"]:"caption2"===t?SE["--ll-font-size-caption-2"]:SE["--ll-font-size-h2"]},BE=function(e){var t=e.color;return t in SE?SE[t]:t},UE=hE.span(a||(a=zr(["\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"})),VE=hE.div(u||(u=zr(["\n ","\n"])),(function(e){return Z_(s||(s=zr(["\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,zE(e),"sans-serif"===e.family?SE["--ll-font-family"]:SE["--ll-font-family-mono"],BE(e),SE[e.weight],zE(e),BE(e),UE,e.noWrap&&Z_(l||(l=zr(["\n text-overflow: ellipsis;\n white-space: nowrap;\n "]))))})),HE=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 NE(VE,{variant:r,align:o,color:a,noWrap:u,weight:f,family:p,children:NE(UE,{as:v,noMargin:s,className:h,lineHeight:l,children:t})})};function qE(){return qE=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},qE.apply(this,arguments)}function YE(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];function r(t,r){var o=Xr.exports.createContext(r),i=n.length;function a(t){var n=t.scope,r=t.children,a=Br(t,Rt),u=(null==n?void 0:n[e][i])||o,s=Xr.exports.useMemo((function(){return a}),Object.values(a));return Xr.exports.createElement(u.Provider,{value:s},r)}return n=[].concat(Hr(n),[r]),a.displayName=t+"Provider",[a,function(n,a){var u=(null==a?void 0:a[e][i])||o,s=Xr.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 Xr.exports.createContext(e)}));return function(n){var r=(null==n?void 0:n[e])||t;return Xr.exports.useMemo((function(){return Wr({},"__scope".concat(e),Gr(Gr({},n),{},Wr({},e,r)))}),[n,r])}};return o.scopeName=e,[r,GE.apply(void 0,[o].concat(Hr(t)))]}function GE(){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 Gr(Gr({},e),i)}),{});return Xr.exports.useMemo((function(){return Wr({},"__scope".concat(r.scopeName),n)}),[n])}};return o.scopeName=r.scopeName,o}function WE(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function KE(){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 WE(t,e)}))}}function XE(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Xr.exports.useCallback(KE.apply(void 0,t),t)}hE.a(c||(c=zr(["\n font-family: ",";\n font-size: ",";\n color: ",";\n cursor: pointer;\n\n ","\n"])),SE["--ll-font-family"],SE["--ll-font-size-p"],SE["--ll-color-link"],(function(e){var t=e.lineClamp;return t&&Z_(f||(f=zr(["\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ",";\n "])),t)})),Ir({O:jE,t:HE});var ZE=Xr.exports.forwardRef((function(e,t){var n=e.children,r=Br(e,Dt),o=Xr.exports.Children.toArray(n),i=o.find(JE);if(i){var a=i.props.children,u=o.map((function(e){return e===i?Xr.exports.Children.count(a)>1?Xr.exports.Children.only(null):Xr.exports.isValidElement(a)?a.props.children:null:e}));return Xr.exports.createElement(QE,qE({},r,{ref:t}),Xr.exports.isValidElement(a)?Xr.exports.cloneElement(a,void 0,u):null)}return Xr.exports.createElement(QE,qE({},r,{ref:t}),n)}));ZE.displayName="Slot";var QE=Xr.exports.forwardRef((function(e,t){var n=e.children,r=Br(e,Lt);return Xr.exports.isValidElement(n)?Xr.exports.cloneElement(n,Gr(Gr({},function(e,t){var n=Gr({},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]=Gr(Gr({},o),i):"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))};for(var o in t)r(o);return Gr(Gr({},e),n)}(r,n.props)),{},{ref:KE(t,n.ref)})):Xr.exports.Children.count(n)>1?Xr.exports.Children.only(null):null}));QE.displayName="SlotClone";var $E=function(e){var t=e.children;return Xr.exports.createElement(Xr.exports.Fragment,null,t)};function JE(e){return Xr.exports.isValidElement(e)&&e.type===$E}var eS=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"].reduce((function(e,t){var n=Xr.exports.forwardRef((function(e,n){var r=e.asChild,o=Br(e,Mt),i=r?ZE:t;return Xr.exports.useEffect((function(){window[Symbol.for("radix-ui")]=!0}),[]),Xr.exports.createElement(i,qE({},o,{ref:n}))}));return n.displayName="Primitive.".concat(t),Gr(Gr({},e),{},Wr({},t,n))}),{});var tS=Boolean(null==globalThis?void 0:globalThis.document)?Xr.exports.useLayoutEffect:function(){},nS=Vo["useId".toString()]||function(){},rS=0;function oS(e){var t=Kr(Xr.exports.useState(nS()),2),n=t[0],r=t[1];return tS((function(){e||r((function(e){return null!=e?e:String(rS++)}))}),[e]),e||(n?"radix-".concat(n):"")}var iS=function(e,t){var n=Xr.exports.createContext(t);function r(e){var t=e.children,r=Br(e,Ot),o=Xr.exports.useMemo((function(){return r}),Object.values(r));return Xr.exports.createElement(n.Provider,{value:o},t)}return r.displayName=e+"Provider",[r,function(r){var o=Xr.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}}),aS=Kr(iS,2),uS=aS[0],sS=aS[1],lS=Xr.exports.forwardRef((function(e,t){var n=e.htmlFor,r=e.id,o=Br(e,Nt),i=Xr.exports.useRef(null),a=Xr.exports.useRef(null),u=XE(t,a),s=oS(r);return Xr.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]),Xr.exports.createElement(uS,{id:s,controlRef:i},Xr.exports.createElement(eS.span,qE({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())}}})))})),cS=function(e){var t=sS("LabelConsumer"),n=t.controlRef;return Xr.exports.useEffect((function(){e&&(n.current=e)}),[e,n]),t.id},fS=hE(lS)(d||(d=zr(["\n font-size: ",";\n font-family: ",";\n color: ",";\n"])),SE["--ll-font-size-p"],SE["--ll-font-family"],SE["--ll-color-placeholder"]),dS=function(e){return NE(fS,Gr({},e))},pS=0,hS=hE.div(p||(p=zr(["\n display: flex;\n flex-direction: column;\n"]))),vS=hE.input(h||(h=zr(["\n all: unset;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ",";\n padding: 0 10px;\n height: 32px;\n line-height: 1;\n font-size: ",";\n font-family: ",";\n color: ",";\n background-color: ",";\n border: 1px solid ",";\n\n &:focus {\n box-shadow: ",";\n }\n"])),SE["--ll-border-radius-small"],SE["--ll-font-size-p"],SE["--ll-font-family"],SE["--ll-color-on-background"],SE["--ll-color-background"],SE["--ll-color-border"],SE["--ll-shadow-small"]),mS=pE(v||(v=zr(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]))),gS={small:16,medium:24,large:32},yS=hE.div(m||(m=zr(["\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 gS[t]}),(function(e){var t=e.size;return gS[t]}),(function(e){var t=e.size;return gS[t]/6}),SE["--ll-color-on-surface-variant1"],mS),bS=function(e){var t=e.size;return NE(yS,{size:void 0===t?"medium":t})},xS={primary:{background:SE["--ll-color-primary"],onBackground:SE["--ll-color-on-primary"],hover:SE["--ll-color-primary-variant1"]}},wS=function(e){var t=e.size;return"".concat("small"===t?32:"large"===t?48:40,"px")},_S=Z_(g||(g=zr(["\n ",";\n\n height: ",";\n"])),(function(e){e.color;return Z_(y||(y=zr(["\n color: ",";\n\n &:disabled {\n cursor: default;\n }\n "])),SE["--ll-color-on-background"])}),wS),ES=Z_(b||(b=zr(["\n ",";\n height: ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t;return Z_(x||(x=zr(["\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 "])),xS[n].background,xS[n].onBackground,xS[n].hover,SE["--ll-color-disabled"])}),wS),SS=Z_(w||(w=zr(["\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 Z_(_||(_=zr(["\n border-color: ",";\n border-width: 1px;\n border-style: solid;\n color: ",";\n "])),xS[n].background,xS[n].background)}),wS),kS=hE.div(E||(E=zr(["\n display: flex;\n align-items: center;\n margin-right: ",";\n margin-left: calc(-1 * ",");\n"])),SE["--ll-spacing-x-small"],SE["--ll-spacing-xx-small"]),CS=hE.button(S||(S=zr(["\n font-weight: ",";\n border-radius: ",";\n align-items: 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"])),SE["--ll-font-weight-normal"],SE["--ll-border-radius-small"],(function(e){return{contained:ES,outlined:SS,text:_S}[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?SE["--ll-font-size-caption-1"]:SE["--ll-font-size-p"])}),(function(e){var t=e.size;return"padding: 0 ".concat("small"===t?SE["--ll-spacing-x-small"]:"large"===t?SE["--ll-spacing-medium"]:SE["--ll-spacing-small"])})),AS=Uo.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 NE(CS,{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?NE(bS,{}):FE(ME,{children:[s&&NE(kS,{children:s}),n]})})}));function TS(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 PS(e){var t=Xr.exports.useRef(e);return Xr.exports.useEffect((function(){t.current=e})),Xr.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 OS(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=Xr.exports.useState(t),o=Kr(r,1)[0],i=Xr.exports.useRef(o),a=PS(n);return Xr.exports.useEffect((function(){i.current!==o&&(a(o),i.current=o)}),[o,i,a]),r}({defaultProp:n,onChange:o}),a=Kr(i,2),u=a[0],s=a[1],l=void 0!==t,c=l?t:u,f=PS(o);return[c,Xr.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 RS(e){var t=Xr.exports.useRef({value:e,previous:e});return Xr.exports.useMemo((function(){return t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous}),[e])}function DS(e){var t=Kr(Xr.exports.useState(void 0),2),n=t[0],r=t[1];return tS((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}Ir({a3:function(e){var t=e.value,n=e.label,r=e.placeholder,o=e.onBlur,i=e.onFocus,a=e.onChange,u=Kr(Xr.exports.useState((function(){return"id-".concat(pS+=1)})),1)[0],s=Xr.exports.useMemo((function(){return n?NE(dS,{htmlFor:u,style:{lineHeight:"26px"},children:n}):null}),[n]);return FE(hS,{children:[s,NE(vS,{id:u,value:t,onBlur:o,onFocus:i,onChange:a,placeholder:r})]})},q:bS,a1:AS}),AS.displayName="Button";var LS="Switch",MS=Kr(YE(LS),2),NS=MS[0],FS=(MS[1],Kr(NS(LS),2)),IS=FS[0],jS=FS[1],zS=Xr.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=Br(e,Ft),p=Kr(Xr.exports.useState(null),2),h=p[0],v=p[1],m=XE(t,(function(e){return v(e)})),g=cS(h),y=r||g,b=Xr.exports.useRef(!1),x=!h||Boolean(h.closest("form")),w=Kr(OS({prop:i,defaultProp:a,onChange:f}),2),_=w[0],E=void 0!==_&&_,S=w[1];return Xr.exports.createElement(IS,{scope:n,checked:E,disabled:s},Xr.exports.createElement(eS.button,qE({type:"button",role:"switch","aria-checked":E,"aria-labelledby":y,"aria-required":u,"data-state":VS(E),"data-disabled":s?"":void 0,disabled:s,value:c},d,{ref:m,onClick:TS(e.onClick,(function(e){S((function(e){return!e})),x&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())}))})),x&&Xr.exports.createElement(US,{control:h,bubbles:!b.current,name:o,value:c,checked:E,required:u,disabled:s,style:{transform:"translateX(-100%)"}}))})),BS=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSwitch,r=Br(e,It),o=jS("SwitchThumb",n);return Xr.exports.createElement(eS.span,qE({"data-state":VS(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))})),US=function(e){var t=e.control,n=e.checked,r=e.bubbles,o=void 0===r||r,i=Br(e,jt),a=Xr.exports.useRef(null),u=RS(n),s=DS(t);return Xr.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]),Xr.exports.createElement("input",qE({type:"checkbox","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:a,style:Gr(Gr(Gr({},e.style),s),{},{position:"absolute",pointerEvents:"none",opacity:0,margin:0})}))};function VS(e){return e?"checked":"unchecked"}var HS=BS,qS=hE(zS)(k||(k=zr(["\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"])),SE["--ll-color-disabled"],SE["--ll-color-on-background"]),YS=hE(HS)(C||(C=zr(["\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'])),SE["--ll-color-background"]);Ir("a0",(function(e){return NE(qS,Gr(Gr({},e),{},{children:NE(YS,{})}))}));function GS(e,t){var n=Kr(t,2),r=n[0],o=n[1];return Math.min(o,Math.max(r,e))}var WS=Xr.exports.createContext(void 0);function KS(e){var t=Xr.exports.useContext(WS);return e||t||"ltr"}function XS(e){var t=e+"CollectionProvider",n=Kr(YE(t),2),r=n[0],o=n[1],i=Kr(r(t,{collectionRef:{current:null},itemMap:new Map}),2),a=i[0],u=i[1],s=e+"CollectionSlot",l=Uo.forwardRef((function(e,t){var n=e.scope,r=e.children,o=XE(t,u(s,n).collectionRef);return Uo.createElement(ZE,{ref:o},r)})),c=e+"CollectionItemSlot",f="data-radix-collection-item",d=Uo.forwardRef((function(e,t){var n,r=e.scope,o=e.children,i=Br(e,zt),a=Uo.useRef(null),s=XE(t,a),l=u(c,r);return Uo.useEffect((function(){return l.itemMap.set(a,Gr({ref:a},i)),function(){l.itemMap.delete(a)}})),Uo.createElement(ZE,(Wr(n={},f,""),Wr(n,"ref",s),n),o)}));return[{Provider:function(e){var t=e.scope,n=e.children,r=Uo.useRef(null),o=Uo.useRef(new Map).current;return Uo.createElement(a,{scope:t,itemMap:o,collectionRef:r},n)},Slot:l,ItemSlot:d},function(t){var n=u(e+"CollectionConsumer",t);return Uo.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 ZS=["PageUp","PageDown"],QS=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],$S={ltr:["ArrowDown","Home","ArrowLeft","PageDown"],rtl:["ArrowDown","Home","ArrowRight","PageDown"]},JS="Slider",ek=Kr(XS(JS),3),tk=ek[0],nk=ek[1],rk=ek[2],ok=Kr(YE(JS,[rk]),2),ik=ok[0],ak=(ok[1],Kr(ik(JS),2)),uk=ak[0],sk=ak[1],lk=Xr.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=Br(e,Bt),w=Kr(Xr.exports.useState(null),2),_=w[0],E=w[1],S=XE(t,(function(e){return E(e)})),k=Xr.exports.useRef(new Set),C=Xr.exports.useRef(0),A="horizontal"===c,T=!_||Boolean(_.closest("form")),P=A?pk:hk,O=OS({prop:g,defaultProp:m,onChange:function(e){var t;null===(t=Hr(k.current)[C.current])||void 0===t||t.focus(),b(e)}}),R=Kr(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=GS(r,[o,a]);M((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=Ek(e,i,t);return kk(n,h*s)?(C.current=n.indexOf(i),String(n)===String(e)?e:n):e}))}return Xr.exports.createElement(uk,{scope:e.__scopeSlider,disabled:d,min:o,max:a,valueIndexToChangeRef:C,thumbs:k.current,values:L,orientation:c},Xr.exports.createElement(tk.Provider,{scope:e.__scopeSlider},Xr.exports.createElement(tk.Slot,{scope:e.__scopeSlider},Xr.exports.createElement(P,qE({"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,Hr(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=ZS.includes(t.key)||t.shiftKey&&QS.includes(t.key)?10:1,o=C.current;N(L[o]+s*r*n,o)}}})))),T&&L.map((function(e,t){return Xr.exports.createElement(_k,{key:t,name:n?n+(L.length>1?"[]":""):void 0,value:e})})))})),ck=Kr(ik(JS,{startEdge:"left",endEdge:"right",size:"width",direction:1}),2),fk=ck[0],dk=ck[1],pk=Xr.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=Br(e,Ut),l=Kr(Xr.exports.useState(null),2),c=l[0],f=l[1],d=XE(t,(function(e){return f(e)})),p=Xr.exports.useRef(),h=KS(o),v="ltr"===h;function m(e){var t=p.current||c.getBoundingClientRect(),o=Ck([0,t.width],v?[n,r]:[r,n]);return p.current=t,o(e-t.left)}return Xr.exports.createElement(fk,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width"},Xr.exports.createElement(vk,qE({dir:h,"data-orientation":"horizontal"},s,{ref:d,style:Gr(Gr({},s.style),{},Wr({},"--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=$S[h].includes(e.key);null==u||u({event:e,direction:t?-1:1})}})))})),hk=Xr.exports.forwardRef((function(e,t){var n=e.min,r=e.max,o=e.onSlideStart,i=e.onSlideMove,a=e.onStepKeyDown,u=Br(e,Vt),s=Xr.exports.useRef(null),l=XE(t,s),c=Xr.exports.useRef();function f(e){var t=c.current||s.current.getBoundingClientRect(),o=Ck([0,t.height],[r,n]);return c.current=t,o(e-t.top)}return Xr.exports.createElement(fk,{scope:e.__scopeSlider,startEdge:"bottom",endEdge:"top",size:"height",direction:1},Xr.exports.createElement(vk,qE({"data-orientation":"vertical"},u,{ref:l,style:Gr(Gr({},u.style),{},Wr({},"--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=$S.ltr.includes(e.key);null==a||a({event:e,direction:t?-1:1})}})))})),vk=Xr.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=Br(e,Ht),c=sk(JS,n);return Xr.exports.createElement(eS.span,qE({},l,{ref:t,onKeyDown:TS(e.onKeyDown,(function(e){"Home"===e.key?(a(e),e.preventDefault()):"End"===e.key?(u(e),e.preventDefault()):ZS.concat(QS).includes(e.key)&&(s(e),e.preventDefault())})),onPointerDown:TS(e.onPointerDown,(function(e){var t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),c.thumbs.has(t)?t.focus():r(e)})),onPointerMove:TS(e.onPointerMove,(function(e){e.target.hasPointerCapture(e.pointerId)&&o(e)})),onPointerUp:TS(e.onPointerUp,(function(e){var t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),i(e))}))}))})),mk=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=Br(e,qt),o=sk("SliderTrack",n);return Xr.exports.createElement(eS.span,qE({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))})),gk="SliderRange",yk=Xr.exports.forwardRef((function(e,t){var n,r=e.__scopeSlider,o=Br(e,Yt),i=sk(gk,r),a=dk(gk,r),u=XE(t,Xr.exports.useRef(null)),s=i.values.length,l=i.values.map((function(e){return Sk(e,i.min,i.max)})),c=s>1?Math.min.apply(Math,Hr(l)):0,f=100-Math.max.apply(Math,Hr(l));return Xr.exports.createElement(eS.span,qE({"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0},o,{ref:u,style:Gr(Gr({},e.style),{},(n={},Wr(n,a.startEdge,c+"%"),Wr(n,a.endEdge,f+"%"),n))}))})),bk="SliderThumb",xk=Xr.exports.forwardRef((function(e,t){var n=nk(e.__scopeSlider),r=Kr(Xr.exports.useState(null),2),o=r[0],i=r[1],a=XE(t,(function(e){return i(e)})),u=Xr.exports.useMemo((function(){return o?n().findIndex((function(e){return e.ref.current===o})):-1}),[n,o]);return Xr.exports.createElement(wk,qE({},e,{ref:a,index:u}))})),wk=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=e.index,o=Br(e,Gt),i=sk(bk,n),a=dk(bk,n),u=Kr(Xr.exports.useState(null),2),s=u[0],l=u[1],c=XE(t,(function(e){return l(e)})),f=DS(s),d=i.values[r],p=void 0===d?0:Sk(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=Ck([0,50],[0,r]);return(r-o(t)*n)*n}(v,p,a.direction):0;return Xr.exports.useEffect((function(){if(s)return i.thumbs.add(s),function(){i.thumbs.delete(s)}}),[s,i.thumbs]),Xr.exports.createElement("span",{style:Wr({transform:"var(--radix-slider-thumb-transform)",position:"absolute"},a.startEdge,"calc(".concat(p,"% + ").concat(m,"px)"))},Xr.exports.createElement(tk.ItemSlot,{scope:e.__scopeSlider},Xr.exports.createElement(eS.span,qE({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:TS(e.onFocus,(function(){i.valueIndexToChangeRef.current=r}))}))))})),_k=function(e){var t=e.value,n=Br(e,Wt),r=Xr.exports.useRef(null),o=RS(t);return Xr.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]),Xr.exports.createElement("input",qE({style:{display:"none"}},n,{ref:r,defaultValue:t}))};function Ek(){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=Hr(e);return r[n]=t,r.sort((function(e,t){return e-t}))}function Sk(e,t,n){return 100/(n-t)*(e-t)}function kk(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,Hr(n))>=t}return!0}function Ck(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 Ak=lk,Tk=mk,Pk=yk,Ok=xk,Rk=hE.div(A||(A=zr([""]))),Dk=hE.div(T||(T=zr(["\n display: flex;\n align-items: center;\n"]))),Lk=hE(Ak)(P||(P=zr(["\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"]))),Mk=hE(Ok)(O||(O=zr(["\n all: unset;\n height: 20px;\n width: 20px;\n border-radius: 50%;\n display: block;\n background-color: ",";\n box-shadow: ",";\n"])),SE["--ll-color-primary"],SE["--ll-shadow-medium"]),Nk=hE(Tk)(R||(R=zr(["\n height: 4px;\n border-radius: 2px;\n background-color: ",";\n position: relative;\n flex: 1;\n"])),SE["--ll-color-surface-variant1"]),Fk=hE(Pk)(D||(D=zr(["\n height: 100%;\n position: absolute;\n background-color: ",";\n border-radius: 2px;\n"])),SE["--ll-color-primary"]),Ik=hE.div(L||(L=zr(["\n margin: ",";\n flex-shrink: 0;\n"])),(function(e){return function(e){var t=e.vertical,n=e.spacing,r=SE[n];return t?"".concat(r," 0 0 0"):"0 ".concat(r," 0 0")}(e)})),jk=function(e){var t=e.vertical,n=void 0!==t&&t,r=e.spacing;return NE(Ik,{vertical:n,spacing:void 0===r?"--ll-spacing-auto":r})};Ir({n:jk,a7:function(e){var t=e.label,n=e.showValue,r=Br(e,Kt);return FE(Rk,{children:[t&&NE(dS,{style:{lineHeight:"50px"},children:t}),FE(Dk,{children:[FE(Lk,Gr(Gr({},r),{},{children:[NE(Nk,{children:NE(Fk,{})}),NE(Mk,{})]})),n&&FE(ME,{children:[NE(jk,{spacing:"--ll-spacing-small"}),NE(HE,{noMargin:!0,children:r.value})]})]})]})}});var zk,Bk="dismissableLayer.update",Uk="dismissableLayer.pointerDownOutside",Vk="dismissableLayer.focusOutside",Hk=Xr.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),qk=Xr.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=Br(e,Xt),c=Xr.exports.useContext(Hk),f=Kr(Xr.exports.useState(null),2),d=f[0],p=f[1],h=Kr(Xr.exports.useState({}),2)[1],v=XE(t,(function(e){return p(e)})),m=Array.from(c.layers),g=Kr(Hr(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=PS(e),n=Xr.exports.useRef(!1),r=Xr.exports.useRef((function(){}));return Xr.exports.useEffect((function(){var e=function(e){if(e.target&&!n.current){var o=function(){Gk(Uk,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=Hr(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=PS(e),n=Xr.exports.useRef(!1);return Xr.exports.useEffect((function(){var e=function(e){e.target&&!n.current&&Gk(Vk,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;Hr(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=PS(e);Xr.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()))})),Xr.exports.useEffect((function(){if(d)return r&&(0===c.layersWithOutsidePointerEventsDisabled.size&&(zk=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),Yk(),function(){r&&1===c.layersWithOutsidePointerEventsDisabled.size&&(document.body.style.pointerEvents=zk)}}),[d,r,c]),Xr.exports.useEffect((function(){return function(){!d||(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),Yk())}}),[d,c]),Xr.exports.useEffect((function(){var e=function(){return h({})};return document.addEventListener(Bk,e),function(){return document.removeEventListener(Bk,e)}}),[]),Xr.exports.createElement(eS.div,qE({},l,{ref:v,style:Gr({pointerEvents:x?w?"auto":"none":void 0},e.style),onFocusCapture:TS(e.onFocusCapture,E.onFocusCapture),onBlurCapture:TS(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:TS(e.onPointerDownCapture,_.onPointerDownCapture)}))}));function Yk(){var e=new CustomEvent(Bk);document.dispatchEvent(e)}function Gk(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&&qo.exports.flushSync((function(){return e.dispatchEvent(t)}))}(i,a):i.dispatchEvent(a)}var Wk=0;function Kk(){Xr.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:Xk()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Xk()),Wk++,function(){1===Wk&&document.querySelectorAll("[data-radix-focus-guard]").forEach((function(e){return e.remove()})),Wk--}}),[])}function Xk(){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 Zk="focusScope.autoFocusOnMount",Qk="focusScope.autoFocusOnUnmount",$k={bubbles:!1,cancelable:!0},Jk=Xr.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=Br(e,Zt),l=Kr(Xr.exports.useState(null),2),c=l[0],f=l[1],d=PS(a),p=PS(u),h=Xr.exports.useRef(null),v=XE(t,(function(e){return f(e)})),m=Xr.exports.useRef({paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}}).current;Xr.exports.useEffect((function(){if(i){var e=function(e){if(!m.paused&&c){var t=e.target;c.contains(t)?h.current=t:oC(h.current,{select:!0})}},t=function(e){m.paused||!c||c.contains(e.relatedTarget)||oC(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]),Xr.exports.useEffect((function(){if(c){iC.add(m);var e=document.activeElement;if(!c.contains(e)){var t=new CustomEvent(Zk,$k);c.addEventListener(Zk,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=co(e);try{for(i.s();!(t=i.n()).done;){if(oC(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}))}(eC(c)),{select:!0}),document.activeElement===e&&oC(c))}return function(){c.removeEventListener(Zk,d),setTimeout((function(){var t=new CustomEvent(Qk,$k);c.addEventListener(Qk,p),c.dispatchEvent(t),t.defaultPrevented||oC(null!=e?e:document.body,{select:!0}),c.removeEventListener(Qk,p),iC.remove(m)}),0)}}}),[c,d,p,m]);var g=Xr.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=eC(e),n=tC(t,e),r=tC(t.reverse(),e);return[n,r]}(o),u=Kr(a,2),s=u[0],l=u[1];s&&l?e.shiftKey||n!==l?e.shiftKey&&n===s&&(e.preventDefault(),r&&oC(l,{select:!0})):(e.preventDefault(),r&&oC(s,{select:!0})):n===o&&e.preventDefault()}}}),[r,i,m.paused]);return Xr.exports.createElement(eS.div,qE({tabIndex:-1},s,{ref:v,onKeyDown:g}))}));function eC(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 tC(e,t){var n,r=co(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!nC(o,{upTo:t}))return o}}catch(i){r.e(i)}finally{r.f()}}function nC(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 rC(e){return e instanceof HTMLInputElement&&"select"in e}function oC(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&&rC(e)&&r&&e.select()}}var iC=function(){var e=[];return{add:function(t){var n=e[0];t!==n&&(null==n||n.pause()),(e=aC(e,t)).unshift(t)},remove:function(t){var n;null===(n=(e=aC(e,t))[0])||void 0===n||n.resume()}}}();function aC(e,t){var n=Hr(e),r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}function uC(e){return e.split("-")[0]}function sC(e){return e.split("-")[1]}function lC(e){return["top","bottom"].includes(uC(e))?"x":"y"}function cC(e){return"y"===e?"height":"width"}function fC(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=lC(t),l=cC(s),c=o[l]/2-i[l]/2,f="x"===s;switch(uC(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(sC(t)){case"start":r[s]-=c*(n&&f?-1:1);break;case"end":r[s]+=c*(n&&f?-1:1)}return r}var dC=function(){var e=jr(Fr().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 Fr().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=fC(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=Gr(Gr({},g),{},Wr({},w,Gr(Gr({},g[w]),C))),!(A&&y<=50)){e.next=49;break}if(y++,e.t0="object"==lo(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=fC(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 pC(e){return"number"!=typeof e?function(e){return Gr({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function hC(e){return Gr(Gr({},e),{},{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}function vC(e,t){return mC.apply(this,arguments)}function mC(){return mC=jr(Fr().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 Fr().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=pC(void 0===b?0:b),w=s[y?"floating"===m?"reference":"floating":m],e.t0=hC,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=hC,!a.convertOffsetParentRelativeRectToViewportRelativeRect){e.next=61;break}return e.t14=a,e.t15="floating"===m?Gr(Gr({},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)}))),mC.apply(this,arguments)}var gC=Math.min,yC=Math.max;function bC(e,t,n){return yC(e,gC(t,n))}var xC=function(e){return{name:"arrow",options:e,fn:function(t){return jr(Fr().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 Fr().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=pC(s),v={x:l,y:c},m=lC(f),g=sC(f),y=cC(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=bC(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",(Wr(o={},m,v[m]-R),Wr(o,"data",(Wr(r={},m,O),Wr(r,"centerOffset",P-O),r)),o));case 22:case"end":return n.stop()}}),n)})))()}}},wC={left:"right",right:"left",bottom:"top",top:"bottom"};function _C(e){return e.replace(/left|right|bottom|top/g,(function(e){return wC[e]}))}function EC(e,t,n){void 0===n&&(n=!1);var r=sC(e),o=lC(e),i=cC(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=_C(a)),{main:a,cross:_C(a)}}var SC={start:"end",end:"start"};function kC(e){return e.replace(/start|end/g,(function(e){return SC[e]}))}var CC=["top","right","bottom","left"];function AC(e){var t=_C(e);return[kC(e),t,kC(t)]}var TC=function(e){return void 0===e&&(e={}),{name:"flip",options:e,fn:function(t){return jr(Fr().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 Fr().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=Br(c,Qt),w=uC(o),_=v||(w!==u&&b?AC(u):[_C(u)]),E=[u].concat(Hr(_)),n.next=22,vC(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=EC,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(Hr(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 PC(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function OC(e){return CC.some((function(t){return e[t]>=0}))}var RC=function(e){var t=void 0===e?{}:e,n=t.strategy,r=void 0===n?"referenceHidden":n,o=Br(t,$t);return{name:"hide",fn:function(e){return jr(Fr().mark((function t(){var n,i,a,u,s;return Fr().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,vC(e,Gr(Gr({},o),{},{elementContext:"reference"}));case 6:return i=t.sent,a=PC(i,n.reference),t.abrupt("return",{data:{referenceHiddenOffsets:a,referenceHidden:OC(a)}});case 9:return t.next=11,vC(e,Gr(Gr({},o),{},{altBoundary:!0}));case 11:return u=t.sent,s=PC(u,n.floating),t.abrupt("return",{data:{escapedOffsets:s,escaped:OC(s)}});case 14:return t.abrupt("return",{});case 15:case"end":return t.stop()}}),t)})))()}}};function DC(e,t){return LC.apply(this,arguments)}function LC(){return LC=jr(Fr().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m;return Fr().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=uC(r),s=sC(r),l="x"===lC(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}:Gr({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)}))),LC.apply(this,arguments)}var MC=function(e){return void 0===e&&(e=0),{name:"offset",options:e,fn:function(t){return jr(Fr().mark((function n(){var r,o,i;return Fr().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.x,o=t.y,n.next=4,DC(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 NC(e){return"x"===e?"y":"x"}var FC=function(e){return void 0===e&&(e={}),{name:"shift",options:e,fn:function(t){return jr(Fr().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 Fr().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=Br(u,Jt),v={x:o,y:i},n.next=14,vC(t,h);case 14:return m=n.sent,g=lC(uC(a)),y=NC(g),b=v[g],x=v[y],l&&(w="y"===g?"bottom":"right",_=b+m["y"===g?"top":"left"],E=b-m[w],b=bC(_,b,E)),f&&(S="y"===y?"bottom":"right",k=x+m["y"===y?"top":"left"],C=x-m[S],x=bC(k,x,C)),A=p.fn(Gr(Gr({},t),{},(Wr(r={},g,b),Wr(r,y,x),r))),n.abrupt("return",Gr(Gr({},A),{},{data:{x:A.x-o,y:A.y-i}}));case 22:case"end":return n.stop()}}),n)})))()}}},IC=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=lC(i),g=NC(m),y=v[m],b=v[g],x="function"==typeof c?c(Gr(Gr({},a),{},{placement:i})):c,w="number"==typeof x?{mainAxis:x,crossAxis:0}:Gr({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(uC(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 Wr(n={},m,y),Wr(n,g,b),n}}};function jC(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function zC(e){if(null==e)return window;if(!jC(e)){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function BC(e){return zC(e).getComputedStyle(e)}function UC(e){return jC(e)?"":e?(e.nodeName||"").toLowerCase():""}function VC(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function HC(e){return e instanceof zC(e).HTMLElement}function qC(e){return e instanceof zC(e).Element}function YC(e){return!(("undefined"==typeof ShadowRoot?"undefined":lo(ShadowRoot))>"u")&&(e instanceof zC(e).ShadowRoot||e instanceof ShadowRoot)}function GC(e){var t=BC(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function WC(e){return["table","td","th"].includes(UC(e))}function KC(e){var t=/firefox/i.test(VC()),n=BC(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 XC(){return!/^((?!chrome|android).)*safari/i.test(VC())}var ZC=Math.min,QC=Math.max,$C=Math.round;function JC(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&&HC(e)&&(s=e.offsetWidth>0&&$C(u.width)/e.offsetWidth||1,l=e.offsetHeight>0&&$C(u.height)/e.offsetHeight||1);var c=qC(e)?zC(e):window,f=!XC()&&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 eA(e){return((function(e){return e instanceof zC(e).Node}(e)?e.ownerDocument:e.document)||window.document).documentElement}function tA(e){return qC(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function nA(e){return JC(eA(e)).left+tA(e).scrollLeft}function rA(e,t,n){var r=HC(t),o=eA(t),i=JC(e,r&&function(e){var t=JC(e);return $C(t.width)!==e.offsetWidth||$C(t.height)!==e.offsetHeight}(t),"fixed"===n),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if(r||!r&&"fixed"!==n)if(("body"!==UC(t)||GC(o))&&(a=tA(t)),HC(t)){var s=JC(t,!0);u.x=s.x+t.clientLeft,u.y=s.y+t.clientTop}else o&&(u.x=nA(o));return{x:i.left+a.scrollLeft-u.x,y:i.top+a.scrollTop-u.y,width:i.width,height:i.height}}function oA(e){return"html"===UC(e)?e:e.assignedSlot||e.parentNode||(YC(e)?e.host:null)||eA(e)}function iA(e){return HC(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function aA(e){for(var t=zC(e),n=iA(e);n&&WC(n)&&"static"===getComputedStyle(n).position;)n=iA(n);return n&&("html"===UC(n)||"body"===UC(n)&&"static"===getComputedStyle(n).position&&!KC(n))?t:n||function(e){var t=oA(e);for(YC(t)&&(t=t.host);HC(t)&&!["html","body"].includes(UC(t));){if(KC(t))return t;t=t.parentNode}return null}(e)||t}function uA(e){if(HC(e))return{width:e.offsetWidth,height:e.offsetHeight};var t=JC(e);return{width:t.width,height:t.height}}function sA(e){var t=oA(e);return["html","body","#document"].includes(UC(t))?e.ownerDocument.body:HC(t)&&GC(t)?t:sA(t)}function lA(e,t){var n;void 0===t&&(t=[]);var r=sA(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=zC(r),a=o?[i].concat(i.visualViewport||[],GC(r)?r:[]):r,u=t.concat(a);return o?u:u.concat(lA(a))}function cA(e,t,n){return"viewport"===t?hC(function(e,t){var n=zC(e),r=eA(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,u=0,s=0;if(o){i=o.width,a=o.height;var l=XC();(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=JC(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):hC(function(e){var t,n=eA(e),r=tA(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=QC(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=QC(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+nA(e),s=-r.scrollTop;return"rtl"===BC(o||n).direction&&(u+=QC(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:s}}(eA(e)))}function fA(e){var t=lA(e),n=["absolute","fixed"].includes(BC(e).position)&&HC(e)?aA(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&&YC(n)){var r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}(e,n)&&"body"!==UC(e)})):[]}var dA={getClippingRect:function(e){var t=e.element,n=e.boundary,r=e.rootBoundary,o=e.strategy,i=[].concat(Hr("clippingAncestors"===n?fA(t):[].concat(n)),[r]),a=i[0],u=i.reduce((function(e,n){var r=cA(t,n,o);return e.top=QC(r.top,e.top),e.right=ZC(r.right,e.right),e.bottom=ZC(r.bottom,e.bottom),e.left=QC(r.left,e.left),e}),cA(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=HC(n),i=eA(n);if(n===i)return t;var a={scrollLeft:0,scrollTop:0},u={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==UC(n)||GC(i))&&(a=tA(n)),HC(n))){var s=JC(n,!0);u.x=s.x+n.clientLeft,u.y=s.y+n.clientTop}return Gr(Gr({},t),{},{x:t.x-a.scrollLeft+u.x,y:t.y-a.scrollTop+u.y})},isElement:qC,getDimensions:uA,getOffsetParent:aA,getDocumentElement:eA,getElementRects:function(e){var t=e.reference,n=e.floating,r=e.strategy;return{reference:rA(t,aA(n),r),floating:Gr(Gr({},uA(n)),{},{x:0,y:0})}},getClientRects:function(e){return Array.from(e.getClientRects())},isRTL:function(e){return"rtl"===BC(e).direction}};function pA(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(Hr(qC(e)?lA(e):[]),Hr(lA(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?JC(e):null;return d&&function t(){var r=JC(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 hA=("undefined"==typeof document?"undefined":lo(document))<"u"?Xr.exports.useLayoutEffect:Xr.exports.useEffect;function vA(e,t){if(e===t)return!0;if(lo(e)!=lo(t))return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;var n,r,o;if(e&&t&&"object"==lo(e)){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!vA(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||vA(e[i],t[i])))return!1}return!0}return e!=e&&t!=t}function mA(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=Xr.exports.useRef(null),l=Xr.exports.useRef(null),c=function(e){var t=Xr.exports.useRef(e);return hA((function(){t.current=e})),t}(u),f=Xr.exports.useRef(null),d=Kr(Xr.exports.useState({x:null,y:null,strategy:a,placement:o,middlewareData:{}}),2),p=d[0],h=d[1],v=Kr(Xr.exports.useState(n),2),m=v[0],g=v[1];vA(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=Xr.exports.useCallback((function(){!s.current||!l.current||function(e,t,n){return dC(e,t,Gr({platform:dA},n))}(s.current,l.current,{middleware:m,placement:o,strategy:a}).then((function(e){b.current&&qo.exports.flushSync((function(){h(e)}))}))}),[m,o,a]);hA((function(){b.current&&y()}),[y]);var b=Xr.exports.useRef(!1);hA((function(){return b.current=!0,function(){b.current=!1}}),[]);var x=Xr.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=Xr.exports.useCallback((function(e){s.current=e,x()}),[x]),_=Xr.exports.useCallback((function(e){l.current=e,x()}),[x]),E=Xr.exports.useMemo((function(){return{reference:s,floating:l}}),[]);return Xr.exports.useMemo((function(){return Gr(Gr({},p),{},{update:y,refs:E,reference:w,floating:_})}),[p,y,E,w,_])}var gA=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?xC({element:t.current,padding:n}).fn(e):{}:t?xC({element:t,padding:n}).fn(e):{}}}},yA=Xr.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=Br(e,en);return Xr.exports.createElement(eS.svg,qE({},u,{ref:t,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:Xr.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))})),bA=yA,xA="Popper",wA=Kr(YE(xA),2),_A=wA[0],EA=wA[1],SA=Kr(_A(xA),2),kA=(SA[0],SA[1]),CA=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopper,r=e.virtualRef,o=Br(e,tn),i=kA("PopperAnchor",n),a=Xr.exports.useRef(null),u=XE(t,a);return Xr.exports.useEffect((function(){i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:Xr.exports.createElement(eS.div,qE({},o,{ref:u}))})),AA="PopperContent",TA=Kr(_A(AA),2),PA=TA[0],OA=TA[1],RA=Kr(_A(AA,{hasParent:!1,positionUpdateFns:new Set}),2),DA=RA[0],LA=RA[1],MA=Xr.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=Br(e,nn),D=kA(AA,c),L=Kr(Xr.exports.useState(null),2),M=L[0],N=L[1],F=XE(t,(function(e){return N(e)})),I=Kr(Xr.exports.useState(null),2),j=I[0],z=I[1],B=DS(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:Gr({top:0,right:0,bottom:0,left:0},S),Y=Array.isArray(_)?_:[_],G=Y.length>0,W={padding:q,boundary:Y.filter(jA),altBoundary:G},K=mA({strategy:"fixed",placement:H,whileElementsMounted:pA,middleware:[MC({mainAxis:h+V,alignmentAxis:y}),O?FC(Gr({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?IC():void 0},W)):void 0,j?gA({element:j,padding:x}):void 0,O?TC(Gr({},W)):void 0,zA({arrowWidth:U,arrowHeight:V}),T?RC({strategy:"referenceHidden"}):void 0].filter(IA)}),X=K.reference,Z=K.floating,Q=K.strategy,$=K.x,J=K.y,ee=K.placement,te=K.middlewareData,ne=K.update;tS((function(){X(D.anchor)}),[X,D.anchor]);var re=null!==$&&null!==J,oe=Kr(BA(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=Kr(Xr.exports.useState(),2),fe=ce[0],de=ce[1];tS((function(){M&&de(window.getComputedStyle(M).zIndex)}),[M]);var pe=LA(AA,c),he=pe.hasParent,ve=pe.positionUpdateFns,me=!he;Xr.exports.useLayoutEffect((function(){if(!me)return ve.add(ne),function(){ve.delete(ne)}}),[me,ve,ne]),Xr.exports.useLayoutEffect((function(){me&&re&&Array.from(ve).reverse().forEach((function(e){return requestAnimationFrame(e)}))}),[me,re,ve]);var ge=Gr(Gr({"data-side":ie,"data-align":ae},R),{},{ref:F,style:Gr(Gr({},R.style),{},{animation:re?void 0:"none",opacity:null!==(u=te.hide)&&void 0!==u&&u.referenceHidden?0:void 0})});return Xr.exports.createElement("div",{ref:Z,"data-radix-popper-content-wrapper":"",style:Wr({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(" "))},Xr.exports.createElement(PA,{scope:c,placedSide:ie,onArrowChange:z,arrowX:ue,arrowY:se,shouldHideArrow:le},me?Xr.exports.createElement(DA,{scope:c,hasParent:!0,positionUpdateFns:ve},Xr.exports.createElement(eS.div,ge)):Xr.exports.createElement(eS.div,ge)))})),NA={top:"bottom",right:"left",bottom:"top",left:"right"},FA=Xr.exports.forwardRef((function(e,t){var n,r=e.__scopePopper,o=Br(e,rn),i=OA("PopperArrow",r),a=NA[i.placedSide];return Xr.exports.createElement("span",{ref:i.onArrowChange,style:(n={position:"absolute",left:i.arrowX,top:i.arrowY},Wr(n,a,0),Wr(n,"transformOrigin",{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide]),Wr(n,"transform",{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide]),Wr(n,"visibility",i.shouldHideArrow?"hidden":void 0),n)},Xr.exports.createElement(bA,qE({},o,{ref:t,style:Gr(Gr({},o.style),{},{display:"block"})})))}));function IA(e){return void 0!==e}function jA(e){return null!==e}var zA=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=Kr(BA(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 BA(e){var t=Kr(e.split("-"),2),n=t[0],r=t[1];return[n,void 0===r?"center":r]}var UA=CA,VA=MA,HA=FA,qA=Xr.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=Br(e,on);return o?Xv.createPortal(Xr.exports.createElement(eS.div,qE({},i,{ref:t})),o):null}));var YA=function(e){var t=e.present,n=e.children,r=function(e){var t=Kr(Xr.exports.useState(),2),n=t[0],r=t[1],o=Xr.exports.useRef({}),i=Xr.exports.useRef(e),a=Xr.exports.useRef("none"),u=Kr(function(e,t){return Xr.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 Xr.exports.useEffect((function(){var e=GA(o.current);a.current="mounted"===s?e:"none"}),[s]),tS((function(){var t=o.current,n=i.current;if(n!==e){var r=a.current,u=GA(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]),tS((function(){if(n){var e=function(e){var t=GA(o.current).includes(e.animationName);e.target===n&&t&&qo.exports.flushSync((function(){return l("ANIMATION_END")}))},t=function(e){e.target===n&&(a.current=GA(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:Xr.exports.useCallback((function(e){e&&(o.current=getComputedStyle(e)),r(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):Xr.exports.Children.only(n),i=XE(r.ref,o.ref);return"function"==typeof n||r.isPresent?Xr.exports.cloneElement(o,{ref:i}):null};function GA(e){return(null==e?void 0:e.animationName)||"none"}YA.displayName="Presence";var WA=new WeakMap,KA=new WeakMap,XA={},ZA=0,QA=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":lo(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];XA[n]||(XA[n]=new WeakMap);var i=XA[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=(WA.get(t)||0)+1,c=(i.get(t)||0)+1;WA.set(t,l),i.set(t,c),a.push(t),1===l&&s&&KA.set(t,!0),1===c&&t.setAttribute(n,"true"),s||t.setAttribute(r,"true")}}))}(t),u.clear(),ZA++,function(){a.forEach((function(e){var t=WA.get(e)-1,o=i.get(e)-1;WA.set(e,t),i.set(e,o),t||(KA.has(e)||e.removeAttribute(r),KA.delete(e)),o||e.removeAttribute(n)})),--ZA||(WA=new WeakMap,WA=new WeakMap,KA=new WeakMap,XA={})}}(r,o,n,"aria-hidden")):function(){return null}},$A=function(){return $A=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},$A.apply(this,arguments)};function JA(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 eT="right-scroll-bar-position",tT="width-before-scroll-bar";function nT(e,t){return function(e,t){var n=Xr.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 rT(e){return e}var oT=function(e){var t=e.sideCar,n=JA(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 NE(r,Gr({},$A({},n)))};oT.isSideCarExport=!0;var iT=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=rT);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=$A({async:!0,ssr:!1},e),t}(),aT=function(){},uT=Xr.exports.forwardRef((function(e,t){var n=Xr.exports.useRef(null),r=Xr.exports.useState({onScrollCapture:aT,onWheelCapture:aT,onTouchMoveCapture:aT}),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=JA(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=d,x=nT([n,t]),w=$A($A({},y),o);return FE(ME,{children:[c&&NE(b,{sideCar:iT,removeScrollBar:l,shards:f,noIsolation:p,inert:h,setCallbacks:i,allowPinchZoom:!!v,lockRef:n}),a?Xr.exports.cloneElement(Xr.exports.Children.only(u),$A($A({},w),{ref:x})):NE(g,Gr(Gr({},$A({},w,{className:s,ref:x})),{},{children:u}))]})}));uT.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},uT.classNames={fullWidth:tT,zeroRight:eT};function sT(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if(("undefined"==typeof __webpack_nonce__?"undefined":lo(__webpack_nonce__))<"u")return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var lT=function(){var e=0,t=null;return{add:function(n){0==e&&(t=sT())&&(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)}}},cT=function(){var e=function(){var e=lT();return function(t,n){Xr.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}},fT={left:0,top:0,right:0,gap:0},dT=function(e){return parseInt(e||"",10)||0},pT=function(e){if(void 0===e&&(e="margin"),("undefined"==typeof window?"undefined":lo(window))>"u")return fT;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[dT(n),dT(r),dT(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])}},hT=cT(),vT=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(eT," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(tT," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(eT," .").concat(eT," {\n right: 0 ").concat(r,";\n }\n \n .").concat(tT," .").concat(tT," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},mT=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=Xr.exports.useMemo((function(){return pT(o)}),[o]);return NE(hT,{styles:vT(i,!t,o,n?"":"!important")})},gT=!1;if(("undefined"==typeof window?"undefined":lo(window))<"u")try{var yT=Object.defineProperty({},"passive",{get:function(){return gT=!0,!0}});window.addEventListener("test",yT,yT),window.removeEventListener("test",yT,yT)}catch(t5){gT=!1}var bT=!!gT&&{passive:!1},xT=function(e,t){var n=t;do{if(("undefined"==typeof ShadowRoot?"undefined":lo(ShadowRoot))<"u"&&n instanceof ShadowRoot&&(n=n.host),wT(e,n)){var r=_T(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},wT=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)},_T=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)},ET=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ST=function(e){return[e.deltaX,e.deltaY]},kT=function(e){return e&&"current"in e?e.current:e},CT=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},AT=0,TT=[];var PT=function(e,t){return e.useMedium(t),oT}(iT,(function(e){var t=Xr.exports.useRef([]),n=Xr.exports.useRef([0,0]),r=Xr.exports.useRef(),o=Xr.exports.useState(AT++)[0],i=Xr.exports.useState((function(){return cT()}))[0],a=Xr.exports.useRef(e);Xr.exports.useEffect((function(){a.current=e}),[e]),Xr.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(kT),!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=Xr.exports.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=ET(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=xT(f,c);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=xT(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=_T(e,u),h=p[0],v=p[1]-p[2]-i*h;(h||v)&&wT(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=Xr.exports.useCallback((function(e){var n=e;if(TT.length&&TT[TT.length-1]===i){var r="deltaY"in n?ST(n):ET(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(kT).filter(Boolean).filter((function(e){return e.contains(n.target)}));(s.length>0?u(n,s[0]):!a.current.noIsolation)&&n.preventDefault()}}}),[]),l=Xr.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=Xr.exports.useCallback((function(e){n.current=ET(e),r.current=void 0}),[]),f=Xr.exports.useCallback((function(t){l(t.type,ST(t),t.target,u(t,e.lockRef.current))}),[]),d=Xr.exports.useCallback((function(t){l(t.type,ET(t),t.target,u(t,e.lockRef.current))}),[]);Xr.exports.useEffect((function(){return TT.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",s,bT),document.addEventListener("touchmove",s,bT),document.addEventListener("touchstart",c,bT),function(){TT=TT.filter((function(e){return e!==i})),document.removeEventListener("wheel",s,bT),document.removeEventListener("touchmove",s,bT),document.removeEventListener("touchstart",c,bT)}}),[]);var p=e.removeScrollBar,h=e.inert;return FE(ME,{children:[h?NE(i,{styles:CT(o)}):null,p?NE(mT,{gapMode:"margin"}):null]})})),OT=Xr.exports.forwardRef((function(e,t){return NE(uT,Gr({},$A({},e,{ref:t,sideCar:PT})))}));OT.classNames=uT.classNames;var RT=OT,DT="Popover",LT=Kr(YE(DT,[EA]),2),MT=LT[0],NT=(LT[1],EA()),FT=Kr(MT(DT),2),IT=(FT[0],FT[1]),jT=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=Br(e,an),o=IT("PopoverTrigger",n),i=NT(n),a=XE(t,o.triggerRef),u=Xr.exports.createElement(eS.button,qE({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":WT(o.open)},r,{ref:a,onClick:TS(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?u:Xr.exports.createElement(UA,qE({asChild:!0},i),u)})),zT=Kr(MT("PopoverPortal",{forceMount:void 0}),2),BT=(zT[0],zT[1]),UT="PopoverContent",VT=Xr.exports.forwardRef((function(e,t){var n=BT(UT,e.__scopePopover),r=e.forceMount,o=void 0===r?n.forceMount:r,i=Br(e,un),a=IT(UT,e.__scopePopover);return Xr.exports.createElement(YA,{present:o||a.open},a.modal?Xr.exports.createElement(HT,qE({},i,{ref:t})):Xr.exports.createElement(qT,qE({},i,{ref:t})))})),HT=Xr.exports.forwardRef((function(e,t){var n=IT(UT,e.__scopePopover),r=Xr.exports.useRef(null),o=XE(t,r),i=Xr.exports.useRef(!1);return Xr.exports.useEffect((function(){var e=r.current;if(e)return QA(e)}),[]),Xr.exports.createElement(RT,{as:ZE,allowPinchZoom:!0},Xr.exports.createElement(YT,qE({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:TS(e.onCloseAutoFocus,(function(e){var t;e.preventDefault(),i.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:TS(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:TS(e.onFocusOutside,(function(e){return e.preventDefault()}),{checkForDefaultPrevented:!1})})))})),qT=Xr.exports.forwardRef((function(e,t){var n=IT(UT,e.__scopePopover),r=Xr.exports.useRef(!1);return Xr.exports.createElement(YT,qE({},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()}}))})),YT=Xr.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=Br(e,sn),d=IT(UT,n),p=NT(n);return Kk(),Xr.exports.createElement(Jk,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},Xr.exports.createElement(qk,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:l,onDismiss:function(){return d.onOpenChange(!1)}},Xr.exports.createElement(VA,qE({"data-state":WT(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:Gr(Gr({},f.style),{},Wr({},"--radix-popover-content-transform-origin","var(--radix-popper-transform-origin)"))}))))})),GT=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=Br(e,ln),o=NT(n);return Xr.exports.createElement(HA,qE({},o,r,{ref:t}))}));function WT(e){return e?"open":"closed"}var KT=VT,XT=GT;hE(jT)(M||(M=zr(["\n background: none;\n border: none;\n padding: 0;\n"]))),hE(KT)(N||(N=zr(["\n border-radius: ",";\n box-shadow: ",";\n padding: ",";\n"])),SE["--ll-border-radius-small"],SE["--ll-shadow-small"],SE["--ll-spacing-medium"]),hE(XT)(F||(F=zr(["\n fill: ",";\n"])),SE["--ll-color-background"]);var ZT={primary:{background:"transparent",onBackground:SE["--ll-color-primary"],hover:"rgba(0,0,0,0.05)"},neutral:{background:"transparent",onBackground:SE["--ll-color-on-background-variant1"],hover:"rgba(0,0,0,0.05)"}},QT={small:24,medium:32,large:48};hE.button(I||(I=zr(["\n ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t,r=e.size,o=void 0===r?"medium":r;return Z_(j||(j=zr(["\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\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 "])),ZT[n].background,ZT[n].onBackground,QT[o],QT[o],ZT[n].hover,SE["--ll-color-on-background-variant1"])}));var $T=pE(B||(B=zr(["\n from {\n background-position: -800px 0;\n }\n\n to {\n background-position: 800px 0;\n }\n"]))),JT=hE.div(U||(U=zr(["\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"])),SE["--ll-border-radius-medium"],$T,SE["--ll-color-surface-variant1"],SE["--ll-color-surface-variant2"],SE["--ll-color-surface-variant1"],(function(e){var t=e.height,n=e.width;return Z_(z||(z=zr(["\n height: ",";\n width: ",";\n "])),t,n)}));Ir("m",(function(e){var t=e.height,n=e.width,r=e.className;return NE(JT,{height:t,width:n,className:r})}));hE.div(V||(V=zr(["\n flex: 1;\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),hE.div(H||(H=zr(["\n display: flex;\n flex-direction: column;\n align-items: center;\n"])));var eP=Xr.exports.forwardRef((function(e,t){return Xr.exports.createElement(eS.span,qE({},e,{ref:t,style:Gr({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)}))})),tP=[" ","Enter","ArrowUp","ArrowDown"],nP=[" ","Enter"],rP="Select",oP=Kr(XS(rP),3),iP=oP[0],aP=oP[1],uP=Kr(YE(rP,[oP[2]]),2),sP=uP[0],lP=uP[1],cP=Kr(sP(rP),2),fP=cP[0],dP=cP[1],pP=Kr(sP(rP),2),hP=pP[0],vP=pP[1],mP=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=Kr(Xr.exports.useState(null),2),p=d[0],h=d[1],v=Kr(Xr.exports.useState(null),2),m=v[0],g=v[1],y=Kr(Xr.exports.useState(!1),2),b=y[0],x=y[1],w=KS(l),_=Kr(OS({prop:r,defaultProp:o,onChange:i}),2),E=_[0],S=void 0!==E&&E,k=_[1],C=Kr(OS({prop:a,defaultProp:u,onChange:s}),2),A=C[0],T=C[1],P=Xr.exports.useRef(null),O=!p||Boolean(p.closest("form")),R=Kr(Xr.exports.useState(new Set),2),D=R[0],L=R[1],M=Array.from(D).map((function(e){return e.props.value})).join(";");return Xr.exports.createElement(fP,{scope:t,trigger:p,onTriggerChange:h,valueNode:m,onValueNodeChange:g,valueNodeHasChildren:b,onValueNodeHasChildrenChange:x,contentId:oS(),value:A,onValueChange:T,open:S,onOpenChange:k,dir:w,triggerPointerDownPosRef:P},Xr.exports.createElement(iP.Provider,{scope:t},Xr.exports.createElement(hP,{scope:e.__scopeSelect,onNativeOptionAdd:Xr.exports.useCallback((function(e){L((function(t){return new Set(t).add(e)}))}),[]),onNativeOptionRemove:Xr.exports.useCallback((function(e){L((function(t){var n=new Set(t);return n.delete(e),n}))}),[])},n)),O?Xr.exports.createElement(GP,{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)},gP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.disabled,o=void 0!==r&&r,i=e["aria-labelledby"],a=Br(e,cn),u=dP("SelectTrigger",n),s=XE(t,u.onTriggerChange),l=aP(n),c=cS(u.trigger),f=i||c,d=WP((function(e){var t=l().filter((function(e){return!e.disabled})),n=t.find((function(e){return e.value===u.value})),r=KP(t,e,n);void 0!==r&&u.onValueChange(r.value)})),p=Kr(d,3),h=p[0],v=p[1],m=p[2],g=function(){o||(u.onOpenChange(!0),m())};return Xr.exports.createElement(eS.button,qE({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:TS(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:TS(a.onKeyDown,(function(e){var t=""!==h.current;!(e.ctrlKey||e.altKey||e.metaKey)&&1===e.key.length&&v(e.key),(!t||" "!==e.key)&&tP.includes(e.key)&&(g(),e.preventDefault())}))}))})),yP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=(e.className,e.style,e.children),o=e.placeholder,i=Br(e,fn),a=dP("SelectValue",n),u=a.onValueNodeHasChildrenChange,s=void 0!==r,l=XE(t,a.onValueNodeChange);return tS((function(){u(s)}),[u,s]),Xr.exports.createElement(eS.span,qE({},i,{ref:l,style:{pointerEvents:"none"}}),void 0===a.value&&void 0!==o?o:r)})),bP=Xr.exports.forwardRef((function(e,t){e.__scopeSelect;var n=e.children,r=Br(e,dn);return Xr.exports.createElement(eS.span,qE({"aria-hidden":!0},r,{ref:t}),n||"▼")})),xP=function(e){return Xr.exports.createElement(qA,qE({asChild:!0},e))},wP="SelectContent",_P=Xr.exports.forwardRef((function(e,t){var n=dP(wP,e.__scopeSelect),r=Kr(Xr.exports.useState(),2),o=r[0],i=r[1];return tS((function(){i(new DocumentFragment)}),[]),Xr.exports.createElement(Xr.exports.Fragment,null,n.open?Xr.exports.createElement(AP,qE({},e,{ref:t})):o?qo.exports.createPortal(Xr.exports.createElement(kP,{scope:e.__scopeSelect},Xr.exports.createElement(iP.Slot,{scope:e.__scopeSelect},Xr.exports.createElement("div",null,e.children))),o):null)})),EP=10,SP=Kr(sP(wP),2),kP=SP[0],CP=SP[1],AP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.onCloseAutoFocus,o=Br(e,pn),i=dP(wP,n),a=Kr(Xr.exports.useState(null),2),u=a[0],s=a[1],l=Kr(Xr.exports.useState(null),2),c=l[0],f=l[1],d=Kr(Xr.exports.useState(null),2),p=d[0],h=d[1],v=XE(t,(function(e){return f(e)})),m=Kr(Xr.exports.useState(null),2),g=m[0],y=m[1],b=Kr(Xr.exports.useState(null),2),x=b[0],w=b[1],_=aP(n),E=Kr(Xr.exports.useState(!1),2),S=E[0],k=E[1],C=Xr.exports.useRef(!0),A=Xr.exports.useRef(!1),T=Xr.exports.useRef(!1);Xr.exports.useEffect((function(){if(c)return QA(c)}),[c]),Kk();var P=Kr(Xr.exports.useState(),2),O=P[0],R=P[1];tS((function(){c&&R(window.getComputedStyle(c).zIndex)}),[c]);var D=Xr.exports.useCallback((function(e){var t,n=_().map((function(e){return e.ref.current})),r=Nr(n),o=r[0],i=Kr(r.slice(1).slice(-1),1)[0],a=document.activeElement,u=co(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=Xr.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-EP,h=GS(a,[EP,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-EP,S=GS(m,[EP,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-EP,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(EP,"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]);tS((function(){return L()}),[L]);var M=Xr.exports.useCallback((function(){return D([g,c])}),[D,g,c]);Xr.exports.useEffect((function(){S&&M()}),[S,M]);var N=Xr.exports.useCallback((function(e){e&&!0===C.current&&(L(),M(),C.current=!1)}),[L,M]),F=i.onOpenChange,I=i.triggerPointerDownPosRef;Xr.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]),Xr.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=WP((function(e){var t=_().filter((function(e){return!e.disabled})),n=t.find((function(e){return e.ref.current===document.activeElement})),r=KP(t,e,n);r&&setTimeout((function(){return r.ref.current.focus()}))})),z=Kr(j,2),B=z[0],U=z[1],V=Xr.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=Xr.exports.useCallback((function(){return null==c?void 0:c.focus()}),[c]),q=Xr.exports.useCallback((function(e,t,n){var r=!T.current&&!n;(void 0!==i.value&&i.value===t||r)&&w(e)}),[i.value]);return Xr.exports.createElement(kP,{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},Xr.exports.createElement(RT,{as:ZE,allowPinchZoom:!0},Xr.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:O}},Xr.exports.createElement(Jk,{asChild:!0,trapped:i.open,onMountAutoFocus:function(e){e.preventDefault()},onUnmountAutoFocus:TS(r,(function(e){var t;null===(t=i.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}))},Xr.exports.createElement(qk,qE({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:function(e){return e.preventDefault()}},o,{ref:v,style:Gr({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:TS(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()}}))}))))))})),TP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=Br(e,hn),o=CP("SelectViewport",n),i=XE(t,o.onViewportChange),a=Xr.exports.useRef(0);return Xr.exports.createElement(Xr.exports.Fragment,null,Xr.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}"}}),Xr.exports.createElement(iP.Slot,{scope:n},Xr.exports.createElement(eS.div,qE({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:Gr({position:"relative",flex:1,overflow:"auto"},r.style),onScroll:TS(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}))}))))})),PP=Kr(sP("SelectGroup"),2),OP=PP[0],RP=PP[1],DP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=Br(e,vn),o=oS();return Xr.exports.createElement(OP,{scope:n,id:o},Xr.exports.createElement(eS.div,qE({role:"group","aria-labelledby":o},r,{ref:t})))})),LP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=Br(e,mn),o=RP("SelectLabel",n);return Xr.exports.createElement(eS.div,qE({id:o.id},r,{ref:t}))})),MP="SelectItem",NP=Kr(sP(MP),2),FP=NP[0],IP=NP[1],jP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.value,o=e.disabled,i=void 0!==o&&o,a=e.textValue,u=Br(e,gn),s=dP(MP,n),l=CP(MP,n),c=s.value===r,f=Kr(Xr.exports.useState(null!=a?a:""),2),d=f[0],p=f[1],h=Kr(Xr.exports.useState(!1),2),v=h[0],m=h[1],g=XE(t,(function(e){var t;return null===(t=l.itemRefCallback)||void 0===t?void 0:t.call(l,e,r,i)})),y=oS(),b=function(){i||(s.onValueChange(r),s.onOpenChange(!1))};return Xr.exports.createElement(FP,{scope:n,value:r,disabled:i,textId:y,isSelected:c,onItemTextChange:Xr.exports.useCallback((function(e){p((function(t){var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()}))}),[])},Xr.exports.createElement(iP.ItemSlot,{scope:n,value:r,disabled:i,textValue:d},Xr.exports.createElement(eS.div,qE({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:TS(u.onFocus,(function(){return m(!0)})),onBlur:TS(u.onBlur,(function(){return m(!1)})),onPointerUp:TS(u.onPointerUp,b),onPointerMove:TS(u.onPointerMove,(function(e){var t;i?null===(t=l.onItemLeave)||void 0===t||t.call(l):e.currentTarget.focus({preventScroll:!0})})),onPointerLeave:TS(u.onPointerLeave,(function(e){var t;e.currentTarget===document.activeElement&&(null===(t=l.onItemLeave)||void 0===t||t.call(l))})),onKeyDown:TS(u.onKeyDown,(function(e){var t;""!==(null===(t=l.searchRef)||void 0===t?void 0:t.current)&&" "===e.key||(nP.includes(e.key)&&b()," "===e.key&&e.preventDefault())}))}))))})),zP="SelectItemText",BP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=(e.className,e.style,Br(e,yn)),o=dP(zP,n),i=CP(zP,n),a=IP(zP,n),u=vP(zP,n),s=Kr(Xr.exports.useState(null),2),l=s[0],c=s[1],f=XE(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=Xr.exports.useMemo((function(){return Xr.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 tS((function(){return h(p),function(){return v(p)}}),[h,v,p]),Xr.exports.createElement(Xr.exports.Fragment,null,Xr.exports.createElement(eS.span,qE({id:a.textId},r,{ref:f})),a.isSelected&&o.valueNode&&!o.valueNodeHasChildren?qo.exports.createPortal(r.children,o.valueNode):null)})),UP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=Br(e,bn);return IP("SelectItemIndicator",n).isSelected?Xr.exports.createElement(eS.span,qE({"aria-hidden":!0},r,{ref:t})):null})),VP=Xr.exports.forwardRef((function(e,t){var n=CP("SelectScrollUpButton",e.__scopeSelect),r=Kr(Xr.exports.useState(!1),2),o=r[0],i=r[1],a=XE(t,n.onScrollButtonChange);return tS((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?Xr.exports.createElement(qP,qE({},e,{ref:a,onAutoScroll:function(){var e=n.viewport,t=n.selectedItem;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}})):null})),HP=Xr.exports.forwardRef((function(e,t){var n=CP("SelectScrollDownButton",e.__scopeSelect),r=Kr(Xr.exports.useState(!1),2),o=r[0],i=r[1],a=XE(t,n.onScrollButtonChange);return tS((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?Xr.exports.createElement(qP,qE({},e,{ref:a,onAutoScroll:function(){var e=n.viewport,t=n.selectedItem;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}})):null})),qP=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.onAutoScroll,o=Br(e,xn),i=CP("SelectScrollButton",n),a=Xr.exports.useRef(null),u=aP(n),s=Xr.exports.useCallback((function(){null!==a.current&&(window.clearInterval(a.current),a.current=null)}),[]);return Xr.exports.useEffect((function(){return function(){return s()}}),[s]),tS((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]),Xr.exports.createElement(eS.div,qE({"aria-hidden":!0},o,{ref:t,style:Gr({flexShrink:0},o.style),onPointerMove:TS(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:TS(o.onPointerLeave,(function(){s()}))}))})),YP=Xr.exports.forwardRef((function(e,t){e.__scopeSelect;var n=Br(e,wn);return Xr.exports.createElement(eS.div,qE({"aria-hidden":!0},n,{ref:t}))})),GP=Xr.exports.forwardRef((function(e,t){var n=e.value,r=Br(e,_n),o=Xr.exports.useRef(null),i=XE(t,o),a=RS(n);return Xr.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]),Xr.exports.createElement(eP,{asChild:!0},Xr.exports.createElement("select",qE({},r,{ref:i,defaultValue:n})))}));function WP(e){var t=PS(e),n=Xr.exports.useRef(""),r=Xr.exports.useRef(0),o=Xr.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=Xr.exports.useCallback((function(){n.current="",window.clearTimeout(r.current)}),[]);return Xr.exports.useEffect((function(){return function(){return window.clearTimeout(r.current)}}),[]),[n,o,i]}function KP(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}GP.displayName="BubbleSelect";var XP,ZP=mP,QP=gP,$P=yP,JP=bP,eO=xP,tO=_P,nO=TP,rO=DP,oO=LP,iO=jP,aO=BP,uO=UP,sO=VP,lO=HP,cO=YP,fO=Object.freeze(Object.defineProperty({__proto__:null,createSelectScope:lP,Select:mP,SelectTrigger:gP,SelectValue:yP,SelectIcon:bP,SelectPortal:xP,SelectContent:_P,SelectViewport:TP,SelectGroup:DP,SelectLabel:LP,SelectItem:jP,SelectItemText:BP,SelectItemIndicator:UP,SelectScrollUpButton:VP,SelectScrollDownButton:HP,SelectSeparator:YP,Root:ZP,Trigger:QP,Value:$P,Icon:JP,Portal:eO,Content:tO,Viewport:nO,Group:rO,Label:oO,Item:iO,ItemText:aO,ItemIndicator:uO,ScrollUpButton:sO,ScrollDownButton:lO,Separator:cO},Symbol.toStringTag,{value:"Module"})),dO=function(e){return Dx("svg",Gr(Gr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("g",{clipPath:"url(#clip0_17_2062)",children:Dx("path",{d:"M7.41 8.58997L12 13.17L16.59 8.58997L18 9.99997L12 16L6 9.99997L7.41 8.58997Z"})})}))},pO=function(e){return Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("g",{clipPath:"url(#clip0_17_4631)",children:Dx("path",{d:"M9.00016 16.17L4.83016 12L3.41016 13.41L9.00016 19L21.0002 6.99997L19.5902 5.58997L9.00016 16.17Z"})})}))},hO=hE(QP)(q||(q=zr(["\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"])),SE["--ll-color-background"],SE["--ll-border-radius-small"],SE["--ll-color-border"],SE["--ll-color-on-background-variant1"],SE["--ll-spacing-xx-small"],SE["--ll-spacing-x-small"],SE["--ll-spacing-xx-small"],SE["--ll-spacing-small"],(function(e){return"medium"===e.size?"32px":"40px"}),(function(e){return"medium"===e.size?SE["--ll-font-size-p"]:SE["--ll-font-size-h6"]})),vO=hE(bP)(Y||(Y=zr(["\n margin-left: ",";\n"])),SE["--ll-spacing-x-small"]),mO=hE(tO)(G||(G=zr(["\n overflow: hidden;\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n min-width: 120px;\n z-index: 2;\n font-size: ",";\n"])),SE["--ll-color-background"],SE["--ll-border-radius-small"],SE["--ll-shadow-medium"],(function(e){return"medium"===e.size?SE["--ll-font-size-p"]:SE["--ll-font-size-h6"]})),gO=hE(iO)(W||(W=zr(["\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"])),SE["--ll-font-family"],SE["--ll-spacing-xx-small"],SE["--ll-spacing-x-large"],SE["--ll-spacing-xx-small"],SE["--ll-spacing-large"],SE["--ll-border-radius-small"],SE["--ll-color-on-surface-variant1"],SE["--ll-color-primary"],SE["--ll-color-on-primary"]),yO=hE(uO)(K||(K=zr(["\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"])),SE["--ll-spacing-large"]),bO=hE(nO)(X||(X=zr(["\n font-size: inherit;\n padding: ",";\n"])),SE["--ll-spacing-base-unit"]),xO=hE(eO)(Z||(Z=zr(["\n z-index: 1;\n"]))),wO=Object.freeze(Object.defineProperty({__proto__:null,Trigger:hO,SelectIcon:vO,Content:mO,Item:gO,ItemIndicator:yO,Viewport:bO,Portal:xO},Symbol.toStringTag,{value:"Module"})),_O=fO.Root,EO=wO.Portal;Ir("N",Object.freeze(Object.defineProperty({__proto__:null,Root:_O,Trigger:function(e){var t=e.size,n=void 0===t?"medium":t,r=e.children,o=Br(e,En);return FE(hO,Gr(Gr({size:n},o),{},{children:[r,NE(bP,{children:NE(jE,{SVGElement:dO,fill:SE["--ll-color-on-background-variant1"],height:20})})]}))},Content:function(e){var t=e.size,n=void 0===t?"medium":t,r=e.children,o=Br(e,Sn);return NE(mO,Gr(Gr({size:n},o),{},{children:NE(bO,{children:r})}))},Item:function(e){var t=e.children,n=Br(e,kn);return FE(gO,Gr(Gr({},n),{},{children:[NE(aO,{children:t}),NE(yO,{children:NE(jE,{SVGElement:pO,fill:"currentColor",height:12})})]}))},Portal:EO},Symbol.toStringTag,{value:"Module"})));function SO(){return Ir("Z",SO=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}),SO.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(XP||(XP={}));var kO="beforeunload";function CO(e,t,n){return Math.min(Math.max(e,t),n)}function AO(e){e.preventDefault(),e.returnValue=""}function TO(){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 PO(){return Math.random().toString(36).substr(2,8)}function OO(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 RO(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
31
  /**
32
32
  * react-location
33
33
  *
@@ -37,4 +37,4 @@ var Ko=Xr.exports,Xo=Go.exports;function Zo(e){for(var t="https://reactjs.org/do
37
37
  * LICENSE.md file in the root directory of this source tree.
38
38
  *
39
39
  * @license MIT
40
- */function DO(){return DO=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},DO.apply(this,arguments)}function LO(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 MO(e){if(!e)return"";var t=decodeURIComponent(e);return"false"!==t&&("true"===t||(0*+t==0?+t:t))}var NO=["children","location","__experimental__snapshot"],FO=["location","__experimental__snapshot"],IO=["basepath","routes"],jO=Xr.exports.createContext(null),zO=Xr.exports.createContext(null),BO=Xr.exports.createContext(null),UO=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),VO=UO?Xr.exports.useLayoutEffect:Xr.exports.useEffect,HO=function(){return UO?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=XP.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=XP.Pop,u=o(),s=u[0],l=u[1],c=TO(),f=TO();function d(e){return"string"==typeof e?e:OO(e)}function p(e,t){return void 0===t&&(t=null),SO({pathname:l.pathname,hash:"",search:""},"string"==typeof e?RO(e):e,{state:t,key:PO()})}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(SO({},r.state,{idx:s}),""));var y={get action(){return a},get location(){return l},createHref:d,push:function e(t,o){var i=XP.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=XP.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(kO,AO),function(){t(),f.length||n.removeEventListener(kO,AO)}}};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 SO({pathname:"/",search:"",hash:"",state:null,key:PO()},"string"==typeof e?RO(e):e)})),a=CO(null==o?i.length-1:o,0,i.length-1),u=XP.Pop,s=i[a],l=TO(),c=TO();function f(e,t){return void 0===t&&(t=null),SO({pathname:s.pathname,search:"",hash:""},"string"==typeof e?RO(e):e,{state:t,key:PO()})}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=CO(a+e,0,i.length-1),n=XP.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:OO(e)},push:function e(t,n){var r=XP.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=XP.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}()},qO=function(){function e(){Jr(this,e),this.listeners=[]}return $r(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}(),YO=function(e){eo(n,e);var t=to(n);function n(e){var r,o,i;return Jr(this,n),(r=t.call(this)).isTransitioning=!1,r.history=(null==e?void 0:e.history)||HO(),r.stringifySearch=null!=(o=null==e?void 0:e.stringifySearch)?o:xR,r.parseSearch=null!=(i=null==e?void 0:e.parseSearch)?i:bR,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 $r(n,[{key:"buildNext",value:function(e,t){var n,r,o,i;void 0===e&&(e="/"),void 0===t&&(t={});var a=DO({},this.current,t.from),u=function(e,t,n){t=t.replace(new RegExp("^"+e),"/"),n=n.replace(new RegExp("^"+e),"/");var r=dR(t),o=dR(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=cR([e].concat(Hr(r.map((function(e){return e.value})))));return fR(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=lR(t.search,s))?o:{}:null!=(i=t.__searchFilters)&&i.length?s:{},c=hR(a.search,l),f=this.stringifySearch(c),d=!0===t.hash?a.hash:lR(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:hR(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}(qO);function GO(e){return Dx(zO.Provider,Gr({},e))}function WO(e){var t=e.children,n=e.location,r=e.__experimental__snapshot,o=LO(e,NO),i=Xr.exports.useRef(null);i.current||(i.current=new XO({location:n,__experimental__snapshot:r,routes:o.routes}));var a=i.current,u=Kr(Xr.exports.useReducer((function(){return{}}),{}),2),s=(u[0],u[1]);return a.update(o),VO((function(){return a.subscribe((function(){s()}))}),[]),VO((function(){return a.updateLocation(n.current).unsubscribe}),[n.current.key]),Xr.exports.createElement(jO.Provider,{value:{location:n}},Xr.exports.createElement(BO.Provider,{value:{router:a}},Dx(KO,{}),Dx(GO,{value:[a.rootMatch].concat(Hr(a.state.matches)),children:null!=t?t:Dx(aR,{})})))}function KO(){var e=ZO(),t=iR(),n=oR();return VO((function(){t({to:".",search:!0,hash:!0}).href!==e.current.href&&n({to:".",search:!0,hash:!0,fromCurrent:!0,replace:!0})}),[]),null}var XO=function(e){eo(n,e);var t=to(n);function n(e){var r,o;Jr(this,n);var i=e.location,a=e.__experimental__snapshot,u=LO(e,FO);(r=t.call(this)).routesById={},r.update=function(e){var t=e.basepath,n=e.routes,o=LO(e,IO);Object.assign(ro(r),o),r.basepath=fR("/"+(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=cR(["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=DO({},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(Hr(null!=(e=null==ro(r)?void 0:r.state.matches)?e:[]),Hr(null!=(t=null==ro(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 $O(ro(r),e);r.setState((function(e){return DO({},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 DO({},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 $O(ro(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:{}})),JO(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 $r(n)}(qO);function ZO(){var e=Xr.exports.useContext(jO);return sR(!!e,"useLocation must be used within a <ReactLocation />"),e.location}var QO=$r((function e(t){var n=this;Jr(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=DO({},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=jr(Fr().mark((function t(o){var i,a,u;return Fr().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=jr(Fr().mark((function e(t){var r;return Fr().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)})),$O=function(e){eo(n,e);var t=to(n);function n(e,r){var o,i;Jr(this,n),o=t.call(this),i=ro(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",JO(o.matches),o.notify())},o.loadData=function(){var e=jr(Fr().mark((function e(t){var n,r;return Fr().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=jr(Fr().mark((function e(t){var n;return Fr().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=jr(Fr().mark((function e(){return Fr().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=tR(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 QO(e)),o.router.matchCache[e.id]})),o}return $r(n)}(qO);function JO(e){null==e||e.forEach((function(t,n){var r,o=null==e?void 0:e[n-1];t.data=DO({},null!=(r=null==o?void 0:o.data)?r:{},t.ownData)}))}function eR(){var e=Xr.exports.useContext(BO);if(!e)throw sR(!0,"You are trying to use useRouter() outside of ReactLocation!"),new Error;return e.router}function tR(e,t){if(!e.routes.length)return[];var n=[],r=function(){var o=jr(Fr().mark((function o(i,a){var u,s,l,c,f,d,p,h;return Fr().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=cR([s,n.path]),a=!!("/"!==n.path||null!=(r=n.children)&&r.length),u=uR(t,{to:i,search:n.search,fuzzy:a,caseSensitive:null!=(o=n.caseSensitive)?o:e.caseSensitive});return u&&(l=DO({},l,u)),!!u}))){o.next=5;break}return o.abrupt("return");case 5:d=nR(f.path,l),s=cR([s,d]),p=nR(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 nR(e,t,n){return cR(dR(e).map((function(e){return"*"!==e.value||n?"param"===e.type?null!=(r=t[e.value.substring(1)])?r:"":e.value:"";var r})))}function rR(){return Xr.exports.useContext(zO)}function oR(){var e,t=ZO(),n=null==(e=rR())?void 0:e[0],r=iR();return pR((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 iR(){var e=ZO(),t=eR();return pR((function(n){var r=e.buildNext(t.basepath,n),o=tR(t,r).map((function(e){var t;return null!=(t=e.route.searchFilters)?t:[]})).flat().filter(Boolean);return e.buildNext(t.basepath,DO({},n,{__searchFilters:o}))}))}function aR(){var e,t=eR(),n=Nr(rR()),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:Dx(aR,{})}();return Dx(GO,{value:r,children:a})}function uR(e,t){var n=function(e,t){var n,r=dR(e.pathname),o=dR(""+(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["*"]=cR(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 sR(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function lR(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}function cR(e){return fR(e.filter(Boolean).join("/"))}function fR(e){return(""+e).replace(/\/{2,}/g,"/")}function dR(e){if(!e)return[];var t=[];if("/"===(e=fR(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,Hr(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 pR(e){var t=Xr.exports.useRef(),n=Xr.exports.useRef(e);return n.current=e,t.current||(t.current=function(){return n.current.apply(n,arguments)}),t.current}function hR(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||vR(e)&&vR(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]=hR(e[l],t[l]),a[l]===e[l]&&u++}return r===i&&u===r?e:a}return t}function vR(e){if(!mR(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!mR(n)&&!!n.hasOwnProperty("isPrototypeOf")}function mR(e){return"[object Object]"===Object.prototype.toString.call(e)}var gR,yR,bR=(gR=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],MO(t.shift())):r[n]=MO(t.shift());return r}(e);for(var n in t){var r=t[n];if("string"==typeof r)try{t[n]=gR(r)}catch(o){}}return t}),xR=(yR=JSON.stringify,function(e){(e=DO({},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"===lo(n)&&null!==n)try{e[t]=yR(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 wR(e,t){return wR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},wR(e,t)}var _R={error:null},ER=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=_R,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,wR(t,n),r.getDerivedStateFromError=function(e){return{error:e}};var o=r.prototype;return o.reset=function(){this.setState(_R)},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(Xr.exports.isValidElement(o))return o;if("function"==typeof n)return n(i);if(r)return Dx(r,Gr({},i));throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},r}(Xr.exports.Component),SR=function(){function e(){Jr(this,e),this.listeners=[],this.subscribe=this.subscribe.bind(this)}return $r(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}();Ir("S",SR);var kR=Ir("G","undefined"==typeof window);function CR(){}function AR(e){return"number"==typeof e&&e>=0&&e!==1/0}function TR(e,t){return Math.max(e+(t||0)-Date.now(),0)}function PR(e,t,n){return UR(e)?"function"==typeof t?Gr(Gr({},n),{},{queryKey:e,queryFn:t}):Gr(Gr({},t),{},{queryKey:e}):e}function OR(e,t,n){return UR(e)?[Gr(Gr({},t),{},{queryKey:e}),n]:[e||{},t]}function RR(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(UR(u))if(o){if(t.queryHash!==LR(u,t.options))return!1}else if(!NR(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 DR(e,t){var n=e.exact,r=e.fetching,o=e.predicate,i=e.mutationKey;if(UR(i)){if(!t.options.mutationKey)return!1;if(n){if(MR(t.options.mutationKey)!==MR(i))return!1}else if(!NR(t.options.mutationKey,i))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function LR(e,t){return((null==t?void 0:t.queryKeyHashFn)||MR)(e)}function MR(e){return JSON.stringify(e,(function(e,t){return zR(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function NR(e,t){return FR(e,t)}function FR(e,t){return e===t||lo(e)===lo(t)&&(!(!e||!t||"object"!==lo(e)||"object"!==lo(t))&&!Object.keys(t).some((function(n){return!FR(e[n],t[n])})))}function IR(e,t){if(e===t)return e;var n=jR(e)&&jR(t);if(n||zR(e)&&zR(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]=IR(e[l],t[l]),a[l]===e[l]&&u++}return r===i&&u===r?e:a}return t}function jR(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function zR(e){if(!BR(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!BR(n)&&!!n.hasOwnProperty("isPrototypeOf")}function BR(e){return"[object Object]"===Object.prototype.toString.call(e)}function UR(e){return Array.isArray(e)}function VR(e){return new Promise((function(t){setTimeout(t,e)}))}function HR(e){VR(0).then(e)}function qR(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?IR(e,t):t}var YR=Ir("K",new(function(e){eo(n,e);var t=to(n);function n(){var e;return Jr(this,n),(e=t.call(this)).setup=function(e){if(!kR&&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 $r(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}(SR))),GR=new(function(e){eo(n,e);var t=to(n);function n(){var e;return Jr(this,n),(e=t.call(this)).setup=function(e){if(!kR&&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 $r(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}(SR));function WR(e){return Math.min(1e3*Math.pow(2,e),3e4)}function KR(e){return"online"!==(null!=e?e:"online")||GR.isOnline()}var XR=$r((function e(t){Jr(this,e),this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}));function ZR(e){return e instanceof XR}function QR(e){var t,n,r,o=!1,i=0,a=!1,u=new Promise((function(e,t){n=e,r=t})),s=function(){return!YR.isFocused()||"always"!==e.networkMode&&!GR.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:WR,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),VR(p).then((function(){if(s())return f()})).then((function(){o?c(n):t()}))):c(n)}}))}};return KR(e.networkMode)?d():f().then(d),{promise:u,cancel:function(t){a||(c(new XR(t)),null==e.abort||e.abort())},continue:function(){null==t||t()},cancelRetry:function(){o=!0},continueRetry:function(){o=!1}}}var $R=console;var JR,eD,tD,nD,rD,oD,iD=Ir("Q",(JR=[],eD=0,tD=function(e){e()},nD=function(e){e()},oD=function(){var e=JR;JR=[],e.length&&HR((function(){nD((function(){e.forEach((function(e){tD(e)}))}))}))},{batch:function(e){var t;eD++;try{t=e()}finally{--eD||oD()}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];rD((function(){e.apply(void 0,n)}))}},schedule:rD=function(e){eD?JR.push(e):HR((function(){tD(e)}))},setNotifyFunction:function(e){tD=e},setBatchNotifyFunction:function(e){nD=e}})),aD=function(){function e(){Jr(this,e)}return $r(e,[{key:"destroy",value:function(){this.clearGcTimeout()}},{key:"scheduleGc",value:function(){var e=this;this.clearGcTimeout(),AR(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:kR?1/0:3e5)}},{key:"clearGcTimeout",value:function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}]),e}(),uD=function(e){eo(n,e);var t=to(n);function n(e){var r;return Jr(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||$R,r.queryKey=e.queryKey,r.queryHash=e.queryHash,r.initialState=e.state||function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:r?"success":"loading",fetchStatus:"idle"}}(r.options),r.state=r.initialState,r.meta=e.meta,r}return $r(n,[{key:"setOptions",value:function(e){this.options=Gr(Gr({},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=qR(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(CR).catch(CR):Promise.resolve()}},{key:"destroy",value:function(){Ur(so(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||!TR(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;(ZR(e)&&e.silent||o.dispatch({type:"error",error:e}),ZR(e))||(null==(t=(n=o.cache.config).onError)||t.call(n,e,o));o.isFetchingOptimistic||o.scheduleGc(),o.isFetchingOptimistic=!1};return this.retryer=QR({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 Gr(Gr({},n),{},{fetchFailureCount:n.fetchFailureCount+1});case"pause":return Gr(Gr({},n),{},{fetchStatus:"paused"});case"continue":return Gr(Gr({},n),{},{fetchStatus:"fetching"});case"fetch":return Gr(Gr({},n),{},{fetchFailureCount:0,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:KR(t.options.networkMode)?"fetching":"paused"},!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return Gr(Gr({},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 ZR(i)&&i.revert&&t.revertState?Gr({},t.revertState):Gr(Gr({},n),{},{error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchStatus:"idle",status:"error"});case"invalidate":return Gr(Gr({},n),{},{isInvalidated:!0});case"setState":return Gr(Gr({},n),e.state)}}(this.state),iD.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"updated",action:e})}))}}]),n}(aD);var sD=function(e){eo(n,e);var t=to(n);function n(e){var r;return Jr(this,n),(r=t.call(this)).config=e||{},r.queries=[],r.queriesMap={},r}return $r(n,[{key:"build",value:function(e,t,n){var r,o=t.queryKey,i=null!=(r=t.queryHash)?r:LR(o,t),a=this.get(i);return a||(a=new uD({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;iD.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=Kr(OR(e,t),1)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(e){return RR(n,e)}))}},{key:"findAll",value:function(e,t){var n=Kr(OR(e,t),1)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return RR(n,e)})):this.queries}},{key:"notify",value:function(e){var t=this;iD.batch((function(){t.listeners.forEach((function(t){t(e)}))}))}},{key:"onFocus",value:function(){var e=this;iD.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))}},{key:"onOnline",value:function(){var e=this;iD.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))}}]),n}(SR),lD=function(e){eo(r,e);var t,n=to(r);function r(e){var t;return Jr(this,r),(t=n.call(this)).options=Gr(Gr({},e.defaultOptions),e.options),t.mutationId=e.mutationId,t.mutationCache=e.mutationCache,t.logger=e.logger||$R,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 $r(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=jr(Fr().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 Fr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(){var e;return w.retryer=QR({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 Gr(Gr({},n),{},{failureCount:n.failureCount+1});case"pause":return Gr(Gr({},n),{},{isPaused:!0});case"continue":return Gr(Gr({},n),{},{isPaused:!1});case"loading":return Gr(Gr({},n),{},{context:e.context,data:void 0,error:null,isPaused:!KR(t.options.networkMode),status:"loading",variables:e.variables});case"success":return Gr(Gr({},n),{},{data:e.data,error:null,status:"success",isPaused:!1});case"error":return Gr(Gr({},n),{},{data:void 0,error:e.error,failureCount:n.failureCount+1,isPaused:!1,status:"error"});case"setState":return Gr(Gr({},n),e.state)}}(this.state),iD.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify({mutation:t,type:"updated",action:e})}))}}]),r}(aD);var cD=function(e){eo(n,e);var t=to(n);function n(e){var r;return Jr(this,n),(r=t.call(this)).config=e||{},r.mutations=[],r.mutationId=0,r}return $r(n,[{key:"build",value:function(e,t,n){var r=new lD({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;iD.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 DR(e,t)}))}},{key:"findAll",value:function(e){return this.mutations.filter((function(t){return DR(e,t)}))}},{key:"notify",value:function(e){var t=this;iD.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 iD.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(CR)}))}),Promise.resolve())}))}}]),n}(SR);function fD(){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(Hr(g)):[].concat(Hr(g),[t]),r?[n].concat(Hr(e)):[].concat(Hr(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={queryKey:e.queryKey,pageParam:r,meta:e.meta};!function(t){Object.defineProperty(t,"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}})}(i);var a=b(i);return Promise.resolve(a).then((function(e){return x(t,r,e,o)}))};if(v.length)if(p){var _=void 0!==d,E=_?d:dD(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]:dD(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 dD(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var pD=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Jr(this,e),this.queryCache=t.queryCache||new sD,this.mutationCache=t.mutationCache||new cD,this.logger=t.logger||$R,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}return $r(e,[{key:"mount",value:function(){var e=this;this.unsubscribeFocus=YR.subscribe((function(){YR.isFocused()&&(e.resumePausedMutations(),e.queryCache.onFocus())})),this.unsubscribeOnline=GR.subscribe((function(){GR.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=Kr(OR(e,t),1)[0];return n.fetchStatus="fetching",this.queryCache.findAll(n).length}},{key:"isMutating",value:function(e){return this.mutationCache.findAll(Gr(Gr({},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=PR(e),a=this.defaultQueryOptions(i);return this.queryCache.build(this,a).setData(o,Gr(Gr({},n),{},{manual:!0}))}}},{key:"setQueriesData",value:function(e,t,n){var r=this;return iD.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=Kr(OR(e,t),1)[0],r=this.queryCache;iD.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))}},{key:"resetQueries",value:function(e,t,n){var r=this,o=Kr(OR(e,t,n),2),i=o[0],a=o[1],u=this.queryCache,s=Gr({type:"active"},i);return iD.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=Kr(OR(e,t,n),2),i=o[0],a=o[1],u=void 0===a?{}:a;void 0===u.revert&&(u.revert=!0);var s=iD.batch((function(){return r.queryCache.findAll(i).map((function(e){return e.cancel(u)}))}));return Promise.all(s).then(CR).catch(CR)}},{key:"invalidateQueries",value:function(e,t,n){var r=this,o=Kr(OR(e,t,n),2),i=o[0],a=o[1];return iD.batch((function(){var e,t;if(r.queryCache.findAll(i).forEach((function(e){e.invalidate()})),"none"===i.refetchType)return Promise.resolve();var n=Gr(Gr({},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=Kr(OR(e,t,n),2),i=o[0],a=o[1],u=iD.batch((function(){return r.queryCache.findAll(i).filter((function(e){return!e.isDisabled()})).map((function(e){var t;return e.fetch(void 0,Gr(Gr({},a),{},{cancelRefetch:null==(t=null==a?void 0:a.cancelRefetch)||t,meta:{refetchPage:i.refetchPage}}))}))})),s=Promise.all(u).then(CR);return null!=a&&a.throwOnError||(s=s.catch(CR)),s}},{key:"fetchQuery",value:function(e,t,n){var r=PR(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(CR).catch(CR)}},{key:"fetchInfiniteQuery",value:function(e,t,n){var r=PR(e,t,n);return r.behavior=fD(),this.fetchQuery(r)}},{key:"prefetchInfiniteQuery",value:function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(CR).catch(CR)}},{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 MR(e)===MR(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 NR(e,t.queryKey)}));return null==t?void 0:t.defaultOptions}}},{key:"setMutationDefaults",value:function(e,t){var n=this.mutationDefaults.find((function(t){return MR(e)===MR(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 NR(e,t.mutationKey)}));return null==t?void 0:t.defaultOptions}}},{key:"defaultQueryOptions",value:function(e){if(null!=e&&e._defaulted)return e;var t=Gr(Gr(Gr(Gr({},this.defaultOptions.queries),this.getQueryDefaults(null==e?void 0:e.queryKey)),e),{},{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=LR(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:Gr(Gr(Gr(Gr({},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}(),hD=Xr.exports.createContext(void 0),vD=Xr.exports.createContext(!1);function mD(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=hD),window.ReactQueryClientContext):hD)}Ir("T",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=Xr.exports.useContext(mD(t,Xr.exports.useContext(vD)));if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n}));var gD=function(e){var t=e.client,n=e.children,r=e.context,o=e.contextSharing,i=void 0!==o&&o;Xr.exports.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=mD(r,i);return Dx(vD.Provider,{value:!r&&i,children:Dx(a.Provider,{value:t,children:n})})},yD=Ir("g",(function(e,t,n){return e()})),bD=function(e){return e.LOCAL_CONTENT="local-content",e.DATA_EXPLORER="data-explorer",e}(bD||{}),xD=new YO,wD=Uo.lazy((function(){return yD((function(){return Vr.import("./index-legacy.c489e13e.js").then((function(e){return e.q}))}),void 0)})),_D=Uo.lazy((function(){return yD((function(){return Vr.import("./index-legacy.12dc81c1.js")}),void 0)})),ED=function(e){var t=e.children,n=[{path:"/sdks-app/".concat("v1","/",bD.LOCAL_CONTENT),element:Dx(wD,{})},{path:"/sdks-app/".concat("v1","/",bD.DATA_EXPLORER),element:Dx(_D,{})}];return Dx(WO,{location:xD,routes:n,children:t})},SD=Object.defineProperty,kD=function(e,t,n){return function(e,t,n){t in e?SD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!=lo(t)?t+"":t,n),n};function CD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var AD={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=co(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){eo(n,e);var t=to(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Jr(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":lo(console))<"u"&&null!==console)return(t=console).log.apply(t,Hr(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||lo(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(Hr(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 no(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(ro(e),{apply:function(t,n,r){var o;return(o=e).randomUUID.apply(o,Hr(r))}})))}return $r(n)}(oo(Function)),f=c;return f.default=c,a}();e.exports=t.default,("undefined"==typeof window?"undefined":lo(window))<"u"&&(t=t.default)}(AD);var TD=new(CD(AD.exports))({length:10}),PD=function(){function e(t,n){var r=this;Jr(this,e),kD(this,"connection"),kD(this,"channelId"),kD(this,"boundMessageHandler"),kD(this,"onMessageHandlers",[]),kD(this,"resolveConnection"),kD(this,"channelNodeId"),kD(this,"crossOrigin"),kD(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(TD()),this.crossOrigin=n,this.connection=new Promise((function(e){r.resolveConnection=e})),this.boundMessageHandler=this.handleMessage.bind(this)}var t,n;return $r(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=jr(Fr().mark((function e(t,n){var r,o=this;return Fr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=TD(),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=jr(Fr().mark((function e(t){var n=this;return Fr().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}(),OD=function(e){eo(n,e);var t=to(n);function n(){return Jr(this,n),t.apply(this,arguments)}return $r(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}(PD),RD=1/0,DD=17976931348623157e292,LD=NaN,MD="[object Symbol]",ND=/^\s+|\s+$/g,FD=/^[-+]0x[0-9a-f]+$/i,ID=/^0b[01]+$/i,jD=/^0o[0-7]+$/i,zD=parseInt,BD=Object.prototype.toString;function UD(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"==lo(e)||function(e){return!!e&&"object"==lo(e)}(e)&&BD.call(e)==MD}(e))return LD;if(VD(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=VD(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(ND,"");var n=ID.test(e);return n||jD.test(e)?zD(e.slice(2),n?2:8):FD.test(e)?LD:+e}(e))===RD||e===-1/0){return(e<0?-1:1)*DD}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 VD(e){var t=lo(e);return!!e&&("object"==t||"function"==t)}var HD=function(e){return UD(2,e)},qD=function(e){return"object"===lo(e)&&null!==e&&!Array.isArray(e)};function YD(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 qD(e)&&qD(o)&&Object.keys(o).forEach((function(t){qD(o[t])?(e[t]||Object.assign(e,Wr({},t,{})),YD(e[t],o[t])):Object.assign(e,Wr({},t,o[t]))})),YD.apply(void 0,[e].concat(n))}var GD=Ir("i",(function(e,t){var n=Kr(Xr.exports.useState(e),2),r=n[0],o=n[1];return Xr.exports.useEffect((function(){var n=setTimeout((function(){o(e)}),t);return function(){clearTimeout(n)}}),[e,t]),r})),WD=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}(WD||{}),KD={locale:"en"},XD={"local-content":{globalOptions:KD,options:{zoom:16,pitch:0,bearing:0,cooperativeGestures:!0}},"data-explorer":{globalOptions:KD,options:{}}},ZD=HD((function(){return Uo.createContext({})})),QD=Ir("u",(function(){var e=Uo.useContext(ZD());if(!e)throw new Error("useStateManagerContext must be used under StateManagerProvider");return e})),$D=Uo.memo((function(e){var t,n,r,o,i,a,u=e.children,s=ZD(),l=ZO().current.search,c=Uo.useRef(l),f=ZO().current.pathname.split("/"),d=f[f.length-1],p=XD[d],h=Uo.useRef(),v=Kr(Xr.exports.useState(!1),2),m=v[0],g=v[1],y=Kr(Xr.exports.useState(p),2),b=y[0],x=y[1],w=GD(b,500),_=oR(),E=function(e){c.current=e,x(e)},S=function(e){var t;e.name===WD.GET_STATE&&(null===(t=h.current)||void 0===t||t.message(WD.GET_STATE_RESPONSE,c.current,e.eventId));e.name===WD.SET_STATE&&E(e.data)};t=function(){var e=new OD(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=YD(b,e.data);E(t),g(!0)}))},n=Xr.exports.useRef(t),r=Xr.exports.useRef(),o=Xr.exports.useRef(!1),i=Xr.exports.useRef(!1),a=Kr(Xr.exports.useState(0),2)[1],o.current&&(i.current=!0),Xr.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(WD.ON_CHANGE,e)};Xr.exports.useEffect((function(){_({search:function(){return w}})}),[w]),Xr.exports.useEffect((function(){b.options&&k({type:"options",data:b.options})}),[b.options]);var C=Xr.exports.useMemo((function(){return{sdkState:b,setSdkState:E,onChange:k}}),[b,E,k]);return m?Dx(s.Provider,{value:C,children:u}):null}));$D.displayName="StateManagerProvider";var JD={en:function(){return yD((function(){return Vr.import("./index-legacy.33ce598b.js")}),void 0)},fr:function(){return yD((function(){return Vr.import("./index-legacy.33579fb2.js")}),void 0)}},eL={en:function(){return yD((function(){return Vr.import("./index-legacy.ab44ba23.js")}),void 0)},fr:function(){return yD((function(){return Vr.import("./index-legacy.4789c6e5.js")}),void 0)}},tL={"local-content":function(e){return eL[e]()},"data-explorer":function(e){return JD[e]()}},nL=HD((function(){return Uo.createContext({})})),rL=(Ir("q",(function(){var e=Xr.exports.useContext(nL());if(!e)throw new Error("useLangauges must be used under LanguagesProvider");return e})),function(e){var t,n=e.children,r=Kr(Xr.exports.useState(!0),2),o=r[0],i=r[1],a=Kr(Xr.exports.useState(),2),u=a[0],s=a[1],l=(null===(t=QD().sdkState.globalOptions)||void 0===t?void 0:t.locale)||"en",c=nL(),f=ZO().current.pathname.split("/"),d=f[f.length-1],p=tL[d];if(Xr.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 Dx(c.Provider,{value:{translations:u},children:n})}),oL={exports:{}},iL={exports:{}},aL=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)}},uL=aL,sL=Object.prototype.toString;function lL(e){return Array.isArray(e)}function cL(e){return void 0===e}function fL(e){return"[object ArrayBuffer]"===sL.call(e)}function dL(e){return null!==e&&"object"===lo(e)}function pL(e){if("[object Object]"!==sL.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function hL(e){return"[object Function]"===sL.call(e)}function vL(e,t){if(null!=e)if("object"!==lo(e)&&(e=[e]),lL(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 mL={isArray:lL,isArrayBuffer:fL,isBuffer:function(e){return null!==e&&!cL(e)&&null!==e.constructor&&!cL(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===sL.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&fL(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:dL,isPlainObject:pL,isUndefined:cL,isDate:function(e){return"[object Date]"===sL.call(e)},isFile:function(e){return"[object File]"===sL.call(e)},isBlob:function(e){return"[object Blob]"===sL.call(e)},isFunction:hL,isStream:function(e){return dL(e)&&hL(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===sL.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:vL,merge:function e(){var t={};function n(n,r){pL(t[r])&&pL(n)?t[r]=e(t[r],n):pL(n)?t[r]=e({},n):lL(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)vL(arguments[r],n);return t},extend:function(e,t,n){return vL(t,(function(t,r){e[r]=n&&"function"==typeof t?uL(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}},gL=mL;function yL(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var bL=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(gL.isURLSearchParams(t))r=t.toString();else{var o=[];gL.forEach(t,(function(e,t){null!=e&&(gL.isArray(e)?t+="[]":e=[e],gL.forEach(e,(function(e){gL.isDate(e)?e=e.toISOString():gL.isObject(e)&&(e=JSON.stringify(e)),o.push(yL(t)+"="+yL(e))})))})),r=o.join("&")}if(r){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e},xL=mL;function wL(){this.handlers=[]}wL.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},wL.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},wL.prototype.forEach=function(e){xL.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var _L,EL,SL,kL,CL,AL,TL,PL,OL,RL,DL,LL,ML,NL,FL,IL,jL,zL,BL,UL,VL=wL,HL=mL,qL=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},YL={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};function GL(){if(EL)return _L;EL=1;var e=qL;return _L=function(t,n,r,o,i){var a=new Error(t);return e(a,n,r,o,i)}}function WL(){if(kL)return SL;kL=1;var e=GL();return SL=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)}}function KL(){if(AL)return CL;AL=1;var e=mL;return CL=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(){}}}function XL(){return PL?TL:(PL=1,TL=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)})}function ZL(){return RL?OL:(RL=1,OL=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e})}function QL(){if(LL)return DL;LL=1;var e=XL(),t=ZL();return DL=function(n,r){return n&&!e(r)?t(n,r):r}}function $L(){if(NL)return ML;NL=1;var e=mL,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 ML=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):a}}function JL(){if(IL)return FL;IL=1;var e=mL;return FL=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}}function eM(){if(zL)return jL;function e(e){this.message=e}return zL=1,e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,jL=e}function tM(){if(UL)return BL;UL=1;var e=mL,t=WL(),n=KL(),r=bL,o=QL(),i=$L(),a=JL(),u=GL(),s=YL,l=eM();return BL=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){void 0===h&&"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)}))},BL}var nM=mL,rM=function(e,t){HL.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))},oM=qL,iM={"Content-Type":"application/x-www-form-urlencoded"};function aM(e,t){!nM.isUndefined(e)&&nM.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var uM,sM={transitional:YL,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(uM=tM()),uM),transformRequest:[function(e,t){return rM(t,"Accept"),rM(t,"Content-Type"),nM.isFormData(e)||nM.isArrayBuffer(e)||nM.isBuffer(e)||nM.isStream(e)||nM.isFile(e)||nM.isBlob(e)?e:nM.isArrayBufferView(e)?e.buffer:nM.isURLSearchParams(e)?(aM(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):nM.isObject(e)||t&&"application/json"===t["Content-Type"]?(aM(t,"application/json"),function(e,t,n){if(nM.isString(e))try{return(t||JSON.parse)(e),nM.trim(e)}catch(Pw){if("SyntaxError"!==Pw.name)throw Pw}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||sM.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||r&&nM.isString(e)&&e.length)try{return JSON.parse(e)}catch(Pw){if(o){if("SyntaxError"===Pw.name)throw oM(Pw,this,"E_JSON_PARSE");throw Pw}}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, */*"}}};nM.forEach(["delete","get","head"],(function(e){sM.headers[e]={}})),nM.forEach(["post","put","patch"],(function(e){sM.headers[e]=nM.merge(iM)}));var lM,cM,fM=sM,dM=mL,pM=fM;function hM(){return cM?lM:(cM=1,lM=function(e){return!(!e||!e.__CANCEL__)})}var vM=mL,mM=function(e,t,n){var r=this||pM;return dM.forEach(n,(function(n){e=n.call(r,e,t)})),e},gM=hM(),yM=fM,bM=eM();function xM(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new bM("canceled")}var wM,_M,EM=mL,SM=function(e,t){t=t||{};var n={};function r(e,t){return EM.isPlainObject(e)&&EM.isPlainObject(t)?EM.merge(e,t):EM.isPlainObject(t)?EM.merge({},t):EM.isArray(t)?t.slice():t}function o(n){return EM.isUndefined(t[n])?EM.isUndefined(e[n])?void 0:r(void 0,e[n]):r(e[n],t[n])}function i(e){if(!EM.isUndefined(t[e]))return r(void 0,t[e])}function a(n){return EM.isUndefined(t[n])?EM.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 EM.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=s[e]||o,r=t(e);EM.isUndefined(r)&&t!==u||(n[e]=r)})),n};function kM(){return _M?wM:(_M=1,wM={version:"0.26.1"})}var CM=kM().version,AM={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){AM[e]=function(n){return lo(n)===e||"a"+(t<1?"n ":" ")+e}}));var TM={};AM.transitional=function(e,t,n){function r(e,t){return"[Axios v"+CM+"] 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&&!TM[o]&&(TM[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 PM,OM,RM,DM,LM,MM,NM={assertOptions:function(e,t,n){if("object"!==lo(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:AM},FM=mL,IM=bL,jM=VL,zM=function(e){return xM(e),e.headers=e.headers||{},e.data=mM.call(e,e.data,e.headers,e.transformRequest),e.headers=vM.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),vM.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||yM.adapter)(e).then((function(t){return xM(e),t.data=mM.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return gM(t)||(xM(e),t&&t.response&&(t.response.data=mM.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},BM=SM,UM=NM,VM=UM.validators;function HM(e){this.defaults=e,this.interceptors={request:new jM,response:new jM}}HM.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=BM(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&&UM.assertOptions(n,{silentJSONParsing:VM.transitional(VM.boolean),forcedJSONParsing:VM.transitional(VM.boolean),clarifyTimeoutError:VM.transitional(VM.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=[zM,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(f){c(f);break}}try{i=zM(s)}catch(f){return Promise.reject(f)}for(;a.length;)i=i.then(a.shift(),a.shift());return i},HM.prototype.getUri=function(e){return e=BM(this.defaults,e),IM(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},FM.forEach(["delete","get","head","options"],(function(e){HM.prototype[e]=function(t,n){return this.request(BM(n||{},{method:e,url:t,data:(n||{}).data}))}})),FM.forEach(["post","put","patch"],(function(e){HM.prototype[e]=function(t,n,r){return this.request(BM(r||{},{method:e,url:t,data:n}))}}));var qM=mL,YM=aL,GM=HM,WM=SM;var KM=function e(t){var n=new GM(t),r=YM(GM.prototype.request,n);return qM.extend(r,GM.prototype,n),qM.extend(r,n),r.create=function(n){return e(WM(t,n))},r}(fM);KM.Axios=GM,KM.Cancel=eM(),KM.CancelToken=function(){if(OM)return PM;OM=1;var e=eM();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}},PM=t}(),KM.isCancel=hM(),KM.VERSION=kM().version,KM.all=function(e){return Promise.all(e)},KM.spread=DM?RM:(DM=1,RM=function(e){return function(t){return e.apply(null,t)}}),KM.isAxiosError=function(){if(MM)return LM;MM=1;var e=mL;return LM=function(t){return e.isObject(t)&&!0===t.isAxiosError}}(),iL.exports=KM,iL.exports.default=KM,function(e){e.exports=iL.exports}(oL);var XM,ZM=Yr(oL.exports),QM=function(e,t){return ZM.create({baseURL:"https://api.locallogic.co/v3/",headers:{Accept:"application/json",Authorization:e},params:t})};Ir("a5",XM),function(e){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"}(XM||Ir("a5",XM={}));function $M(e){this._maxSize=e,this.clear()}$M.prototype.clear=function(){this._size=0,this._values=Object.create(null)},$M.prototype.get=function(e){return this._values[e]},$M.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var JM=/[^.^\]^[]+|(?=\[\]|\.\.)/g,eN=/^\d+$/,tN=/^\d/,nN=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,rN=/^\s*(['"]?)(.*?)(\1)\s*$/,oN=new $M(512),iN=new $M(512),aN=new $M(512),uN={Cache:$M,split:lN,normalizePath:sN,setter:function(e){var t=sN(e);return iN.get(e)||iN.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=sN(e);return aN.get(e)||aN.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+(cN(t)||eN.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])&&(fN(r)&&(r='"'+r+'"'),i=!(a=cN(r))&&/^\d+$/.test(r),t.call(n,r,a,i,o,e))}(Array.isArray(e)?e:lN(e),t,n)}};function sN(e){return oN.get(e)||oN.set(e,lN(e).map((function(e){return e.replace(rN,"$2")})))}function lN(e){return e.match(JM)||[""]}function cN(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function fN(e){return!cN(e)&&(function(e){return e.match(tN)&&!e.match(eN)}(e)||function(e){return nN.test(e)}(e))}var dN=/[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,pN=function(e){return e.match(dN)||[]},hN=function(e,t){return pN(e).join(t).toLowerCase()},vN=function(e){return pN(e).reduce((function(e,t){return"".concat(e).concat(e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase())}),"")},mN=vN,gN=function(e){return hN(e,"_")},yN={exports:{}};function bN(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(Pw){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}}}yN.exports=function(e){return bN(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)},yN.exports.array=bN;var xN=Object.prototype.toString,wN=Error.prototype.toString,_N=RegExp.prototype.toString,EN="undefined"!=typeof Symbol?Symbol.prototype.toString:function(){return""},SN=/^Symbol\((.*)\)(.*)$/;function kN(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}function CN(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e||!0===e||!1===e)return""+e;var n=lo(e);if("number"===n)return kN(e);if("string"===n)return t?'"'.concat(e,'"'):e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return EN.call(e).replace(SN,"Symbol($1)");var r=xN.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+wN.call(e)+"]":"RegExp"===r?_N.call(e):null}function AN(e,t){var n=CN(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){var r=CN(this[e],t);return null!==r?r:n}),2)}function TN(e){return null==e?[]:[].concat(e)}var PN=/\$\{\s*(\w+)\s*\}/g,ON=function(e){eo(n,e);var t=to(n);function n(e,r,o,i){var a;return Jr(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=[],TN(e).forEach((function(e){var t;n.isError(e)?((t=a.errors).push.apply(t,Hr(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(ro(a),n),a}return $r(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(PN,(function(e,n){return AN(t[n])})):"function"==typeof e?e(t):e}},{key:"isError",value:function(e){return e&&"ValidationError"===e.name}}]),n}(oo(Error)),RN={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(AN(o,!0),"`)."):".";return"mixed"!==n?"".concat(t," must be a `").concat(n,"` type, ")+"but the final value was: `".concat(AN(r,!0),"`")+i:"".concat(t," must match the configured type. ")+"The validated value was: `".concat(AN(r,!0),"`")+i}},DN={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"},LN={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"},MN={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},NN={isValue:"${path} field must be ${value}"},FN={noUnknown:"${path} field has unspecified keys: ${unknown}"},IN={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:RN,string:DN,number:LN,date:MN,object:FN,array:IN,boolean:NN});var jN=function(e){return e&&e.__isYupSchema__},zN=function(){function e(t,n){Jr(this,e),this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}return $r(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(!jN(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,Hr(e))?o:i;return null!=(n=null==r?void 0:r(t))?n:t}))}}]),e}();var BN="$",UN=".",VN=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Jr(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]===BN,this.isValue=this.key[0]===UN,this.isSibling=!this.isContext&&!this.isValue;var r=this.isContext?BN:this.isValue?UN:"";this.path=this.key.slice(r.length),this.getter=this.path&&uN.getter(this.path,!0),this.map=n.map}return $r(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}();VN.prototype.__isYupRef=!0;var HN=function(e){return null==e},qN=["value","path","label","options","originalValue","spec","sync"];function YN(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,qN),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 VN.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 ON(ON.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){ON.isError(e)?E(e):e?r(null):E(_())},C=function(e){ON.isError(e)?E(e):n(e)},A=g&&HN(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(O){return void C(O)}k(T)}else try{Promise.resolve(!!A||h.call(S,o,S)).then(k,C)}catch(O){C(O)}}return t.OPTIONS=e,t}var GN=function(e){return e.substr(0,e.length-1).substr(1)};function WN(e,t,n){var r,o,i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return t?(uN.forEach(t,(function(u,s,l){var c=s?GN(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 KN=function(){function e(){Jr(this,e),this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}return $r(e,[{key:"size",get:function(){return this.list.size+this.refs.size}},{key:"describe",value:function(){var e,t=[],n=co(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=co(this.refs);try{for(i.s();!(o=i.n()).done;){var a=Kr(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(VN.isRef(n)?e(n):n)}),[])}},{key:"add",value:function(e){VN.isRef(e)?this.refs.set(e.key,e):this.list.add(e)}},{key:"delete",value:function(e){VN.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 XN(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map;if(jN(e)||!e||"object"!==lo(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]=XN(e[r],n)}else if(e instanceof Map){t=new Map,n.set(e,t);var o,i=co(e.entries());try{for(i.s();!(o=i.n()).done;){var a=Kr(o.value,2),u=a[0],s=a[1];t.set(u,XN(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=co(e);try{for(c.s();!(l=c.n()).done;){var f=l.value;t.add(XN(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=Kr(p[d],2),v=h[0],m=h[1];t[v]=XN(m,n)}}return t}var ZN=function(){function e(t){var n=this;Jr(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 KN,this._blacklist=new KN,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((function(){n.typeError(RN.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 $r(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=Hr(this.deps),t.conditions=Hr(this.conditions),t.tests=Hr(this.tests),t.transforms=Hr(this.transforms),t.spec=XN(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(Hr(t.transforms),Hr(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&&HN(o))return o;var i=AN(e),a=AN(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\n')+"attempted 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,(Wr(t={strict:!0,parent:i,value:f,originalValue:u[l],key:void 0},c?"index":"key",l),Wr(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){ON.isError(e)&&(e.value=t),o(e)}),(function(e,t){e.length?o(new ON(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 ON.isError(e)&&(e.value=t),e}),(function(t,r){if(t.length)throw new ON(t,e);n=r})),n}},{key:"isValid",value:function(e,t){return this.validate(e,t).then((function(){return!0}),(function(e){if(ON.isError(e))return!1;throw e}))}},{key:"isValidSync",value:function(e,t){try{return this.validateSync(e,t),!0}catch(n){if(ON.isError(n))return!1;throw n}}},{key:"_getDefault",value:function(){var e=this.spec.default;return null==e?e:"function"==typeof e?e.call(this):XN(e)}},{key:"getDefault",value:function(e){return this.resolve(e||{})._getDefault()}},{key:"default",value:function(e){if(0===arguments.length)return this._getDefault();var t=this.clone({default:e});return t}},{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=YN({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=YN({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]:RN.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]:RN.notNull;return this.nullability(!1,e)}},{key:"required",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:RN.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=RN.default),"function"!=typeof e.test)throw new TypeError("`test` is a required parameters");var t=this.clone(),n=YN(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){if(t.OPTIONS.name===e.name){if(r)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),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=TN(e).map((function(e){return new VN(e)}));return r.forEach((function(e){e.isSibling&&n.deps.push(e.key)})),n.conditions.push("function"==typeof t?new zN(r,t):zN.fromOptions(r,t)),n}},{key:"typeError",value:function(e){var t=this.clone();return t.internalTests.typeError=YN({message:e,name:"typeError",test:function(e){return!(!HN(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]:RN.oneOf,n=this.clone();return e.forEach((function(e){n._whitelist.add(e),n._blacklist.delete(e)})),n.internalTests.whiteList=YN({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]:RN.notOneOf,n=this.clone();return e.forEach((function(e){n._blacklist.add(e),n._whitelist.delete(e)})),n.internalTests.blacklist=YN({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,o={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}))};return o}}]),e}();ZN.prototype.__isYupSchema__=!0;for(var QN=function(){var e=JN[$N];ZN.prototype["".concat(e,"At")]=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=WN(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}))}},$N=0,JN=["validate","validateSync"];$N<JN.length;$N++)QN();for(var eF=0,tF=["equals","is"];eF<tF.length;eF++){var nF=tF[eF];ZN.prototype[nF]=ZN.prototype.oneOf}for(var rF=0,oF=["not","nope"];rF<oF.length;rF++){var iF=oF[rF];ZN.prototype[iF]=ZN.prototype.notOneOf}function aF(){return new uF}var uF=function(e){eo(n,e);var t=to(n);function n(){var e;return Jr(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 $r(n,[{key:"isTrue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:NN.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:function(e){return HN(e)||!0===e}})}},{key:"isFalse",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:NN.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:function(e){return HN(e)||!1===e}})}},{key:"default",value:function(e){return Ur(so(n.prototype),"default",this).call(this,e)}},{key:"defined",value:function(e){return Ur(so(n.prototype),"defined",this).call(this,e)}},{key:"optional",value:function(){return Ur(so(n.prototype),"optional",this).call(this)}},{key:"required",value:function(e){return Ur(so(n.prototype),"required",this).call(this,e)}},{key:"notRequired",value:function(){return Ur(so(n.prototype),"notRequired",this).call(this)}},{key:"nullable",value:function(){return Ur(so(n.prototype),"nullable",this).call(this)}},{key:"nonNullable",value:function(e){return Ur(so(n.prototype),"nonNullable",this).call(this,e)}},{key:"strip",value:function(e){return Ur(so(n.prototype),"strip",this).call(this,e)}}]),n}(ZN);aF.prototype=uF.prototype;var sF=/^((([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,lF=/^((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,cF=/^(?:[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,fF=function(e){return HN(e)||e===e.trim()},dF={}.toString();function pF(){return new hF}var hF=function(e){eo(n,e);var t=to(n);function n(){var e;return Jr(this,n),(e=t.call(this,{type:"string",check:function(e){return e instanceof String&&(e=e.valueOf()),"string"==typeof e}})).withMutation((function(){e.transform((function(e,t,n){if(!n.spec.coerce||n.isType(e))return e;if(Array.isArray(e))return e;var r=null!=e&&e.toString?e.toString():e;return r===dF?e:r}))})),e}return $r(n,[{key:"required",value:function(e){return Ur(so(n.prototype),"required",this).call(this,e).withMutation((function(t){return t.test({message:e||RN.required,name:"required",skipAbsent:!0,test:function(e){return!!e.length}})}))}},{key:"notRequired",value:function(){return Ur(so(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]:DN.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]:DN.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]:DN.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=!1;if(t)if("object"===lo(t)){var i=t.excludeEmptyString;o=void 0!==i&&i,n=t.message,r=t.name}else n=t;return this.test({name:r||"matches",message:n||DN.matches,params:{regex:e},skipAbsent:!0,test:function(t){return""===t&&o||-1!==t.search(e)}})}},{key:"email",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DN.email;return this.matches(sF,{name:"email",message:e,excludeEmptyString:!0})}},{key:"url",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DN.url;return this.matches(lF,{name:"url",message:e,excludeEmptyString:!0})}},{key:"uuid",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DN.uuid;return this.matches(cF,{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]:DN.trim;return this.transform((function(e){return null!=e?e.trim():e})).test({message:e,name:"trim",test:fF})}},{key:"lowercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DN.lowercase;return this.transform((function(e){return HN(e)?e:e.toLowerCase()})).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:function(e){return HN(e)||e===e.toLowerCase()}})}},{key:"uppercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DN.uppercase;return this.transform((function(e){return HN(e)?e:e.toUpperCase()})).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:function(e){return HN(e)||e===e.toUpperCase()}})}}]),n}(ZN);pF.prototype=hF.prototype;function vF(){return new mF}var mF=function(e){eo(n,e);var t=to(n);function n(){var e;return Jr(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)}})).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 $r(n,[{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:LN.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]:LN.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]:LN.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]:LN.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]:LN.positive;return this.moreThan(0,e)}},{key:"negative",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:LN.negative;return this.lessThan(0,e)}},{key:"integer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:LN.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 HN(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 HN(t)?t:Math[e](t)}))}}]),n}(ZN);vF.prototype=mF.prototype;var gF=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var yF=new Date(""),bF=function(e){eo(n,e);var t=to(n);function n(){var e;return Jr(this,n),e=t.call(this,{type:"date",check:function(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}}),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=gF.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 $r(n,[{key:"prepareParam",value:function(e,t){var n;if(VN.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]:MN.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]:MN.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}(ZN);function xF(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 wF(e){return function(t,n){return xF(e,t)-xF(e,n)}}bF.INVALID_DATE=yF,bF.prototype;var _F=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 EF(e){if("fields"in e){for(var t={},n=0,r=Object.entries(e.fields);n<r.length;n++){var o=Kr(r[n],2),i=o[0],a=o[1];t[i]=EF(a)}return e.setFields(t)}if("array"===e.type){var u=e.optional();return u.innerType&&(u.innerType=EF(u.innerType)),u}return"tuple"===e.type?e.optional().clone({types:e.spec.types.map(EF)}):"optional"in e?e.optional():e}var SF=function(e){return"[object Object]"===Object.prototype.toString.call(e)};function kF(e,t){var n=Object.keys(e.fields);return Object.keys(t).filter((function(e){return-1===n.indexOf(e)}))}var CF=wF([]);function AF(e){return new TF(e)}var TF=function(e){eo(n,e);var t=to(n);function n(e){var r;return Jr(this,n),(r=t.call(this,{type:"object",check:function(e){return SF(e)||"function"==typeof e}})).fields=Object.create(null),r._sortErrors=CF,r._nodes=[],r._excludedEdges=[],r.withMutation((function(){e&&r.shape(e)})),r}return $r(n,[{key:"_cast",value:function(e){var t,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Ur(so(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=co(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 ZN?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(Hr(u)),r.__validating=!0,r.originalValue=l,Ur(so(n.prototype),"_validate",this).call(this,e,r,o,(function(e,n){if(f&&SF(n)){l=l||n;var a,u=[],s=co(t._nodes);try{for(s.s();!(a=s.n()).done;){var c=a.value,d=t.fields[c];d&&!VN.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=Ur(so(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=Ur(so(n.prototype),"concat",this).call(this,e),o=r.fields,i=0,a=Object.entries(this.fields);i<a.length;i++){var u=Kr(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 Ur(so(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=Kr(e,2),n=t[0],r=t[1];return"".concat(n,"-").concat(r)})));function i(e,t){var i=uN.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),VN.isRef(n)&&n.isSibling?i(n.path,t):jN(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 yN.exports.array(Array.from(r),n).reverse()}(e,t),n._sortErrors=wF(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(Hr(n._excludedEdges),Hr(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=Kr(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 EF(this)}},{key:"pick",value:function(e){var t,n={},r=co(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=co(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=uN.getter(e,!0);return this.transform((function(o){if(!o)return o;var i=o;return function(e,t){var n=Hr(uN.normalizePath(t));if(1===n.length)return n[0]in e;var r=n.pop(),o=uN.getter(uN.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(_F)}},{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]:FN.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=kF(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]:FN.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(mN)}},{key:"snakeCase",value:function(){return this.transformKeys(gN)}},{key:"constantCase",value:function(){return this.transformKeys((function(e){return gN(e).toUpperCase()}))}},{key:"describe",value:function(e){var t=Ur(so(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=Kr(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}(ZN);function PF(e){return new OF(e)}AF.prototype=TF.prototype;var OF=function(e){eo(n,e);var t=to(n);function n(e){var r;return Jr(this,n),r=t.call(this,{type:"array",check:function(e){return Array.isArray(e)}}),r.innerType=void 0,r.innerType=e,r}return $r(n,[{key:"_cast",value:function(e,t){var r=this,o=Ur(so(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,Ur(so(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=Ur(so(n.prototype),"clone",this).call(this,e);return t.innerType=this.innerType,t}},{key:"json",value:function(){return this.transform(_F)}},{key:"concat",value:function(e){var t=Ur(so(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(!jN(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+AN(e));return t.innerType=e,t}},{key:"length",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:IN.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||IN.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||IN.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=Ur(so(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}(ZN);PF.prototype=OF.prototype;var RF,DF=new RegExp("(".concat(Object.keys(XM).filter((function(e){return Number.isNaN(Number(e))})).join("|"),")")),LF=AF({lat:vF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:vF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:vF().max(30),radius:vF().max(25e3),include:PF().of(pF().matches(DF,"Must be a valid Score category.").required()).required()}),MF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Pw){i(Pw)}}function u(e){try{s(r.throw(e))}catch(Pw){i(Pw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Ir("a4",RF),function(e){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"}(RF||Ir("a4",RF={}));var NF=new RegExp("(".concat(Object.keys(RF).filter((function(e){return Number.isNaN(Number(e))})).join("|"),")")),FF=AF({lat:vF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:vF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geographyIds:PF().of(pF().required()),geographyLevels:PF().of(pF().matches(/10|20|30/,"Must be a valid Geography level.").required()),locationScoresRounding:aF(),include:PF().of(pF().matches(NF,"Must be a valid Score category.").required())}),IF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Pw){i(Pw)}}function u(e){try{s(r.throw(e))}catch(Pw){i(Pw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},jF=AF({lat:vF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:vF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:vF().max(30,"Must use a limit between 1 and 30."),radius:vF().max(25e3,"Must use a radius between 1 and 25000.")}),zF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Pw){i(Pw)}}function u(e){try{s(r.throw(e))}catch(Pw){i(Pw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},BF=AF({lat:vF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:vF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geogId:pF()}),UF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Pw){i(Pw)}}function u(e){try{s(r.throw(e))}catch(Pw){i(Pw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},VF=AF({lat:vF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:vF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required()}),HF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Pw){i(Pw)}}function u(e){try{s(r.throw(e))}catch(Pw){i(Pw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},qF=AF({lat:vF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:vF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),radius:vF().max(5e3)}),YF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Pw){i(Pw)}}function u(e){try{s(r.throw(e))}catch(Pw){i(Pw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},GF="LocalLogicClient/",WF=function(e){eo(n,e);var t=to(n);function n(e){var r,o=e.message;return Jr(this,n),(r=t.call(this,o)).name=GF+r.constructor.name,r}return $r(n)}(oo(Error)),KF=function(e){eo(n,e);var t=to(n);function n(e){var r,o=e.message,i=e.response;return Jr(this,n),(r=t.call(this,o)).name=GF+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 $r(n)}(oo(Error)),XF=function(e){eo(n,e);var t=to(n);function n(e){var r,o=e.message;return Jr(this,n),(r=t.call(this,o)).name=GF+r.constructor.name,r}return $r(n)}(oo(Error)),ZF=function(e){if(e instanceof ON)throw new WF(e);if(ZM.isAxiosError(e))throw new KF(e);throw new XF(e)},QF=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){ZF(e)})):o}catch(i){ZF(i)}},n},$F=globalThis&&globalThis.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":lo(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},JF=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{locale:"en"};Jr(this,e),this.requests=QM(t,n),this.options=n}return $r(e,[{key:"getPois",value:function(e){return(t=this.requests,function(e){return MF(void 0,void 0,void 0,Fr().mark((function n(){var r,o,i,a,u,s,l;return Fr().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,LF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.limit,u=r.radius,s=r.include,n.next=6,t.get("/pois",{params:{lat:o,lng:i,limit:a,radius:u,include:null==s?void 0:s.join(",")}});case 6:return l=n.sent,n.abrupt("return",l.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getScores",value:function(e){return(t=this.requests,function(e){return IF(void 0,void 0,void 0,Fr().mark((function n(){var r,o,i,a,u,s,l,c,f;return Fr().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,FF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.include,u=r.geographyIds,s=r.geographyLevels,l=r.locationScoresRounding,c=void 0===l||l,n.next=6,t.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 6:return f=n.sent,n.abrupt("return",f.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getSchools",value:function(e){return(t=this.requests,function(e){return zF(void 0,void 0,void 0,Fr().mark((function n(){var r,o,i,a,u,s;return Fr().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,jF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.limit,u=r.radius,n.next=6,t.get("/schools",{params:{lat:o,lng:i,limit:a,radius:u}});case 6:return s=n.sent,n.abrupt("return",s.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getProfiles",value:function(e){return(t=this.requests,function(e){return UF(void 0,void 0,void 0,Fr().mark((function n(){var r,o,i,a,u;return Fr().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,BF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.geogId,n.next=6,t.get("/profiles",{params:{lat:o,lng:i,geog_id:a}});case 6:return u=n.sent,n.abrupt("return",u.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getGeographies",value:function(e){return(t=this.requests,function(e){return HF(void 0,void 0,void 0,Fr().mark((function n(){var r,o,i,a;return Fr().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,VF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,n.next=6,t.get("/geographies",{params:{lat:o,lng:i}});case 6:return a=n.sent,n.abrupt("return",a.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getDemographics",value:function(e){return(t=this.requests,function(e){return YF(void 0,void 0,void 0,Fr().mark((function n(){var r,o,i,a,u;return Fr().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,qF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.radius,n.next=6,t.get("/demographics",{params:{lat:o,lng:i,radius:a}});case 6:return u=n.sent,n.abrupt("return",u.data.data.attributes);case 8:case"end":return n.stop()}}),n)})))})(e);var t}}]),e}();$F([QF],JF.prototype,"getPois",null),$F([QF],JF.prototype,"getScores",null),$F([QF],JF.prototype,"getSchools",null),$F([QF],JF.prototype,"getProfiles",null),$F([QF],JF.prototype,"getGeographies",null),$F([QF],JF.prototype,"getDemographics",null);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=Ir("a",(function(){return Ir("a",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=Xr.exports.createContext({strict:!1}),cI=Object.keys(sI),fI=cI.length;var dI=Xr.exports.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),pI=Xr.exports.createContext({});var hI=Xr.exports.createContext(null),vI="undefined"!=typeof document,mI=vI?Xr.exports.useLayoutEffect:Xr.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(Xr.exports.useState(gI.current),1)[0]}function xI(e,t,n,r){var o,i,a=Xr.exports.useContext(lI),u=Xr.exports.useContext(pI).visualElement,s=Xr.exports.useContext(hI),l=(o=bI(),"never"!==(i=Xr.exports.useContext(dI).reducedMotion)&&("always"===i||o)),c=Xr.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()})),Xr.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"===lo(e)&&Object.prototype.hasOwnProperty.call(e,"current")}function _I(e,t,n){return Xr.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,Xr.exports.useContext(pI)),n=t.initial,r=t.animate;return Xr.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=Xr.exports.useRef(null);return null===t.current&&(t.current=e()),t.current}var DI={hasAnimatedSinceResize:!0,hasEverUpdated:!1},LI=1;var MI=Xr.exports.createContext({}),NI=Xr.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}(Uo.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),Xr.exports.forwardRef((function(e,u){var s=function(e){var t,n=e.layoutId,r=null===(t=Xr.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=Xr.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=Xr.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=Xr.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(Dx(l,Gr({},nI({key:a},e,{visualElement:t}))))}return r}(e,f.visualElement,t)),Lx(FI,{visualElement:f.visualElement,props:nI(nI({},l),e),children:[c,Dx(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"===lo(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=Kr(r.match(nj),4),a=i[0],u=i[1],s=i[2],l=i[3];return Wr(o={},e,parseFloat(a)),Wr(o,t,parseFloat(u)),Wr(o,n,parseFloat(s)),Wr(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,Hr(r.map(Ej.parse))));var o=e.match(nj);return o&&(e=e.replace(nj,kj),t.push.apply(t,Hr(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=Kr(e.slice(0,-1).split("("),2),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=Kr(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 Xr.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(NX){}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=Xr.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),Xr.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"===lo(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"===lo(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=Xr.exports.useContext(pI),o=Xr.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(Pw){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){Xr.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 Xr.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=Hr(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"===lo(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=Kr(e,2),r=n[0],o=n[1],i=Kr(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;Xr.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;Xr.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=Xr.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=Xr.exports.useRef(!1),s=Xr.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=Xr.exports.useContext(hI);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=RI(EU);Xr.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)&&Xr.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=Xr.exports.useContext(hI);Xr.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=Xr.exports.useRef(null),s=Xr.exports.useContext(dI).transformPagePoint,l={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){u.current=null,r&&r(e,t)}};Xr.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)}));Xr.exports.useEffect((function(){return t&&t.subscribe(r)}),[r,t]),Xr.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}(Uo.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=Xr.exports.useContext(MI);return Dx(OH,Gr({},nI({},e,{layoutGroup:o,switchLayoutGroup:Xr.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=Ir("a2",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=Uo,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=Gr(Gr(Gr(Gr(Gr(Gr(Gr({},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=Gr(Gr({},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 Gr(Gr({},e),{},Wr({},t,"var(".concat(t,")")))}),{}),Uq={day:jq,night:zq},Vq=dE(Q||(Q=zr(["\n :root {\n ",";\n }\n"])),(function(e){var t=e.themeName,n=e.overrides;return Gr(Gr({},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=Gr(Gr({colors:Mq},qq),Yq),Wq=hE.span(te||(te=zr(["\n display: inline-flex;\n color: ",";\n background-color: ",";\n border-radius: ",";\n line-height: 1;\n font-family: ",";\n font-size: ",";\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?Z_($||($=zr(["\n padding: calc("," / 2) ",";\n "])),Bq["--ll-spacing-xx-small"],Bq["--ll-spacing-xx-small"]):"large"===t?Z_(J||(J=zr(["\n padding: calc("," / 2) ",";\n font-size: ",";\n "])),Bq["--ll-spacing-small"],Bq["--ll-spacing-medium"],Bq["--ll-font-size-p"]):Z_(ee||(ee=zr(["\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=Uo,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=hE.div(ne||(ne=zr(["\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=hE.span(re||(re=zr(["\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=hE.div(oe||(oe=zr(["\n ","\n"])),(function(e){return Z_(ie||(ie=zr(["\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&&Z_(ae||(ae=zr(["\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=hE.a(ue||(ue=zr(["\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&&Z_(se||(se=zr(["\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=Xr.exports.createContext(r),i=n.length;function a(t){var n=t.scope,r=t.children,a=Br(t,An),u=(null==n?void 0:n[e][i])||o,s=Xr.exports.useMemo((function(){return a}),Object.values(a));return Xr.exports.createElement(u.Provider,{value:s},r)}return n=[].concat(Hr(n),[r]),a.displayName=t+"Provider",[a,function(n,a){var u=(null==a?void 0:a[e][i])||o,s=Xr.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 Xr.exports.createContext(e)}));return function(n){var r=(null==n?void 0:n[e])||t;return Xr.exports.useMemo((function(){return Wr({},"__scope".concat(e),Gr(Gr({},n),{},Wr({},e,r)))}),[n,r])}};return o.scopeName=e,[r,fY.apply(void 0,[o].concat(Hr(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 Gr(Gr({},e),i)}),{});return Xr.exports.useMemo((function(){return Wr({},"__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 Xr.exports.useCallback(pY.apply(void 0,t),t)}var vY=Xr.exports.forwardRef((function(e,t){var n=e.children,r=Br(e,Tn),o=Xr.exports.Children.toArray(n),i=o.find(yY);if(i){var a=i.props.children,u=o.map((function(e){return e===i?Xr.exports.Children.count(a)>1?Xr.exports.Children.only(null):Xr.exports.isValidElement(a)?a.props.children:null:e}));return Xr.exports.createElement(mY,lY({},r,{ref:t}),Xr.exports.isValidElement(a)?Xr.exports.cloneElement(a,void 0,u):null)}return Xr.exports.createElement(mY,lY({},r,{ref:t}),n)}));vY.displayName="Slot";var mY=Xr.exports.forwardRef((function(e,t){var n=e.children,r=Br(e,Pn);return Xr.exports.isValidElement(n)?Xr.exports.cloneElement(n,Gr(Gr({},function(e,t){var n=Gr({},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]=Gr(Gr({},o),i):"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))};for(var o in t)r(o);return Gr(Gr({},e),n)}(r,n.props)),{},{ref:pY(t,n.ref)})):Xr.exports.Children.count(n)>1?Xr.exports.Children.only(null):null}));mY.displayName="SlotClone";var gY=function(e){var t=e.children;return Xr.exports.createElement(Xr.exports.Fragment,null,t)};function yY(e){return Xr.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=Xr.exports.forwardRef((function(e,n){var r=e.asChild,o=Br(e,On),i=r?vY:t;return Xr.exports.useEffect((function(){window[Symbol.for("radix-ui")]=!0}),[]),Xr.exports.createElement(i,lY({},o,{ref:n}))}));return n.displayName="Primitive.".concat(t),Gr(Gr({},e),{},Wr({},t,n))}),{});var xY=Boolean(null==globalThis?void 0:globalThis.document)?Xr.exports.useLayoutEffect:function(){},wY=Vo["useId".toString()]||function(){},_Y=0;function EY(e){var t=Kr(Xr.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=Xr.exports.createContext(t);function r(e){var t=e.children,r=Br(e,Cn),o=Xr.exports.useMemo((function(){return r}),Object.values(r));return Xr.exports.createElement(n.Provider,{value:o},t)}return r.displayName=e+"Provider",[r,function(r){var o=Xr.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=Kr(SY,2),CY=kY[0],AY=kY[1],TY=Xr.exports.forwardRef((function(e,t){var n=e.htmlFor,r=e.id,o=Br(e,Rn),i=Xr.exports.useRef(null),a=Xr.exports.useRef(null),u=hY(t,a),s=EY(r);return Xr.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]),Xr.exports.createElement(CY,{id:s,controlRef:i},Xr.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 Xr.exports.useEffect((function(){e&&(n.current=e)}),[e,n]),t.id};hE(TY)(le||(le=zr(["\n font-size: ",";\n font-family: ",";\n color: ",";\n"])),Bq["--ll-font-size-p"],Bq["--ll-font-family"],Bq["--ll-color-placeholder"]),hE.div(ce||(ce=zr(["\n display: flex;\n flex-direction: column;\n"]))),hE.input(fe||(fe=zr(["\n all: unset;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ",";\n padding: 0 10px;\n height: 32px;\n line-height: 1;\n font-size: ",";\n font-family: ",";\n color: ",";\n background-color: ",";\n border: 1px solid ",";\n\n &:focus {\n box-shadow: ",";\n }\n"])),Bq["--ll-border-radius-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-shadow-small"]);var OY=pE(de||(de=zr(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]))),RY={small:16,medium:24,large:32},DY=hE.div(pe||(pe=zr(["\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=Z_(he||(he=zr(["\n ",";\n\n height: ",";\n"])),(function(e){e.color;return Z_(ve||(ve=zr(["\n color: ",";\n\n &:disabled {\n cursor: default;\n }\n "])),Bq["--ll-color-on-background"])}),NY),IY=Z_(me||(me=zr(["\n ",";\n height: ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t;return Z_(ge||(ge=zr(["\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=Z_(ye||(ye=zr(["\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 Z_(be||(be=zr(["\n border-color: ",";\n border-width: 1px;\n border-style: solid;\n color: ",";\n "])),MY[n].background,MY[n].background)}),NY),zY=hE.div(xe||(xe=zr(["\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=hE.button(we||(we=zr(["\n font-weight: ",";\n border-radius: ",";\n align-items: 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=Uo.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=Xr.exports.useRef(e);return Xr.exports.useEffect((function(){t.current=e})),Xr.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=Xr.exports.useState(t),o=Kr(r,1)[0],i=Xr.exports.useRef(o),a=HY(n);return Xr.exports.useEffect((function(){i.current!==o&&(a(o),i.current=o)}),[o,i,a]),r}({defaultProp:n,onChange:o}),a=Kr(i,2),u=a[0],s=a[1],l=void 0!==t,c=l?t:u,f=HY(o),d=Xr.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=Xr.exports.useRef({value:e,previous:e});return Xr.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=Kr(Xr.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";var WY="Switch",KY=Kr(cY(WY),2),XY=KY[0],ZY=(KY[1],Kr(XY(WY),2)),QY=ZY[0],$Y=ZY[1],JY=Xr.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=Br(e,Dn),p=Kr(Xr.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=Xr.exports.useRef(!1),x=!h||Boolean(h.closest("form")),w=Kr(qY({prop:i,defaultProp:a,onChange:f}),2),_=w[0],E=void 0!==_&&_,S=w[1];return Xr.exports.createElement(QY,{scope:n,checked:E,disabled:s},Xr.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&&Xr.exports.createElement(tG,{control:h,bubbles:!b.current,name:o,value:c,checked:E,required:u,disabled:s,style:{transform:"translateX(-100%)"}}))})),eG=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSwitch,r=Br(e,Ln),o=$Y("SwitchThumb",n);return Xr.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=Br(e,Mn),a=Xr.exports.useRef(null),u=YY(n),s=GY(t);return Xr.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]),Xr.exports.createElement("input",lY({type:"checkbox","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:a,style:Gr(Gr(Gr({},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=Kr(t,2),r=n[0],o=n[1];return Math.min(o,Math.max(r,e))}hE(JY)(_e||(_e=zr(["\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"]),hE(rG)(Ee||(Ee=zr(["\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=Xr.exports.createContext(void 0);function aG(e){var t=e+"CollectionProvider",n=Kr(cY(t),2),r=n[0],o=n[1],i=Kr(r(t,{collectionRef:{current:null},itemMap:new Map}),2),a=i[0],u=i[1],s=e+"CollectionSlot",l=Uo.forwardRef((function(e,t){var n=e.scope,r=e.children,o=hY(t,u(s,n).collectionRef);return Uo.createElement(vY,{ref:o},r)})),c=e+"CollectionItemSlot",f="data-radix-collection-item",d=Uo.forwardRef((function(e,t){var n,r=e.scope,o=e.children,i=Br(e,Nn),a=Uo.useRef(null),s=hY(t,a),l=u(c,r);return Uo.useEffect((function(){return l.itemMap.set(a,Gr({ref:a},i)),function(){l.itemMap.delete(a)}})),Uo.createElement(vY,(Wr(n={},f,""),Wr(n,"ref",s),n),o)}));return[{Provider:function(e){var t=e.scope,n=e.children,r=Uo.useRef(null),o=Uo.useRef(new Map).current;return Uo.createElement(a,{scope:t,itemMap:o,collectionRef:r},n)},Slot:l,ItemSlot:d},function(t){var n=u(e+"CollectionConsumer",t);return Uo.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=Kr(aG(cG),3),dG=fG[0],pG=fG[1],hG=fG[2],vG=Kr(cY(cG,[hG]),2),mG=vG[0],gG=(vG[1],Kr(mG(cG),2)),yG=gG[0],bG=gG[1],xG=Xr.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=Br(e,Fn),w=Kr(Xr.exports.useState(null),2),_=w[0],E=w[1],S=hY(t,(function(e){return E(e)})),k=Xr.exports.useRef(new Set),C=Xr.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=Hr(k.current)[C.current])||void 0===t||t.focus(),b(e)}}),R=Kr(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 Xr.exports.createElement(yG,{scope:e.__scopeSlider,disabled:d,min:o,max:a,valueIndexToChangeRef:C,thumbs:k.current,values:L,orientation:c},Xr.exports.createElement(dG.Provider,{scope:e.__scopeSlider},Xr.exports.createElement(dG.Slot,{scope:e.__scopeSlider},Xr.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,Hr(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 Xr.exports.createElement(LG,{key:t,name:n?n+(L.length>1?"[]":""):void 0,value:e})})))})),wG=Kr(mG(cG,{startEdge:"left",endEdge:"right",size:"width",direction:1}),2),_G=wG[0],EG=wG[1],SG=Xr.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=Br(e,In),l=Kr(Xr.exports.useState(null),2),c=l[0],f=l[1],d=hY(t,(function(e){return f(e)})),p=Xr.exports.useRef(),h=function(e){var t=Xr.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 Xr.exports.createElement(_G,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width"},Xr.exports.createElement(CG,lY({dir:h,"data-orientation":"horizontal"},s,{ref:d,style:Gr(Gr({},s.style),{},Wr({},"--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=Xr.exports.forwardRef((function(e,t){var n=e.min,r=e.max,o=e.onSlideStart,i=e.onSlideMove,a=e.onStepKeyDown,u=Br(e,jn),s=Xr.exports.useRef(null),l=hY(t,s),c=Xr.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 Xr.exports.createElement(_G,{scope:e.__scopeSlider,startEdge:"bottom",endEdge:"top",size:"height",direction:1},Xr.exports.createElement(CG,lY({"data-orientation":"vertical"},u,{ref:l,style:Gr(Gr({},u.style),{},Wr({},"--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=Xr.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=Br(e,zn),c=bG(cG,n);return Xr.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=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=Br(e,Bn),o=bG("SliderTrack",n);return Xr.exports.createElement(bY.span,lY({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))})),TG="SliderRange",PG=Xr.exports.forwardRef((function(e,t){var n,r=e.__scopeSlider,o=Br(e,Un),i=bG(TG,r),a=EG(TG,r),u=hY(t,Xr.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,Hr(l)):0,f=100-Math.max.apply(Math,Hr(l));return Xr.exports.createElement(bY.span,lY({"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0},o,{ref:u,style:Gr(Gr({},e.style),{},(n={},Wr(n,a.startEdge,c+"%"),Wr(n,a.endEdge,f+"%"),n))}))})),OG="SliderThumb",RG=Xr.exports.forwardRef((function(e,t){var n=pG(e.__scopeSlider),r=Kr(Xr.exports.useState(null),2),o=r[0],i=r[1],a=hY(t,(function(e){return i(e)})),u=Xr.exports.useMemo((function(){return o?n().findIndex((function(e){return e.ref.current===o})):-1}),[n,o]);return Xr.exports.createElement(DG,lY({},e,{ref:a,index:u}))})),DG=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=e.index,o=Br(e,Vn),i=bG(OG,n),a=EG(OG,n),u=Kr(Xr.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 Xr.exports.useEffect((function(){if(s)return i.thumbs.add(s),function(){i.thumbs.delete(s)}}),[s,i.thumbs]),Xr.exports.createElement("span",{style:Wr({transform:"var(--radix-slider-thumb-transform)",position:"absolute"},a.startEdge,"calc(".concat(p,"% + ").concat(m,"px)"))},Xr.exports.createElement(dG.ItemSlot,{scope:e.__scopeSlider},Xr.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=Br(e,Hn),r=Xr.exports.useRef(null),o=YY(t);return Xr.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]),Xr.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=Hr(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,Hr(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;hE.div(Se||(Se=zr([""]))),hE.div(ke||(ke=zr(["\n display: flex;\n align-items: center;\n"]))),hE(jG)(Ce||(Ce=zr(["\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"]))),hE(UG)(Ae||(Ae=zr(["\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"]),hE(zG)(Te||(Te=zr(["\n height: 4px;\n border-radius: 2px;\n background-color: ",";\n position: relative;\n flex: 1;\n"])),Bq["--ll-color-surface-variant1"]),hE(BG)(Pe||(Pe=zr(["\n height: 100%;\n position: absolute;\n background-color: ",";\n border-radius: 2px;\n"])),Bq["--ll-color-primary"]);var VG=hE.div(Oe||(Oe=zr(["\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=Xr.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),XG=Xr.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=Br(e,qn),c=Xr.exports.useContext(KG),f=Kr(Xr.exports.useState(null),2),d=f[0],p=f[1],h=Kr(Xr.exports.useState({}),2)[1],v=hY(t,(function(e){return p(e)})),m=Array.from(c.layers),g=Kr(Hr(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=Xr.exports.useRef(!1),r=Xr.exports.useRef((function(){}));return Xr.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=Hr(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=Xr.exports.useRef(!1);return Xr.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;Hr(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);Xr.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()))})),Xr.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]),Xr.exports.useEffect((function(){return function(){!d||(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),ZG())}}),[d,c]),Xr.exports.useEffect((function(){var e=function(){return h({})};return document.addEventListener(YG,e),function(){return document.removeEventListener(YG,e)}}),[]),Xr.exports.createElement(bY.div,lY({},l,{ref:v,style:Gr({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&&qo.exports.flushSync((function(){return e.dispatchEvent(t)}))}(i,a):i.dispatchEvent(a)}var $G=0;function JG(){Xr.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=Xr.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=Br(e,Yn),l=Kr(Xr.exports.useState(null),2),c=l[0],f=l[1],d=HY(a),p=HY(u),h=Xr.exports.useRef(null),v=hY(t,(function(e){return f(e)})),m=Xr.exports.useRef({paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}}).current;Xr.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]),Xr.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=co(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=Xr.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=Kr(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 Xr.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=co(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=Hr(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=jr(Fr().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 Fr().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=Gr(Gr({},g),{},Wr({},w,Gr(Gr({},g[w]),C))),!(A&&y<=50)){e.next=49;break}if(y++,e.t0="object"==lo(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 Gr({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function bW(e){return Gr(Gr({},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=jr(Fr().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 Fr().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?Gr(Gr({},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 jr(Fr().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 Fr().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",(Wr(o={},m,v[m]-R),Wr(o,"data",(Wr(r={},m,O),Wr(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 jr(Fr().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 Fr().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=Br(c,Gn),w=dW(o),_=v||(w!==u&&b?DW(u):[AW(u)]),E=[u].concat(Hr(_)),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(Hr(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=Br(t,Wn);return{name:"hide",fn:function(e){return jr(Fr().mark((function t(){var n,i,a,u,s;return Fr().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,Gr(Gr({},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,Gr(Gr({},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=jr(Fr().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m;return Fr().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}:Gr({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 jr(Fr().mark((function n(){var r,o,i;return Fr().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 jr(Fr().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 Fr().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=Br(u,Kn),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(Gr(Gr({},t),{},(Wr(r={},g,b),Wr(r,y,x),r))),n.abrupt("return",Gr(Gr({},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(Gr(Gr({},a),{},{placement:i})):c,w="number"==typeof x?{mainAxis:x,crossAxis:0}:Gr({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 Wr(n={},m,y),Wr(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":lo(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(Hr("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 Gr(Gr({},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:Gr(Gr({},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(Hr(XW(e)?hK(e):[]),Hr(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":lo(document))<"u"?Xr.exports.useLayoutEffect:Xr.exports.useEffect;function xK(e,t){if(e===t)return!0;if(lo(e)!=lo(t))return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;var n,r,o;if(e&&t&&"object"==lo(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=Xr.exports.useRef(null),l=Xr.exports.useRef(null),c=function(e){var t=Xr.exports.useRef(e);return bK((function(){t.current=e})),t}(u),f=Xr.exports.useRef(null),d=Kr(Xr.exports.useState({x:null,y:null,strategy:a,placement:o,middlewareData:{}}),2),p=d[0],h=d[1],v=Kr(Xr.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=Xr.exports.useCallback((function(){!s.current||!l.current||function(e,t,n){return gW(e,t,Gr({platform:gK},n))}(s.current,l.current,{middleware:m,placement:o,strategy:a}).then((function(e){b.current&&qo.exports.flushSync((function(){h(e)}))}))}),[m,o,a]);bK((function(){b.current&&y()}),[y]);var b=Xr.exports.useRef(!1);bK((function(){return b.current=!0,function(){b.current=!1}}),[]);var x=Xr.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=Xr.exports.useCallback((function(e){s.current=e,x()}),[x]),_=Xr.exports.useCallback((function(e){l.current=e,x()}),[x]),E=Xr.exports.useMemo((function(){return{reference:s,floating:l}}),[]);return Xr.exports.useMemo((function(){return Gr(Gr({},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=Xr.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=Br(e,Xn);return Xr.exports.createElement(bY.svg,lY({},u,{ref:t,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:Xr.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))})),SK=EK,kK="Popper",CK=Kr(cY(kK),2),AK=CK[0],TK=CK[1],PK=Kr(AK(kK),2),OK=(PK[0],PK[1]),RK=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopper,r=e.virtualRef,o=Br(e,Zn),i=OK("PopperAnchor",n),a=Xr.exports.useRef(null),u=hY(t,a);return Xr.exports.useEffect((function(){i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:Xr.exports.createElement(bY.div,lY({},o,{ref:u}))})),DK="PopperContent",LK=Kr(AK(DK),2),MK=LK[0],NK=LK[1],FK=Kr(AK(DK,{hasParent:!1,positionUpdateFns:new Set}),2),IK=FK[0],jK=FK[1],zK=Xr.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=Br(e,Qn),D=OK(DK,c),L=Kr(Xr.exports.useState(null),2),M=L[0],N=L[1],F=hY(t,(function(e){return N(e)})),I=Kr(Xr.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:Gr({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(Gr({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?VW():void 0},W)):void 0,j?_K({element:j,padding:x}):void 0,O?LW(Gr({},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=Kr(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=Kr(Xr.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;Xr.exports.useLayoutEffect((function(){if(!me)return ve.add(ne),function(){ve.delete(ne)}}),[me,ve,ne]),Xr.exports.useLayoutEffect((function(){me&&re&&Array.from(ve).reverse().forEach((function(e){return requestAnimationFrame(e)}))}),[me,re,ve]);var ge=Gr(Gr({"data-side":ie,"data-align":ae},R),{},{ref:F,style:Gr(Gr({},R.style),{},{animation:re?void 0:"none",opacity:null!==(u=te.hide)&&void 0!==u&&u.referenceHidden?0:void 0})});return Xr.exports.createElement("div",{ref:Z,"data-radix-popper-content-wrapper":"",style:Wr({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(" "))},Xr.exports.createElement(MK,{scope:c,placedSide:ie,onArrowChange:z,arrowX:ue,arrowY:se,shouldHideArrow:le},me?Xr.exports.createElement(IK,{scope:c,hasParent:!0,positionUpdateFns:ve},Xr.exports.createElement(bY.div,ge)):Xr.exports.createElement(bY.div,ge)))})),BK={top:"bottom",right:"left",bottom:"top",left:"right"},UK=Xr.exports.forwardRef((function(e,t){var n,r=e.__scopePopper,o=Br(e,$n),i=NK("PopperArrow",r),a=BK[i.placedSide];return Xr.exports.createElement("span",{ref:i.onArrowChange,style:(n={position:"absolute",left:i.arrowX,top:i.arrowY},Wr(n,a,0),Wr(n,"transformOrigin",{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide]),Wr(n,"transform",{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide]),Wr(n,"visibility",i.shouldHideArrow?"hidden":void 0),n)},Xr.exports.createElement(SK,lY({},o,{ref:t,style:Gr(Gr({},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=Kr(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=Kr(e.split("-"),2),n=t[0],r=t[1];return[n,void 0===r?"center":r]}var GK=RK,WK=zK,KK=UK,XK=Xr.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=Br(e,Jn);return o?Xv.createPortal(Xr.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=Kr(Xr.exports.useState(),2),n=t[0],r=t[1],o=Xr.exports.useRef({}),i=Xr.exports.useRef(e),a=Xr.exports.useRef("none"),u=Kr(function(e,t){return Xr.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 Xr.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&&qo.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:Xr.exports.useCallback((function(e){e&&(o.current=getComputedStyle(e)),r(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):Xr.exports.Children.only(n),i=hY(r.ref,o.ref);return"function"==typeof n||r.isPresent?Xr.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":lo(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=Xr.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,Gr({},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=Xr.exports.forwardRef((function(e,t){var n=Xr.exports.useRef(null),r=Xr.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?Xr.exports.cloneElement(Xr.exports.Children.only(u),rX(rX({},w),{ref:x})):Qq(g,Gr(Gr({},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":lo(__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){Xr.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":lo(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=Xr.exports.useMemo((function(){return yX(o)}),[o]);return Qq(bX,{styles:xX(i,!t,o,n?"":"!important")})},_X=!1;if(("undefined"==typeof window?"undefined":lo(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":lo(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=Xr.exports.useRef([]),n=Xr.exports.useRef([0,0]),r=Xr.exports.useRef(),o=Xr.exports.useState(DX++)[0],i=Xr.exports.useState((function(){return vX()}))[0],a=Xr.exports.useRef(e);Xr.exports.useEffect((function(){a.current=e}),[e]),Xr.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=Xr.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=Xr.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=Xr.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=Xr.exports.useCallback((function(e){n.current=TX(e),r.current=void 0}),[]),f=Xr.exports.useCallback((function(t){l(t.type,PX(t),t.target,u(t,e.lockRef.current))}),[]),d=Xr.exports.useCallback((function(t){l(t.type,TX(t),t.target,u(t,e.lockRef.current))}),[]);Xr.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=Xr.exports.forwardRef((function(e,t){return Qq(dX,Gr({},rX({},e,{ref:t,sideCar:MX})))}));NX.classNames=dX.classNames;var FX=NX,IX="Popover",jX=Kr(cY(IX,[TK]),2),zX=jX[0],BX=(jX[1],TK()),UX=Kr(zX(IX),2),VX=(UX[0],UX[1]),HX=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=Br(e,er),o=VX("PopoverTrigger",n),i=BX(n),a=hY(t,o.triggerRef),u=Xr.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:Xr.exports.createElement(GK,lY({asChild:!0},i),u)})),qX=Kr(zX("PopoverPortal",{forceMount:void 0}),2),YX=(qX[0],qX[1]),GX="PopoverContent",WX=Xr.exports.forwardRef((function(e,t){var n=YX(GX,e.__scopePopover),r=e.forceMount,o=void 0===r?n.forceMount:r,i=Br(e,tr),a=VX(GX,e.__scopePopover);return Xr.exports.createElement(ZK,{present:o||a.open},a.modal?Xr.exports.createElement(KX,lY({},i,{ref:t})):Xr.exports.createElement(XX,lY({},i,{ref:t})))})),KX=Xr.exports.forwardRef((function(e,t){var n=VX(GX,e.__scopePopover),r=Xr.exports.useRef(null),o=hY(t,r),i=Xr.exports.useRef(!1);return Xr.exports.useEffect((function(){var e=r.current;if(e)return nX(e)}),[]),Xr.exports.createElement(FX,{as:vY,allowPinchZoom:!0},Xr.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=Xr.exports.forwardRef((function(e,t){var n=VX(GX,e.__scopePopover),r=Xr.exports.useRef(!1);return Xr.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=Xr.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=Br(e,nr),d=VX(GX,n),p=BX(n);return JG(),Xr.exports.createElement(oW,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},Xr.exports.createElement(XG,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:l,onDismiss:function(){return d.onOpenChange(!1)}},Xr.exports.createElement(WK,lY({"data-state":$X(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:Gr(Gr({},f.style),{},Wr({},"--radix-popover-content-transform-origin","var(--radix-popper-transform-origin)"))}))))})),QX=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=Br(e,rr),o=BX(n);return Xr.exports.createElement(KK,lY({},o,r,{ref:t}))}));function $X(e){return e?"open":"closed"}var JX=WX,eZ=QX;hE(HX)(Re||(Re=zr(["\n background: none;\n border: none;\n padding: 0;\n"]))),hE(JX)(De||(De=zr(["\n border-radius: ",";\n box-shadow: ",";\n padding: ",";\n"])),Bq["--ll-border-radius-small"],Bq["--ll-shadow-small"],Bq["--ll-spacing-medium"]),hE(eZ)(Le||(Le=zr(["\n fill: ",";\n"])),Bq["--ll-color-background"]);var tZ={primary:{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};hE.button(Me||(Me=zr(["\n ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t,r=e.size,o=void 0===r?"medium":r;return Z_(Ne||(Ne=zr(["\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\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=pE(Ie||(Ie=zr(["\n from {\n background-position: -800px 0;\n }\n\n to {\n background-position: 800px 0;\n }\n"])));hE.div(je||(je=zr(["\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 Z_(Fe||(Fe=zr(["\n height: ",";\n width: ",";\n "])),t,n)})),hE.div(ze||(ze=zr(["\n flex: 1;\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),hE.div(Be||(Be=zr(["\n display: flex;\n flex-direction: column;\n align-items: center;\n"])));var oZ=Xr.exports.forwardRef((function(e,t){return Xr.exports.createElement(bY.span,lY({},e,{ref:t,style:Gr({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=Kr(aG(uZ),3),lZ=sZ[0],cZ=sZ[1],fZ=Kr(cY(uZ,[sZ[2]]),2),dZ=fZ[0],pZ=(fZ[1],Kr(dZ(uZ),2)),hZ=(pZ[0],pZ[1]);dZ(uZ);var vZ=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.disabled,o=void 0!==r&&r,i=e["aria-labelledby"],a=Br(e,or),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=Kr(d,3),h=p[0],v=p[1],m=p[2],g=function(){o||(u.onOpenChange(!0),m())};return Xr.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=Xr.exports.forwardRef((function(e,t){e.__scopeSelect;var n=e.children,r=Br(e,ir);return Xr.exports.createElement(bY.span,lY({"aria-hidden":!0},r,{ref:t}),n||"▼")})),gZ="SelectContent",yZ=Xr.exports.forwardRef((function(e,t){var n=hZ(gZ,e.__scopeSelect),r=Kr(Xr.exports.useState(),2),o=r[0],i=r[1];return xY((function(){i(new DocumentFragment)}),[]),Xr.exports.createElement(Xr.exports.Fragment,null,n.open?Xr.exports.createElement(EZ,lY({},e,{ref:t})):o?qo.exports.createPortal(Xr.exports.createElement(wZ,{scope:e.__scopeSelect},Xr.exports.createElement(lZ.Slot,{scope:e.__scopeSelect},Xr.exports.createElement("div",null,e.children))),o):null)})),bZ=10,xZ=Kr(dZ(gZ),2),wZ=xZ[0],_Z=xZ[1],EZ=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.onCloseAutoFocus,o=Br(e,ar),i=hZ(gZ,n),a=Kr(Xr.exports.useState(null),2),u=a[0],s=a[1],l=Kr(Xr.exports.useState(null),2),c=l[0],f=l[1],d=Kr(Xr.exports.useState(null),2),p=d[0],h=d[1],v=hY(t,(function(e){return f(e)})),m=Kr(Xr.exports.useState(null),2),g=m[0],y=m[1],b=Kr(Xr.exports.useState(null),2),x=b[0],w=b[1],_=cZ(n),E=Kr(Xr.exports.useState(!1),2),S=E[0],k=E[1],C=Xr.exports.useRef(!0),A=Xr.exports.useRef(!1),T=Xr.exports.useRef(!1);Xr.exports.useEffect((function(){if(c)return nX(c)}),[c]),JG();var P=Kr(Xr.exports.useState(),2),O=P[0],R=P[1];xY((function(){c&&R(window.getComputedStyle(c).zIndex)}),[c]);var D=Xr.exports.useCallback((function(e){var t,n=_().map((function(e){return e.ref.current})),r=Nr(n),o=r[0],i=Kr(r.slice(1).slice(-1),1)[0],a=document.activeElement,u=co(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=Xr.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=Xr.exports.useCallback((function(){return D([g,c])}),[D,g,c]);Xr.exports.useEffect((function(){S&&M()}),[S,M]);var N=Xr.exports.useCallback((function(e){e&&!0===C.current&&(L(),M(),C.current=!1)}),[L,M]),F=i.onOpenChange,I=i.triggerPointerDownPosRef;Xr.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]),Xr.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=Kr(j,2),B=z[0],U=z[1],V=Xr.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=Xr.exports.useCallback((function(){return null==c?void 0:c.focus()}),[c]),q=Xr.exports.useCallback((function(e,t,n){var r=!T.current&&!n;(void 0!==i.value&&i.value===t||r)&&w(e)}),[i.value]);return Xr.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},Xr.exports.createElement(FX,{as:vY,allowPinchZoom:!0},Xr.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:O}},Xr.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()}))},Xr.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:Gr({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=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=Br(e,ur),o=_Z("SelectViewport",n),i=hY(t,o.onViewportChange),a=Xr.exports.useRef(0);return Xr.exports.createElement(Xr.exports.Fragment,null,Xr.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}"}}),Xr.exports.createElement(lZ.Slot,{scope:n},Xr.exports.createElement(bY.div,lY({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:Gr({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=Kr(dZ(kZ),2),AZ=CZ[0],TZ=CZ[1],PZ=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.value,o=e.disabled,i=void 0!==o&&o,a=e.textValue,u=Br(e,sr),s=hZ(kZ,n),l=_Z(kZ,n),c=s.value===r,f=Kr(Xr.exports.useState(null!=a?a:""),2),d=f[0],p=f[1],h=Kr(Xr.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 Xr.exports.createElement(AZ,{scope:n,value:r,disabled:i,textId:y,isSelected:c,onItemTextChange:Xr.exports.useCallback((function(e){p((function(t){var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()}))}),[])},Xr.exports.createElement(lZ.ItemSlot,{scope:n,value:r,disabled:i,textValue:d},Xr.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=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=Br(e,lr);return TZ("SelectItemIndicator",n).isSelected?Xr.exports.createElement(bY.span,lY({"aria-hidden":!0},r,{ref:t})):null})),RZ=Xr.exports.forwardRef((function(e,t){var n=e.value,r=Br(e,cr),o=Xr.exports.useRef(null),i=hY(t,o),a=YY(n);return Xr.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]),Xr.exports.createElement(oZ,{asChild:!0},Xr.exports.createElement("select",lY({},r,{ref:i,defaultValue:n})))}));function DZ(e){var t=HY(e),n=Xr.exports.useRef(""),r=Xr.exports.useRef(0),o=Xr.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=Xr.exports.useCallback((function(){n.current="",window.clearTimeout(r.current)}),[]);return Xr.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 Xr.exports.createElement(XK,lY({asChild:!0},e))},NZ=yZ,FZ=SZ,IZ=PZ,jZ=OZ;hE(vZ)(Ue||(Ue=zr(["\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"]})),hE(mZ)(Ve||(Ve=zr(["\n margin-left: ",";\n"])),Bq["--ll-spacing-x-small"]),hE(NZ)(He||(He=zr(["\n overflow: hidden;\n background-color: ",";\n border-radius: ",";\n box-shadow: ",";\n min-width: 120px;\n z-index: 1;\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"]})),hE(IZ)(qe||(qe=zr(["\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"]),hE(jZ)(Ye||(Ye=zr(["\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"]),hE(FZ)(Ge||(Ge=zr(["\n font-size: inherit;\n padding: ",";\n"])),Bq["--ll-spacing-base-unit"]),hE(MZ)(We||(We=zr(["\n z-index: 1;\n"])));var zZ=Uo.createContext({}),BZ=Ir("h",(function(){return Xr.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(B_,{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=Uo.createContext({}),HZ=function(){return Xr.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=Xr.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=Xr.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=Xr.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=Xr.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=Xr.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=Xr.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:Xr.exports.useMemo((function(){return null==u?void 0:u.name}),[u]),cityScoreVal:l,neighbourhoodName:Xr.exports.useMemo((function(){return null==s?void 0:s.name}),[s]),neighbourhoodScoreVal:c}},GZ=hE.div(Ze||(Ze=zr(["\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?Z_(Ke||(Ke=zr(["\n height: 16px;\n padding: 0 ",";\n font-size: ",";\n "])),Bq["--ll-spacing-xx-small"],Bq["--ll-font-size-caption-2"]):Z_(Xe||(Xe=zr(["\n height: 32px;\n width: 32px;\n font-size: ",";\n "])),Bq["--ll-font-size-p"])}(e.variant)})),WZ=hE.div(Qe||(Qe=zr(["\n z-index: 1;\n"]))),KZ=function(e){return"object"==lo(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,Wr({},t,{})),XZ(e[t],o[t])):Object.assign(e,Wr({},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=Xr.exports.useMemo((function(){return XZ.apply(void 0,[{}].concat(Hr(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,Gr(Gr({},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 Lx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("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"}),Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Lx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("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"}),Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Lx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("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"}),Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Lx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("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"}),Dx("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"}),Dx("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"}),Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Lx("svg",Gr(Gr({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("path",{d:"M9.16671 7.5H7.50004V10H9.16671V7.5Z"}),Dx("path",{d:"M12.5 7.5H10.8334V10H12.5V7.5Z"})]}))},high_schools:lQ,primary_schools:cQ,daycares:uQ},dQ=(Ir("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=hE.div($e||($e=zr(["\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=hE.div(Je||(Je=zr(["\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=hE(Sq.div)(et||(et=zr(["\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"]);hE.div(tt||(tt=zr(["\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"])})),hE.div(nt||(nt=zr(["\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=hE.div(rt||(rt=zr(["\n display: flex;\n max-width: ","px;\n"])),(function(e){return e.maxWidth})),bQ=hE(aY)(ot||(ot=zr(["\n margin-right: 4px;\n"]))),xQ=hE.span(it||(it=zr(["\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 Xr.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=Xr.exports.createContext(r),i=n.length;function a(t){var n=t.scope,r=t.children,a=Br(t,fr),u=(null==n?void 0:n[e][i])||o,s=Xr.exports.useMemo((function(){return a}),Object.values(a));return Xr.exports.createElement(u.Provider,{value:s},r)}return n=[].concat(Hr(n),[r]),a.displayName=t+"Provider",[a,function(n,a){var u=(null==a?void 0:a[e][i])||o,s=Xr.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 Xr.exports.createContext(e)}));return function(n){var r=(null==n?void 0:n[e])||t;return Xr.exports.useMemo((function(){return Wr({},"__scope".concat(e),Gr(Gr({},n),{},Wr({},e,r)))}),[n,r])}};return o.scopeName=e,[r,AQ.apply(void 0,[o].concat(Hr(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 Gr(Gr({},e),i)}),{});return Xr.exports.useMemo((function(){return Wr({},"__scope".concat(r.scopeName),n)}),[n])}};return o.scopeName=r.scopeName,o}var TQ=Xr.exports.forwardRef((function(e,t){var n=e.children,r=Br(e,dr),o=Xr.exports.Children.toArray(n),i=o.find(RQ);if(i){var a=i.props.children,u=o.map((function(e){return e===i?Xr.exports.Children.count(a)>1?Xr.exports.Children.only(null):Xr.exports.isValidElement(a)?a.props.children:null:e}));return Xr.exports.createElement(PQ,wQ({},r,{ref:t}),Xr.exports.isValidElement(a)?Xr.exports.cloneElement(a,void 0,u):null)}return Xr.exports.createElement(PQ,wQ({},r,{ref:t}),n)}));TQ.displayName="Slot";var PQ=Xr.exports.forwardRef((function(e,t){var n=e.children,r=Br(e,pr);return Xr.exports.isValidElement(n)?Xr.exports.cloneElement(n,Gr(Gr({},function(e,t){var n=Gr({},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]=Gr(Gr({},o),i):"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))};for(var o in t)r(o);return Gr(Gr({},e),n)}(r,n.props)),{},{ref:SQ(t,n.ref)})):Xr.exports.Children.count(n)>1?Xr.exports.Children.only(null):null}));PQ.displayName="SlotClone";var OQ=function(e){var t=e.children;return Xr.exports.createElement(Xr.exports.Fragment,null,t)};function RQ(e){return Xr.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=Xr.exports.forwardRef((function(e,n){var r=e.asChild,o=Br(e,hr),i=r?TQ:t;return Xr.exports.useEffect((function(){window[Symbol.for("radix-ui")]=!0}),[]),Xr.exports.createElement(i,wQ({},o,{ref:n}))}));return n.displayName="Primitive.".concat(t),Gr(Gr({},e),{},Wr({},t,n))}),{});function LQ(e){var t=Xr.exports.useRef(e);return Xr.exports.useEffect((function(){t.current=e})),Xr.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=Xr.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),zQ=Xr.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=Br(e,vr),c=Xr.exports.useContext(jQ),f=Kr(Xr.exports.useState(null),2),d=f[0],p=f[1],h=Kr(Xr.exports.useState({}),2)[1],v=kQ(t,(function(e){return p(e)})),m=Array.from(c.layers),g=Kr(Hr(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=Xr.exports.useRef(!1),r=Xr.exports.useRef((function(){}));return Xr.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=Hr(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=Xr.exports.useRef(!1);return Xr.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;Hr(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);Xr.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()))})),Xr.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]),Xr.exports.useEffect((function(){return function(){!d||(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),BQ())}}),[d,c]),Xr.exports.useEffect((function(){var e=function(){return h({})};return document.addEventListener(NQ,e),function(){return document.removeEventListener(NQ,e)}}),[]),Xr.exports.createElement(DQ.div,wQ({},l,{ref:v,style:Gr({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&&qo.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=Xr.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=Br(e,mr),l=Kr(Xr.exports.useState(null),2),c=l[0],f=l[1],d=LQ(a),p=LQ(u),h=Xr.exports.useRef(null),v=kQ(t,(function(e){return f(e)})),m=Xr.exports.useRef({paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}}).current;Xr.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]),Xr.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=co(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=Xr.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=Kr(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 Xr.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=co(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=Hr(e),r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}var t$=Boolean(null==globalThis?void 0:globalThis.document)?Xr.exports.useLayoutEffect:function(){},n$=Vo["useId".toString()]||function(){},r$=0;function o$(e){var t=Kr(Xr.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=jr(Fr().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 Fr().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=Gr(Gr({},g),{},Wr({},w,Gr(Gr({},g[w]),C))),!(A&&y<=50)){e.next=49;break}if(y++,e.t0="object"==lo(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 Gr({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function d$(e){return Gr(Gr({},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$=jr(Fr().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 Fr().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?Gr(Gr({},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 jr(Fr().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 Fr().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",(Wr(o={},m,v[m]-R),Wr(o,"data",(Wr(r={},m,O),Wr(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 jr(Fr().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 Fr().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=Br(c,gr),w=i$(o),_=v||(w!==u&&b?k$(u):[x$(u)]),E=[u].concat(Hr(_)),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(Hr(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=Br(t,yr);return{name:"hide",fn:function(e){return jr(Fr().mark((function t(){var n,i,a,u,s;return Fr().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,Gr(Gr({},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,Gr(Gr({},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$=jr(Fr().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m;return Fr().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}:Gr({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 jr(Fr().mark((function n(){var r,o,i;return Fr().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 jr(Fr().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 Fr().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=Br(u,br),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(Gr(Gr({},t),{},(Wr(r={},g,b),Wr(r,y,x),r))),n.abrupt("return",Gr(Gr({},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(Gr(Gr({},a),{},{placement:i})):c,w="number"==typeof x?{mainAxis:x,crossAxis:0}:Gr({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 Wr(n={},m,y),Wr(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":lo(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(Hr("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 Gr(Gr({},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:Gr(Gr({},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(Hr(V$(e)?uJ(e):[]),Hr(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":lo(document))<"u"?Xr.exports.useLayoutEffect:Xr.exports.useEffect;function pJ(e,t){if(e===t)return!0;if(lo(e)!=lo(t))return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;var n,r,o;if(e&&t&&"object"==lo(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=Xr.exports.useRef(null),l=Xr.exports.useRef(null),c=function(e){var t=Xr.exports.useRef(e);return dJ((function(){t.current=e})),t}(u),f=Xr.exports.useRef(null),d=Kr(Xr.exports.useState({x:null,y:null,strategy:a,placement:o,middlewareData:{}}),2),p=d[0],h=d[1],v=Kr(Xr.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=Xr.exports.useCallback((function(){!s.current||!l.current||function(e,t,n){return c$(e,t,Gr({platform:cJ},n))}(s.current,l.current,{middleware:m,placement:o,strategy:a}).then((function(e){b.current&&qo.exports.flushSync((function(){h(e)}))}))}),[m,o,a]);dJ((function(){b.current&&y()}),[y]);var b=Xr.exports.useRef(!1);dJ((function(){return b.current=!0,function(){b.current=!1}}),[]);var x=Xr.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=Xr.exports.useCallback((function(e){s.current=e,x()}),[x]),_=Xr.exports.useCallback((function(e){l.current=e,x()}),[x]),E=Xr.exports.useMemo((function(){return{reference:s,floating:l}}),[]);return Xr.exports.useMemo((function(){return Gr(Gr({},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=Xr.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=Br(e,xr);return Xr.exports.createElement(DQ.svg,wQ({},u,{ref:t,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:Xr.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))})),gJ=mJ;var yJ="Popper",bJ=Kr(CQ(yJ),2),xJ=bJ[0],wJ=bJ[1],_J=Kr(xJ(yJ),2),EJ=_J[0],SJ=_J[1],kJ=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopper,r=e.virtualRef,o=Br(e,wr),i=SJ("PopperAnchor",n),a=Xr.exports.useRef(null),u=kQ(t,a);return Xr.exports.useEffect((function(){i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:Xr.exports.createElement(DQ.div,wQ({},o,{ref:u}))})),CJ="PopperContent",AJ=Kr(xJ(CJ),2),TJ=AJ[0],PJ=AJ[1],OJ=Kr(xJ(CJ,{hasParent:!1,positionUpdateFns:new Set}),2),RJ=OJ[0],DJ=OJ[1],LJ=Xr.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=Br(e,_r),D=SJ(CJ,c),L=Kr(Xr.exports.useState(null),2),M=L[0],N=L[1],F=kQ(t,(function(e){return N(e)})),I=Kr(Xr.exports.useState(null),2),j=I[0],z=I[1],B=function(e){var t=Kr(Xr.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:Gr({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$(Gr({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?N$():void 0},W)):void 0,j?vJ({element:j,padding:x}):void 0,O?C$(Gr({},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=Kr(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=Kr(Xr.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;Xr.exports.useLayoutEffect((function(){if(!me)return ve.add(ne),function(){ve.delete(ne)}}),[me,ve,ne]),Xr.exports.useLayoutEffect((function(){me&&re&&Array.from(ve).reverse().forEach((function(e){return requestAnimationFrame(e)}))}),[me,re,ve]);var ge=Gr(Gr({"data-side":ie,"data-align":ae},R),{},{ref:F,style:Gr(Gr({},R.style),{},{animation:re?void 0:"none",opacity:null!==(u=te.hide)&&void 0!==u&&u.referenceHidden?0:void 0})});return Xr.exports.createElement("div",{ref:Z,"data-radix-popper-content-wrapper":"",style:Wr({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(" "))},Xr.exports.createElement(TJ,{scope:c,placedSide:ie,onArrowChange:z,arrowX:ue,arrowY:se,shouldHideArrow:le},me?Xr.exports.createElement(RJ,{scope:c,hasParent:!0,positionUpdateFns:ve},Xr.exports.createElement(DQ.div,ge)):Xr.exports.createElement(DQ.div,ge)))})),MJ={top:"bottom",right:"left",bottom:"top",left:"right"},NJ=Xr.exports.forwardRef((function(e,t){var n,r=e.__scopePopper,o=Br(e,Er),i=PJ("PopperArrow",r),a=MJ[i.placedSide];return Xr.exports.createElement("span",{ref:i.onArrowChange,style:(n={position:"absolute",left:i.arrowX,top:i.arrowY},Wr(n,a,0),Wr(n,"transformOrigin",{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide]),Wr(n,"transform",{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide]),Wr(n,"visibility",i.shouldHideArrow?"hidden":void 0),n)},Xr.exports.createElement(gJ,wQ({},o,{ref:t,style:Gr(Gr({},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=Kr(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=Kr(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=Kr(Xr.exports.useState(null),2),o=r[0],i=r[1];return Xr.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=Kr(Xr.exports.useState(),2),n=t[0],r=t[1],o=Xr.exports.useRef({}),i=Xr.exports.useRef(e),a=Xr.exports.useRef("none"),u=Kr(function(e,t){return Xr.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 Xr.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&&qo.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:Xr.exports.useCallback((function(e){e&&(o.current=getComputedStyle(e)),r(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):Xr.exports.Children.only(n),i=kQ(r.ref,o.ref);return"function"==typeof n||r.isPresent?Xr.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=Xr.exports.useState(t),o=Kr(r,1)[0],i=Xr.exports.useRef(o),a=LQ(n);return Xr.exports.useEffect((function(){i.current!==o&&(a(o),i.current=o)}),[o,i,a]),r}({defaultProp:n,onChange:o}),a=Kr(i,2),u=a[0],s=a[1],l=void 0!==t,c=l?t:u,f=LQ(o),d=Xr.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":lo(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=Xr.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,Gr({},$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=Xr.exports.forwardRef((function(e,t){var n=Xr.exports.useRef(null),r=Xr.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?Xr.exports.cloneElement(Xr.exports.Children.only(u),$J($J({},w),{ref:x})):Pq(g,Gr(Gr({},$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":lo(__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){Xr.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":lo(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=Xr.exports.useMemo((function(){return p0(o)}),[o]);return Pq(h0,{styles:v0(i,!t,o,n?"":"!important")})},g0=!1;if(("undefined"==typeof window?"undefined":lo(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":lo(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=Xr.exports.useRef([]),n=Xr.exports.useRef([0,0]),r=Xr.exports.useRef(),o=Xr.exports.useState(A0++)[0],i=Xr.exports.useState((function(){return c0()}))[0],a=Xr.exports.useRef(e);Xr.exports.useEffect((function(){a.current=e}),[e]),Xr.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=Xr.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=Xr.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=Xr.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=Xr.exports.useCallback((function(e){n.current=E0(e),r.current=void 0}),[]),f=Xr.exports.useCallback((function(t){l(t.type,S0(t),t.target,u(t,e.lockRef.current))}),[]),d=Xr.exports.useCallback((function(t){l(t.type,E0(t),t.target,u(t,e.lockRef.current))}),[]);Xr.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=Xr.exports.forwardRef((function(e,t){return Pq(u0,Gr({},$J({},e,{ref:t,sideCar:P0})))}));O0.classNames=u0.classNames;var R0=O0,D0="Popover",L0=Kr(CQ(D0,[wJ]),2),M0=L0[0],N0=(L0[1],wJ()),F0=Kr(M0(D0),2),I0=F0[0],j0=F0[1],z0=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=Br(e,Sr),o=j0("PopoverTrigger",n),i=N0(n),a=kQ(t,o.triggerRef),u=Xr.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:Xr.exports.createElement(UJ,wQ({asChild:!0},i),u)})),B0=Kr(M0("PopoverPortal",{forceMount:void 0}),2),U0=(B0[0],B0[1]),V0="PopoverContent",H0=Xr.exports.forwardRef((function(e,t){var n=U0(V0,e.__scopePopover),r=e.forceMount,o=void 0===r?n.forceMount:r,i=Br(e,kr),a=j0(V0,e.__scopePopover);return Xr.exports.createElement(qJ,{present:o||a.open},a.modal?Xr.exports.createElement(q0,wQ({},i,{ref:t})):Xr.exports.createElement(Y0,wQ({},i,{ref:t})))})),q0=Xr.exports.forwardRef((function(e,t){var n=j0(V0,e.__scopePopover),r=Xr.exports.useRef(null),o=kQ(t,r),i=Xr.exports.useRef(!1);return Xr.exports.useEffect((function(){var e=r.current;if(e)return QJ(e)}),[]),Xr.exports.createElement(R0,{as:TQ,allowPinchZoom:!0},Xr.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=Xr.exports.forwardRef((function(e,t){var n=j0(V0,e.__scopePopover),r=Xr.exports.useRef(!1);return Xr.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=Xr.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=Br(e,Cr),d=j0(V0,n),p=N0(n);return Xr.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--}}),[]),Xr.exports.createElement(WQ,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},Xr.exports.createElement(zQ,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:l,onDismiss:function(){return d.onOpenChange(!1)}},Xr.exports.createElement(VJ,wQ({"data-state":K0(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:Gr(Gr({},f.style),{},Wr({},"--radix-popover-content-transform-origin","var(--radix-popper-transform-origin)"))}))))})),W0=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=Br(e,Ar),o=N0(n);return Xr.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=Xr.exports.useRef(null),c=Kr(Xr.exports.useState(!1),2),f=c[0],d=c[1],p=Kr(GJ({prop:r,defaultProp:o,onChange:i}),2),h=p[0],v=void 0!==h&&h,m=p[1];return Xr.exports.createElement(BJ,s,Xr.exports.createElement(I0,{scope:t,contentId:o$(),triggerRef:l,open:v,onOpenChange:m,onOpenToggle:Xr.exports.useCallback((function(){return m((function(e){return!e}))}),[m]),hasCustomAnchor:f,onCustomAnchorAdd:Xr.exports.useCallback((function(){return d(!0)}),[]),onCustomAnchorRemove:Xr.exports.useCallback((function(){return d(!1)}),[]),modal:u},n))},Z0=z0,Q0=H0,$0=W0,J0=function(e){return Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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=hE(Z0)(at||(at=zr(["\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=hE(Q0)(ut||(ut=zr(["\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=hE.div(st||(st=zr(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n"]))),o1=hE($0)(lt||(lt=zr(["\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,p=s.neighbourhoodScoreVal,h=ZZ([hQ]).translations,v=!!n||!!r||!!o,m=function(){var e=Kr(Xr.exports.useState(null),2),t=e[0],n=e[1],r=Kr(Xr.exports.useState(pQ),2),o=r[0],i=r[1],a=Xr.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 Xr.exports.useLayoutEffect((function(){if(t)return a.observe(t),function(){a.disconnect()}}),[t]),[n,o,t]}(),g=Kr(m,2),y=g[0],b=g[1],x=Pq("div",{}),w=function(e){return e?Pq(tY,{width:20,height:20,SVGElement:e,fill:Bq["--ll-color-on-background-variant1"]}):v?x:void 0};return l?Pq(Tq,{children:Oq(vQ,{isUsingIcons:v,ref:y,children:[Oq(Tq,{children:[w(n),Pq(aY,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,color:"--ll-color-on-background-variant1",children:h.LOCATION}),Pq(mQ,{children:Pq(gQ,{animate:{width:"".concat(l/10*100,"%")},transition:Gr({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})]}),p&&Oq(Tq,{children:[w(o),Oq(yQ,{maxWidth:b.width/2,children:[Pq(bQ,{variant:"p",noWrap:!0,noMargin:!0,color:"--ll-color-on-background-variant1",children:d||h.NEIGHBOURHOOD}),Pq(xQ,{children:Pq(aY,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:h.AVG})})]}),Pq(mQ,{children:Pq(gQ,{animate:{width:"".concat(p/10*100,"%")},transition:Gr({delay:.5},Gq.transitions.spring)})}),Pq(aY,{variant:"p",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:p})]}),f&&Oq(Tq,{children:[w(r),Oq(yQ,{maxWidth:b.width/2,children:[Pq(bQ,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:c||h.CITY}),Pq(xQ,{children:Pq(aY,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:h.AVG})})]}),Pq(mQ,{children:Pq(gQ,{animate:{width:"".concat(f/10*100,"%")},transition:Gr({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=Kr(Xr.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:Gr({},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=hE.a(ct||(ct=zr(["\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n margin-top: 1px;\n width: 100%;\n"]))),s1=hE.img(ft||(ft=zr(["\n height: 20px;\n margin-left: ",";\n"])),Bq["--ll-spacing-base-unit"]),l1=hE(aY)(dt||(dt=zr(["\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=hE(Sq.div)(pt||(pt=zr(["\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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("path",{d:"M10 20V14H14V20H19V12H22L12 3L2 12H5V20H10Z"})}))},m1=function(e){return Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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=Uo.createContext({}),x1=function(){return Xr.exports.useContext(b1)},w1={groceries:function(e){return Dx("svg",Gr(Gr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Lx("svg",Gr(Gr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:[Dx("path",{d:"M0 0h24v24H0z",fill:"none"}),Dx("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 Lx("svg",Gr(Gr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:[Dx("path",{d:"M0 0h24v24H0z",fill:"none"}),Dx("circle",{cx:4.5,cy:9.5,r:2.5}),Dx("circle",{cx:9,cy:5.5,r:2.5}),Dx("circle",{cx:15,cy:5.5,r:2.5}),Dx("circle",{cx:19.5,cy:9.5,r:2.5}),Dx("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 Lx("svg",Gr(Gr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:[Dx("path",{d:"M0 0h24v24H0z",fill:"none"}),Dx("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 Lx("svg",Gr(Gr({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:[Dx("rect",{fill:"none",height:24,width:24}),Dx("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 Lx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("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 Lx("svg",Gr(Gr({xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24"},e),{},{children:[Dx("g",{children:Dx("rect",{fill:"none",height:24,width:24})}),Dx("g",{children:Dx("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 Lx("svg",Gr(Gr({xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24"},e),{},{children:[Dx("g",{children:Dx("rect",{fill:"none",height:24,width:24})}),Dx("g",{children:Lx("g",{children:[Dx("g",{children:Dx("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"})}),Dx("g",{children:Dx("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=hE(Z0)(ht||(ht=zr(["\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=hE(Q0)(vt||(vt=zr(["\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=hE($0)(mt||(mt=zr(["\n fill: ",";\n"])),Bq["--ll-color-background"]),P1=hE.div(gt||(gt=zr(["\n display: flex;\n margin-bottom: ",";\n"])),Bq["--ll-spacing-xx-small"]),O1=hE(Jq)(yt||(yt=zr(["\n margin-right: 2px;\n margin-bottom: 2px;\n"]))),R1=hE.div(bt||(bt=zr(["\n display: grid;\n grid-template-columns: auto 1fr;\n grid-column-gap: 10px;\n margin-bottom: ",";\n"])),Bq["--ll-spacing-xx-small"]),D1=hE(aY)(xt||(xt=zr([""]))),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:Gr({},e),children:e.children})})}},Symbol.toStringTag,{value:"Module"})),N1=hE.ul(wt||(wt=zr(["\n list-style: none;\n padding: 0;\n margin-bottom: 0;\n"]))),F1=hE.li(_t||(_t=zr(["\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=hE.div(Et||(Et=zr(["\n display: flex;\n flex-wrap: wrap;\n"]))),j1=hE(Jq)(St||(St=zr(["\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=Uo.createContext({}),V1=function(){return Xr.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,Gr(Gr({},e.options),{},{children:n[t]}))};Ir({m:i1,z:f1,Y:y1,l:M1,A:B1}),q1.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1"}};var Y1=Ir("B",[{value:"commute",icon:function(e){return Dx("svg",Gr(Gr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Lx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("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"}),Dx("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"}),Dx("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"}),Dx("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 Lx("svg",Gr(Gr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("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:Gr({},t),children:n})},K1=Ir("X",Object.freeze(Object.defineProperty({__proto__:null,Root:W1,Title:q1,Icon:G1},Symbol.toStringTag,{value:"Module"})));var X1=Xr.exports.createContext(void 0);function Z1(e){var t=Xr.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=Kr(CQ(t),2),r=n[0],o=n[1],i=Kr(r(t,{collectionRef:{current:null},itemMap:new Map}),2),a=i[0],u=i[1],s=e+"CollectionSlot",l=Uo.forwardRef((function(e,t){var n=e.scope,r=e.children,o=kQ(t,u(s,n).collectionRef);return Uo.createElement(TQ,{ref:o},r)})),c=e+"CollectionItemSlot",f="data-radix-collection-item",d=Uo.forwardRef((function(e,t){var n,r=e.scope,o=e.children,i=Br(e,Tr),a=Uo.useRef(null),s=kQ(t,a),l=u(c,r);return Uo.useEffect((function(){return l.itemMap.set(a,Gr({ref:a},i)),function(){l.itemMap.delete(a)}})),Uo.createElement(TQ,(Wr(n={},f,""),Wr(n,"ref",s),n),o)}));return[{Provider:function(e){var t=e.scope,n=e.children,r=Uo.useRef(null),o=Uo.useRef(new Map).current;return Uo.createElement(a,{scope:t,itemMap:o,collectionRef:r},n)},Slot:l,ItemSlot:d},function(t){var n=u(e+"CollectionConsumer",t);return Uo.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=Kr(e2,3),n2=t2[0],r2=t2[1],o2=Kr(CQ(J1,[t2[2]]),2),i2=o2[0],a2=o2[1],u2=Kr(i2(J1),2),s2=u2[0],l2=u2[1],c2=Xr.exports.forwardRef((function(e,t){return Xr.exports.createElement(n2.Provider,{scope:e.__scopeRovingFocusGroup},Xr.exports.createElement(n2.Slot,{scope:e.__scopeRovingFocusGroup},Xr.exports.createElement(f2,wQ({},e,{ref:t}))))})),f2=Xr.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=Br(e,Pr),d=Xr.exports.useRef(null),p=kQ(t,d),h=Z1(a),v=Kr(GJ({prop:u,defaultProp:s,onChange:l}),2),m=v[0],g=void 0===m?null:m,y=v[1],b=Kr(Xr.exports.useState(!1),2),x=b[0],w=b[1],_=LQ(c),E=r2(n),S=Xr.exports.useRef(!1);return Xr.exports.useEffect((function(){var e=d.current;if(e)return e.addEventListener(Q1,_),function(){return e.removeEventListener(Q1,_)}}),[_]),Xr.exports.createElement(s2,{scope:n,orientation:r,dir:h,loop:i,currentTabStopId:g,onItemFocus:Xr.exports.useCallback((function(e){return y(e)}),[y]),onItemShiftTab:Xr.exports.useCallback((function(){return w(!0)}),[])},Xr.exports.createElement(DQ.div,wQ({tabIndex:x?-1:0,"data-orientation":r},f,{ref:p,style:Gr({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(Hr(r)).filter(Boolean).map((function(e){return e.ref.current}));h2(a)}}S.current=!1})),onBlur:_Q(e.onBlur,(function(){return w(!1)}))})))})),d2=Xr.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=Br(e,Or),s=o$(),l=l2("RovingFocusGroupItem",n),c=l.currentTabStopId===s,f=r2(n);return Xr.exports.createElement(n2.ItemSlot,{scope:n,id:s,focusable:o,active:a},Xr.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=co(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=Kr(CQ(g2,[a2]),2),b2=y2[0],x2=(y2[1],a2()),w2=Kr(b2(g2),2),_2=w2[0],E2=w2[1],S2=Xr.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=Br(e,Rr),d=Z1(s),p=Kr(GJ({prop:r,onChange:o,defaultProp:i}),2),h=p[0],v=p[1];return Xr.exports.createElement(_2,{scope:n,baseId:o$(),value:h,onValueChange:v,orientation:u,dir:d,activationMode:c},Xr.exports.createElement(DQ.div,wQ({dir:d,"data-orientation":u},f,{ref:t})))})),k2=Xr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.loop,o=void 0===r||r,i=Br(e,Dr),a=E2("TabsList",n),u=x2(n);return Xr.exports.createElement(v2,wQ({asChild:!0},u,{orientation:a.orientation,dir:a.dir,loop:o}),Xr.exports.createElement(DQ.div,wQ({role:"tablist","aria-orientation":a.orientation},i,{ref:t})))})),C2=Xr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.value,o=e.disabled,i=void 0!==o&&o,a=Br(e,Lr),u=E2("TabsTrigger",n),s=x2(n),l=T2(u.baseId,r),c=P2(u.baseId,r),f=r===u.value;return Xr.exports.createElement(m2,wQ({asChild:!0},s,{focusable:!i,active:f}),Xr.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=Xr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.value,o=e.forceMount,i=e.children,a=Br(e,Mr),u=E2("TabsContent",n),s=T2(u.baseId,r),l=P2(u.baseId,r),c=r===u.value,f=Xr.exports.useRef(c);return Xr.exports.useEffect((function(){var e=requestAnimationFrame((function(){return f.current=!1}));return function(){return cancelAnimationFrame(e)}}),[]),Xr.exports.createElement(qJ,{present:o||c},(function(n){var r=n.present;return Xr.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:Gr(Gr({},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=Xr.exports.useRef(e);return Xr.exports.useEffect((function(){t.current=e})),Xr.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=Xr.exports.useState(t),o=Kr(r,1)[0],i=Xr.exports.useRef(o),a=M2(null==n?void 0:n.func);return Xr.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=Kr(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=Xr.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=Uo.createContext({}),I2=K1.Title,j2=K1.Icon,z2=hE(R2)(kt||(kt=zr(["\n display: grid;\n grid-auto-columns: minmax(0, 1fr);\n grid-auto-flow: column;\n background-color: ",";\n"])),Bq["--ll-color-background"]),B2=hE(D2)(Ct||(Ct=zr(["\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=Kr(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:Gr(Gr({},t),{},{currentTab:i}),children:Pq(O2,{value:i,orientation:"vertical",defaultValue:i,onValueChange:function(e){return a(e)},children:r})})},Tabs:function(){var e=Xr.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(Uo.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=Uo.createContext({}),H2=hE(D2)(At||(At=zr(["\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=Kr(Xr.exports.useState(t.include[0]),2),o=r[0],i=r[1];return Pq(V2.Provider,{value:Gr(Gr({},t),{},{activeTab:o,setActiveTab:i}),children:Pq(O2,{value:o,children:n})})},Tabs:function(){var e=Xr.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=Uo.createContext({}),G2=function(){return Xr.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,Gr(Gr({},e.options),{},{children:r[n]}))};Ir({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"}};Ir("a6",Object.freeze(Object.defineProperty({__proto__:null,Title:W2,Icon:K2,Root:function(e){return Pq(Y2.Provider,{value:Gr({},e),children:e.children})}},Symbol.toStringTag,{value:"Module"})));var X2,Z2=function(e){var t,n,r=e.children,o=QD().sdkState;if(null==o||!o.apiKey)throw Error("A valid apiKey must be provided.");var i,a,u=(i=o.apiKey,a={locale:null==o||null===(t=o.globalOptions)||void 0===t?void 0:t.locale},new JF(i,a));return Dx(UZ,{client:u,options:{appearance:null==o||null===(n=o.globalOptions)||void 0===n?void 0:n.appearance},children:r})},Q2=hE.div(Tt||(Tt=zr(["\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 Lx(Q2,{children:[Dx(HE,{variant:"h4",children:"An error occurred"}),Dx(HE,{variant:"p",color:"--ll-color-on-background-variant1",children:t.message})]})},J2=new pD({defaultOptions:{queries:{retry:2,staleTime:1/0,keepPreviousData:!0}}}),e5=function(){return Lx(Rx,{children:[Dx(CE,{}),Dx(ER,{FallbackComponent:$2,children:Dx(ED,{children:Dx(gD,{client:J2,children:Dx($D,{children:Dx(Z2,{children:Dx(rL,{children:Dx(aR,{})})})})})})})]})};(X2={dsn:"https://19707ff4ff7f420b9369a3e15041c787@o227377.ingest.sentry.io/6677584",integrations:[new ww],tracesSampleRate:1,environment:"production",enabled:!0})._metadata=X2._metadata||{},X2._metadata.sdk=X2._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:Py}],version:Py},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(void 0===e.defaultIntegrations&&(e.defaultIntegrations=Ib),void 0===e.release){var t=em();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=Gr(Gr({},e),{},{stackParser:Vm(e.stackParser||lb),integrations:Ey(e),transport:e.transport||(Gm()?Jy:eb)});Cy($y,n),e.autoSessionTracking&&zb()}(X2),Ho.createRoot(document.getElementById("root")).render(Dx(Uo.StrictMode,{children:Dx(e5,{})}))}}}))}();
40
+ */function DO(){return DO=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},DO.apply(this,arguments)}function LO(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 MO(e){if(!e)return"";var t=decodeURIComponent(e);return"false"!==t&&("true"===t||(0*+t==0?+t:t))}var NO=["children","location","__experimental__snapshot"],FO=["location","__experimental__snapshot"],IO=["basepath","routes"],jO=Xr.exports.createContext(null),zO=Xr.exports.createContext(null),BO=Xr.exports.createContext(null),UO=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),VO=UO?Xr.exports.useLayoutEffect:Xr.exports.useEffect,HO=function(){return UO?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=XP.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=XP.Pop,u=o(),s=u[0],l=u[1],c=TO(),f=TO();function d(e){return"string"==typeof e?e:OO(e)}function p(e,t){return void 0===t&&(t=null),SO({pathname:l.pathname,hash:"",search:""},"string"==typeof e?RO(e):e,{state:t,key:PO()})}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(SO({},r.state,{idx:s}),""));var y={get action(){return a},get location(){return l},createHref:d,push:function e(t,o){var i=XP.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=XP.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(kO,AO),function(){t(),f.length||n.removeEventListener(kO,AO)}}};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 SO({pathname:"/",search:"",hash:"",state:null,key:PO()},"string"==typeof e?RO(e):e)})),a=CO(null==o?i.length-1:o,0,i.length-1),u=XP.Pop,s=i[a],l=TO(),c=TO();function f(e,t){return void 0===t&&(t=null),SO({pathname:s.pathname,search:"",hash:""},"string"==typeof e?RO(e):e,{state:t,key:PO()})}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=CO(a+e,0,i.length-1),n=XP.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:OO(e)},push:function e(t,n){var r=XP.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=XP.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}()},qO=function(){function e(){Jr(this,e),this.listeners=[]}return $r(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}(),YO=function(e){eo(n,e);var t=to(n);function n(e){var r,o,i;return Jr(this,n),(r=t.call(this)).isTransitioning=!1,r.history=(null==e?void 0:e.history)||HO(),r.stringifySearch=null!=(o=null==e?void 0:e.stringifySearch)?o:xR,r.parseSearch=null!=(i=null==e?void 0:e.parseSearch)?i:bR,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 $r(n,[{key:"buildNext",value:function(e,t){var n,r,o,i;void 0===e&&(e="/"),void 0===t&&(t={});var a=DO({},this.current,t.from),u=function(e,t,n){t=t.replace(new RegExp("^"+e),"/"),n=n.replace(new RegExp("^"+e),"/");var r=dR(t),o=dR(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=cR([e].concat(Hr(r.map((function(e){return e.value})))));return fR(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=lR(t.search,s))?o:{}:null!=(i=t.__searchFilters)&&i.length?s:{},c=hR(a.search,l),f=this.stringifySearch(c),d=!0===t.hash?a.hash:lR(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:hR(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}(qO);function GO(e){return Dx(zO.Provider,Gr({},e))}function WO(e){var t=e.children,n=e.location,r=e.__experimental__snapshot,o=LO(e,NO),i=Xr.exports.useRef(null);i.current||(i.current=new XO({location:n,__experimental__snapshot:r,routes:o.routes}));var a=i.current,u=Kr(Xr.exports.useReducer((function(){return{}}),{}),2),s=(u[0],u[1]);return a.update(o),VO((function(){return a.subscribe((function(){s()}))}),[]),VO((function(){return a.updateLocation(n.current).unsubscribe}),[n.current.key]),Xr.exports.createElement(jO.Provider,{value:{location:n}},Xr.exports.createElement(BO.Provider,{value:{router:a}},Dx(KO,{}),Dx(GO,{value:[a.rootMatch].concat(Hr(a.state.matches)),children:null!=t?t:Dx(aR,{})})))}function KO(){var e=ZO(),t=iR(),n=oR();return VO((function(){t({to:".",search:!0,hash:!0}).href!==e.current.href&&n({to:".",search:!0,hash:!0,fromCurrent:!0,replace:!0})}),[]),null}var XO=function(e){eo(n,e);var t=to(n);function n(e){var r,o;Jr(this,n);var i=e.location,a=e.__experimental__snapshot,u=LO(e,FO);(r=t.call(this)).routesById={},r.update=function(e){var t=e.basepath,n=e.routes,o=LO(e,IO);Object.assign(ro(r),o),r.basepath=fR("/"+(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=cR(["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=DO({},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(Hr(null!=(e=null==ro(r)?void 0:r.state.matches)?e:[]),Hr(null!=(t=null==ro(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 $O(ro(r),e);r.setState((function(e){return DO({},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 DO({},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 $O(ro(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:{}})),JO(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 $r(n)}(qO);function ZO(){var e=Xr.exports.useContext(jO);return sR(!!e,"useLocation must be used within a <ReactLocation />"),e.location}var QO=$r((function e(t){var n=this;Jr(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=DO({},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=jr(Fr().mark((function t(o){var i,a,u;return Fr().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=jr(Fr().mark((function e(t){var r;return Fr().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)})),$O=function(e){eo(n,e);var t=to(n);function n(e,r){var o,i;Jr(this,n),o=t.call(this),i=ro(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",JO(o.matches),o.notify())},o.loadData=function(){var e=jr(Fr().mark((function e(t){var n,r;return Fr().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=jr(Fr().mark((function e(t){var n;return Fr().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=jr(Fr().mark((function e(){return Fr().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=tR(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 QO(e)),o.router.matchCache[e.id]})),o}return $r(n)}(qO);function JO(e){null==e||e.forEach((function(t,n){var r,o=null==e?void 0:e[n-1];t.data=DO({},null!=(r=null==o?void 0:o.data)?r:{},t.ownData)}))}function eR(){var e=Xr.exports.useContext(BO);if(!e)throw sR(!0,"You are trying to use useRouter() outside of ReactLocation!"),new Error;return e.router}function tR(e,t){if(!e.routes.length)return[];var n=[],r=function(){var o=jr(Fr().mark((function o(i,a){var u,s,l,c,f,d,p,h;return Fr().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=cR([s,n.path]),a=!!("/"!==n.path||null!=(r=n.children)&&r.length),u=uR(t,{to:i,search:n.search,fuzzy:a,caseSensitive:null!=(o=n.caseSensitive)?o:e.caseSensitive});return u&&(l=DO({},l,u)),!!u}))){o.next=5;break}return o.abrupt("return");case 5:d=nR(f.path,l),s=cR([s,d]),p=nR(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 nR(e,t,n){return cR(dR(e).map((function(e){return"*"!==e.value||n?"param"===e.type?null!=(r=t[e.value.substring(1)])?r:"":e.value:"";var r})))}function rR(){return Xr.exports.useContext(zO)}function oR(){var e,t=ZO(),n=null==(e=rR())?void 0:e[0],r=iR();return pR((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 iR(){var e=ZO(),t=eR();return pR((function(n){var r=e.buildNext(t.basepath,n),o=tR(t,r).map((function(e){var t;return null!=(t=e.route.searchFilters)?t:[]})).flat().filter(Boolean);return e.buildNext(t.basepath,DO({},n,{__searchFilters:o}))}))}function aR(){var e,t=eR(),n=Nr(rR()),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:Dx(aR,{})}();return Dx(GO,{value:r,children:a})}function uR(e,t){var n=function(e,t){var n,r=dR(e.pathname),o=dR(""+(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["*"]=cR(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 sR(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function lR(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}function cR(e){return fR(e.filter(Boolean).join("/"))}function fR(e){return(""+e).replace(/\/{2,}/g,"/")}function dR(e){if(!e)return[];var t=[];if("/"===(e=fR(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,Hr(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 pR(e){var t=Xr.exports.useRef(),n=Xr.exports.useRef(e);return n.current=e,t.current||(t.current=function(){return n.current.apply(n,arguments)}),t.current}function hR(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||vR(e)&&vR(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]=hR(e[l],t[l]),a[l]===e[l]&&u++}return r===i&&u===r?e:a}return t}function vR(e){if(!mR(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!mR(n)&&!!n.hasOwnProperty("isPrototypeOf")}function mR(e){return"[object Object]"===Object.prototype.toString.call(e)}var gR,yR,bR=(gR=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],MO(t.shift())):r[n]=MO(t.shift());return r}(e);for(var n in t){var r=t[n];if("string"==typeof r)try{t[n]=gR(r)}catch(o){}}return t}),xR=(yR=JSON.stringify,function(e){(e=DO({},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"===lo(n)&&null!==n)try{e[t]=yR(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 wR(e,t){return wR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},wR(e,t)}var _R={error:null},ER=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=_R,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,wR(t,n),r.getDerivedStateFromError=function(e){return{error:e}};var o=r.prototype;return o.reset=function(){this.setState(_R)},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(Xr.exports.isValidElement(o))return o;if("function"==typeof n)return n(i);if(r)return Dx(r,Gr({},i));throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},r}(Xr.exports.Component),SR=function(){function e(){Jr(this,e),this.listeners=[],this.subscribe=this.subscribe.bind(this)}return $r(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}();Ir("S",SR);var kR=Ir("G","undefined"==typeof window);function CR(){}function AR(e){return"number"==typeof e&&e>=0&&e!==1/0}function TR(e,t){return Math.max(e+(t||0)-Date.now(),0)}function PR(e,t,n){return UR(e)?"function"==typeof t?Gr(Gr({},n),{},{queryKey:e,queryFn:t}):Gr(Gr({},t),{},{queryKey:e}):e}function OR(e,t,n){return UR(e)?[Gr(Gr({},t),{},{queryKey:e}),n]:[e||{},t]}function RR(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(UR(u))if(o){if(t.queryHash!==LR(u,t.options))return!1}else if(!NR(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 DR(e,t){var n=e.exact,r=e.fetching,o=e.predicate,i=e.mutationKey;if(UR(i)){if(!t.options.mutationKey)return!1;if(n){if(MR(t.options.mutationKey)!==MR(i))return!1}else if(!NR(t.options.mutationKey,i))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function LR(e,t){return((null==t?void 0:t.queryKeyHashFn)||MR)(e)}function MR(e){return JSON.stringify(e,(function(e,t){return zR(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function NR(e,t){return FR(e,t)}function FR(e,t){return e===t||lo(e)===lo(t)&&(!(!e||!t||"object"!==lo(e)||"object"!==lo(t))&&!Object.keys(t).some((function(n){return!FR(e[n],t[n])})))}function IR(e,t){if(e===t)return e;var n=jR(e)&&jR(t);if(n||zR(e)&&zR(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]=IR(e[l],t[l]),a[l]===e[l]&&u++}return r===i&&u===r?e:a}return t}function jR(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function zR(e){if(!BR(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!BR(n)&&!!n.hasOwnProperty("isPrototypeOf")}function BR(e){return"[object Object]"===Object.prototype.toString.call(e)}function UR(e){return Array.isArray(e)}function VR(e){return new Promise((function(t){setTimeout(t,e)}))}function HR(e){VR(0).then(e)}function qR(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?IR(e,t):t}var YR=Ir("K",new(function(e){eo(n,e);var t=to(n);function n(){var e;return Jr(this,n),(e=t.call(this)).setup=function(e){if(!kR&&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 $r(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}(SR))),GR=new(function(e){eo(n,e);var t=to(n);function n(){var e;return Jr(this,n),(e=t.call(this)).setup=function(e){if(!kR&&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 $r(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}(SR));function WR(e){return Math.min(1e3*Math.pow(2,e),3e4)}function KR(e){return"online"!==(null!=e?e:"online")||GR.isOnline()}var XR=$r((function e(t){Jr(this,e),this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}));function ZR(e){return e instanceof XR}function QR(e){var t,n,r,o=!1,i=0,a=!1,u=new Promise((function(e,t){n=e,r=t})),s=function(){return!YR.isFocused()||"always"!==e.networkMode&&!GR.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:WR,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),VR(p).then((function(){if(s())return f()})).then((function(){o?c(n):t()}))):c(n)}}))}};return KR(e.networkMode)?d():f().then(d),{promise:u,cancel:function(t){a||(c(new XR(t)),null==e.abort||e.abort())},continue:function(){null==t||t()},cancelRetry:function(){o=!0},continueRetry:function(){o=!1}}}var $R=console;var JR,eD,tD,nD,rD,oD,iD=Ir("T",(JR=[],eD=0,tD=function(e){e()},nD=function(e){e()},oD=function(){var e=JR;JR=[],e.length&&HR((function(){nD((function(){e.forEach((function(e){tD(e)}))}))}))},{batch:function(e){var t;eD++;try{t=e()}finally{--eD||oD()}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];rD((function(){e.apply(void 0,n)}))}},schedule:rD=function(e){eD?JR.push(e):HR((function(){tD(e)}))},setNotifyFunction:function(e){tD=e},setBatchNotifyFunction:function(e){nD=e}})),aD=function(){function e(){Jr(this,e)}return $r(e,[{key:"destroy",value:function(){this.clearGcTimeout()}},{key:"scheduleGc",value:function(){var e=this;this.clearGcTimeout(),AR(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:kR?1/0:3e5)}},{key:"clearGcTimeout",value:function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}]),e}(),uD=function(e){eo(n,e);var t=to(n);function n(e){var r;return Jr(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||$R,r.queryKey=e.queryKey,r.queryHash=e.queryHash,r.initialState=e.state||function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:r?"success":"loading",fetchStatus:"idle"}}(r.options),r.state=r.initialState,r.meta=e.meta,r}return $r(n,[{key:"setOptions",value:function(e){this.options=Gr(Gr({},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=qR(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(CR).catch(CR):Promise.resolve()}},{key:"destroy",value:function(){Ur(so(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||!TR(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;(ZR(e)&&e.silent||o.dispatch({type:"error",error:e}),ZR(e))||(null==(t=(n=o.cache.config).onError)||t.call(n,e,o));o.isFetchingOptimistic||o.scheduleGc(),o.isFetchingOptimistic=!1};return this.retryer=QR({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 Gr(Gr({},n),{},{fetchFailureCount:n.fetchFailureCount+1});case"pause":return Gr(Gr({},n),{},{fetchStatus:"paused"});case"continue":return Gr(Gr({},n),{},{fetchStatus:"fetching"});case"fetch":return Gr(Gr({},n),{},{fetchFailureCount:0,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:KR(t.options.networkMode)?"fetching":"paused"},!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return Gr(Gr({},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 ZR(i)&&i.revert&&t.revertState?Gr({},t.revertState):Gr(Gr({},n),{},{error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchStatus:"idle",status:"error"});case"invalidate":return Gr(Gr({},n),{},{isInvalidated:!0});case"setState":return Gr(Gr({},n),e.state)}}(this.state),iD.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"updated",action:e})}))}}]),n}(aD);var sD=function(e){eo(n,e);var t=to(n);function n(e){var r;return Jr(this,n),(r=t.call(this)).config=e||{},r.queries=[],r.queriesMap={},r}return $r(n,[{key:"build",value:function(e,t,n){var r,o=t.queryKey,i=null!=(r=t.queryHash)?r:LR(o,t),a=this.get(i);return a||(a=new uD({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;iD.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=Kr(OR(e,t),1)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(e){return RR(n,e)}))}},{key:"findAll",value:function(e,t){var n=Kr(OR(e,t),1)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return RR(n,e)})):this.queries}},{key:"notify",value:function(e){var t=this;iD.batch((function(){t.listeners.forEach((function(t){t(e)}))}))}},{key:"onFocus",value:function(){var e=this;iD.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))}},{key:"onOnline",value:function(){var e=this;iD.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))}}]),n}(SR),lD=function(e){eo(r,e);var t,n=to(r);function r(e){var t;return Jr(this,r),(t=n.call(this)).options=Gr(Gr({},e.defaultOptions),e.options),t.mutationId=e.mutationId,t.mutationCache=e.mutationCache,t.logger=e.logger||$R,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 $r(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=jr(Fr().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 Fr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(){var e;return w.retryer=QR({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 Gr(Gr({},n),{},{failureCount:n.failureCount+1});case"pause":return Gr(Gr({},n),{},{isPaused:!0});case"continue":return Gr(Gr({},n),{},{isPaused:!1});case"loading":return Gr(Gr({},n),{},{context:e.context,data:void 0,error:null,isPaused:!KR(t.options.networkMode),status:"loading",variables:e.variables});case"success":return Gr(Gr({},n),{},{data:e.data,error:null,status:"success",isPaused:!1});case"error":return Gr(Gr({},n),{},{data:void 0,error:e.error,failureCount:n.failureCount+1,isPaused:!1,status:"error"});case"setState":return Gr(Gr({},n),e.state)}}(this.state),iD.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify({mutation:t,type:"updated",action:e})}))}}]),r}(aD);var cD=function(e){eo(n,e);var t=to(n);function n(e){var r;return Jr(this,n),(r=t.call(this)).config=e||{},r.mutations=[],r.mutationId=0,r}return $r(n,[{key:"build",value:function(e,t,n){var r=new lD({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;iD.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 DR(e,t)}))}},{key:"findAll",value:function(e){return this.mutations.filter((function(t){return DR(e,t)}))}},{key:"notify",value:function(e){var t=this;iD.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 iD.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(CR)}))}),Promise.resolve())}))}}]),n}(SR);function fD(){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(Hr(g)):[].concat(Hr(g),[t]),r?[n].concat(Hr(e)):[].concat(Hr(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={queryKey:e.queryKey,pageParam:r,meta:e.meta};!function(t){Object.defineProperty(t,"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}})}(i);var a=b(i);return Promise.resolve(a).then((function(e){return x(t,r,e,o)}))};if(v.length)if(p){var _=void 0!==d,E=_?d:dD(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]:dD(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 dD(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var pD=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Jr(this,e),this.queryCache=t.queryCache||new sD,this.mutationCache=t.mutationCache||new cD,this.logger=t.logger||$R,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}return $r(e,[{key:"mount",value:function(){var e=this;this.unsubscribeFocus=YR.subscribe((function(){YR.isFocused()&&(e.resumePausedMutations(),e.queryCache.onFocus())})),this.unsubscribeOnline=GR.subscribe((function(){GR.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=Kr(OR(e,t),1)[0];return n.fetchStatus="fetching",this.queryCache.findAll(n).length}},{key:"isMutating",value:function(e){return this.mutationCache.findAll(Gr(Gr({},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=PR(e),a=this.defaultQueryOptions(i);return this.queryCache.build(this,a).setData(o,Gr(Gr({},n),{},{manual:!0}))}}},{key:"setQueriesData",value:function(e,t,n){var r=this;return iD.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=Kr(OR(e,t),1)[0],r=this.queryCache;iD.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))}},{key:"resetQueries",value:function(e,t,n){var r=this,o=Kr(OR(e,t,n),2),i=o[0],a=o[1],u=this.queryCache,s=Gr({type:"active"},i);return iD.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=Kr(OR(e,t,n),2),i=o[0],a=o[1],u=void 0===a?{}:a;void 0===u.revert&&(u.revert=!0);var s=iD.batch((function(){return r.queryCache.findAll(i).map((function(e){return e.cancel(u)}))}));return Promise.all(s).then(CR).catch(CR)}},{key:"invalidateQueries",value:function(e,t,n){var r=this,o=Kr(OR(e,t,n),2),i=o[0],a=o[1];return iD.batch((function(){var e,t;if(r.queryCache.findAll(i).forEach((function(e){e.invalidate()})),"none"===i.refetchType)return Promise.resolve();var n=Gr(Gr({},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=Kr(OR(e,t,n),2),i=o[0],a=o[1],u=iD.batch((function(){return r.queryCache.findAll(i).filter((function(e){return!e.isDisabled()})).map((function(e){var t;return e.fetch(void 0,Gr(Gr({},a),{},{cancelRefetch:null==(t=null==a?void 0:a.cancelRefetch)||t,meta:{refetchPage:i.refetchPage}}))}))})),s=Promise.all(u).then(CR);return null!=a&&a.throwOnError||(s=s.catch(CR)),s}},{key:"fetchQuery",value:function(e,t,n){var r=PR(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(CR).catch(CR)}},{key:"fetchInfiniteQuery",value:function(e,t,n){var r=PR(e,t,n);return r.behavior=fD(),this.fetchQuery(r)}},{key:"prefetchInfiniteQuery",value:function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(CR).catch(CR)}},{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 MR(e)===MR(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 NR(e,t.queryKey)}));return null==t?void 0:t.defaultOptions}}},{key:"setMutationDefaults",value:function(e,t){var n=this.mutationDefaults.find((function(t){return MR(e)===MR(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 NR(e,t.mutationKey)}));return null==t?void 0:t.defaultOptions}}},{key:"defaultQueryOptions",value:function(e){if(null!=e&&e._defaulted)return e;var t=Gr(Gr(Gr(Gr({},this.defaultOptions.queries),this.getQueryDefaults(null==e?void 0:e.queryKey)),e),{},{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=LR(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:Gr(Gr(Gr(Gr({},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}(),hD=Xr.exports.createContext(void 0),vD=Xr.exports.createContext(!1);function mD(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=hD),window.ReactQueryClientContext):hD)}Ir("V",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=Xr.exports.useContext(mD(t,Xr.exports.useContext(vD)));if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n}));var gD=function(e){var t=e.client,n=e.children,r=e.context,o=e.contextSharing,i=void 0!==o&&o;Xr.exports.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=mD(r,i);return Dx(vD.Provider,{value:!r&&i,children:Dx(a.Provider,{value:t,children:n})})},yD=Ir("g",(function(e,t,n){return e()})),bD=function(e){return e.LOCAL_CONTENT="local-content",e.DATA_EXPLORER="data-explorer",e}(bD||{}),xD=new YO,wD=Uo.lazy((function(){return yD((function(){return Vr.import("./index-legacy.45d7b5c7.js").then((function(e){return e.q}))}),void 0)})),_D=Uo.lazy((function(){return yD((function(){return Vr.import("./index-legacy.3b49d3a5.js")}),void 0)})),ED=function(e){var t=e.children,n=[{path:"/sdks-app/".concat("v1","/",bD.LOCAL_CONTENT),element:Dx(wD,{})},{path:"/sdks-app/".concat("v1","/",bD.DATA_EXPLORER),element:Dx(_D,{})}];return Dx(WO,{location:xD,routes:n,children:t})},SD=Object.defineProperty,kD=function(e,t,n){return function(e,t,n){t in e?SD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!=lo(t)?t+"":t,n),n};function CD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var AD={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=co(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){eo(n,e);var t=to(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Jr(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":lo(console))<"u"&&null!==console)return(t=console).log.apply(t,Hr(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||lo(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(Hr(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 no(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(ro(e),{apply:function(t,n,r){var o;return(o=e).randomUUID.apply(o,Hr(r))}})))}return $r(n)}(oo(Function)),f=c;return f.default=c,a}();e.exports=t.default,("undefined"==typeof window?"undefined":lo(window))<"u"&&(t=t.default)}(AD);var TD=new(CD(AD.exports))({length:10}),PD=function(){function e(t,n){var r=this;Jr(this,e),kD(this,"connection"),kD(this,"channelId"),kD(this,"boundMessageHandler"),kD(this,"onMessageHandlers",[]),kD(this,"resolveConnection"),kD(this,"channelNodeId"),kD(this,"crossOrigin"),kD(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(TD()),this.crossOrigin=n,this.connection=new Promise((function(e){r.resolveConnection=e})),this.boundMessageHandler=this.handleMessage.bind(this)}var t,n;return $r(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=jr(Fr().mark((function e(t,n){var r,o=this;return Fr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=TD(),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=jr(Fr().mark((function e(t){var n=this;return Fr().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}(),OD=function(e){eo(n,e);var t=to(n);function n(){return Jr(this,n),t.apply(this,arguments)}return $r(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}(PD),RD=1/0,DD=17976931348623157e292,LD=NaN,MD="[object Symbol]",ND=/^\s+|\s+$/g,FD=/^[-+]0x[0-9a-f]+$/i,ID=/^0b[01]+$/i,jD=/^0o[0-7]+$/i,zD=parseInt,BD=Object.prototype.toString;function UD(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"==lo(e)||function(e){return!!e&&"object"==lo(e)}(e)&&BD.call(e)==MD}(e))return LD;if(VD(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=VD(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(ND,"");var n=ID.test(e);return n||jD.test(e)?zD(e.slice(2),n?2:8):FD.test(e)?LD:+e}(e))===RD||e===-1/0){return(e<0?-1:1)*DD}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 VD(e){var t=lo(e);return!!e&&("object"==t||"function"==t)}var HD=function(e){return UD(2,e)},qD=function(e){return"object"===lo(e)&&null!==e&&!Array.isArray(e)};function YD(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 qD(e)&&qD(o)&&Object.keys(o).forEach((function(t){qD(o[t])?(e[t]||Object.assign(e,Wr({},t,{})),YD(e[t],o[t])):Object.assign(e,Wr({},t,o[t]))})),YD.apply(void 0,[e].concat(n))}var GD=Ir("h",(function(e,t){var n=Kr(Xr.exports.useState(e),2),r=n[0],o=n[1];return Xr.exports.useEffect((function(){var n=setTimeout((function(){o(e)}),t);return function(){clearTimeout(n)}}),[e,t]),r})),WD=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}(WD||{}),KD={locale:"en"},XD={"local-content":{globalOptions:KD,options:{zoom:16,pitch:0,bearing:0,cooperativeGestures:!0}},"data-explorer":{globalOptions:KD,options:{}}},ZD=HD((function(){return Uo.createContext({})})),QD=Ir("u",(function(){var e=Uo.useContext(ZD());if(!e)throw new Error("useStateManagerContext must be used under StateManagerProvider");return e})),$D=Uo.memo((function(e){var t,n,r,o,i,a,u=e.children,s=ZD(),l=ZO().current.search,c=Uo.useRef(l),f=ZO().current.pathname.split("/"),d=f[f.length-1],p=XD[d],h=Uo.useRef(),v=Kr(Xr.exports.useState(!1),2),m=v[0],g=v[1],y=Kr(Xr.exports.useState(p),2),b=y[0],x=y[1],w=GD(b,500),_=oR(),E=function(e){c.current=e,x(e)},S=function(e){var t;e.name===WD.GET_STATE&&(null===(t=h.current)||void 0===t||t.message(WD.GET_STATE_RESPONSE,c.current,e.eventId));e.name===WD.SET_STATE&&E(e.data)};t=function(){var e=new OD(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=YD(b,e.data);E(t),g(!0)}))},n=Xr.exports.useRef(t),r=Xr.exports.useRef(),o=Xr.exports.useRef(!1),i=Xr.exports.useRef(!1),a=Kr(Xr.exports.useState(0),2)[1],o.current&&(i.current=!0),Xr.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(WD.ON_CHANGE,e)};Xr.exports.useEffect((function(){_({search:function(){return w}})}),[w]),Xr.exports.useEffect((function(){b.options&&k({type:"options",data:b.options})}),[b.options]);var C=Xr.exports.useMemo((function(){return{sdkState:b,setSdkState:E,onChange:k}}),[b,E,k]);return m?Dx(s.Provider,{value:C,children:u}):null}));$D.displayName="StateManagerProvider";var JD={en:function(){return yD((function(){return Vr.import("./index-legacy.33ce598b.js")}),void 0)},fr:function(){return yD((function(){return Vr.import("./index-legacy.33579fb2.js")}),void 0)}},eL={en:function(){return yD((function(){return Vr.import("./index-legacy.ab44ba23.js")}),void 0)},fr:function(){return yD((function(){return Vr.import("./index-legacy.4789c6e5.js")}),void 0)}},tL={"local-content":function(e){return eL[e]()},"data-explorer":function(e){return JD[e]()}},nL=HD((function(){return Uo.createContext({})})),rL=(Ir("o",(function(){var e=Xr.exports.useContext(nL());if(!e)throw new Error("useLangauges must be used under LanguagesProvider");return e})),function(e){var t,n=e.children,r=Kr(Xr.exports.useState(!0),2),o=r[0],i=r[1],a=Kr(Xr.exports.useState(),2),u=a[0],s=a[1],l=(null===(t=QD().sdkState.globalOptions)||void 0===t?void 0:t.locale)||"en",c=nL(),f=ZO().current.pathname.split("/"),d=f[f.length-1],p=tL[d];if(Xr.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 Dx(c.Provider,{value:{translations:u},children:n})}),oL={exports:{}},iL={exports:{}},aL=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)}},uL=aL,sL=Object.prototype.toString;function lL(e){return Array.isArray(e)}function cL(e){return void 0===e}function fL(e){return"[object ArrayBuffer]"===sL.call(e)}function dL(e){return null!==e&&"object"===lo(e)}function pL(e){if("[object Object]"!==sL.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function hL(e){return"[object Function]"===sL.call(e)}function vL(e,t){if(null!=e)if("object"!==lo(e)&&(e=[e]),lL(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 mL={isArray:lL,isArrayBuffer:fL,isBuffer:function(e){return null!==e&&!cL(e)&&null!==e.constructor&&!cL(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===sL.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&fL(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:dL,isPlainObject:pL,isUndefined:cL,isDate:function(e){return"[object Date]"===sL.call(e)},isFile:function(e){return"[object File]"===sL.call(e)},isBlob:function(e){return"[object Blob]"===sL.call(e)},isFunction:hL,isStream:function(e){return dL(e)&&hL(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===sL.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:vL,merge:function e(){var t={};function n(n,r){pL(t[r])&&pL(n)?t[r]=e(t[r],n):pL(n)?t[r]=e({},n):lL(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)vL(arguments[r],n);return t},extend:function(e,t,n){return vL(t,(function(t,r){e[r]=n&&"function"==typeof t?uL(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}},gL=mL;function yL(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var bL=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(gL.isURLSearchParams(t))r=t.toString();else{var o=[];gL.forEach(t,(function(e,t){null!=e&&(gL.isArray(e)?t+="[]":e=[e],gL.forEach(e,(function(e){gL.isDate(e)?e=e.toISOString():gL.isObject(e)&&(e=JSON.stringify(e)),o.push(yL(t)+"="+yL(e))})))})),r=o.join("&")}if(r){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e},xL=mL;function wL(){this.handlers=[]}wL.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},wL.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},wL.prototype.forEach=function(e){xL.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var _L,EL,SL,kL,CL,AL,TL,PL,OL,RL,DL,LL,ML,NL,FL,IL,jL,zL,BL,UL,VL=wL,HL=mL,qL=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},YL={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};function GL(){if(EL)return _L;EL=1;var e=qL;return _L=function(t,n,r,o,i){var a=new Error(t);return e(a,n,r,o,i)}}function WL(){if(kL)return SL;kL=1;var e=GL();return SL=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)}}function KL(){if(AL)return CL;AL=1;var e=mL;return CL=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(){}}}function XL(){return PL?TL:(PL=1,TL=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)})}function ZL(){return RL?OL:(RL=1,OL=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e})}function QL(){if(LL)return DL;LL=1;var e=XL(),t=ZL();return DL=function(n,r){return n&&!e(r)?t(n,r):r}}function $L(){if(NL)return ML;NL=1;var e=mL,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 ML=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):a}}function JL(){if(IL)return FL;IL=1;var e=mL;return FL=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}}function eM(){if(zL)return jL;function e(e){this.message=e}return zL=1,e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,jL=e}function tM(){if(UL)return BL;UL=1;var e=mL,t=WL(),n=KL(),r=bL,o=QL(),i=$L(),a=JL(),u=GL(),s=YL,l=eM();return BL=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){void 0===h&&"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)}))},BL}var nM=mL,rM=function(e,t){HL.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))},oM=qL,iM={"Content-Type":"application/x-www-form-urlencoded"};function aM(e,t){!nM.isUndefined(e)&&nM.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var uM,sM={transitional:YL,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(uM=tM()),uM),transformRequest:[function(e,t){return rM(t,"Accept"),rM(t,"Content-Type"),nM.isFormData(e)||nM.isArrayBuffer(e)||nM.isBuffer(e)||nM.isStream(e)||nM.isFile(e)||nM.isBlob(e)?e:nM.isArrayBufferView(e)?e.buffer:nM.isURLSearchParams(e)?(aM(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):nM.isObject(e)||t&&"application/json"===t["Content-Type"]?(aM(t,"application/json"),function(e,t,n){if(nM.isString(e))try{return(t||JSON.parse)(e),nM.trim(e)}catch(Pw){if("SyntaxError"!==Pw.name)throw Pw}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||sM.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||r&&nM.isString(e)&&e.length)try{return JSON.parse(e)}catch(Pw){if(o){if("SyntaxError"===Pw.name)throw oM(Pw,this,"E_JSON_PARSE");throw Pw}}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, */*"}}};nM.forEach(["delete","get","head"],(function(e){sM.headers[e]={}})),nM.forEach(["post","put","patch"],(function(e){sM.headers[e]=nM.merge(iM)}));var lM,cM,fM=sM,dM=mL,pM=fM;function hM(){return cM?lM:(cM=1,lM=function(e){return!(!e||!e.__CANCEL__)})}var vM=mL,mM=function(e,t,n){var r=this||pM;return dM.forEach(n,(function(n){e=n.call(r,e,t)})),e},gM=hM(),yM=fM,bM=eM();function xM(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new bM("canceled")}var wM,_M,EM=mL,SM=function(e,t){t=t||{};var n={};function r(e,t){return EM.isPlainObject(e)&&EM.isPlainObject(t)?EM.merge(e,t):EM.isPlainObject(t)?EM.merge({},t):EM.isArray(t)?t.slice():t}function o(n){return EM.isUndefined(t[n])?EM.isUndefined(e[n])?void 0:r(void 0,e[n]):r(e[n],t[n])}function i(e){if(!EM.isUndefined(t[e]))return r(void 0,t[e])}function a(n){return EM.isUndefined(t[n])?EM.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 EM.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=s[e]||o,r=t(e);EM.isUndefined(r)&&t!==u||(n[e]=r)})),n};function kM(){return _M?wM:(_M=1,wM={version:"0.26.1"})}var CM=kM().version,AM={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){AM[e]=function(n){return lo(n)===e||"a"+(t<1?"n ":" ")+e}}));var TM={};AM.transitional=function(e,t,n){function r(e,t){return"[Axios v"+CM+"] 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&&!TM[o]&&(TM[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 PM,OM,RM,DM,LM,MM,NM={assertOptions:function(e,t,n){if("object"!==lo(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:AM},FM=mL,IM=bL,jM=VL,zM=function(e){return xM(e),e.headers=e.headers||{},e.data=mM.call(e,e.data,e.headers,e.transformRequest),e.headers=vM.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),vM.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||yM.adapter)(e).then((function(t){return xM(e),t.data=mM.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return gM(t)||(xM(e),t&&t.response&&(t.response.data=mM.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},BM=SM,UM=NM,VM=UM.validators;function HM(e){this.defaults=e,this.interceptors={request:new jM,response:new jM}}HM.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=BM(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&&UM.assertOptions(n,{silentJSONParsing:VM.transitional(VM.boolean),forcedJSONParsing:VM.transitional(VM.boolean),clarifyTimeoutError:VM.transitional(VM.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=[zM,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(f){c(f);break}}try{i=zM(s)}catch(f){return Promise.reject(f)}for(;a.length;)i=i.then(a.shift(),a.shift());return i},HM.prototype.getUri=function(e){return e=BM(this.defaults,e),IM(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},FM.forEach(["delete","get","head","options"],(function(e){HM.prototype[e]=function(t,n){return this.request(BM(n||{},{method:e,url:t,data:(n||{}).data}))}})),FM.forEach(["post","put","patch"],(function(e){HM.prototype[e]=function(t,n,r){return this.request(BM(r||{},{method:e,url:t,data:n}))}}));var qM=mL,YM=aL,GM=HM,WM=SM;var KM=function e(t){var n=new GM(t),r=YM(GM.prototype.request,n);return qM.extend(r,GM.prototype,n),qM.extend(r,n),r.create=function(n){return e(WM(t,n))},r}(fM);KM.Axios=GM,KM.Cancel=eM(),KM.CancelToken=function(){if(OM)return PM;OM=1;var e=eM();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}},PM=t}(),KM.isCancel=hM(),KM.VERSION=kM().version,KM.all=function(e){return Promise.all(e)},KM.spread=DM?RM:(DM=1,RM=function(e){return function(t){return e.apply(null,t)}}),KM.isAxiosError=function(){if(MM)return LM;MM=1;var e=mL;return LM=function(t){return e.isObject(t)&&!0===t.isAxiosError}}(),iL.exports=KM,iL.exports.default=KM,function(e){e.exports=iL.exports}(oL);var XM,ZM=Yr(oL.exports),QM=function(e,t){return ZM.create({baseURL:"https://api.locallogic.co/v3/",headers:{Accept:"application/json",Authorization:e},params:t})};Ir("a5",XM),function(e){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"}(XM||Ir("a5",XM={}));function $M(e){this._maxSize=e,this.clear()}$M.prototype.clear=function(){this._size=0,this._values=Object.create(null)},$M.prototype.get=function(e){return this._values[e]},$M.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var JM=/[^.^\]^[]+|(?=\[\]|\.\.)/g,eN=/^\d+$/,tN=/^\d/,nN=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,rN=/^\s*(['"]?)(.*?)(\1)\s*$/,oN=new $M(512),iN=new $M(512),aN=new $M(512),uN={Cache:$M,split:lN,normalizePath:sN,setter:function(e){var t=sN(e);return iN.get(e)||iN.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=sN(e);return aN.get(e)||aN.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+(cN(t)||eN.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])&&(fN(r)&&(r='"'+r+'"'),i=!(a=cN(r))&&/^\d+$/.test(r),t.call(n,r,a,i,o,e))}(Array.isArray(e)?e:lN(e),t,n)}};function sN(e){return oN.get(e)||oN.set(e,lN(e).map((function(e){return e.replace(rN,"$2")})))}function lN(e){return e.match(JM)||[""]}function cN(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function fN(e){return!cN(e)&&(function(e){return e.match(tN)&&!e.match(eN)}(e)||function(e){return nN.test(e)}(e))}var dN=/[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,pN=function(e){return e.match(dN)||[]},hN=function(e,t){return pN(e).join(t).toLowerCase()},vN=function(e){return pN(e).reduce((function(e,t){return"".concat(e).concat(e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase())}),"")},mN=vN,gN=function(e){return hN(e,"_")},yN={exports:{}};function bN(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(Pw){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}}}yN.exports=function(e){return bN(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)},yN.exports.array=bN;var xN=Object.prototype.toString,wN=Error.prototype.toString,_N=RegExp.prototype.toString,EN="undefined"!=typeof Symbol?Symbol.prototype.toString:function(){return""},SN=/^Symbol\((.*)\)(.*)$/;function kN(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}function CN(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e||!0===e||!1===e)return""+e;var n=lo(e);if("number"===n)return kN(e);if("string"===n)return t?'"'.concat(e,'"'):e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return EN.call(e).replace(SN,"Symbol($1)");var r=xN.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+wN.call(e)+"]":"RegExp"===r?_N.call(e):null}function AN(e,t){var n=CN(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){var r=CN(this[e],t);return null!==r?r:n}),2)}function TN(e){return null==e?[]:[].concat(e)}var PN=/\$\{\s*(\w+)\s*\}/g,ON=function(e){eo(n,e);var t=to(n);function n(e,r,o,i){var a;return Jr(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=[],TN(e).forEach((function(e){var t;n.isError(e)?((t=a.errors).push.apply(t,Hr(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(ro(a),n),a}return $r(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(PN,(function(e,n){return AN(t[n])})):"function"==typeof e?e(t):e}},{key:"isError",value:function(e){return e&&"ValidationError"===e.name}}]),n}(oo(Error)),RN={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(AN(o,!0),"`)."):".";return"mixed"!==n?"".concat(t," must be a `").concat(n,"` type, ")+"but the final value was: `".concat(AN(r,!0),"`")+i:"".concat(t," must match the configured type. ")+"The validated value was: `".concat(AN(r,!0),"`")+i}},DN={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"},LN={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"},MN={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},NN={isValue:"${path} field must be ${value}"},FN={noUnknown:"${path} field has unspecified keys: ${unknown}"},IN={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:RN,string:DN,number:LN,date:MN,object:FN,array:IN,boolean:NN});var jN=function(e){return e&&e.__isYupSchema__},zN=function(){function e(t,n){Jr(this,e),this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}return $r(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(!jN(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,Hr(e))?o:i;return null!=(n=null==r?void 0:r(t))?n:t}))}}]),e}();var BN="$",UN=".",VN=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Jr(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]===BN,this.isValue=this.key[0]===UN,this.isSibling=!this.isContext&&!this.isValue;var r=this.isContext?BN:this.isValue?UN:"";this.path=this.key.slice(r.length),this.getter=this.path&&uN.getter(this.path,!0),this.map=n.map}return $r(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}();VN.prototype.__isYupRef=!0;var HN=function(e){return null==e},qN=["value","path","label","options","originalValue","spec","sync"];function YN(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,qN),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 VN.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 ON(ON.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){ON.isError(e)?E(e):e?r(null):E(_())},C=function(e){ON.isError(e)?E(e):n(e)},A=g&&HN(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(O){return void C(O)}k(T)}else try{Promise.resolve(!!A||h.call(S,o,S)).then(k,C)}catch(O){C(O)}}return t.OPTIONS=e,t}var GN=function(e){return e.substr(0,e.length-1).substr(1)};function WN(e,t,n){var r,o,i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return t?(uN.forEach(t,(function(u,s,l){var c=s?GN(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 KN=function(){function e(){Jr(this,e),this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}return $r(e,[{key:"size",get:function(){return this.list.size+this.refs.size}},{key:"describe",value:function(){var e,t=[],n=co(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=co(this.refs);try{for(i.s();!(o=i.n()).done;){var a=Kr(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(VN.isRef(n)?e(n):n)}),[])}},{key:"add",value:function(e){VN.isRef(e)?this.refs.set(e.key,e):this.list.add(e)}},{key:"delete",value:function(e){VN.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 XN(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map;if(jN(e)||!e||"object"!==lo(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]=XN(e[r],n)}else if(e instanceof Map){t=new Map,n.set(e,t);var o,i=co(e.entries());try{for(i.s();!(o=i.n()).done;){var a=Kr(o.value,2),u=a[0],s=a[1];t.set(u,XN(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=co(e);try{for(c.s();!(l=c.n()).done;){var f=l.value;t.add(XN(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=Kr(p[d],2),v=h[0],m=h[1];t[v]=XN(m,n)}}return t}var ZN=function(){function e(t){var n=this;Jr(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 KN,this._blacklist=new KN,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((function(){n.typeError(RN.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 $r(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=Hr(this.deps),t.conditions=Hr(this.conditions),t.tests=Hr(this.tests),t.transforms=Hr(this.transforms),t.spec=XN(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(Hr(t.transforms),Hr(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&&HN(o))return o;var i=AN(e),a=AN(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\n')+"attempted 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,(Wr(t={strict:!0,parent:i,value:f,originalValue:u[l],key:void 0},c?"index":"key",l),Wr(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){ON.isError(e)&&(e.value=t),o(e)}),(function(e,t){e.length?o(new ON(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 ON.isError(e)&&(e.value=t),e}),(function(t,r){if(t.length)throw new ON(t,e);n=r})),n}},{key:"isValid",value:function(e,t){return this.validate(e,t).then((function(){return!0}),(function(e){if(ON.isError(e))return!1;throw e}))}},{key:"isValidSync",value:function(e,t){try{return this.validateSync(e,t),!0}catch(n){if(ON.isError(n))return!1;throw n}}},{key:"_getDefault",value:function(){var e=this.spec.default;return null==e?e:"function"==typeof e?e.call(this):XN(e)}},{key:"getDefault",value:function(e){return this.resolve(e||{})._getDefault()}},{key:"default",value:function(e){if(0===arguments.length)return this._getDefault();var t=this.clone({default:e});return t}},{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=YN({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=YN({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]:RN.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]:RN.notNull;return this.nullability(!1,e)}},{key:"required",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:RN.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=RN.default),"function"!=typeof e.test)throw new TypeError("`test` is a required parameters");var t=this.clone(),n=YN(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){if(t.OPTIONS.name===e.name){if(r)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),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=TN(e).map((function(e){return new VN(e)}));return r.forEach((function(e){e.isSibling&&n.deps.push(e.key)})),n.conditions.push("function"==typeof t?new zN(r,t):zN.fromOptions(r,t)),n}},{key:"typeError",value:function(e){var t=this.clone();return t.internalTests.typeError=YN({message:e,name:"typeError",test:function(e){return!(!HN(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]:RN.oneOf,n=this.clone();return e.forEach((function(e){n._whitelist.add(e),n._blacklist.delete(e)})),n.internalTests.whiteList=YN({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]:RN.notOneOf,n=this.clone();return e.forEach((function(e){n._blacklist.add(e),n._whitelist.delete(e)})),n.internalTests.blacklist=YN({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,o={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}))};return o}}]),e}();ZN.prototype.__isYupSchema__=!0;for(var QN=function(){var e=JN[$N];ZN.prototype["".concat(e,"At")]=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=WN(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}))}},$N=0,JN=["validate","validateSync"];$N<JN.length;$N++)QN();for(var eF=0,tF=["equals","is"];eF<tF.length;eF++){var nF=tF[eF];ZN.prototype[nF]=ZN.prototype.oneOf}for(var rF=0,oF=["not","nope"];rF<oF.length;rF++){var iF=oF[rF];ZN.prototype[iF]=ZN.prototype.notOneOf}function aF(){return new uF}var uF=function(e){eo(n,e);var t=to(n);function n(){var e;return Jr(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 $r(n,[{key:"isTrue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:NN.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:function(e){return HN(e)||!0===e}})}},{key:"isFalse",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:NN.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:function(e){return HN(e)||!1===e}})}},{key:"default",value:function(e){return Ur(so(n.prototype),"default",this).call(this,e)}},{key:"defined",value:function(e){return Ur(so(n.prototype),"defined",this).call(this,e)}},{key:"optional",value:function(){return Ur(so(n.prototype),"optional",this).call(this)}},{key:"required",value:function(e){return Ur(so(n.prototype),"required",this).call(this,e)}},{key:"notRequired",value:function(){return Ur(so(n.prototype),"notRequired",this).call(this)}},{key:"nullable",value:function(){return Ur(so(n.prototype),"nullable",this).call(this)}},{key:"nonNullable",value:function(e){return Ur(so(n.prototype),"nonNullable",this).call(this,e)}},{key:"strip",value:function(e){return Ur(so(n.prototype),"strip",this).call(this,e)}}]),n}(ZN);aF.prototype=uF.prototype;var sF=/^((([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,lF=/^((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,cF=/^(?:[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,fF=function(e){return HN(e)||e===e.trim()},dF={}.toString();function pF(){return new hF}var hF=function(e){eo(n,e);var t=to(n);function n(){var e;return Jr(this,n),(e=t.call(this,{type:"string",check:function(e){return e instanceof String&&(e=e.valueOf()),"string"==typeof e}})).withMutation((function(){e.transform((function(e,t,n){if(!n.spec.coerce||n.isType(e))return e;if(Array.isArray(e))return e;var r=null!=e&&e.toString?e.toString():e;return r===dF?e:r}))})),e}return $r(n,[{key:"required",value:function(e){return Ur(so(n.prototype),"required",this).call(this,e).withMutation((function(t){return t.test({message:e||RN.required,name:"required",skipAbsent:!0,test:function(e){return!!e.length}})}))}},{key:"notRequired",value:function(){return Ur(so(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]:DN.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]:DN.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]:DN.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=!1;if(t)if("object"===lo(t)){var i=t.excludeEmptyString;o=void 0!==i&&i,n=t.message,r=t.name}else n=t;return this.test({name:r||"matches",message:n||DN.matches,params:{regex:e},skipAbsent:!0,test:function(t){return""===t&&o||-1!==t.search(e)}})}},{key:"email",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DN.email;return this.matches(sF,{name:"email",message:e,excludeEmptyString:!0})}},{key:"url",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DN.url;return this.matches(lF,{name:"url",message:e,excludeEmptyString:!0})}},{key:"uuid",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DN.uuid;return this.matches(cF,{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]:DN.trim;return this.transform((function(e){return null!=e?e.trim():e})).test({message:e,name:"trim",test:fF})}},{key:"lowercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DN.lowercase;return this.transform((function(e){return HN(e)?e:e.toLowerCase()})).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:function(e){return HN(e)||e===e.toLowerCase()}})}},{key:"uppercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DN.uppercase;return this.transform((function(e){return HN(e)?e:e.toUpperCase()})).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:function(e){return HN(e)||e===e.toUpperCase()}})}}]),n}(ZN);pF.prototype=hF.prototype;function vF(){return new mF}var mF=function(e){eo(n,e);var t=to(n);function n(){var e;return Jr(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)}})).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 $r(n,[{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:LN.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]:LN.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]:LN.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]:LN.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]:LN.positive;return this.moreThan(0,e)}},{key:"negative",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:LN.negative;return this.lessThan(0,e)}},{key:"integer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:LN.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 HN(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 HN(t)?t:Math[e](t)}))}}]),n}(ZN);vF.prototype=mF.prototype;var gF=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var yF=new Date(""),bF=function(e){eo(n,e);var t=to(n);function n(){var e;return Jr(this,n),e=t.call(this,{type:"date",check:function(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}}),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=gF.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 $r(n,[{key:"prepareParam",value:function(e,t){var n;if(VN.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]:MN.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]:MN.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}(ZN);function xF(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 wF(e){return function(t,n){return xF(e,t)-xF(e,n)}}bF.INVALID_DATE=yF,bF.prototype;var _F=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 EF(e){if("fields"in e){for(var t={},n=0,r=Object.entries(e.fields);n<r.length;n++){var o=Kr(r[n],2),i=o[0],a=o[1];t[i]=EF(a)}return e.setFields(t)}if("array"===e.type){var u=e.optional();return u.innerType&&(u.innerType=EF(u.innerType)),u}return"tuple"===e.type?e.optional().clone({types:e.spec.types.map(EF)}):"optional"in e?e.optional():e}var SF=function(e){return"[object Object]"===Object.prototype.toString.call(e)};function kF(e,t){var n=Object.keys(e.fields);return Object.keys(t).filter((function(e){return-1===n.indexOf(e)}))}var CF=wF([]);function AF(e){return new TF(e)}var TF=function(e){eo(n,e);var t=to(n);function n(e){var r;return Jr(this,n),(r=t.call(this,{type:"object",check:function(e){return SF(e)||"function"==typeof e}})).fields=Object.create(null),r._sortErrors=CF,r._nodes=[],r._excludedEdges=[],r.withMutation((function(){e&&r.shape(e)})),r}return $r(n,[{key:"_cast",value:function(e){var t,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Ur(so(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=co(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 ZN?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(Hr(u)),r.__validating=!0,r.originalValue=l,Ur(so(n.prototype),"_validate",this).call(this,e,r,o,(function(e,n){if(f&&SF(n)){l=l||n;var a,u=[],s=co(t._nodes);try{for(s.s();!(a=s.n()).done;){var c=a.value,d=t.fields[c];d&&!VN.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=Ur(so(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=Ur(so(n.prototype),"concat",this).call(this,e),o=r.fields,i=0,a=Object.entries(this.fields);i<a.length;i++){var u=Kr(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 Ur(so(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=Kr(e,2),n=t[0],r=t[1];return"".concat(n,"-").concat(r)})));function i(e,t){var i=uN.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),VN.isRef(n)&&n.isSibling?i(n.path,t):jN(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 yN.exports.array(Array.from(r),n).reverse()}(e,t),n._sortErrors=wF(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(Hr(n._excludedEdges),Hr(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=Kr(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 EF(this)}},{key:"pick",value:function(e){var t,n={},r=co(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=co(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=uN.getter(e,!0);return this.transform((function(o){if(!o)return o;var i=o;return function(e,t){var n=Hr(uN.normalizePath(t));if(1===n.length)return n[0]in e;var r=n.pop(),o=uN.getter(uN.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(_F)}},{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]:FN.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=kF(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]:FN.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(mN)}},{key:"snakeCase",value:function(){return this.transformKeys(gN)}},{key:"constantCase",value:function(){return this.transformKeys((function(e){return gN(e).toUpperCase()}))}},{key:"describe",value:function(e){var t=Ur(so(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=Kr(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}(ZN);function PF(e){return new OF(e)}AF.prototype=TF.prototype;var OF=function(e){eo(n,e);var t=to(n);function n(e){var r;return Jr(this,n),r=t.call(this,{type:"array",check:function(e){return Array.isArray(e)}}),r.innerType=void 0,r.innerType=e,r}return $r(n,[{key:"_cast",value:function(e,t){var r=this,o=Ur(so(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,Ur(so(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=Ur(so(n.prototype),"clone",this).call(this,e);return t.innerType=this.innerType,t}},{key:"json",value:function(){return this.transform(_F)}},{key:"concat",value:function(e){var t=Ur(so(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(!jN(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+AN(e));return t.innerType=e,t}},{key:"length",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:IN.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||IN.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||IN.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=Ur(so(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}(ZN);PF.prototype=OF.prototype;var RF,DF=new RegExp("(".concat(Object.keys(XM).filter((function(e){return Number.isNaN(Number(e))})).join("|"),")")),LF=AF({lat:vF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:vF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:vF().max(30),radius:vF().max(25e3),include:PF().of(pF().matches(DF,"Must be a valid Score category.").required()).required()}),MF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Pw){i(Pw)}}function u(e){try{s(r.throw(e))}catch(Pw){i(Pw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Ir("a4",RF),function(e){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"}(RF||Ir("a4",RF={}));var NF=new RegExp("(".concat(Object.keys(RF).filter((function(e){return Number.isNaN(Number(e))})).join("|"),")")),FF=AF({lat:vF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:vF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geographyIds:PF().of(pF().required()),geographyLevels:PF().of(pF().matches(/10|20|30/,"Must be a valid Geography level.").required()),locationScoresRounding:aF(),include:PF().of(pF().matches(NF,"Must be a valid Score category.").required())}),IF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Pw){i(Pw)}}function u(e){try{s(r.throw(e))}catch(Pw){i(Pw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},jF=AF({lat:vF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:vF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:vF().max(30,"Must use a limit between 1 and 30."),radius:vF().max(25e3,"Must use a radius between 1 and 25000.")}),zF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Pw){i(Pw)}}function u(e){try{s(r.throw(e))}catch(Pw){i(Pw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},BF=AF({lat:vF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:vF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geogId:pF()}),UF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Pw){i(Pw)}}function u(e){try{s(r.throw(e))}catch(Pw){i(Pw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},VF=AF({lat:vF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:vF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required()}),HF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Pw){i(Pw)}}function u(e){try{s(r.throw(e))}catch(Pw){i(Pw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},qF=AF({lat:vF().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:vF().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),radius:vF().max(5e3)}),YF=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Pw){i(Pw)}}function u(e){try{s(r.throw(e))}catch(Pw){i(Pw)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},GF="LocalLogicClient/",WF=function(e){eo(n,e);var t=to(n);function n(e){var r,o=e.message;return Jr(this,n),(r=t.call(this,o)).name=GF+r.constructor.name,r}return $r(n)}(oo(Error)),KF=function(e){eo(n,e);var t=to(n);function n(e){var r,o=e.message,i=e.response;return Jr(this,n),(r=t.call(this,o)).name=GF+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 $r(n)}(oo(Error)),XF=function(e){eo(n,e);var t=to(n);function n(e){var r,o=e.message;return Jr(this,n),(r=t.call(this,o)).name=GF+r.constructor.name,r}return $r(n)}(oo(Error)),ZF=function(e){if(e instanceof ON)throw new WF(e);if(ZM.isAxiosError(e))throw new KF(e);throw new XF(e)},QF=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){ZF(e)})):o}catch(i){ZF(i)}},n},$F=globalThis&&globalThis.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":lo(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},JF=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{locale:"en"};Jr(this,e),this.requests=QM(t,n),this.options=n}return $r(e,[{key:"getPois",value:function(e){return(t=this.requests,function(e){return MF(void 0,void 0,void 0,Fr().mark((function n(){var r,o,i,a,u,s,l;return Fr().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,LF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.limit,u=r.radius,s=r.include,n.next=6,t.get("/pois",{params:{lat:o,lng:i,limit:a,radius:u,include:null==s?void 0:s.join(",")}});case 6:return l=n.sent,n.abrupt("return",l.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getScores",value:function(e){return(t=this.requests,function(e){return IF(void 0,void 0,void 0,Fr().mark((function n(){var r,o,i,a,u,s,l,c,f;return Fr().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,FF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.include,u=r.geographyIds,s=r.geographyLevels,l=r.locationScoresRounding,c=void 0===l||l,n.next=6,t.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 6:return f=n.sent,n.abrupt("return",f.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getSchools",value:function(e){return(t=this.requests,function(e){return zF(void 0,void 0,void 0,Fr().mark((function n(){var r,o,i,a,u,s;return Fr().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,jF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.limit,u=r.radius,n.next=6,t.get("/schools",{params:{lat:o,lng:i,limit:a,radius:u}});case 6:return s=n.sent,n.abrupt("return",s.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getProfiles",value:function(e){return(t=this.requests,function(e){return UF(void 0,void 0,void 0,Fr().mark((function n(){var r,o,i,a,u;return Fr().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,BF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.geogId,n.next=6,t.get("/profiles",{params:{lat:o,lng:i,geog_id:a}});case 6:return u=n.sent,n.abrupt("return",u.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getGeographies",value:function(e){return(t=this.requests,function(e){return HF(void 0,void 0,void 0,Fr().mark((function n(){var r,o,i,a;return Fr().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,VF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,n.next=6,t.get("/geographies",{params:{lat:o,lng:i}});case 6:return a=n.sent,n.abrupt("return",a.data.data);case 8:case"end":return n.stop()}}),n)})))})(e);var t}},{key:"getDemographics",value:function(e){return(t=this.requests,function(e){return YF(void 0,void 0,void 0,Fr().mark((function n(){var r,o,i,a,u;return Fr().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,qF.validate(e);case 2:return r=n.sent,o=r.lat,i=r.lng,a=r.radius,n.next=6,t.get("/demographics",{params:{lat:o,lng:i,radius:a}});case 6:return u=n.sent,n.abrupt("return",u.data.data.attributes);case 8:case"end":return n.stop()}}),n)})))})(e);var t}}]),e}();$F([QF],JF.prototype,"getPois",null),$F([QF],JF.prototype,"getScores",null),$F([QF],JF.prototype,"getSchools",null),$F([QF],JF.prototype,"getProfiles",null),$F([QF],JF.prototype,"getGeographies",null),$F([QF],JF.prototype,"getDemographics",null);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=Ir("a",(function(){return Ir("a",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=Xr.exports.createContext({strict:!1}),cI=Object.keys(sI),fI=cI.length;var dI=Xr.exports.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),pI=Xr.exports.createContext({});var hI=Xr.exports.createContext(null),vI="undefined"!=typeof document,mI=vI?Xr.exports.useLayoutEffect:Xr.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(Xr.exports.useState(gI.current),1)[0]}function xI(e,t,n,r){var o,i,a=Xr.exports.useContext(lI),u=Xr.exports.useContext(pI).visualElement,s=Xr.exports.useContext(hI),l=(o=bI(),"never"!==(i=Xr.exports.useContext(dI).reducedMotion)&&("always"===i||o)),c=Xr.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()})),Xr.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"===lo(e)&&Object.prototype.hasOwnProperty.call(e,"current")}function _I(e,t,n){return Xr.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,Xr.exports.useContext(pI)),n=t.initial,r=t.animate;return Xr.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=Xr.exports.useRef(null);return null===t.current&&(t.current=e()),t.current}var DI={hasAnimatedSinceResize:!0,hasEverUpdated:!1},LI=1;var MI=Xr.exports.createContext({}),NI=Xr.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}(Uo.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),Xr.exports.forwardRef((function(e,u){var s=function(e){var t,n=e.layoutId,r=null===(t=Xr.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=Xr.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=Xr.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=Xr.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(Dx(l,Gr({},nI({key:a},e,{visualElement:t}))))}return r}(e,f.visualElement,t)),Lx(FI,{visualElement:f.visualElement,props:nI(nI({},l),e),children:[c,Dx(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"===lo(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=Kr(r.match(nj),4),a=i[0],u=i[1],s=i[2],l=i[3];return Wr(o={},e,parseFloat(a)),Wr(o,t,parseFloat(u)),Wr(o,n,parseFloat(s)),Wr(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,Hr(r.map(Ej.parse))));var o=e.match(nj);return o&&(e=e.replace(nj,kj),t.push.apply(t,Hr(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=Kr(e.slice(0,-1).split("("),2),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=Kr(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 Xr.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=Xr.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),Xr.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"===lo(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"===lo(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=Xr.exports.useContext(pI),o=Xr.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(Pw){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){Xr.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 Xr.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=Hr(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"===lo(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=Kr(e,2),r=n[0],o=n[1],i=Kr(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;Xr.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;Xr.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=Xr.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=Xr.exports.useRef(!1),s=Xr.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=Xr.exports.useContext(hI);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=RI(EU);Xr.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)&&Xr.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=Xr.exports.useContext(hI);Xr.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=Xr.exports.useRef(null),s=Xr.exports.useContext(dI).transformPagePoint,l={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){u.current=null,r&&r(e,t)}};Xr.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)}));Xr.exports.useEffect((function(){return t&&t.subscribe(r)}),[r,t]),Xr.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}(Uo.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=Xr.exports.useContext(MI);return Dx(OH,Gr({},nI({},e,{layoutGroup:o,switchLayoutGroup:Xr.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=Ir("a2",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=Uo,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=Gr(Gr(Gr(Gr(Gr(Gr(Gr({},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=Gr(Gr({},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 Gr(Gr({},e),{},Wr({},t,"var(".concat(t,")")))}),{}),Uq={day:jq,night:zq},Vq=dE(Q||(Q=zr(["\n :root {\n ",";\n }\n"])),(function(e){var t=e.themeName,n=e.overrides;return Gr(Gr({},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=Gr(Gr({colors:Mq},qq),Yq),Wq=hE.span(te||(te=zr(["\n display: inline-flex;\n color: ",";\n background-color: ",";\n border-radius: ",";\n line-height: 1;\n font-family: ",";\n font-size: ",";\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?Z_($||($=zr(["\n padding: calc("," / 2) ",";\n "])),Bq["--ll-spacing-xx-small"],Bq["--ll-spacing-xx-small"]):"large"===t?Z_(J||(J=zr(["\n padding: calc("," / 2) ",";\n font-size: ",";\n "])),Bq["--ll-spacing-small"],Bq["--ll-spacing-medium"],Bq["--ll-font-size-p"]):Z_(ee||(ee=zr(["\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=Uo,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=hE.div(ne||(ne=zr(["\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=hE.span(re||(re=zr(["\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=hE.div(oe||(oe=zr(["\n ","\n"])),(function(e){return Z_(ie||(ie=zr(["\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&&Z_(ae||(ae=zr(["\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=hE.a(ue||(ue=zr(["\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&&Z_(se||(se=zr(["\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=Xr.exports.createContext(r),i=n.length;function a(t){var n=t.scope,r=t.children,a=Br(t,An),u=(null==n?void 0:n[e][i])||o,s=Xr.exports.useMemo((function(){return a}),Object.values(a));return Xr.exports.createElement(u.Provider,{value:s},r)}return n=[].concat(Hr(n),[r]),a.displayName=t+"Provider",[a,function(n,a){var u=(null==a?void 0:a[e][i])||o,s=Xr.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 Xr.exports.createContext(e)}));return function(n){var r=(null==n?void 0:n[e])||t;return Xr.exports.useMemo((function(){return Wr({},"__scope".concat(e),Gr(Gr({},n),{},Wr({},e,r)))}),[n,r])}};return o.scopeName=e,[r,fY.apply(void 0,[o].concat(Hr(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 Gr(Gr({},e),i)}),{});return Xr.exports.useMemo((function(){return Wr({},"__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 Xr.exports.useCallback(pY.apply(void 0,t),t)}var vY=Xr.exports.forwardRef((function(e,t){var n=e.children,r=Br(e,Tn),o=Xr.exports.Children.toArray(n),i=o.find(yY);if(i){var a=i.props.children,u=o.map((function(e){return e===i?Xr.exports.Children.count(a)>1?Xr.exports.Children.only(null):Xr.exports.isValidElement(a)?a.props.children:null:e}));return Xr.exports.createElement(mY,lY({},r,{ref:t}),Xr.exports.isValidElement(a)?Xr.exports.cloneElement(a,void 0,u):null)}return Xr.exports.createElement(mY,lY({},r,{ref:t}),n)}));vY.displayName="Slot";var mY=Xr.exports.forwardRef((function(e,t){var n=e.children,r=Br(e,Pn);return Xr.exports.isValidElement(n)?Xr.exports.cloneElement(n,Gr(Gr({},function(e,t){var n=Gr({},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]=Gr(Gr({},o),i):"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))};for(var o in t)r(o);return Gr(Gr({},e),n)}(r,n.props)),{},{ref:pY(t,n.ref)})):Xr.exports.Children.count(n)>1?Xr.exports.Children.only(null):null}));mY.displayName="SlotClone";var gY=function(e){var t=e.children;return Xr.exports.createElement(Xr.exports.Fragment,null,t)};function yY(e){return Xr.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=Xr.exports.forwardRef((function(e,n){var r=e.asChild,o=Br(e,On),i=r?vY:t;return Xr.exports.useEffect((function(){window[Symbol.for("radix-ui")]=!0}),[]),Xr.exports.createElement(i,lY({},o,{ref:n}))}));return n.displayName="Primitive.".concat(t),Gr(Gr({},e),{},Wr({},t,n))}),{});var xY=Boolean(null==globalThis?void 0:globalThis.document)?Xr.exports.useLayoutEffect:function(){},wY=Vo["useId".toString()]||function(){},_Y=0;function EY(e){var t=Kr(Xr.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=Xr.exports.createContext(t);function r(e){var t=e.children,r=Br(e,Cn),o=Xr.exports.useMemo((function(){return r}),Object.values(r));return Xr.exports.createElement(n.Provider,{value:o},t)}return r.displayName=e+"Provider",[r,function(r){var o=Xr.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=Kr(SY,2),CY=kY[0],AY=kY[1],TY=Xr.exports.forwardRef((function(e,t){var n=e.htmlFor,r=e.id,o=Br(e,Rn),i=Xr.exports.useRef(null),a=Xr.exports.useRef(null),u=hY(t,a),s=EY(r);return Xr.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]),Xr.exports.createElement(CY,{id:s,controlRef:i},Xr.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 Xr.exports.useEffect((function(){e&&(n.current=e)}),[e,n]),t.id};hE(TY)(le||(le=zr(["\n font-size: ",";\n font-family: ",";\n color: ",";\n"])),Bq["--ll-font-size-p"],Bq["--ll-font-family"],Bq["--ll-color-placeholder"]),hE.div(ce||(ce=zr(["\n display: flex;\n flex-direction: column;\n"]))),hE.input(fe||(fe=zr(["\n all: unset;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ",";\n padding: 0 10px;\n height: 32px;\n line-height: 1;\n font-size: ",";\n font-family: ",";\n color: ",";\n background-color: ",";\n border: 1px solid ",";\n\n &:focus {\n box-shadow: ",";\n }\n"])),Bq["--ll-border-radius-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-shadow-small"]);var OY=pE(de||(de=zr(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"]))),RY={small:16,medium:24,large:32},DY=hE.div(pe||(pe=zr(["\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=Z_(he||(he=zr(["\n ",";\n\n height: ",";\n"])),(function(e){e.color;return Z_(ve||(ve=zr(["\n color: ",";\n\n &:disabled {\n cursor: default;\n }\n "])),Bq["--ll-color-on-background"])}),NY),IY=Z_(me||(me=zr(["\n ",";\n height: ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t;return Z_(ge||(ge=zr(["\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=Z_(ye||(ye=zr(["\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 Z_(be||(be=zr(["\n border-color: ",";\n border-width: 1px;\n border-style: solid;\n color: ",";\n "])),MY[n].background,MY[n].background)}),NY),zY=hE.div(xe||(xe=zr(["\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=hE.button(we||(we=zr(["\n font-weight: ",";\n border-radius: ",";\n align-items: 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=Uo.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=Xr.exports.useRef(e);return Xr.exports.useEffect((function(){t.current=e})),Xr.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=Xr.exports.useState(t),o=Kr(r,1)[0],i=Xr.exports.useRef(o),a=HY(n);return Xr.exports.useEffect((function(){i.current!==o&&(a(o),i.current=o)}),[o,i,a]),r}({defaultProp:n,onChange:o}),a=Kr(i,2),u=a[0],s=a[1],l=void 0!==t,c=l?t:u,f=HY(o),d=Xr.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=Xr.exports.useRef({value:e,previous:e});return Xr.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=Kr(Xr.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";var WY="Switch",KY=Kr(cY(WY),2),XY=KY[0],ZY=(KY[1],Kr(XY(WY),2)),QY=ZY[0],$Y=ZY[1],JY=Xr.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=Br(e,Dn),p=Kr(Xr.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=Xr.exports.useRef(!1),x=!h||Boolean(h.closest("form")),w=Kr(qY({prop:i,defaultProp:a,onChange:f}),2),_=w[0],E=void 0!==_&&_,S=w[1];return Xr.exports.createElement(QY,{scope:n,checked:E,disabled:s},Xr.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&&Xr.exports.createElement(tG,{control:h,bubbles:!b.current,name:o,value:c,checked:E,required:u,disabled:s,style:{transform:"translateX(-100%)"}}))})),eG=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSwitch,r=Br(e,Ln),o=$Y("SwitchThumb",n);return Xr.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=Br(e,Mn),a=Xr.exports.useRef(null),u=YY(n),s=GY(t);return Xr.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]),Xr.exports.createElement("input",lY({type:"checkbox","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:a,style:Gr(Gr(Gr({},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=Kr(t,2),r=n[0],o=n[1];return Math.min(o,Math.max(r,e))}hE(JY)(_e||(_e=zr(["\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"]),hE(rG)(Ee||(Ee=zr(["\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=Xr.exports.createContext(void 0);function aG(e){var t=e+"CollectionProvider",n=Kr(cY(t),2),r=n[0],o=n[1],i=Kr(r(t,{collectionRef:{current:null},itemMap:new Map}),2),a=i[0],u=i[1],s=e+"CollectionSlot",l=Uo.forwardRef((function(e,t){var n=e.scope,r=e.children,o=hY(t,u(s,n).collectionRef);return Uo.createElement(vY,{ref:o},r)})),c=e+"CollectionItemSlot",f="data-radix-collection-item",d=Uo.forwardRef((function(e,t){var n,r=e.scope,o=e.children,i=Br(e,Nn),a=Uo.useRef(null),s=hY(t,a),l=u(c,r);return Uo.useEffect((function(){return l.itemMap.set(a,Gr({ref:a},i)),function(){l.itemMap.delete(a)}})),Uo.createElement(vY,(Wr(n={},f,""),Wr(n,"ref",s),n),o)}));return[{Provider:function(e){var t=e.scope,n=e.children,r=Uo.useRef(null),o=Uo.useRef(new Map).current;return Uo.createElement(a,{scope:t,itemMap:o,collectionRef:r},n)},Slot:l,ItemSlot:d},function(t){var n=u(e+"CollectionConsumer",t);return Uo.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=Kr(aG(cG),3),dG=fG[0],pG=fG[1],hG=fG[2],vG=Kr(cY(cG,[hG]),2),mG=vG[0],gG=(vG[1],Kr(mG(cG),2)),yG=gG[0],bG=gG[1],xG=Xr.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=Br(e,Fn),w=Kr(Xr.exports.useState(null),2),_=w[0],E=w[1],S=hY(t,(function(e){return E(e)})),k=Xr.exports.useRef(new Set),C=Xr.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=Hr(k.current)[C.current])||void 0===t||t.focus(),b(e)}}),R=Kr(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 Xr.exports.createElement(yG,{scope:e.__scopeSlider,disabled:d,min:o,max:a,valueIndexToChangeRef:C,thumbs:k.current,values:L,orientation:c},Xr.exports.createElement(dG.Provider,{scope:e.__scopeSlider},Xr.exports.createElement(dG.Slot,{scope:e.__scopeSlider},Xr.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,Hr(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 Xr.exports.createElement(LG,{key:t,name:n?n+(L.length>1?"[]":""):void 0,value:e})})))})),wG=Kr(mG(cG,{startEdge:"left",endEdge:"right",size:"width",direction:1}),2),_G=wG[0],EG=wG[1],SG=Xr.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=Br(e,In),l=Kr(Xr.exports.useState(null),2),c=l[0],f=l[1],d=hY(t,(function(e){return f(e)})),p=Xr.exports.useRef(),h=function(e){var t=Xr.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 Xr.exports.createElement(_G,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width"},Xr.exports.createElement(CG,lY({dir:h,"data-orientation":"horizontal"},s,{ref:d,style:Gr(Gr({},s.style),{},Wr({},"--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=Xr.exports.forwardRef((function(e,t){var n=e.min,r=e.max,o=e.onSlideStart,i=e.onSlideMove,a=e.onStepKeyDown,u=Br(e,jn),s=Xr.exports.useRef(null),l=hY(t,s),c=Xr.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 Xr.exports.createElement(_G,{scope:e.__scopeSlider,startEdge:"bottom",endEdge:"top",size:"height",direction:1},Xr.exports.createElement(CG,lY({"data-orientation":"vertical"},u,{ref:l,style:Gr(Gr({},u.style),{},Wr({},"--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=Xr.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=Br(e,zn),c=bG(cG,n);return Xr.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=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=Br(e,Bn),o=bG("SliderTrack",n);return Xr.exports.createElement(bY.span,lY({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))})),TG="SliderRange",PG=Xr.exports.forwardRef((function(e,t){var n,r=e.__scopeSlider,o=Br(e,Un),i=bG(TG,r),a=EG(TG,r),u=hY(t,Xr.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,Hr(l)):0,f=100-Math.max.apply(Math,Hr(l));return Xr.exports.createElement(bY.span,lY({"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0},o,{ref:u,style:Gr(Gr({},e.style),{},(n={},Wr(n,a.startEdge,c+"%"),Wr(n,a.endEdge,f+"%"),n))}))})),OG="SliderThumb",RG=Xr.exports.forwardRef((function(e,t){var n=pG(e.__scopeSlider),r=Kr(Xr.exports.useState(null),2),o=r[0],i=r[1],a=hY(t,(function(e){return i(e)})),u=Xr.exports.useMemo((function(){return o?n().findIndex((function(e){return e.ref.current===o})):-1}),[n,o]);return Xr.exports.createElement(DG,lY({},e,{ref:a,index:u}))})),DG=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSlider,r=e.index,o=Br(e,Vn),i=bG(OG,n),a=EG(OG,n),u=Kr(Xr.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 Xr.exports.useEffect((function(){if(s)return i.thumbs.add(s),function(){i.thumbs.delete(s)}}),[s,i.thumbs]),Xr.exports.createElement("span",{style:Wr({transform:"var(--radix-slider-thumb-transform)",position:"absolute"},a.startEdge,"calc(".concat(p,"% + ").concat(m,"px)"))},Xr.exports.createElement(dG.ItemSlot,{scope:e.__scopeSlider},Xr.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=Br(e,Hn),r=Xr.exports.useRef(null),o=YY(t);return Xr.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]),Xr.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=Hr(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,Hr(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;hE.div(Se||(Se=zr([""]))),hE.div(ke||(ke=zr(["\n display: flex;\n align-items: center;\n"]))),hE(jG)(Ce||(Ce=zr(["\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"]))),hE(UG)(Ae||(Ae=zr(["\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"]),hE(zG)(Te||(Te=zr(["\n height: 4px;\n border-radius: 2px;\n background-color: ",";\n position: relative;\n flex: 1;\n"])),Bq["--ll-color-surface-variant1"]),hE(BG)(Pe||(Pe=zr(["\n height: 100%;\n position: absolute;\n background-color: ",";\n border-radius: 2px;\n"])),Bq["--ll-color-primary"]);var VG=hE.div(Oe||(Oe=zr(["\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=Xr.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),XG=Xr.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=Br(e,qn),c=Xr.exports.useContext(KG),f=Kr(Xr.exports.useState(null),2),d=f[0],p=f[1],h=Kr(Xr.exports.useState({}),2)[1],v=hY(t,(function(e){return p(e)})),m=Array.from(c.layers),g=Kr(Hr(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=Xr.exports.useRef(!1),r=Xr.exports.useRef((function(){}));return Xr.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=Hr(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=Xr.exports.useRef(!1);return Xr.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;Hr(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);Xr.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()))})),Xr.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]),Xr.exports.useEffect((function(){return function(){!d||(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),ZG())}}),[d,c]),Xr.exports.useEffect((function(){var e=function(){return h({})};return document.addEventListener(YG,e),function(){return document.removeEventListener(YG,e)}}),[]),Xr.exports.createElement(bY.div,lY({},l,{ref:v,style:Gr({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&&qo.exports.flushSync((function(){return e.dispatchEvent(t)}))}(i,a):i.dispatchEvent(a)}var $G=0;function JG(){Xr.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=Xr.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=Br(e,Yn),l=Kr(Xr.exports.useState(null),2),c=l[0],f=l[1],d=HY(a),p=HY(u),h=Xr.exports.useRef(null),v=hY(t,(function(e){return f(e)})),m=Xr.exports.useRef({paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}}).current;Xr.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]),Xr.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=co(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=Xr.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=Kr(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 Xr.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=co(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=Hr(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=jr(Fr().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 Fr().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=Gr(Gr({},g),{},Wr({},w,Gr(Gr({},g[w]),C))),!(A&&y<=50)){e.next=49;break}if(y++,e.t0="object"==lo(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 Gr({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function bW(e){return Gr(Gr({},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=jr(Fr().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 Fr().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?Gr(Gr({},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 jr(Fr().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 Fr().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",(Wr(o={},m,v[m]-R),Wr(o,"data",(Wr(r={},m,O),Wr(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 jr(Fr().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 Fr().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=Br(c,Gn),w=dW(o),_=v||(w!==u&&b?DW(u):[AW(u)]),E=[u].concat(Hr(_)),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(Hr(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=Br(t,Wn);return{name:"hide",fn:function(e){return jr(Fr().mark((function t(){var n,i,a,u,s;return Fr().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,Gr(Gr({},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,Gr(Gr({},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=jr(Fr().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m;return Fr().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}:Gr({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 jr(Fr().mark((function n(){var r,o,i;return Fr().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 jr(Fr().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 Fr().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=Br(u,Kn),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(Gr(Gr({},t),{},(Wr(r={},g,b),Wr(r,y,x),r))),n.abrupt("return",Gr(Gr({},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(Gr(Gr({},a),{},{placement:i})):c,w="number"==typeof x?{mainAxis:x,crossAxis:0}:Gr({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 Wr(n={},m,y),Wr(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":lo(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(Hr("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 Gr(Gr({},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:Gr(Gr({},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(Hr(XW(e)?hK(e):[]),Hr(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":lo(document))<"u"?Xr.exports.useLayoutEffect:Xr.exports.useEffect;function xK(e,t){if(e===t)return!0;if(lo(e)!=lo(t))return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;var n,r,o;if(e&&t&&"object"==lo(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=Xr.exports.useRef(null),l=Xr.exports.useRef(null),c=function(e){var t=Xr.exports.useRef(e);return bK((function(){t.current=e})),t}(u),f=Xr.exports.useRef(null),d=Kr(Xr.exports.useState({x:null,y:null,strategy:a,placement:o,middlewareData:{}}),2),p=d[0],h=d[1],v=Kr(Xr.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=Xr.exports.useCallback((function(){!s.current||!l.current||function(e,t,n){return gW(e,t,Gr({platform:gK},n))}(s.current,l.current,{middleware:m,placement:o,strategy:a}).then((function(e){b.current&&qo.exports.flushSync((function(){h(e)}))}))}),[m,o,a]);bK((function(){b.current&&y()}),[y]);var b=Xr.exports.useRef(!1);bK((function(){return b.current=!0,function(){b.current=!1}}),[]);var x=Xr.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=Xr.exports.useCallback((function(e){s.current=e,x()}),[x]),_=Xr.exports.useCallback((function(e){l.current=e,x()}),[x]),E=Xr.exports.useMemo((function(){return{reference:s,floating:l}}),[]);return Xr.exports.useMemo((function(){return Gr(Gr({},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=Xr.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=Br(e,Xn);return Xr.exports.createElement(bY.svg,lY({},u,{ref:t,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:Xr.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))})),SK=EK,kK="Popper",CK=Kr(cY(kK),2),AK=CK[0],TK=CK[1],PK=Kr(AK(kK),2),OK=(PK[0],PK[1]),RK=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopper,r=e.virtualRef,o=Br(e,Zn),i=OK("PopperAnchor",n),a=Xr.exports.useRef(null),u=hY(t,a);return Xr.exports.useEffect((function(){i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:Xr.exports.createElement(bY.div,lY({},o,{ref:u}))})),DK="PopperContent",LK=Kr(AK(DK),2),MK=LK[0],NK=LK[1],FK=Kr(AK(DK,{hasParent:!1,positionUpdateFns:new Set}),2),IK=FK[0],jK=FK[1],zK=Xr.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=Br(e,Qn),D=OK(DK,c),L=Kr(Xr.exports.useState(null),2),M=L[0],N=L[1],F=hY(t,(function(e){return N(e)})),I=Kr(Xr.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:Gr({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(Gr({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?VW():void 0},W)):void 0,j?_K({element:j,padding:x}):void 0,O?LW(Gr({},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=Kr(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=Kr(Xr.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;Xr.exports.useLayoutEffect((function(){if(!me)return ve.add(ne),function(){ve.delete(ne)}}),[me,ve,ne]),Xr.exports.useLayoutEffect((function(){me&&re&&Array.from(ve).reverse().forEach((function(e){return requestAnimationFrame(e)}))}),[me,re,ve]);var ge=Gr(Gr({"data-side":ie,"data-align":ae},R),{},{ref:F,style:Gr(Gr({},R.style),{},{animation:re?void 0:"none",opacity:null!==(u=te.hide)&&void 0!==u&&u.referenceHidden?0:void 0})});return Xr.exports.createElement("div",{ref:Z,"data-radix-popper-content-wrapper":"",style:Wr({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(" "))},Xr.exports.createElement(MK,{scope:c,placedSide:ie,onArrowChange:z,arrowX:ue,arrowY:se,shouldHideArrow:le},me?Xr.exports.createElement(IK,{scope:c,hasParent:!0,positionUpdateFns:ve},Xr.exports.createElement(bY.div,ge)):Xr.exports.createElement(bY.div,ge)))})),BK={top:"bottom",right:"left",bottom:"top",left:"right"},UK=Xr.exports.forwardRef((function(e,t){var n,r=e.__scopePopper,o=Br(e,$n),i=NK("PopperArrow",r),a=BK[i.placedSide];return Xr.exports.createElement("span",{ref:i.onArrowChange,style:(n={position:"absolute",left:i.arrowX,top:i.arrowY},Wr(n,a,0),Wr(n,"transformOrigin",{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide]),Wr(n,"transform",{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide]),Wr(n,"visibility",i.shouldHideArrow?"hidden":void 0),n)},Xr.exports.createElement(SK,lY({},o,{ref:t,style:Gr(Gr({},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=Kr(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=Kr(e.split("-"),2),n=t[0],r=t[1];return[n,void 0===r?"center":r]}var GK=RK,WK=zK,KK=UK,XK=Xr.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=Br(e,Jn);return o?Xv.createPortal(Xr.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=Kr(Xr.exports.useState(),2),n=t[0],r=t[1],o=Xr.exports.useRef({}),i=Xr.exports.useRef(e),a=Xr.exports.useRef("none"),u=Kr(function(e,t){return Xr.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 Xr.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&&qo.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:Xr.exports.useCallback((function(e){e&&(o.current=getComputedStyle(e)),r(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):Xr.exports.Children.only(n),i=hY(r.ref,o.ref);return"function"==typeof n||r.isPresent?Xr.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":lo(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=Xr.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,Gr({},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=Xr.exports.forwardRef((function(e,t){var n=Xr.exports.useRef(null),r=Xr.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?Xr.exports.cloneElement(Xr.exports.Children.only(u),rX(rX({},w),{ref:x})):Qq(g,Gr(Gr({},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":lo(__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){Xr.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":lo(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=Xr.exports.useMemo((function(){return yX(o)}),[o]);return Qq(bX,{styles:xX(i,!t,o,n?"":"!important")})},_X=!1;if(("undefined"==typeof window?"undefined":lo(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":lo(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=Xr.exports.useRef([]),n=Xr.exports.useRef([0,0]),r=Xr.exports.useRef(),o=Xr.exports.useState(DX++)[0],i=Xr.exports.useState((function(){return vX()}))[0],a=Xr.exports.useRef(e);Xr.exports.useEffect((function(){a.current=e}),[e]),Xr.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=Xr.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=Xr.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=Xr.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=Xr.exports.useCallback((function(e){n.current=TX(e),r.current=void 0}),[]),f=Xr.exports.useCallback((function(t){l(t.type,PX(t),t.target,u(t,e.lockRef.current))}),[]),d=Xr.exports.useCallback((function(t){l(t.type,TX(t),t.target,u(t,e.lockRef.current))}),[]);Xr.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=Xr.exports.forwardRef((function(e,t){return Qq(dX,Gr({},rX({},e,{ref:t,sideCar:MX})))}));NX.classNames=dX.classNames;var FX=NX,IX="Popover",jX=Kr(cY(IX,[TK]),2),zX=jX[0],BX=(jX[1],TK()),UX=Kr(zX(IX),2),VX=(UX[0],UX[1]),HX=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=Br(e,er),o=VX("PopoverTrigger",n),i=BX(n),a=hY(t,o.triggerRef),u=Xr.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:Xr.exports.createElement(GK,lY({asChild:!0},i),u)})),qX=Kr(zX("PopoverPortal",{forceMount:void 0}),2),YX=(qX[0],qX[1]),GX="PopoverContent",WX=Xr.exports.forwardRef((function(e,t){var n=YX(GX,e.__scopePopover),r=e.forceMount,o=void 0===r?n.forceMount:r,i=Br(e,tr),a=VX(GX,e.__scopePopover);return Xr.exports.createElement(ZK,{present:o||a.open},a.modal?Xr.exports.createElement(KX,lY({},i,{ref:t})):Xr.exports.createElement(XX,lY({},i,{ref:t})))})),KX=Xr.exports.forwardRef((function(e,t){var n=VX(GX,e.__scopePopover),r=Xr.exports.useRef(null),o=hY(t,r),i=Xr.exports.useRef(!1);return Xr.exports.useEffect((function(){var e=r.current;if(e)return nX(e)}),[]),Xr.exports.createElement(FX,{as:vY,allowPinchZoom:!0},Xr.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=Xr.exports.forwardRef((function(e,t){var n=VX(GX,e.__scopePopover),r=Xr.exports.useRef(!1);return Xr.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=Xr.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=Br(e,nr),d=VX(GX,n),p=BX(n);return JG(),Xr.exports.createElement(oW,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},Xr.exports.createElement(XG,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:l,onDismiss:function(){return d.onOpenChange(!1)}},Xr.exports.createElement(WK,lY({"data-state":$X(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:Gr(Gr({},f.style),{},Wr({},"--radix-popover-content-transform-origin","var(--radix-popper-transform-origin)"))}))))})),QX=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=Br(e,rr),o=BX(n);return Xr.exports.createElement(KK,lY({},o,r,{ref:t}))}));function $X(e){return e?"open":"closed"}var JX=WX,eZ=QX;hE(HX)(Re||(Re=zr(["\n background: none;\n border: none;\n padding: 0;\n"]))),hE(JX)(De||(De=zr(["\n border-radius: ",";\n box-shadow: ",";\n padding: ",";\n"])),Bq["--ll-border-radius-small"],Bq["--ll-shadow-small"],Bq["--ll-spacing-medium"]),hE(eZ)(Le||(Le=zr(["\n fill: ",";\n"])),Bq["--ll-color-background"]);var tZ={primary:{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};hE.button(Me||(Me=zr(["\n ",";\n"])),(function(e){var t=e.color,n=void 0===t?"primary":t,r=e.size,o=void 0===r?"medium":r;return Z_(Ne||(Ne=zr(["\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\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=pE(Ie||(Ie=zr(["\n from {\n background-position: -800px 0;\n }\n\n to {\n background-position: 800px 0;\n }\n"])));hE.div(je||(je=zr(["\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 Z_(Fe||(Fe=zr(["\n height: ",";\n width: ",";\n "])),t,n)})),hE.div(ze||(ze=zr(["\n flex: 1;\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),hE.div(Be||(Be=zr(["\n display: flex;\n flex-direction: column;\n align-items: center;\n"])));var oZ=Xr.exports.forwardRef((function(e,t){return Xr.exports.createElement(bY.span,lY({},e,{ref:t,style:Gr({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=Kr(aG(uZ),3),lZ=sZ[0],cZ=sZ[1],fZ=Kr(cY(uZ,[sZ[2]]),2),dZ=fZ[0],pZ=(fZ[1],Kr(dZ(uZ),2)),hZ=(pZ[0],pZ[1]);dZ(uZ);var vZ=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.disabled,o=void 0!==r&&r,i=e["aria-labelledby"],a=Br(e,or),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=Kr(d,3),h=p[0],v=p[1],m=p[2],g=function(){o||(u.onOpenChange(!0),m())};return Xr.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=Xr.exports.forwardRef((function(e,t){e.__scopeSelect;var n=e.children,r=Br(e,ir);return Xr.exports.createElement(bY.span,lY({"aria-hidden":!0},r,{ref:t}),n||"▼")})),gZ="SelectContent",yZ=Xr.exports.forwardRef((function(e,t){var n=hZ(gZ,e.__scopeSelect),r=Kr(Xr.exports.useState(),2),o=r[0],i=r[1];return xY((function(){i(new DocumentFragment)}),[]),Xr.exports.createElement(Xr.exports.Fragment,null,n.open?Xr.exports.createElement(EZ,lY({},e,{ref:t})):o?qo.exports.createPortal(Xr.exports.createElement(wZ,{scope:e.__scopeSelect},Xr.exports.createElement(lZ.Slot,{scope:e.__scopeSelect},Xr.exports.createElement("div",null,e.children))),o):null)})),bZ=10,xZ=Kr(dZ(gZ),2),wZ=xZ[0],_Z=xZ[1],EZ=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.onCloseAutoFocus,o=Br(e,ar),i=hZ(gZ,n),a=Kr(Xr.exports.useState(null),2),u=a[0],s=a[1],l=Kr(Xr.exports.useState(null),2),c=l[0],f=l[1],d=Kr(Xr.exports.useState(null),2),p=d[0],h=d[1],v=hY(t,(function(e){return f(e)})),m=Kr(Xr.exports.useState(null),2),g=m[0],y=m[1],b=Kr(Xr.exports.useState(null),2),x=b[0],w=b[1],_=cZ(n),E=Kr(Xr.exports.useState(!1),2),S=E[0],k=E[1],C=Xr.exports.useRef(!0),A=Xr.exports.useRef(!1),T=Xr.exports.useRef(!1);Xr.exports.useEffect((function(){if(c)return nX(c)}),[c]),JG();var P=Kr(Xr.exports.useState(),2),O=P[0],R=P[1];xY((function(){c&&R(window.getComputedStyle(c).zIndex)}),[c]);var D=Xr.exports.useCallback((function(e){var t,n=_().map((function(e){return e.ref.current})),r=Nr(n),o=r[0],i=Kr(r.slice(1).slice(-1),1)[0],a=document.activeElement,u=co(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=Xr.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=Xr.exports.useCallback((function(){return D([g,c])}),[D,g,c]);Xr.exports.useEffect((function(){S&&M()}),[S,M]);var N=Xr.exports.useCallback((function(e){e&&!0===C.current&&(L(),M(),C.current=!1)}),[L,M]),F=i.onOpenChange,I=i.triggerPointerDownPosRef;Xr.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]),Xr.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=Kr(j,2),B=z[0],U=z[1],V=Xr.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=Xr.exports.useCallback((function(){return null==c?void 0:c.focus()}),[c]),q=Xr.exports.useCallback((function(e,t,n){var r=!T.current&&!n;(void 0!==i.value&&i.value===t||r)&&w(e)}),[i.value]);return Xr.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},Xr.exports.createElement(FX,{as:vY,allowPinchZoom:!0},Xr.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:O}},Xr.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()}))},Xr.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:Gr({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=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=Br(e,ur),o=_Z("SelectViewport",n),i=hY(t,o.onViewportChange),a=Xr.exports.useRef(0);return Xr.exports.createElement(Xr.exports.Fragment,null,Xr.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}"}}),Xr.exports.createElement(lZ.Slot,{scope:n},Xr.exports.createElement(bY.div,lY({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:Gr({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=Kr(dZ(kZ),2),AZ=CZ[0],TZ=CZ[1],PZ=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=e.value,o=e.disabled,i=void 0!==o&&o,a=e.textValue,u=Br(e,sr),s=hZ(kZ,n),l=_Z(kZ,n),c=s.value===r,f=Kr(Xr.exports.useState(null!=a?a:""),2),d=f[0],p=f[1],h=Kr(Xr.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 Xr.exports.createElement(AZ,{scope:n,value:r,disabled:i,textId:y,isSelected:c,onItemTextChange:Xr.exports.useCallback((function(e){p((function(t){var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()}))}),[])},Xr.exports.createElement(lZ.ItemSlot,{scope:n,value:r,disabled:i,textValue:d},Xr.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=Xr.exports.forwardRef((function(e,t){var n=e.__scopeSelect,r=Br(e,lr);return TZ("SelectItemIndicator",n).isSelected?Xr.exports.createElement(bY.span,lY({"aria-hidden":!0},r,{ref:t})):null})),RZ=Xr.exports.forwardRef((function(e,t){var n=e.value,r=Br(e,cr),o=Xr.exports.useRef(null),i=hY(t,o),a=YY(n);return Xr.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]),Xr.exports.createElement(oZ,{asChild:!0},Xr.exports.createElement("select",lY({},r,{ref:i,defaultValue:n})))}));function DZ(e){var t=HY(e),n=Xr.exports.useRef(""),r=Xr.exports.useRef(0),o=Xr.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=Xr.exports.useCallback((function(){n.current="",window.clearTimeout(r.current)}),[]);return Xr.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 Xr.exports.createElement(XK,lY({asChild:!0},e))},NZ=yZ,FZ=SZ,IZ=PZ,jZ=OZ;hE(vZ)(Ue||(Ue=zr(["\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"]})),hE(mZ)(Ve||(Ve=zr(["\n margin-left: ",";\n"])),Bq["--ll-spacing-x-small"]),hE(NZ)(He||(He=zr(["\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"]})),hE(IZ)(qe||(qe=zr(["\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"]),hE(jZ)(Ye||(Ye=zr(["\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"]),hE(FZ)(Ge||(Ge=zr(["\n font-size: inherit;\n padding: ",";\n"])),Bq["--ll-spacing-base-unit"]),hE(MZ)(We||(We=zr(["\n z-index: 1;\n"])));var zZ=Uo.createContext({}),BZ=Ir("L",(function(){return Xr.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(B_,{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=Uo.createContext({}),HZ=function(){return Xr.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=Xr.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=Xr.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=Xr.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=Xr.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=Xr.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=Xr.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:Xr.exports.useMemo((function(){return null==u?void 0:u.name}),[u]),cityScoreVal:l,neighbourhoodName:Xr.exports.useMemo((function(){return null==s?void 0:s.name}),[s]),neighbourhoodScoreVal:c}},GZ=hE.div(Ze||(Ze=zr(["\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?Z_(Ke||(Ke=zr(["\n height: 16px;\n padding: 0 ",";\n font-size: ",";\n "])),Bq["--ll-spacing-xx-small"],Bq["--ll-font-size-caption-2"]):Z_(Xe||(Xe=zr(["\n height: 32px;\n width: 32px;\n font-size: ",";\n "])),Bq["--ll-font-size-p"])}(e.variant)})),WZ=hE.div(Qe||(Qe=zr(["\n z-index: 1;\n"]))),KZ=function(e){return"object"==lo(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,Wr({},t,{})),XZ(e[t],o[t])):Object.assign(e,Wr({},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=Xr.exports.useMemo((function(){return XZ.apply(void 0,[{}].concat(Hr(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,Gr(Gr({},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 Lx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("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"}),Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Lx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("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"}),Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Lx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("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"}),Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Lx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("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"}),Dx("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"}),Dx("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"}),Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Lx("svg",Gr(Gr({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("path",{d:"M9.16671 7.5H7.50004V10H9.16671V7.5Z"}),Dx("path",{d:"M12.5 7.5H10.8334V10H12.5V7.5Z"})]}))},high_schools:lQ,primary_schools:cQ,daycares:uQ},dQ=(Ir("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=hE.div($e||($e=zr(["\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=hE.div(Je||(Je=zr(["\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=hE(Sq.div)(et||(et=zr(["\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"]);hE.div(tt||(tt=zr(["\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"])})),hE.div(nt||(nt=zr(["\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=hE.div(rt||(rt=zr(["\n display: flex;\n max-width: ","px;\n"])),(function(e){return e.maxWidth})),bQ=hE(aY)(ot||(ot=zr(["\n margin-right: 4px;\n"]))),xQ=hE.span(it||(it=zr(["\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 Xr.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=Xr.exports.createContext(r),i=n.length;function a(t){var n=t.scope,r=t.children,a=Br(t,fr),u=(null==n?void 0:n[e][i])||o,s=Xr.exports.useMemo((function(){return a}),Object.values(a));return Xr.exports.createElement(u.Provider,{value:s},r)}return n=[].concat(Hr(n),[r]),a.displayName=t+"Provider",[a,function(n,a){var u=(null==a?void 0:a[e][i])||o,s=Xr.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 Xr.exports.createContext(e)}));return function(n){var r=(null==n?void 0:n[e])||t;return Xr.exports.useMemo((function(){return Wr({},"__scope".concat(e),Gr(Gr({},n),{},Wr({},e,r)))}),[n,r])}};return o.scopeName=e,[r,AQ.apply(void 0,[o].concat(Hr(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 Gr(Gr({},e),i)}),{});return Xr.exports.useMemo((function(){return Wr({},"__scope".concat(r.scopeName),n)}),[n])}};return o.scopeName=r.scopeName,o}var TQ=Xr.exports.forwardRef((function(e,t){var n=e.children,r=Br(e,dr),o=Xr.exports.Children.toArray(n),i=o.find(RQ);if(i){var a=i.props.children,u=o.map((function(e){return e===i?Xr.exports.Children.count(a)>1?Xr.exports.Children.only(null):Xr.exports.isValidElement(a)?a.props.children:null:e}));return Xr.exports.createElement(PQ,wQ({},r,{ref:t}),Xr.exports.isValidElement(a)?Xr.exports.cloneElement(a,void 0,u):null)}return Xr.exports.createElement(PQ,wQ({},r,{ref:t}),n)}));TQ.displayName="Slot";var PQ=Xr.exports.forwardRef((function(e,t){var n=e.children,r=Br(e,pr);return Xr.exports.isValidElement(n)?Xr.exports.cloneElement(n,Gr(Gr({},function(e,t){var n=Gr({},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]=Gr(Gr({},o),i):"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))};for(var o in t)r(o);return Gr(Gr({},e),n)}(r,n.props)),{},{ref:SQ(t,n.ref)})):Xr.exports.Children.count(n)>1?Xr.exports.Children.only(null):null}));PQ.displayName="SlotClone";var OQ=function(e){var t=e.children;return Xr.exports.createElement(Xr.exports.Fragment,null,t)};function RQ(e){return Xr.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=Xr.exports.forwardRef((function(e,n){var r=e.asChild,o=Br(e,hr),i=r?TQ:t;return Xr.exports.useEffect((function(){window[Symbol.for("radix-ui")]=!0}),[]),Xr.exports.createElement(i,wQ({},o,{ref:n}))}));return n.displayName="Primitive.".concat(t),Gr(Gr({},e),{},Wr({},t,n))}),{});function LQ(e){var t=Xr.exports.useRef(e);return Xr.exports.useEffect((function(){t.current=e})),Xr.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=Xr.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),zQ=Xr.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=Br(e,vr),c=Xr.exports.useContext(jQ),f=Kr(Xr.exports.useState(null),2),d=f[0],p=f[1],h=Kr(Xr.exports.useState({}),2)[1],v=kQ(t,(function(e){return p(e)})),m=Array.from(c.layers),g=Kr(Hr(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=Xr.exports.useRef(!1),r=Xr.exports.useRef((function(){}));return Xr.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=Hr(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=Xr.exports.useRef(!1);return Xr.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;Hr(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);Xr.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()))})),Xr.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]),Xr.exports.useEffect((function(){return function(){!d||(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),BQ())}}),[d,c]),Xr.exports.useEffect((function(){var e=function(){return h({})};return document.addEventListener(NQ,e),function(){return document.removeEventListener(NQ,e)}}),[]),Xr.exports.createElement(DQ.div,wQ({},l,{ref:v,style:Gr({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&&qo.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=Xr.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=Br(e,mr),l=Kr(Xr.exports.useState(null),2),c=l[0],f=l[1],d=LQ(a),p=LQ(u),h=Xr.exports.useRef(null),v=kQ(t,(function(e){return f(e)})),m=Xr.exports.useRef({paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}}).current;Xr.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]),Xr.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=co(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=Xr.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=Kr(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 Xr.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=co(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=Hr(e),r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}var t$=Boolean(null==globalThis?void 0:globalThis.document)?Xr.exports.useLayoutEffect:function(){},n$=Vo["useId".toString()]||function(){},r$=0;function o$(e){var t=Kr(Xr.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=jr(Fr().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 Fr().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=Gr(Gr({},g),{},Wr({},w,Gr(Gr({},g[w]),C))),!(A&&y<=50)){e.next=49;break}if(y++,e.t0="object"==lo(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 Gr({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function d$(e){return Gr(Gr({},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$=jr(Fr().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 Fr().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?Gr(Gr({},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 jr(Fr().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 Fr().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",(Wr(o={},m,v[m]-R),Wr(o,"data",(Wr(r={},m,O),Wr(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 jr(Fr().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 Fr().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=Br(c,gr),w=i$(o),_=v||(w!==u&&b?k$(u):[x$(u)]),E=[u].concat(Hr(_)),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(Hr(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=Br(t,yr);return{name:"hide",fn:function(e){return jr(Fr().mark((function t(){var n,i,a,u,s;return Fr().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,Gr(Gr({},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,Gr(Gr({},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$=jr(Fr().mark((function e(t,n){var r,o,i,a,u,s,l,c,f,d,p,h,v,m;return Fr().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}:Gr({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 jr(Fr().mark((function n(){var r,o,i;return Fr().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 jr(Fr().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 Fr().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=Br(u,br),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(Gr(Gr({},t),{},(Wr(r={},g,b),Wr(r,y,x),r))),n.abrupt("return",Gr(Gr({},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(Gr(Gr({},a),{},{placement:i})):c,w="number"==typeof x?{mainAxis:x,crossAxis:0}:Gr({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 Wr(n={},m,y),Wr(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":lo(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(Hr("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 Gr(Gr({},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:Gr(Gr({},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(Hr(V$(e)?uJ(e):[]),Hr(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":lo(document))<"u"?Xr.exports.useLayoutEffect:Xr.exports.useEffect;function pJ(e,t){if(e===t)return!0;if(lo(e)!=lo(t))return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;var n,r,o;if(e&&t&&"object"==lo(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=Xr.exports.useRef(null),l=Xr.exports.useRef(null),c=function(e){var t=Xr.exports.useRef(e);return dJ((function(){t.current=e})),t}(u),f=Xr.exports.useRef(null),d=Kr(Xr.exports.useState({x:null,y:null,strategy:a,placement:o,middlewareData:{}}),2),p=d[0],h=d[1],v=Kr(Xr.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=Xr.exports.useCallback((function(){!s.current||!l.current||function(e,t,n){return c$(e,t,Gr({platform:cJ},n))}(s.current,l.current,{middleware:m,placement:o,strategy:a}).then((function(e){b.current&&qo.exports.flushSync((function(){h(e)}))}))}),[m,o,a]);dJ((function(){b.current&&y()}),[y]);var b=Xr.exports.useRef(!1);dJ((function(){return b.current=!0,function(){b.current=!1}}),[]);var x=Xr.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=Xr.exports.useCallback((function(e){s.current=e,x()}),[x]),_=Xr.exports.useCallback((function(e){l.current=e,x()}),[x]),E=Xr.exports.useMemo((function(){return{reference:s,floating:l}}),[]);return Xr.exports.useMemo((function(){return Gr(Gr({},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=Xr.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=Br(e,xr);return Xr.exports.createElement(DQ.svg,wQ({},u,{ref:t,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:Xr.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))})),gJ=mJ;var yJ="Popper",bJ=Kr(CQ(yJ),2),xJ=bJ[0],wJ=bJ[1],_J=Kr(xJ(yJ),2),EJ=_J[0],SJ=_J[1],kJ=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopper,r=e.virtualRef,o=Br(e,wr),i=SJ("PopperAnchor",n),a=Xr.exports.useRef(null),u=kQ(t,a);return Xr.exports.useEffect((function(){i.onAnchorChange((null==r?void 0:r.current)||a.current)})),r?null:Xr.exports.createElement(DQ.div,wQ({},o,{ref:u}))})),CJ="PopperContent",AJ=Kr(xJ(CJ),2),TJ=AJ[0],PJ=AJ[1],OJ=Kr(xJ(CJ,{hasParent:!1,positionUpdateFns:new Set}),2),RJ=OJ[0],DJ=OJ[1],LJ=Xr.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=Br(e,_r),D=SJ(CJ,c),L=Kr(Xr.exports.useState(null),2),M=L[0],N=L[1],F=kQ(t,(function(e){return N(e)})),I=Kr(Xr.exports.useState(null),2),j=I[0],z=I[1],B=function(e){var t=Kr(Xr.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:Gr({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$(Gr({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?N$():void 0},W)):void 0,j?vJ({element:j,padding:x}):void 0,O?C$(Gr({},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=Kr(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=Kr(Xr.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;Xr.exports.useLayoutEffect((function(){if(!me)return ve.add(ne),function(){ve.delete(ne)}}),[me,ve,ne]),Xr.exports.useLayoutEffect((function(){me&&re&&Array.from(ve).reverse().forEach((function(e){return requestAnimationFrame(e)}))}),[me,re,ve]);var ge=Gr(Gr({"data-side":ie,"data-align":ae},R),{},{ref:F,style:Gr(Gr({},R.style),{},{animation:re?void 0:"none",opacity:null!==(u=te.hide)&&void 0!==u&&u.referenceHidden?0:void 0})});return Xr.exports.createElement("div",{ref:Z,"data-radix-popper-content-wrapper":"",style:Wr({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(" "))},Xr.exports.createElement(TJ,{scope:c,placedSide:ie,onArrowChange:z,arrowX:ue,arrowY:se,shouldHideArrow:le},me?Xr.exports.createElement(RJ,{scope:c,hasParent:!0,positionUpdateFns:ve},Xr.exports.createElement(DQ.div,ge)):Xr.exports.createElement(DQ.div,ge)))})),MJ={top:"bottom",right:"left",bottom:"top",left:"right"},NJ=Xr.exports.forwardRef((function(e,t){var n,r=e.__scopePopper,o=Br(e,Er),i=PJ("PopperArrow",r),a=MJ[i.placedSide];return Xr.exports.createElement("span",{ref:i.onArrowChange,style:(n={position:"absolute",left:i.arrowX,top:i.arrowY},Wr(n,a,0),Wr(n,"transformOrigin",{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide]),Wr(n,"transform",{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide]),Wr(n,"visibility",i.shouldHideArrow?"hidden":void 0),n)},Xr.exports.createElement(gJ,wQ({},o,{ref:t,style:Gr(Gr({},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=Kr(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=Kr(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=Kr(Xr.exports.useState(null),2),o=r[0],i=r[1];return Xr.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=Kr(Xr.exports.useState(),2),n=t[0],r=t[1],o=Xr.exports.useRef({}),i=Xr.exports.useRef(e),a=Xr.exports.useRef("none"),u=Kr(function(e,t){return Xr.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 Xr.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&&qo.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:Xr.exports.useCallback((function(e){e&&(o.current=getComputedStyle(e)),r(e)}),[])}}(t),o="function"==typeof n?n({present:r.isPresent}):Xr.exports.Children.only(n),i=kQ(r.ref,o.ref);return"function"==typeof n||r.isPresent?Xr.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=Xr.exports.useState(t),o=Kr(r,1)[0],i=Xr.exports.useRef(o),a=LQ(n);return Xr.exports.useEffect((function(){i.current!==o&&(a(o),i.current=o)}),[o,i,a]),r}({defaultProp:n,onChange:o}),a=Kr(i,2),u=a[0],s=a[1],l=void 0!==t,c=l?t:u,f=LQ(o),d=Xr.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":lo(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=Xr.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,Gr({},$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=Xr.exports.forwardRef((function(e,t){var n=Xr.exports.useRef(null),r=Xr.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?Xr.exports.cloneElement(Xr.exports.Children.only(u),$J($J({},w),{ref:x})):Pq(g,Gr(Gr({},$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":lo(__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){Xr.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":lo(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=Xr.exports.useMemo((function(){return p0(o)}),[o]);return Pq(h0,{styles:v0(i,!t,o,n?"":"!important")})},g0=!1;if(("undefined"==typeof window?"undefined":lo(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":lo(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=Xr.exports.useRef([]),n=Xr.exports.useRef([0,0]),r=Xr.exports.useRef(),o=Xr.exports.useState(A0++)[0],i=Xr.exports.useState((function(){return c0()}))[0],a=Xr.exports.useRef(e);Xr.exports.useEffect((function(){a.current=e}),[e]),Xr.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=Xr.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=Xr.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=Xr.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=Xr.exports.useCallback((function(e){n.current=E0(e),r.current=void 0}),[]),f=Xr.exports.useCallback((function(t){l(t.type,S0(t),t.target,u(t,e.lockRef.current))}),[]),d=Xr.exports.useCallback((function(t){l(t.type,E0(t),t.target,u(t,e.lockRef.current))}),[]);Xr.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=Xr.exports.forwardRef((function(e,t){return Pq(u0,Gr({},$J({},e,{ref:t,sideCar:P0})))}));O0.classNames=u0.classNames;var R0=O0,D0="Popover",L0=Kr(CQ(D0,[wJ]),2),M0=L0[0],N0=(L0[1],wJ()),F0=Kr(M0(D0),2),I0=F0[0],j0=F0[1],z0=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=Br(e,Sr),o=j0("PopoverTrigger",n),i=N0(n),a=kQ(t,o.triggerRef),u=Xr.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:Xr.exports.createElement(UJ,wQ({asChild:!0},i),u)})),B0=Kr(M0("PopoverPortal",{forceMount:void 0}),2),U0=(B0[0],B0[1]),V0="PopoverContent",H0=Xr.exports.forwardRef((function(e,t){var n=U0(V0,e.__scopePopover),r=e.forceMount,o=void 0===r?n.forceMount:r,i=Br(e,kr),a=j0(V0,e.__scopePopover);return Xr.exports.createElement(qJ,{present:o||a.open},a.modal?Xr.exports.createElement(q0,wQ({},i,{ref:t})):Xr.exports.createElement(Y0,wQ({},i,{ref:t})))})),q0=Xr.exports.forwardRef((function(e,t){var n=j0(V0,e.__scopePopover),r=Xr.exports.useRef(null),o=kQ(t,r),i=Xr.exports.useRef(!1);return Xr.exports.useEffect((function(){var e=r.current;if(e)return QJ(e)}),[]),Xr.exports.createElement(R0,{as:TQ,allowPinchZoom:!0},Xr.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=Xr.exports.forwardRef((function(e,t){var n=j0(V0,e.__scopePopover),r=Xr.exports.useRef(!1);return Xr.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=Xr.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=Br(e,Cr),d=j0(V0,n),p=N0(n);return Xr.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--}}),[]),Xr.exports.createElement(WQ,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},Xr.exports.createElement(zQ,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:u,onPointerDownOutside:s,onFocusOutside:l,onDismiss:function(){return d.onOpenChange(!1)}},Xr.exports.createElement(VJ,wQ({"data-state":K0(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:Gr(Gr({},f.style),{},Wr({},"--radix-popover-content-transform-origin","var(--radix-popper-transform-origin)"))}))))})),W0=Xr.exports.forwardRef((function(e,t){var n=e.__scopePopover,r=Br(e,Ar),o=N0(n);return Xr.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=Xr.exports.useRef(null),c=Kr(Xr.exports.useState(!1),2),f=c[0],d=c[1],p=Kr(GJ({prop:r,defaultProp:o,onChange:i}),2),h=p[0],v=void 0!==h&&h,m=p[1];return Xr.exports.createElement(BJ,s,Xr.exports.createElement(I0,{scope:t,contentId:o$(),triggerRef:l,open:v,onOpenChange:m,onOpenToggle:Xr.exports.useCallback((function(){return m((function(e){return!e}))}),[m]),hasCustomAnchor:f,onCustomAnchorAdd:Xr.exports.useCallback((function(){return d(!0)}),[]),onCustomAnchorRemove:Xr.exports.useCallback((function(){return d(!1)}),[]),modal:u},n))},Z0=z0,Q0=H0,$0=W0,J0=function(e){return Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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=hE(Z0)(at||(at=zr(["\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=hE(Q0)(ut||(ut=zr(["\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=hE.div(st||(st=zr(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n"]))),o1=hE($0)(lt||(lt=zr(["\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=Kr(Xr.exports.useState(null),2),t=e[0],n=e[1],r=Kr(Xr.exports.useState(pQ),2),o=r[0],i=r[1],a=Xr.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 Xr.exports.useLayoutEffect((function(){if(t)return a.observe(t),function(){a.disconnect()}}),[t]),[n,o,t]}(),v=Kr(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:Gr({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:Gr({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=Kr(Xr.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:Gr({},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=hE.a(ct||(ct=zr(["\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n margin-top: 1px;\n width: 100%;\n"]))),s1=hE.img(ft||(ft=zr(["\n height: 20px;\n margin-left: ",";\n"])),Bq["--ll-spacing-base-unit"]),l1=hE(aY)(dt||(dt=zr(["\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=hE(Sq.div)(pt||(pt=zr(["\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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("path",{d:"M10 20V14H14V20H19V12H22L12 3L2 12H5V20H10Z"})}))},m1=function(e){return Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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=Uo.createContext({}),x1=function(){return Xr.exports.useContext(b1)},w1={groceries:function(e){return Dx("svg",Gr(Gr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Lx("svg",Gr(Gr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:[Dx("path",{d:"M0 0h24v24H0z",fill:"none"}),Dx("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 Lx("svg",Gr(Gr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:[Dx("path",{d:"M0 0h24v24H0z",fill:"none"}),Dx("circle",{cx:4.5,cy:9.5,r:2.5}),Dx("circle",{cx:9,cy:5.5,r:2.5}),Dx("circle",{cx:15,cy:5.5,r:2.5}),Dx("circle",{cx:19.5,cy:9.5,r:2.5}),Dx("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 Lx("svg",Gr(Gr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{},{children:[Dx("path",{d:"M0 0h24v24H0z",fill:"none"}),Dx("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 Lx("svg",Gr(Gr({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:[Dx("rect",{fill:"none",height:24,width:24}),Dx("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 Lx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("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 Lx("svg",Gr(Gr({xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24"},e),{},{children:[Dx("g",{children:Dx("rect",{fill:"none",height:24,width:24})}),Dx("g",{children:Dx("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 Lx("svg",Gr(Gr({xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24"},e),{},{children:[Dx("g",{children:Dx("rect",{fill:"none",height:24,width:24})}),Dx("g",{children:Lx("g",{children:[Dx("g",{children:Dx("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"})}),Dx("g",{children:Dx("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=hE(Z0)(ht||(ht=zr(["\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=hE(Q0)(vt||(vt=zr(["\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=hE($0)(mt||(mt=zr(["\n fill: ",";\n"])),Bq["--ll-color-background"]),P1=hE.div(gt||(gt=zr(["\n display: flex;\n margin-bottom: ",";\n"])),Bq["--ll-spacing-xx-small"]),O1=hE(Jq)(yt||(yt=zr(["\n margin-right: 2px;\n margin-bottom: 2px;\n"]))),R1=hE.div(bt||(bt=zr(["\n display: grid;\n grid-template-columns: auto 1fr;\n grid-column-gap: 10px;\n margin-bottom: ",";\n"])),Bq["--ll-spacing-xx-small"]),D1=hE(aY)(xt||(xt=zr([""]))),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:Gr({},e),children:e.children})})}},Symbol.toStringTag,{value:"Module"})),N1=hE.ul(wt||(wt=zr(["\n list-style: none;\n padding: 0;\n margin-bottom: 0;\n"]))),F1=hE.li(_t||(_t=zr(["\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=hE.div(Et||(Et=zr(["\n display: flex;\n flex-wrap: wrap;\n"]))),j1=hE(Jq)(St||(St=zr(["\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=Uo.createContext({}),V1=function(){return Xr.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,Gr(Gr({},e.options),{},{children:n[t]}))};Ir({l:i1,v:f1,Y:y1,k:M1,A:B1}),q1.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1"}};var Y1=Ir("z",[{value:"commute",icon:function(e){return Dx("svg",Gr(Gr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Dx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:Dx("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 Lx("svg",Gr(Gr({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("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"}),Dx("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"}),Dx("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"}),Dx("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 Lx("svg",Gr(Gr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[Dx("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"}),Dx("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:Gr({},t),children:n})},K1=Ir("B",Object.freeze(Object.defineProperty({__proto__:null,Root:W1,Title:q1,Icon:G1},Symbol.toStringTag,{value:"Module"})));var X1=Xr.exports.createContext(void 0);function Z1(e){var t=Xr.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=Kr(CQ(t),2),r=n[0],o=n[1],i=Kr(r(t,{collectionRef:{current:null},itemMap:new Map}),2),a=i[0],u=i[1],s=e+"CollectionSlot",l=Uo.forwardRef((function(e,t){var n=e.scope,r=e.children,o=kQ(t,u(s,n).collectionRef);return Uo.createElement(TQ,{ref:o},r)})),c=e+"CollectionItemSlot",f="data-radix-collection-item",d=Uo.forwardRef((function(e,t){var n,r=e.scope,o=e.children,i=Br(e,Tr),a=Uo.useRef(null),s=kQ(t,a),l=u(c,r);return Uo.useEffect((function(){return l.itemMap.set(a,Gr({ref:a},i)),function(){l.itemMap.delete(a)}})),Uo.createElement(TQ,(Wr(n={},f,""),Wr(n,"ref",s),n),o)}));return[{Provider:function(e){var t=e.scope,n=e.children,r=Uo.useRef(null),o=Uo.useRef(new Map).current;return Uo.createElement(a,{scope:t,itemMap:o,collectionRef:r},n)},Slot:l,ItemSlot:d},function(t){var n=u(e+"CollectionConsumer",t);return Uo.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=Kr(e2,3),n2=t2[0],r2=t2[1],o2=Kr(CQ(J1,[t2[2]]),2),i2=o2[0],a2=o2[1],u2=Kr(i2(J1),2),s2=u2[0],l2=u2[1],c2=Xr.exports.forwardRef((function(e,t){return Xr.exports.createElement(n2.Provider,{scope:e.__scopeRovingFocusGroup},Xr.exports.createElement(n2.Slot,{scope:e.__scopeRovingFocusGroup},Xr.exports.createElement(f2,wQ({},e,{ref:t}))))})),f2=Xr.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=Br(e,Pr),d=Xr.exports.useRef(null),p=kQ(t,d),h=Z1(a),v=Kr(GJ({prop:u,defaultProp:s,onChange:l}),2),m=v[0],g=void 0===m?null:m,y=v[1],b=Kr(Xr.exports.useState(!1),2),x=b[0],w=b[1],_=LQ(c),E=r2(n),S=Xr.exports.useRef(!1);return Xr.exports.useEffect((function(){var e=d.current;if(e)return e.addEventListener(Q1,_),function(){return e.removeEventListener(Q1,_)}}),[_]),Xr.exports.createElement(s2,{scope:n,orientation:r,dir:h,loop:i,currentTabStopId:g,onItemFocus:Xr.exports.useCallback((function(e){return y(e)}),[y]),onItemShiftTab:Xr.exports.useCallback((function(){return w(!0)}),[])},Xr.exports.createElement(DQ.div,wQ({tabIndex:x?-1:0,"data-orientation":r},f,{ref:p,style:Gr({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(Hr(r)).filter(Boolean).map((function(e){return e.ref.current}));h2(a)}}S.current=!1})),onBlur:_Q(e.onBlur,(function(){return w(!1)}))})))})),d2=Xr.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=Br(e,Or),s=o$(),l=l2("RovingFocusGroupItem",n),c=l.currentTabStopId===s,f=r2(n);return Xr.exports.createElement(n2.ItemSlot,{scope:n,id:s,focusable:o,active:a},Xr.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=co(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=Kr(CQ(g2,[a2]),2),b2=y2[0],x2=(y2[1],a2()),w2=Kr(b2(g2),2),_2=w2[0],E2=w2[1],S2=Xr.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=Br(e,Rr),d=Z1(s),p=Kr(GJ({prop:r,onChange:o,defaultProp:i}),2),h=p[0],v=p[1];return Xr.exports.createElement(_2,{scope:n,baseId:o$(),value:h,onValueChange:v,orientation:u,dir:d,activationMode:c},Xr.exports.createElement(DQ.div,wQ({dir:d,"data-orientation":u},f,{ref:t})))})),k2=Xr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.loop,o=void 0===r||r,i=Br(e,Dr),a=E2("TabsList",n),u=x2(n);return Xr.exports.createElement(v2,wQ({asChild:!0},u,{orientation:a.orientation,dir:a.dir,loop:o}),Xr.exports.createElement(DQ.div,wQ({role:"tablist","aria-orientation":a.orientation},i,{ref:t})))})),C2=Xr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.value,o=e.disabled,i=void 0!==o&&o,a=Br(e,Lr),u=E2("TabsTrigger",n),s=x2(n),l=T2(u.baseId,r),c=P2(u.baseId,r),f=r===u.value;return Xr.exports.createElement(m2,wQ({asChild:!0},s,{focusable:!i,active:f}),Xr.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=Xr.exports.forwardRef((function(e,t){var n=e.__scopeTabs,r=e.value,o=e.forceMount,i=e.children,a=Br(e,Mr),u=E2("TabsContent",n),s=T2(u.baseId,r),l=P2(u.baseId,r),c=r===u.value,f=Xr.exports.useRef(c);return Xr.exports.useEffect((function(){var e=requestAnimationFrame((function(){return f.current=!1}));return function(){return cancelAnimationFrame(e)}}),[]),Xr.exports.createElement(qJ,{present:o||c},(function(n){var r=n.present;return Xr.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:Gr(Gr({},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=Xr.exports.useRef(e);return Xr.exports.useEffect((function(){t.current=e})),Xr.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=Xr.exports.useState(t),o=Kr(r,1)[0],i=Xr.exports.useRef(o),a=M2(null==n?void 0:n.func);return Xr.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=Kr(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=Xr.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=Uo.createContext({}),I2=K1.Title,j2=K1.Icon,z2=hE(R2)(kt||(kt=zr(["\n display: grid;\n grid-auto-columns: minmax(0, 1fr);\n grid-auto-flow: column;\n background-color: ",";\n"])),Bq["--ll-color-background"]),B2=hE(D2)(Ct||(Ct=zr(["\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=Kr(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:Gr(Gr({},t),{},{currentTab:i}),children:Pq(O2,{value:i,orientation:"vertical",defaultValue:i,onValueChange:function(e){return a(e)},children:r})})},Tabs:function(){var e=Xr.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(Uo.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=Uo.createContext({}),H2=hE(D2)(At||(At=zr(["\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=Kr(Xr.exports.useState(t.include[0]),2),o=r[0],i=r[1];return Pq(V2.Provider,{value:Gr(Gr({},t),{},{activeTab:o,setActiveTab:i}),children:Pq(O2,{value:o,children:n})})},Tabs:function(){var e=Xr.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=Uo.createContext({}),G2=function(){return Xr.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,Gr(Gr({},e.options),{},{children:r[n]}))};Ir({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"}};Ir("a6",Object.freeze(Object.defineProperty({__proto__:null,Title:W2,Icon:K2,Root:function(e){return Pq(Y2.Provider,{value:Gr({},e),children:e.children})}},Symbol.toStringTag,{value:"Module"})));var X2,Z2=function(e){var t,n,r=e.children,o=QD().sdkState;if(null==o||!o.apiKey)throw Error("A valid apiKey must be provided.");var i,a,u=(i=o.apiKey,a={locale:null==o||null===(t=o.globalOptions)||void 0===t?void 0:t.locale},new JF(i,a));return Dx(UZ,{client:u,options:{appearance:null==o||null===(n=o.globalOptions)||void 0===n?void 0:n.appearance},children:r})},Q2=hE.div(Tt||(Tt=zr(["\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 Lx(Q2,{children:[Dx(HE,{variant:"h4",children:"An error occurred"}),Dx(HE,{variant:"p",color:"--ll-color-on-background-variant1",children:t.message})]})},J2=new pD({defaultOptions:{queries:{retry:2,staleTime:1/0,keepPreviousData:!0}}}),e5=function(){return Lx(Rx,{children:[Dx(CE,{}),Dx(ER,{FallbackComponent:$2,children:Dx(ED,{children:Dx(gD,{client:J2,children:Dx($D,{children:Dx(Z2,{children:Dx(rL,{children:Dx(aR,{})})})})})})})]})};(X2={dsn:"https://19707ff4ff7f420b9369a3e15041c787@o227377.ingest.sentry.io/6677584",integrations:[new ww],tracesSampleRate:1,environment:"production",enabled:!0})._metadata=X2._metadata||{},X2._metadata.sdk=X2._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:Py}],version:Py},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(void 0===e.defaultIntegrations&&(e.defaultIntegrations=Ib),void 0===e.release){var t=em();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=Gr(Gr({},e),{},{stackParser:Vm(e.stackParser||lb),integrations:Ey(e),transport:e.transport||(Gm()?Jy:eb)});Cy($y,n),e.autoSessionTracking&&zb()}(X2),Ho.createRoot(document.getElementById("root")).render(Dx(Uo.StrictMode,{children:Dx(e5,{})}))}}}))}();