@local-logic/sdks-app 1.0.0-beta.41 → 1.0.0-beta.44
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.
- package/dist/assets/index.bffff470.js +715 -0
- package/dist/assets/{index.128006c6.js → index.e4acce0a.js} +163 -139
- package/dist/index.html +1 -1
- package/dist/types/context/stateManager/index.d.ts +3 -3
- package/dist/types/context/stateManager/index.d.ts.map +1 -1
- package/dist/types/context/stateManager/index.js +8 -7
- package/dist/types/context/stateManager/index.js.map +1 -1
- package/dist/types/features/scores/keyFactory.d.ts +1 -1
- package/dist/types/sdks/LocalContent/Map/Attribution/index.d.ts +4 -0
- package/dist/types/sdks/LocalContent/Map/Attribution/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Attribution/index.js +7 -0
- package/dist/types/sdks/LocalContent/Map/Attribution/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Attribution/styles.d.ts +2 -0
- package/dist/types/sdks/LocalContent/Map/Attribution/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Attribution/styles.js +9 -0
- package/dist/types/sdks/LocalContent/Map/Attribution/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/Score/index.d.ts +11 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/Score/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores → DesktopScores/ScoreCategoryAccordion}/ScoreCategory/Score/index.js +5 -4
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/Score/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores → DesktopScores/ScoreCategoryAccordion}/ScoreCategory/Score/styles.d.ts +0 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/Score/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores → DesktopScores/ScoreCategoryAccordion}/ScoreCategory/Score/styles.js +0 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/Score/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.d.ts +14 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.js +27 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores → DesktopScores/ScoreCategoryAccordion}/ScoreCategory/styles.d.ts +0 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores → DesktopScores/ScoreCategoryAccordion}/ScoreCategory/styles.js +0 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.d.ts +7 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.js +18 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/index.d.ts +4 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/index.js +21 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/styles.d.ts +5 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/styles.js +31 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Cluster → Markers/Cluster}/index.d.ts +0 -0
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Cluster → Markers/Cluster}/index.js +0 -0
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Cluster → Markers/Cluster}/styles.d.ts +0 -0
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Cluster → Markers/Cluster}/styles.js +0 -0
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Markers/index.d.ts +22 -0
- package/dist/types/sdks/LocalContent/Map/Markers/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Markers/index.js +69 -0
- package/dist/types/sdks/LocalContent/Map/Markers/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.d.ts +8 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.js +46 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.d.ts +5 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.js +30 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/index.d.ts +4 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/index.js +37 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/styles.d.ts +4 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/styles.js +20 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/index.d.ts +7 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/index.js +11 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/styles.d.ts +5 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/styles.js +24 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores/ScoreCategory/Score/POIs → POIs}/index.d.ts +0 -0
- package/dist/types/sdks/LocalContent/Map/POIs/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores/ScoreCategory/Score/POIs → POIs}/index.js +8 -5
- package/dist/types/sdks/LocalContent/Map/POIs/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Pin/index.d.ts +10 -0
- package/dist/types/sdks/LocalContent/Map/Pin/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Pin/index.js +10 -0
- package/dist/types/sdks/LocalContent/Map/Pin/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores/ScoreCategory/Score/Schools → Schools}/index.d.ts +0 -0
- package/dist/types/sdks/LocalContent/Map/Schools/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores/ScoreCategory/Score/Schools → Schools}/index.js +9 -6
- package/dist/types/sdks/LocalContent/Map/Schools/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/index.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/Map/index.js +56 -86
- package/dist/types/sdks/LocalContent/Map/index.js.map +1 -1
- package/dist/types/sdks/LocalContent/Map/styles.d.ts +3 -0
- package/dist/types/sdks/LocalContent/Map/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/styles.js +17 -0
- package/dist/types/sdks/LocalContent/Map/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/context.d.ts +6 -4
- package/dist/types/sdks/LocalContent/context.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/context.js +45 -11
- package/dist/types/sdks/LocalContent/context.js.map +1 -1
- package/dist/types/sdks/LocalContent/features/usePois.d.ts +1 -1
- package/dist/types/sdks/LocalContent/features/usePois.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/features/usePois.js +4 -4
- package/dist/types/sdks/LocalContent/features/usePois.js.map +1 -1
- package/dist/types/sdks/LocalContent/features/useSchools.d.ts +1 -1
- package/dist/types/sdks/LocalContent/features/useSchools.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/features/useSchools.js +3 -3
- package/dist/types/sdks/LocalContent/features/useSchools.js.map +1 -1
- package/dist/types/sdks/LocalContent/features/useScores.d.ts +2 -2
- package/dist/types/sdks/LocalContent/features/useScores.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/features/useScores.js +3 -3
- package/dist/types/sdks/LocalContent/features/useScores.js.map +1 -1
- package/dist/types/services/isObject/index.d.ts +2 -0
- package/dist/types/services/isObject/index.d.ts.map +1 -0
- package/dist/types/services/isObject/index.js +2 -0
- package/dist/types/services/isObject/index.js.map +1 -0
- package/dist/types/services/mergeDeep/index.d.ts +2 -0
- package/dist/types/services/mergeDeep/index.d.ts.map +1 -0
- package/dist/types/services/mergeDeep/index.js +22 -0
- package/dist/types/services/mergeDeep/index.js.map +1 -0
- package/package.json +7 -7
- package/dist/assets/index.1ce1f547.js +0 -714
- package/dist/types/sdks/LocalContent/Map/Cluster/index.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Cluster/index.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Cluster/styles.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Cluster/styles.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/POIs/index.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/POIs/index.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/Schools/index.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/Schools/index.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/index.d.ts +0 -10
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/index.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/index.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/styles.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/styles.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/index.d.ts +0 -7
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/index.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/index.js +0 -31
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/index.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/styles.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/styles.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/index.d.ts +0 -8
- package/dist/types/sdks/LocalContent/Map/Scores/index.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/index.js +0 -69
- package/dist/types/sdks/LocalContent/Map/Scores/index.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/styles.d.ts +0 -18
- package/dist/types/sdks/LocalContent/Map/Scores/styles.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/styles.js +0 -92
- package/dist/types/sdks/LocalContent/Map/Scores/styles.js.map +0 -1
|
@@ -1,714 +0,0 @@
|
|
|
1
|
-
function uT(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const cT=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}};cT();var zl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},g={exports:{}},ye={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var wl=Symbol.for("react.element"),fT=Symbol.for("react.portal"),dT=Symbol.for("react.fragment"),pT=Symbol.for("react.strict_mode"),hT=Symbol.for("react.profiler"),vT=Symbol.for("react.provider"),mT=Symbol.for("react.context"),gT=Symbol.for("react.forward_ref"),yT=Symbol.for("react.suspense"),_T=Symbol.for("react.memo"),xT=Symbol.for("react.lazy"),ty=Symbol.iterator;function wT(e){return e===null||typeof e!="object"?null:(e=ty&&e[ty]||e["@@iterator"],typeof e=="function"?e:null)}var k2={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N2=Object.assign,D2={};function ys(e,t,n){this.props=e,this.context=t,this.refs=D2,this.updater=n||k2}ys.prototype.isReactComponent={};ys.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)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")};ys.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function M2(){}M2.prototype=ys.prototype;function g0(e,t,n){this.props=e,this.context=t,this.refs=D2,this.updater=n||k2}var y0=g0.prototype=new M2;y0.constructor=g0;N2(y0,ys.prototype);y0.isPureReactComponent=!0;var ny=Array.isArray,L2=Object.prototype.hasOwnProperty,_0={current:null},F2={key:!0,ref:!0,__self:!0,__source:!0};function I2(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)L2.call(t,r)&&!F2.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:wl,type:e,key:o,ref:s,props:i,_owner:_0.current}}function bT(e,t){return{$$typeof:wl,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function x0(e){return typeof e=="object"&&e!==null&&e.$$typeof===wl}function ET(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ry=/\/+/g;function qp(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ET(""+e.key):t.toString(36)}function Lu(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case wl:case fT:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+qp(s,0):r,ny(i)?(n="",e!=null&&(n=e.replace(ry,"$&/")+"/"),Lu(i,t,n,"",function(u){return u})):i!=null&&(x0(i)&&(i=bT(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(ry,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",ny(e))for(var a=0;a<e.length;a++){o=e[a];var l=r+qp(o,a);s+=Lu(o,t,n,l,i)}else if(l=wT(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=r+qp(o,a++),s+=Lu(o,t,n,l,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Hl(e,t,n){if(e==null)return e;var r=[],i=0;return Lu(e,r,"","",function(o){return t.call(n,o,i++)}),r}function ST(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Dt={current:null},Fu={transition:null},CT={ReactCurrentDispatcher:Dt,ReactCurrentBatchConfig:Fu,ReactCurrentOwner:_0};ye.Children={map:Hl,forEach:function(e,t,n){Hl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Hl(e,function(){t++}),t},toArray:function(e){return Hl(e,function(t){return t})||[]},only:function(e){if(!x0(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ye.Component=ys;ye.Fragment=dT;ye.Profiler=hT;ye.PureComponent=g0;ye.StrictMode=pT;ye.Suspense=yT;ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=CT;ye.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=N2({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=_0.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)L2.call(t,l)&&!F2.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:wl,type:e.type,key:i,ref:o,props:r,_owner:s}};ye.createContext=function(e){return e={$$typeof:mT,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:vT,_context:e},e.Consumer=e};ye.createElement=I2;ye.createFactory=function(e){var t=I2.bind(null,e);return t.type=e,t};ye.createRef=function(){return{current:null}};ye.forwardRef=function(e){return{$$typeof:gT,render:e}};ye.isValidElement=x0;ye.lazy=function(e){return{$$typeof:xT,_payload:{_status:-1,_result:e},_init:ST}};ye.memo=function(e,t){return{$$typeof:_T,type:e,compare:t===void 0?null:t}};ye.startTransition=function(e){var t=Fu.transition;Fu.transition={};try{e()}finally{Fu.transition=t}};ye.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};ye.useCallback=function(e,t){return Dt.current.useCallback(e,t)};ye.useContext=function(e){return Dt.current.useContext(e)};ye.useDebugValue=function(){};ye.useDeferredValue=function(e){return Dt.current.useDeferredValue(e)};ye.useEffect=function(e,t){return Dt.current.useEffect(e,t)};ye.useId=function(){return Dt.current.useId()};ye.useImperativeHandle=function(e,t,n){return Dt.current.useImperativeHandle(e,t,n)};ye.useInsertionEffect=function(e,t){return Dt.current.useInsertionEffect(e,t)};ye.useLayoutEffect=function(e,t){return Dt.current.useLayoutEffect(e,t)};ye.useMemo=function(e,t){return Dt.current.useMemo(e,t)};ye.useReducer=function(e,t,n){return Dt.current.useReducer(e,t,n)};ye.useRef=function(e){return Dt.current.useRef(e)};ye.useState=function(e){return Dt.current.useState(e)};ye.useSyncExternalStore=function(e,t,n){return Dt.current.useSyncExternalStore(e,t,n)};ye.useTransition=function(){return Dt.current.useTransition()};ye.version="18.2.0";g.exports=ye;var ce=g.exports,AT=uT({__proto__:null,default:ce},[g.exports]),uv={},ui={exports:{}},nn={},j2={exports:{}},U2={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* scheduler.production.min.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/(function(e){function t(B,Q){var Z=B.length;B.push(Q);e:for(;0<Z;){var de=Z-1>>>1,I=B[de];if(0<i(I,Q))B[de]=Q,B[Z]=I,Z=de;else break e}}function n(B){return B.length===0?null:B[0]}function r(B){if(B.length===0)return null;var Q=B[0],Z=B.pop();if(Z!==Q){B[0]=Z;e:for(var de=0,I=B.length,R=I>>>1;de<R;){var k=2*(de+1)-1,L=B[k],P=k+1,te=B[P];if(0>i(L,Z))P<I&&0>i(te,L)?(B[de]=te,B[P]=Z,de=P):(B[de]=L,B[k]=Z,de=k);else if(P<I&&0>i(te,Z))B[de]=te,B[P]=Z,de=P;else break e}}return Q}function i(B,Q){var Z=B.sortIndex-Q.sortIndex;return Z!==0?Z:B.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,f=null,d=3,p=!1,v=!1,m=!1,w=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(B){for(var Q=n(u);Q!==null;){if(Q.callback===null)r(u);else if(Q.startTime<=B)r(u),Q.sortIndex=Q.expirationTime,t(l,Q);else break;Q=n(u)}}function E(B){if(m=!1,y(B),!v)if(n(l)!==null)v=!0,Ee(S);else{var Q=n(u);Q!==null&&he(E,Q.startTime-B)}}function S(B,Q){v=!1,m&&(m=!1,_(T),T=-1),p=!0;var Z=d;try{for(y(Q),f=n(l);f!==null&&(!(f.expirationTime>Q)||B&&!Y());){var de=f.callback;if(typeof de=="function"){f.callback=null,d=f.priorityLevel;var I=de(f.expirationTime<=Q);Q=e.unstable_now(),typeof I=="function"?f.callback=I:f===n(l)&&r(l),y(Q)}else r(l);f=n(l)}if(f!==null)var R=!0;else{var k=n(u);k!==null&&he(E,k.startTime-Q),R=!1}return R}finally{f=null,d=Z,p=!1}}var A=!1,$=null,T=-1,O=5,M=-1;function Y(){return!(e.unstable_now()-M<O)}function H(){if($!==null){var B=e.unstable_now();M=B;var Q=!0;try{Q=$(!0,B)}finally{Q?X():(A=!1,$=null)}}else A=!1}var X;if(typeof x=="function")X=function(){x(H)};else if(typeof MessageChannel!="undefined"){var G=new MessageChannel,le=G.port2;G.port1.onmessage=H,X=function(){le.postMessage(null)}}else X=function(){w(H,0)};function Ee(B){$=B,A||(A=!0,X())}function he(B,Q){T=w(function(){B(e.unstable_now())},Q)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(B){B.callback=null},e.unstable_continueExecution=function(){v||p||(v=!0,Ee(S))},e.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<B?Math.floor(1e3/B):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(B){switch(d){case 1:case 2:case 3:var Q=3;break;default:Q=d}var Z=d;d=Q;try{return B()}finally{d=Z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(B,Q){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var Z=d;d=B;try{return Q()}finally{d=Z}},e.unstable_scheduleCallback=function(B,Q,Z){var de=e.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?de+Z:de):Z=de,B){case 1:var I=-1;break;case 2:I=250;break;case 5:I=1073741823;break;case 4:I=1e4;break;default:I=5e3}return I=Z+I,B={id:c++,callback:Q,priorityLevel:B,startTime:Z,expirationTime:I,sortIndex:-1},Z>de?(B.sortIndex=Z,t(u,B),n(l)===null&&B===n(u)&&(m?(_(T),T=-1):m=!0,he(E,Z-de))):(B.sortIndex=I,t(l,B),v||p||(v=!0,Ee(S))),B},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(B){var Q=d;return function(){var Z=d;d=Q;try{return B.apply(this,arguments)}finally{d=Z}}}})(U2);j2.exports=U2;/**
|
|
18
|
-
* @license React
|
|
19
|
-
* react-dom.production.min.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var B2=g.exports,Jt=j2.exports;function U(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 V2=new Set,Ma={};function no(e,t){Jo(e,t),Jo(e+"Capture",t)}function Jo(e,t){for(Ma[e]=t,e=0;e<t.length;e++)V2.add(t[e])}var cr=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),cv=Object.prototype.hasOwnProperty,$T=/^[: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]*$/,iy={},oy={};function TT(e){return cv.call(oy,e)?!0:cv.call(iy,e)?!1:$T.test(e)?oy[e]=!0:(iy[e]=!0,!1)}function PT(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function RT(e,t,n,r){if(t===null||typeof t=="undefined"||PT(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Mt(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var vt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){vt[e]=new Mt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];vt[t]=new Mt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){vt[e]=new Mt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){vt[e]=new Mt(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){vt[e]=new Mt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){vt[e]=new Mt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){vt[e]=new Mt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){vt[e]=new Mt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){vt[e]=new Mt(e,5,!1,e.toLowerCase(),null,!1,!1)});var w0=/[\-:]([a-z])/g;function b0(e){return e[1].toUpperCase()}"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(w0,b0);vt[t]=new Mt(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(w0,b0);vt[t]=new Mt(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(w0,b0);vt[t]=new Mt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){vt[e]=new Mt(e,1,!1,e.toLowerCase(),null,!1,!1)});vt.xlinkHref=new Mt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){vt[e]=new Mt(e,1,!1,e.toLowerCase(),null,!0,!0)});function E0(e,t,n,r){var i=vt.hasOwnProperty(t)?vt[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(RT(t,n,i,r)&&(n=null),r||i===null?TT(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var wr=B2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Gl=Symbol.for("react.element"),wo=Symbol.for("react.portal"),bo=Symbol.for("react.fragment"),S0=Symbol.for("react.strict_mode"),fv=Symbol.for("react.profiler"),z2=Symbol.for("react.provider"),H2=Symbol.for("react.context"),C0=Symbol.for("react.forward_ref"),dv=Symbol.for("react.suspense"),pv=Symbol.for("react.suspense_list"),A0=Symbol.for("react.memo"),Pr=Symbol.for("react.lazy"),G2=Symbol.for("react.offscreen"),sy=Symbol.iterator;function Ws(e){return e===null||typeof e!="object"?null:(e=sy&&e[sy]||e["@@iterator"],typeof e=="function"?e:null)}var Ge=Object.assign,Xp;function ia(e){if(Xp===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Xp=t&&t[1]||""}return`
|
|
26
|
-
`+Xp+e}var Kp=!1;function Qp(e,t){if(!e||Kp)return"";Kp=!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()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
|
|
27
|
-
`),o=r.stack.split(`
|
|
28
|
-
`),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var l=`
|
|
29
|
-
`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Kp=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ia(e):""}function OT(e){switch(e.tag){case 5:return ia(e.type);case 16:return ia("Lazy");case 13:return ia("Suspense");case 19:return ia("SuspenseList");case 0:case 2:case 15:return e=Qp(e.type,!1),e;case 11:return e=Qp(e.type.render,!1),e;case 1:return e=Qp(e.type,!0),e;default:return""}}function hv(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case bo:return"Fragment";case wo:return"Portal";case fv:return"Profiler";case S0:return"StrictMode";case dv:return"Suspense";case pv:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case H2:return(e.displayName||"Context")+".Consumer";case z2:return(e._context.displayName||"Context")+".Provider";case C0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case A0:return t=e.displayName||null,t!==null?t:hv(e.type)||"Memo";case Pr:t=e._payload,e=e._init;try{return hv(e(t))}catch{}}return null}function kT(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=t.render,e=e.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 hv(t);case 8:return t===S0?"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(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ni(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Y2(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function NT(e){var t=Y2(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Yl(e){e._valueTracker||(e._valueTracker=NT(e))}function W2(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Y2(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function cc(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function vv(e,t){var n=t.checked;return Ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function ay(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ni(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function q2(e,t){t=t.checked,t!=null&&E0(e,"checked",t,!1)}function mv(e,t){q2(e,t);var n=ni(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?gv(e,t.type,n):t.hasOwnProperty("defaultValue")&&gv(e,t.type,ni(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ly(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function gv(e,t,n){(t!=="number"||cc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var oa=Array.isArray;function Uo(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ni(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function yv(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(U(91));return Ge({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function uy(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(U(92));if(oa(n)){if(1<n.length)throw Error(U(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ni(n)}}function X2(e,t){var n=ni(t.value),r=ni(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function cy(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function K2(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 _v(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?K2(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Wl,Q2=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Wl=Wl||document.createElement("div"),Wl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Wl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function La(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ca={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},DT=["Webkit","ms","Moz","O"];Object.keys(ca).forEach(function(e){DT.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ca[t]=ca[e]})});function Z2(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ca.hasOwnProperty(e)&&ca[e]?(""+t).trim():t+"px"}function J2(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Z2(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var MT=Ge({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 xv(e,t){if(t){if(MT[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(U(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(U(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(U(61))}if(t.style!=null&&typeof t.style!="object")throw Error(U(62))}}function wv(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 bv=null;function $0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ev=null,Bo=null,Vo=null;function fy(e){if(e=Sl(e)){if(typeof Ev!="function")throw Error(U(280));var t=e.stateNode;t&&(t=Ef(t),Ev(e.stateNode,e.type,t))}}function eb(e){Bo?Vo?Vo.push(e):Vo=[e]:Bo=e}function tb(){if(Bo){var e=Bo,t=Vo;if(Vo=Bo=null,fy(e),t)for(e=0;e<t.length;e++)fy(t[e])}}function nb(e,t){return e(t)}function rb(){}var Zp=!1;function ib(e,t,n){if(Zp)return e(t,n);Zp=!0;try{return nb(e,t,n)}finally{Zp=!1,(Bo!==null||Vo!==null)&&(rb(),tb())}}function Fa(e,t){var n=e.stateNode;if(n===null)return null;var r=Ef(n);if(r===null)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)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(U(231,t,typeof n));return n}var Sv=!1;if(cr)try{var qs={};Object.defineProperty(qs,"passive",{get:function(){Sv=!0}}),window.addEventListener("test",qs,qs),window.removeEventListener("test",qs,qs)}catch{Sv=!1}function LT(e,t,n,r,i,o,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var fa=!1,fc=null,dc=!1,Cv=null,FT={onError:function(e){fa=!0,fc=e}};function IT(e,t,n,r,i,o,s,a,l){fa=!1,fc=null,LT.apply(FT,arguments)}function jT(e,t,n,r,i,o,s,a,l){if(IT.apply(this,arguments),fa){if(fa){var u=fc;fa=!1,fc=null}else throw Error(U(198));dc||(dc=!0,Cv=u)}}function ro(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ob(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function dy(e){if(ro(e)!==e)throw Error(U(188))}function UT(e){var t=e.alternate;if(!t){if(t=ro(e),t===null)throw Error(U(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return dy(i),e;if(o===r)return dy(i),t;o=o.sibling}throw Error(U(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(U(189))}}if(n.alternate!==r)throw Error(U(190))}if(n.tag!==3)throw Error(U(188));return n.stateNode.current===n?e:t}function sb(e){return e=UT(e),e!==null?ab(e):null}function ab(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ab(e);if(t!==null)return t;e=e.sibling}return null}var lb=Jt.unstable_scheduleCallback,py=Jt.unstable_cancelCallback,BT=Jt.unstable_shouldYield,VT=Jt.unstable_requestPaint,Ke=Jt.unstable_now,zT=Jt.unstable_getCurrentPriorityLevel,T0=Jt.unstable_ImmediatePriority,ub=Jt.unstable_UserBlockingPriority,pc=Jt.unstable_NormalPriority,HT=Jt.unstable_LowPriority,cb=Jt.unstable_IdlePriority,_f=null,Bn=null;function GT(e){if(Bn&&typeof Bn.onCommitFiberRoot=="function")try{Bn.onCommitFiberRoot(_f,e,void 0,(e.current.flags&128)===128)}catch{}}var $n=Math.clz32?Math.clz32:qT,YT=Math.log,WT=Math.LN2;function qT(e){return e>>>=0,e===0?32:31-(YT(e)/WT|0)|0}var ql=64,Xl=4194304;function sa(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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function hc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=sa(a):(o&=s,o!==0&&(r=sa(o)))}else s=n&~i,s!==0?r=sa(s):o!==0&&(r=sa(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-$n(t),i=1<<n,r|=e[n],t&=~i;return r}function XT(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;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function KT(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-$n(o),a=1<<s,l=i[s];l===-1?((a&n)===0||(a&r)!==0)&&(i[s]=XT(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function Av(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function fb(){var e=ql;return ql<<=1,(ql&4194240)===0&&(ql=64),e}function Jp(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function bl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-$n(t),e[t]=n}function QT(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 i=31-$n(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function P0(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-$n(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Ce=0;function db(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var pb,R0,hb,vb,mb,$v=!1,Kl=[],zr=null,Hr=null,Gr=null,Ia=new Map,ja=new Map,Dr=[],ZT="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 hy(e,t){switch(e){case"focusin":case"focusout":zr=null;break;case"dragenter":case"dragleave":Hr=null;break;case"mouseover":case"mouseout":Gr=null;break;case"pointerover":case"pointerout":Ia.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ja.delete(t.pointerId)}}function Xs(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=Sl(t),t!==null&&R0(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function JT(e,t,n,r,i){switch(t){case"focusin":return zr=Xs(zr,e,t,n,r,i),!0;case"dragenter":return Hr=Xs(Hr,e,t,n,r,i),!0;case"mouseover":return Gr=Xs(Gr,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Ia.set(o,Xs(Ia.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,ja.set(o,Xs(ja.get(o)||null,e,t,n,r,i)),!0}return!1}function gb(e){var t=Li(e.target);if(t!==null){var n=ro(t);if(n!==null){if(t=n.tag,t===13){if(t=ob(n),t!==null){e.blockedOn=t,mb(e.priority,function(){hb(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Iu(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Tv(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);bv=r,n.target.dispatchEvent(r),bv=null}else return t=Sl(n),t!==null&&R0(t),e.blockedOn=n,!1;t.shift()}return!0}function vy(e,t,n){Iu(e)&&n.delete(t)}function e3(){$v=!1,zr!==null&&Iu(zr)&&(zr=null),Hr!==null&&Iu(Hr)&&(Hr=null),Gr!==null&&Iu(Gr)&&(Gr=null),Ia.forEach(vy),ja.forEach(vy)}function Ks(e,t){e.blockedOn===t&&(e.blockedOn=null,$v||($v=!0,Jt.unstable_scheduleCallback(Jt.unstable_NormalPriority,e3)))}function Ua(e){function t(i){return Ks(i,e)}if(0<Kl.length){Ks(Kl[0],e);for(var n=1;n<Kl.length;n++){var r=Kl[n];r.blockedOn===e&&(r.blockedOn=null)}}for(zr!==null&&Ks(zr,e),Hr!==null&&Ks(Hr,e),Gr!==null&&Ks(Gr,e),Ia.forEach(t),ja.forEach(t),n=0;n<Dr.length;n++)r=Dr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Dr.length&&(n=Dr[0],n.blockedOn===null);)gb(n),n.blockedOn===null&&Dr.shift()}var zo=wr.ReactCurrentBatchConfig,vc=!0;function t3(e,t,n,r){var i=Ce,o=zo.transition;zo.transition=null;try{Ce=1,O0(e,t,n,r)}finally{Ce=i,zo.transition=o}}function n3(e,t,n,r){var i=Ce,o=zo.transition;zo.transition=null;try{Ce=4,O0(e,t,n,r)}finally{Ce=i,zo.transition=o}}function O0(e,t,n,r){if(vc){var i=Tv(e,t,n,r);if(i===null)uh(e,t,r,mc,n),hy(e,r);else if(JT(i,e,t,n,r))r.stopPropagation();else if(hy(e,r),t&4&&-1<ZT.indexOf(e)){for(;i!==null;){var o=Sl(i);if(o!==null&&pb(o),o=Tv(e,t,n,r),o===null&&uh(e,t,r,mc,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else uh(e,t,r,null,n)}}var mc=null;function Tv(e,t,n,r){if(mc=null,e=$0(r),e=Li(e),e!==null)if(t=ro(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ob(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return mc=e,null}function yb(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(zT()){case T0:return 1;case ub:return 4;case pc:case HT:return 16;case cb:return 536870912;default:return 16}default:return 16}}var Ir=null,k0=null,ju=null;function _b(){if(ju)return ju;var e,t=k0,n=t.length,r,i="value"in Ir?Ir.value:Ir.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return ju=i.slice(e,1<r?1-r:void 0)}function Uu(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ql(){return!0}function my(){return!1}function rn(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ql:my,this.isPropagationStopped=my,this}return Ge(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ql)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ql)},persist:function(){},isPersistent:Ql}),t}var _s={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},N0=rn(_s),El=Ge({},_s,{view:0,detail:0}),r3=rn(El),eh,th,Qs,xf=Ge({},El,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:D0,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Qs&&(Qs&&e.type==="mousemove"?(eh=e.screenX-Qs.screenX,th=e.screenY-Qs.screenY):th=eh=0,Qs=e),eh)},movementY:function(e){return"movementY"in e?e.movementY:th}}),gy=rn(xf),i3=Ge({},xf,{dataTransfer:0}),o3=rn(i3),s3=Ge({},El,{relatedTarget:0}),nh=rn(s3),a3=Ge({},_s,{animationName:0,elapsedTime:0,pseudoElement:0}),l3=rn(a3),u3=Ge({},_s,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),c3=rn(u3),f3=Ge({},_s,{data:0}),yy=rn(f3),d3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},p3={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"},h3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function v3(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=h3[e])?!!t[e]:!1}function D0(){return v3}var m3=Ge({},El,{key:function(e){if(e.key){var t=d3[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Uu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?p3[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:D0,charCode:function(e){return e.type==="keypress"?Uu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Uu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),g3=rn(m3),y3=Ge({},xf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_y=rn(y3),_3=Ge({},El,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:D0}),x3=rn(_3),w3=Ge({},_s,{propertyName:0,elapsedTime:0,pseudoElement:0}),b3=rn(w3),E3=Ge({},xf,{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}),S3=rn(E3),C3=[9,13,27,32],M0=cr&&"CompositionEvent"in window,da=null;cr&&"documentMode"in document&&(da=document.documentMode);var A3=cr&&"TextEvent"in window&&!da,xb=cr&&(!M0||da&&8<da&&11>=da),xy=String.fromCharCode(32),wy=!1;function wb(e,t){switch(e){case"keyup":return C3.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bb(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Eo=!1;function $3(e,t){switch(e){case"compositionend":return bb(t);case"keypress":return t.which!==32?null:(wy=!0,xy);case"textInput":return e=t.data,e===xy&&wy?null:e;default:return null}}function T3(e,t){if(Eo)return e==="compositionend"||!M0&&wb(e,t)?(e=_b(),ju=k0=Ir=null,Eo=!1,e):null;switch(e){case"paste":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 xb&&t.locale!=="ko"?null:t.data;default:return null}}var P3={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 by(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!P3[e.type]:t==="textarea"}function Eb(e,t,n,r){eb(r),t=gc(t,"onChange"),0<t.length&&(n=new N0("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var pa=null,Ba=null;function R3(e){Db(e,0)}function wf(e){var t=Ao(e);if(W2(t))return e}function O3(e,t){if(e==="change")return t}var Sb=!1;if(cr){var rh;if(cr){var ih="oninput"in document;if(!ih){var Ey=document.createElement("div");Ey.setAttribute("oninput","return;"),ih=typeof Ey.oninput=="function"}rh=ih}else rh=!1;Sb=rh&&(!document.documentMode||9<document.documentMode)}function Sy(){pa&&(pa.detachEvent("onpropertychange",Cb),Ba=pa=null)}function Cb(e){if(e.propertyName==="value"&&wf(Ba)){var t=[];Eb(t,Ba,e,$0(e)),ib(R3,t)}}function k3(e,t,n){e==="focusin"?(Sy(),pa=t,Ba=n,pa.attachEvent("onpropertychange",Cb)):e==="focusout"&&Sy()}function N3(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return wf(Ba)}function D3(e,t){if(e==="click")return wf(t)}function M3(e,t){if(e==="input"||e==="change")return wf(t)}function L3(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var kn=typeof Object.is=="function"?Object.is:L3;function Va(e,t){if(kn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)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 i=n[r];if(!cv.call(t,i)||!kn(e[i],t[i]))return!1}return!0}function Cy(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ay(e,t){var n=Cy(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Cy(n)}}function Ab(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ab(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function $b(){for(var e=window,t=cc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=cc(e.document)}return t}function L0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function F3(e){var t=$b(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ab(n.ownerDocument.documentElement,n)){if(r!==null&&L0(n)){if(t=r.start,e=r.end,e===void 0&&(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,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Ay(n,o);var s=Ay(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var I3=cr&&"documentMode"in document&&11>=document.documentMode,So=null,Pv=null,ha=null,Rv=!1;function $y(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Rv||So==null||So!==cc(r)||(r=So,"selectionStart"in r&&L0(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ha&&Va(ha,r)||(ha=r,r=gc(Pv,"onSelect"),0<r.length&&(t=new N0("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=So)))}function Zl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Co={animationend:Zl("Animation","AnimationEnd"),animationiteration:Zl("Animation","AnimationIteration"),animationstart:Zl("Animation","AnimationStart"),transitionend:Zl("Transition","TransitionEnd")},oh={},Tb={};cr&&(Tb=document.createElement("div").style,"AnimationEvent"in window||(delete Co.animationend.animation,delete Co.animationiteration.animation,delete Co.animationstart.animation),"TransitionEvent"in window||delete Co.transitionend.transition);function bf(e){if(oh[e])return oh[e];if(!Co[e])return e;var t=Co[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Tb)return oh[e]=t[n];return e}var Pb=bf("animationend"),Rb=bf("animationiteration"),Ob=bf("animationstart"),kb=bf("transitionend"),Nb=new Map,Ty="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 ci(e,t){Nb.set(e,t),no(t,[e])}for(var sh=0;sh<Ty.length;sh++){var ah=Ty[sh],j3=ah.toLowerCase(),U3=ah[0].toUpperCase()+ah.slice(1);ci(j3,"on"+U3)}ci(Pb,"onAnimationEnd");ci(Rb,"onAnimationIteration");ci(Ob,"onAnimationStart");ci("dblclick","onDoubleClick");ci("focusin","onFocus");ci("focusout","onBlur");ci(kb,"onTransitionEnd");Jo("onMouseEnter",["mouseout","mouseover"]);Jo("onMouseLeave",["mouseout","mouseover"]);Jo("onPointerEnter",["pointerout","pointerover"]);Jo("onPointerLeave",["pointerout","pointerover"]);no("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));no("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));no("onBeforeInput",["compositionend","keypress","textInput","paste"]);no("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));no("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));no("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var aa="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(" "),B3=new Set("cancel close invalid load scroll toggle".split(" ").concat(aa));function Py(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,jT(r,t,void 0,e),e.currentTarget=null}function Db(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;Py(i,a,u),o=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;Py(i,a,u),o=l}}}if(dc)throw e=Cv,dc=!1,Cv=null,e}function Ie(e,t){var n=t[Mv];n===void 0&&(n=t[Mv]=new Set);var r=e+"__bubble";n.has(r)||(Mb(t,e,2,!1),n.add(r))}function lh(e,t,n){var r=0;t&&(r|=4),Mb(n,e,r,t)}var Jl="_reactListening"+Math.random().toString(36).slice(2);function za(e){if(!e[Jl]){e[Jl]=!0,V2.forEach(function(n){n!=="selectionchange"&&(B3.has(n)||lh(n,!1,e),lh(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Jl]||(t[Jl]=!0,lh("selectionchange",!1,t))}}function Mb(e,t,n,r){switch(yb(t)){case 1:var i=t3;break;case 4:i=n3;break;default:i=O0}n=i.bind(null,t,n,e),i=void 0,!Sv||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function uh(e,t,n,r,i){var o=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;a!==null;){if(s=Li(a),s===null)return;if(l=s.tag,l===5||l===6){r=o=s;continue e}a=a.parentNode}}r=r.return}ib(function(){var u=o,c=$0(n),f=[];e:{var d=Nb.get(e);if(d!==void 0){var p=N0,v=e;switch(e){case"keypress":if(Uu(n)===0)break e;case"keydown":case"keyup":p=g3;break;case"focusin":v="focus",p=nh;break;case"focusout":v="blur",p=nh;break;case"beforeblur":case"afterblur":p=nh;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=gy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=o3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=x3;break;case Pb:case Rb:case Ob:p=l3;break;case kb:p=b3;break;case"scroll":p=r3;break;case"wheel":p=S3;break;case"copy":case"cut":case"paste":p=c3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=_y}var m=(t&4)!==0,w=!m&&e==="scroll",_=m?d!==null?d+"Capture":null:d;m=[];for(var x=u,y;x!==null;){y=x;var E=y.stateNode;if(y.tag===5&&E!==null&&(y=E,_!==null&&(E=Fa(x,_),E!=null&&m.push(Ha(x,E,y)))),w)break;x=x.return}0<m.length&&(d=new p(d,v,null,n,c),f.push({event:d,listeners:m}))}}if((t&7)===0){e:{if(d=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",d&&n!==bv&&(v=n.relatedTarget||n.fromElement)&&(Li(v)||v[fr]))break e;if((p||d)&&(d=c.window===c?c:(d=c.ownerDocument)?d.defaultView||d.parentWindow:window,p?(v=n.relatedTarget||n.toElement,p=u,v=v?Li(v):null,v!==null&&(w=ro(v),v!==w||v.tag!==5&&v.tag!==6)&&(v=null)):(p=null,v=u),p!==v)){if(m=gy,E="onMouseLeave",_="onMouseEnter",x="mouse",(e==="pointerout"||e==="pointerover")&&(m=_y,E="onPointerLeave",_="onPointerEnter",x="pointer"),w=p==null?d:Ao(p),y=v==null?d:Ao(v),d=new m(E,x+"leave",p,n,c),d.target=w,d.relatedTarget=y,E=null,Li(c)===u&&(m=new m(_,x+"enter",v,n,c),m.target=y,m.relatedTarget=w,E=m),w=E,p&&v)t:{for(m=p,_=v,x=0,y=m;y;y=co(y))x++;for(y=0,E=_;E;E=co(E))y++;for(;0<x-y;)m=co(m),x--;for(;0<y-x;)_=co(_),y--;for(;x--;){if(m===_||_!==null&&m===_.alternate)break t;m=co(m),_=co(_)}m=null}else m=null;p!==null&&Ry(f,d,p,m,!1),v!==null&&w!==null&&Ry(f,w,v,m,!0)}}e:{if(d=u?Ao(u):window,p=d.nodeName&&d.nodeName.toLowerCase(),p==="select"||p==="input"&&d.type==="file")var S=O3;else if(by(d))if(Sb)S=M3;else{S=N3;var A=k3}else(p=d.nodeName)&&p.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(S=D3);if(S&&(S=S(e,u))){Eb(f,S,n,c);break e}A&&A(e,d,u),e==="focusout"&&(A=d._wrapperState)&&A.controlled&&d.type==="number"&&gv(d,"number",d.value)}switch(A=u?Ao(u):window,e){case"focusin":(by(A)||A.contentEditable==="true")&&(So=A,Pv=u,ha=null);break;case"focusout":ha=Pv=So=null;break;case"mousedown":Rv=!0;break;case"contextmenu":case"mouseup":case"dragend":Rv=!1,$y(f,n,c);break;case"selectionchange":if(I3)break;case"keydown":case"keyup":$y(f,n,c)}var $;if(M0)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else Eo?wb(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(xb&&n.locale!=="ko"&&(Eo||T!=="onCompositionStart"?T==="onCompositionEnd"&&Eo&&($=_b()):(Ir=c,k0="value"in Ir?Ir.value:Ir.textContent,Eo=!0)),A=gc(u,T),0<A.length&&(T=new yy(T,e,null,n,c),f.push({event:T,listeners:A}),$?T.data=$:($=bb(n),$!==null&&(T.data=$)))),($=A3?$3(e,n):T3(e,n))&&(u=gc(u,"onBeforeInput"),0<u.length&&(c=new yy("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=$))}Db(f,t)})}function Ha(e,t,n){return{instance:e,listener:t,currentTarget:n}}function gc(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Fa(e,n),o!=null&&r.unshift(Ha(e,o,i)),o=Fa(e,t),o!=null&&r.push(Ha(e,o,i))),e=e.return}return r}function co(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ry(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,i?(l=Fa(n,o),l!=null&&s.unshift(Ha(n,l,a))):i||(l=Fa(n,o),l!=null&&s.push(Ha(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var V3=/\r\n?/g,z3=/\u0000|\uFFFD/g;function Oy(e){return(typeof e=="string"?e:""+e).replace(V3,`
|
|
30
|
-
`).replace(z3,"")}function eu(e,t,n){if(t=Oy(t),Oy(e)!==t&&n)throw Error(U(425))}function yc(){}var Ov=null,kv=null;function Nv(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Dv=typeof setTimeout=="function"?setTimeout:void 0,H3=typeof clearTimeout=="function"?clearTimeout:void 0,ky=typeof Promise=="function"?Promise:void 0,G3=typeof queueMicrotask=="function"?queueMicrotask:typeof ky!="undefined"?function(e){return ky.resolve(null).then(e).catch(Y3)}:Dv;function Y3(e){setTimeout(function(){throw e})}function ch(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Ua(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Ua(t)}function Yr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Ny(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var xs=Math.random().toString(36).slice(2),Fn="__reactFiber$"+xs,Ga="__reactProps$"+xs,fr="__reactContainer$"+xs,Mv="__reactEvents$"+xs,W3="__reactListeners$"+xs,q3="__reactHandles$"+xs;function Li(e){var t=e[Fn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fr]||n[Fn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ny(e);e!==null;){if(n=e[Fn])return n;e=Ny(e)}return t}e=n,n=e.parentNode}return null}function Sl(e){return e=e[Fn]||e[fr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ao(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(U(33))}function Ef(e){return e[Ga]||null}var Lv=[],$o=-1;function fi(e){return{current:e}}function je(e){0>$o||(e.current=Lv[$o],Lv[$o]=null,$o--)}function Me(e,t){$o++,Lv[$o]=e.current,e.current=t}var ri={},Et=fi(ri),Ut=fi(!1),qi=ri;function es(e,t){var n=e.type.contextTypes;if(!n)return ri;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Bt(e){return e=e.childContextTypes,e!=null}function _c(){je(Ut),je(Et)}function Dy(e,t,n){if(Et.current!==ri)throw Error(U(168));Me(Et,t),Me(Ut,n)}function Lb(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(U(108,kT(e)||"Unknown",i));return Ge({},n,r)}function xc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ri,qi=Et.current,Me(Et,e),Me(Ut,Ut.current),!0}function My(e,t,n){var r=e.stateNode;if(!r)throw Error(U(169));n?(e=Lb(e,t,qi),r.__reactInternalMemoizedMergedChildContext=e,je(Ut),je(Et),Me(Et,e)):je(Ut),Me(Ut,n)}var ir=null,Sf=!1,fh=!1;function Fb(e){ir===null?ir=[e]:ir.push(e)}function X3(e){Sf=!0,Fb(e)}function di(){if(!fh&&ir!==null){fh=!0;var e=0,t=Ce;try{var n=ir;for(Ce=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}ir=null,Sf=!1}catch(i){throw ir!==null&&(ir=ir.slice(e+1)),lb(T0,di),i}finally{Ce=t,fh=!1}}return null}var To=[],Po=0,wc=null,bc=0,ln=[],un=0,Xi=null,or=1,sr="";function Oi(e,t){To[Po++]=bc,To[Po++]=wc,wc=e,bc=t}function Ib(e,t,n){ln[un++]=or,ln[un++]=sr,ln[un++]=Xi,Xi=e;var r=or;e=sr;var i=32-$n(r)-1;r&=~(1<<i),n+=1;var o=32-$n(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,or=1<<32-$n(t)+i|n<<i|r,sr=o+e}else or=1<<o|n<<i|r,sr=e}function F0(e){e.return!==null&&(Oi(e,1),Ib(e,1,0))}function I0(e){for(;e===wc;)wc=To[--Po],To[Po]=null,bc=To[--Po],To[Po]=null;for(;e===Xi;)Xi=ln[--un],ln[un]=null,sr=ln[--un],ln[un]=null,or=ln[--un],ln[un]=null}var Zt=null,Kt=null,Be=!1,Cn=null;function jb(e,t){var n=cn(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Ly(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Zt=e,Kt=Yr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Zt=e,Kt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Xi!==null?{id:or,overflow:sr}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=cn(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Zt=e,Kt=null,!0):!1;default:return!1}}function Fv(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Iv(e){if(Be){var t=Kt;if(t){var n=t;if(!Ly(e,t)){if(Fv(e))throw Error(U(418));t=Yr(n.nextSibling);var r=Zt;t&&Ly(e,t)?jb(r,n):(e.flags=e.flags&-4097|2,Be=!1,Zt=e)}}else{if(Fv(e))throw Error(U(418));e.flags=e.flags&-4097|2,Be=!1,Zt=e}}}function Fy(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Zt=e}function tu(e){if(e!==Zt)return!1;if(!Be)return Fy(e),Be=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Nv(e.type,e.memoizedProps)),t&&(t=Kt)){if(Fv(e))throw Ub(),Error(U(418));for(;t;)jb(e,t),t=Yr(t.nextSibling)}if(Fy(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(U(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Kt=Yr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Kt=null}}else Kt=Zt?Yr(e.stateNode.nextSibling):null;return!0}function Ub(){for(var e=Kt;e;)e=Yr(e.nextSibling)}function ts(){Kt=Zt=null,Be=!1}function j0(e){Cn===null?Cn=[e]:Cn.push(e)}var K3=wr.ReactCurrentBatchConfig;function bn(e,t){if(e&&e.defaultProps){t=Ge({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Ec=fi(null),Sc=null,Ro=null,U0=null;function B0(){U0=Ro=Sc=null}function V0(e){var t=Ec.current;je(Ec),e._currentValue=t}function jv(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ho(e,t){Sc=e,U0=Ro=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(jt=!0),e.firstContext=null)}function pn(e){var t=e._currentValue;if(U0!==e)if(e={context:e,memoizedValue:t,next:null},Ro===null){if(Sc===null)throw Error(U(308));Ro=e,Sc.dependencies={lanes:0,firstContext:e}}else Ro=Ro.next=e;return t}var Fi=null;function z0(e){Fi===null?Fi=[e]:Fi.push(e)}function Bb(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,z0(t)):(n.next=i.next,i.next=n),t.interleaved=n,dr(e,r)}function dr(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Rr=!1;function H0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Vb(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 ar(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Wr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(we&2)!==0){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,dr(e,n)}return i=r.interleaved,i===null?(t.next=t,z0(r)):(t.next=i.next,i.next=t),r.interleaved=t,dr(e,n)}function Bu(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,P0(e,n)}}function Iy(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Cc(e,t,n,r){var i=e.updateQueue;Rr=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?o=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(o!==null){var f=i.baseState;s=0,c=u=l=null,a=o;do{var d=a.lane,p=a.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,m=a;switch(d=t,p=n,m.tag){case 1:if(v=m.payload,typeof v=="function"){f=v.call(p,f,d);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=m.payload,d=typeof v=="function"?v.call(p,f,d):v,d==null)break e;f=Ge({},f,d);break e;case 2:Rr=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[a]:d.push(a))}else p={eventTime:p,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=p,l=f):c=c.next=p,s|=d;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;d=a,a=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(1);if(c===null&&(l=f),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Qi|=s,e.lanes=s,e.memoizedState=f}}function jy(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(U(191,i));i.call(r)}}}var zb=new B2.Component().refs;function Uv(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ge({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Cf={isMounted:function(e){return(e=e._reactInternals)?ro(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=kt(),i=Xr(e),o=ar(r,i);o.payload=t,n!=null&&(o.callback=n),t=Wr(e,o,i),t!==null&&(Tn(t,e,i,r),Bu(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=kt(),i=Xr(e),o=ar(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Wr(e,o,i),t!==null&&(Tn(t,e,i,r),Bu(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=kt(),r=Xr(e),i=ar(n,r);i.tag=2,t!=null&&(i.callback=t),t=Wr(e,i,r),t!==null&&(Tn(t,e,r,n),Bu(t,e,r))}};function Uy(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!Va(n,r)||!Va(i,o):!0}function Hb(e,t,n){var r=!1,i=ri,o=t.contextType;return typeof o=="object"&&o!==null?o=pn(o):(i=Bt(t)?qi:Et.current,r=t.contextTypes,o=(r=r!=null)?es(e,i):ri),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Cf,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function By(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Cf.enqueueReplaceState(t,t.state,null)}function Bv(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=zb,H0(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=pn(o):(o=Bt(t)?qi:Et.current,i.context=es(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Uv(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Cf.enqueueReplaceState(i,i.state,null),Cc(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Zs(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(U(309));var r=n.stateNode}if(!r)throw Error(U(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var a=i.refs;a===zb&&(a=i.refs={}),s===null?delete a[o]:a[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(U(284));if(!n._owner)throw Error(U(290,e))}return e}function nu(e,t){throw e=Object.prototype.toString.call(t),Error(U(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Vy(e){var t=e._init;return t(e._payload)}function Gb(e){function t(_,x){if(e){var y=_.deletions;y===null?(_.deletions=[x],_.flags|=16):y.push(x)}}function n(_,x){if(!e)return null;for(;x!==null;)t(_,x),x=x.sibling;return null}function r(_,x){for(_=new Map;x!==null;)x.key!==null?_.set(x.key,x):_.set(x.index,x),x=x.sibling;return _}function i(_,x){return _=Kr(_,x),_.index=0,_.sibling=null,_}function o(_,x,y){return _.index=y,e?(y=_.alternate,y!==null?(y=y.index,y<x?(_.flags|=2,x):y):(_.flags|=2,x)):(_.flags|=1048576,x)}function s(_){return e&&_.alternate===null&&(_.flags|=2),_}function a(_,x,y,E){return x===null||x.tag!==6?(x=yh(y,_.mode,E),x.return=_,x):(x=i(x,y),x.return=_,x)}function l(_,x,y,E){var S=y.type;return S===bo?c(_,x,y.props.children,E,y.key):x!==null&&(x.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Pr&&Vy(S)===x.type)?(E=i(x,y.props),E.ref=Zs(_,x,y),E.return=_,E):(E=Wu(y.type,y.key,y.props,null,_.mode,E),E.ref=Zs(_,x,y),E.return=_,E)}function u(_,x,y,E){return x===null||x.tag!==4||x.stateNode.containerInfo!==y.containerInfo||x.stateNode.implementation!==y.implementation?(x=_h(y,_.mode,E),x.return=_,x):(x=i(x,y.children||[]),x.return=_,x)}function c(_,x,y,E,S){return x===null||x.tag!==7?(x=zi(y,_.mode,E,S),x.return=_,x):(x=i(x,y),x.return=_,x)}function f(_,x,y){if(typeof x=="string"&&x!==""||typeof x=="number")return x=yh(""+x,_.mode,y),x.return=_,x;if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Gl:return y=Wu(x.type,x.key,x.props,null,_.mode,y),y.ref=Zs(_,null,x),y.return=_,y;case wo:return x=_h(x,_.mode,y),x.return=_,x;case Pr:var E=x._init;return f(_,E(x._payload),y)}if(oa(x)||Ws(x))return x=zi(x,_.mode,y,null),x.return=_,x;nu(_,x)}return null}function d(_,x,y,E){var S=x!==null?x.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return S!==null?null:a(_,x,""+y,E);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Gl:return y.key===S?l(_,x,y,E):null;case wo:return y.key===S?u(_,x,y,E):null;case Pr:return S=y._init,d(_,x,S(y._payload),E)}if(oa(y)||Ws(y))return S!==null?null:c(_,x,y,E,null);nu(_,y)}return null}function p(_,x,y,E,S){if(typeof E=="string"&&E!==""||typeof E=="number")return _=_.get(y)||null,a(x,_,""+E,S);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Gl:return _=_.get(E.key===null?y:E.key)||null,l(x,_,E,S);case wo:return _=_.get(E.key===null?y:E.key)||null,u(x,_,E,S);case Pr:var A=E._init;return p(_,x,y,A(E._payload),S)}if(oa(E)||Ws(E))return _=_.get(y)||null,c(x,_,E,S,null);nu(x,E)}return null}function v(_,x,y,E){for(var S=null,A=null,$=x,T=x=0,O=null;$!==null&&T<y.length;T++){$.index>T?(O=$,$=null):O=$.sibling;var M=d(_,$,y[T],E);if(M===null){$===null&&($=O);break}e&&$&&M.alternate===null&&t(_,$),x=o(M,x,T),A===null?S=M:A.sibling=M,A=M,$=O}if(T===y.length)return n(_,$),Be&&Oi(_,T),S;if($===null){for(;T<y.length;T++)$=f(_,y[T],E),$!==null&&(x=o($,x,T),A===null?S=$:A.sibling=$,A=$);return Be&&Oi(_,T),S}for($=r(_,$);T<y.length;T++)O=p($,_,T,y[T],E),O!==null&&(e&&O.alternate!==null&&$.delete(O.key===null?T:O.key),x=o(O,x,T),A===null?S=O:A.sibling=O,A=O);return e&&$.forEach(function(Y){return t(_,Y)}),Be&&Oi(_,T),S}function m(_,x,y,E){var S=Ws(y);if(typeof S!="function")throw Error(U(150));if(y=S.call(y),y==null)throw Error(U(151));for(var A=S=null,$=x,T=x=0,O=null,M=y.next();$!==null&&!M.done;T++,M=y.next()){$.index>T?(O=$,$=null):O=$.sibling;var Y=d(_,$,M.value,E);if(Y===null){$===null&&($=O);break}e&&$&&Y.alternate===null&&t(_,$),x=o(Y,x,T),A===null?S=Y:A.sibling=Y,A=Y,$=O}if(M.done)return n(_,$),Be&&Oi(_,T),S;if($===null){for(;!M.done;T++,M=y.next())M=f(_,M.value,E),M!==null&&(x=o(M,x,T),A===null?S=M:A.sibling=M,A=M);return Be&&Oi(_,T),S}for($=r(_,$);!M.done;T++,M=y.next())M=p($,_,T,M.value,E),M!==null&&(e&&M.alternate!==null&&$.delete(M.key===null?T:M.key),x=o(M,x,T),A===null?S=M:A.sibling=M,A=M);return e&&$.forEach(function(H){return t(_,H)}),Be&&Oi(_,T),S}function w(_,x,y,E){if(typeof y=="object"&&y!==null&&y.type===bo&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Gl:e:{for(var S=y.key,A=x;A!==null;){if(A.key===S){if(S=y.type,S===bo){if(A.tag===7){n(_,A.sibling),x=i(A,y.props.children),x.return=_,_=x;break e}}else if(A.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Pr&&Vy(S)===A.type){n(_,A.sibling),x=i(A,y.props),x.ref=Zs(_,A,y),x.return=_,_=x;break e}n(_,A);break}else t(_,A);A=A.sibling}y.type===bo?(x=zi(y.props.children,_.mode,E,y.key),x.return=_,_=x):(E=Wu(y.type,y.key,y.props,null,_.mode,E),E.ref=Zs(_,x,y),E.return=_,_=E)}return s(_);case wo:e:{for(A=y.key;x!==null;){if(x.key===A)if(x.tag===4&&x.stateNode.containerInfo===y.containerInfo&&x.stateNode.implementation===y.implementation){n(_,x.sibling),x=i(x,y.children||[]),x.return=_,_=x;break e}else{n(_,x);break}else t(_,x);x=x.sibling}x=_h(y,_.mode,E),x.return=_,_=x}return s(_);case Pr:return A=y._init,w(_,x,A(y._payload),E)}if(oa(y))return v(_,x,y,E);if(Ws(y))return m(_,x,y,E);nu(_,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,x!==null&&x.tag===6?(n(_,x.sibling),x=i(x,y),x.return=_,_=x):(n(_,x),x=yh(y,_.mode,E),x.return=_,_=x),s(_)):n(_,x)}return w}var ns=Gb(!0),Yb=Gb(!1),Cl={},Vn=fi(Cl),Ya=fi(Cl),Wa=fi(Cl);function Ii(e){if(e===Cl)throw Error(U(174));return e}function G0(e,t){switch(Me(Wa,t),Me(Ya,e),Me(Vn,Cl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:_v(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=_v(t,e)}je(Vn),Me(Vn,t)}function rs(){je(Vn),je(Ya),je(Wa)}function Wb(e){Ii(Wa.current);var t=Ii(Vn.current),n=_v(t,e.type);t!==n&&(Me(Ya,e),Me(Vn,n))}function Y0(e){Ya.current===e&&(je(Vn),je(Ya))}var ze=fi(0);function Ac(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var dh=[];function W0(){for(var e=0;e<dh.length;e++)dh[e]._workInProgressVersionPrimary=null;dh.length=0}var Vu=wr.ReactCurrentDispatcher,ph=wr.ReactCurrentBatchConfig,Ki=0,He=null,rt=null,lt=null,$c=!1,va=!1,qa=0,Q3=0;function mt(){throw Error(U(321))}function q0(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!kn(e[n],t[n]))return!1;return!0}function X0(e,t,n,r,i,o){if(Ki=o,He=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Vu.current=e===null||e.memoizedState===null?t9:n9,e=n(r,i),va){o=0;do{if(va=!1,qa=0,25<=o)throw Error(U(301));o+=1,lt=rt=null,t.updateQueue=null,Vu.current=r9,e=n(r,i)}while(va)}if(Vu.current=Tc,t=rt!==null&&rt.next!==null,Ki=0,lt=rt=He=null,$c=!1,t)throw Error(U(300));return e}function K0(){var e=qa!==0;return qa=0,e}function Dn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return lt===null?He.memoizedState=lt=e:lt=lt.next=e,lt}function hn(){if(rt===null){var e=He.alternate;e=e!==null?e.memoizedState:null}else e=rt.next;var t=lt===null?He.memoizedState:lt.next;if(t!==null)lt=t,rt=e;else{if(e===null)throw Error(U(310));rt=e,e={memoizedState:rt.memoizedState,baseState:rt.baseState,baseQueue:rt.baseQueue,queue:rt.queue,next:null},lt===null?He.memoizedState=lt=e:lt=lt.next=e}return lt}function Xa(e,t){return typeof t=="function"?t(e):t}function hh(e){var t=hn(),n=t.queue;if(n===null)throw Error(U(311));n.lastRenderedReducer=e;var r=rt,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=s=null,l=null,u=o;do{var c=u.lane;if((Ki&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=f,s=r):l=l.next=f,He.lanes|=c,Qi|=c}u=u.next}while(u!==null&&u!==o);l===null?s=r:l.next=a,kn(r,t.memoizedState)||(jt=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,He.lanes|=o,Qi|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function vh(e){var t=hn(),n=t.queue;if(n===null)throw Error(U(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);kn(o,t.memoizedState)||(jt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function qb(){}function Xb(e,t){var n=He,r=hn(),i=t(),o=!kn(r.memoizedState,i);if(o&&(r.memoizedState=i,jt=!0),r=r.queue,Q0(Zb.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||lt!==null&<.memoizedState.tag&1){if(n.flags|=2048,Ka(9,Qb.bind(null,n,r,i,t),void 0,null),ut===null)throw Error(U(349));(Ki&30)!==0||Kb(n,t,i)}return i}function Kb(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=He.updateQueue,t===null?(t={lastEffect:null,stores:null},He.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Qb(e,t,n,r){t.value=n,t.getSnapshot=r,Jb(t)&&eE(e)}function Zb(e,t,n){return n(function(){Jb(t)&&eE(e)})}function Jb(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!kn(e,n)}catch{return!0}}function eE(e){var t=dr(e,1);t!==null&&Tn(t,e,1,-1)}function zy(e){var t=Dn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Xa,lastRenderedState:e},t.queue=e,e=e.dispatch=e9.bind(null,He,e),[t.memoizedState,e]}function Ka(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=He.updateQueue,t===null?(t={lastEffect:null,stores:null},He.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function tE(){return hn().memoizedState}function zu(e,t,n,r){var i=Dn();He.flags|=e,i.memoizedState=Ka(1|t,n,void 0,r===void 0?null:r)}function Af(e,t,n,r){var i=hn();r=r===void 0?null:r;var o=void 0;if(rt!==null){var s=rt.memoizedState;if(o=s.destroy,r!==null&&q0(r,s.deps)){i.memoizedState=Ka(t,n,o,r);return}}He.flags|=e,i.memoizedState=Ka(1|t,n,o,r)}function Hy(e,t){return zu(8390656,8,e,t)}function Q0(e,t){return Af(2048,8,e,t)}function nE(e,t){return Af(4,2,e,t)}function rE(e,t){return Af(4,4,e,t)}function iE(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function oE(e,t,n){return n=n!=null?n.concat([e]):null,Af(4,4,iE.bind(null,t,e),n)}function Z0(){}function sE(e,t){var n=hn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&q0(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function aE(e,t){var n=hn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&q0(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function lE(e,t,n){return(Ki&21)===0?(e.baseState&&(e.baseState=!1,jt=!0),e.memoizedState=n):(kn(n,t)||(n=fb(),He.lanes|=n,Qi|=n,e.baseState=!0),t)}function Z3(e,t){var n=Ce;Ce=n!==0&&4>n?n:4,e(!0);var r=ph.transition;ph.transition={};try{e(!1),t()}finally{Ce=n,ph.transition=r}}function uE(){return hn().memoizedState}function J3(e,t,n){var r=Xr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},cE(e))fE(t,n);else if(n=Bb(e,t,n,r),n!==null){var i=kt();Tn(n,e,r,i),dE(n,t,r)}}function e9(e,t,n){var r=Xr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(cE(e))fE(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,kn(a,s)){var l=t.interleaved;l===null?(i.next=i,z0(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Bb(e,t,i,r),n!==null&&(i=kt(),Tn(n,e,r,i),dE(n,t,r))}}function cE(e){var t=e.alternate;return e===He||t!==null&&t===He}function fE(e,t){va=$c=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function dE(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,P0(e,n)}}var Tc={readContext:pn,useCallback:mt,useContext:mt,useEffect:mt,useImperativeHandle:mt,useInsertionEffect:mt,useLayoutEffect:mt,useMemo:mt,useReducer:mt,useRef:mt,useState:mt,useDebugValue:mt,useDeferredValue:mt,useTransition:mt,useMutableSource:mt,useSyncExternalStore:mt,useId:mt,unstable_isNewReconciler:!1},t9={readContext:pn,useCallback:function(e,t){return Dn().memoizedState=[e,t===void 0?null:t],e},useContext:pn,useEffect:Hy,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,zu(4194308,4,iE.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zu(4194308,4,e,t)},useInsertionEffect:function(e,t){return zu(4,2,e,t)},useMemo:function(e,t){var n=Dn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Dn();return t=n!==void 0?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=J3.bind(null,He,e),[r.memoizedState,e]},useRef:function(e){var t=Dn();return e={current:e},t.memoizedState=e},useState:zy,useDebugValue:Z0,useDeferredValue:function(e){return Dn().memoizedState=e},useTransition:function(){var e=zy(!1),t=e[0];return e=Z3.bind(null,e[1]),Dn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=He,i=Dn();if(Be){if(n===void 0)throw Error(U(407));n=n()}else{if(n=t(),ut===null)throw Error(U(349));(Ki&30)!==0||Kb(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Hy(Zb.bind(null,r,o,e),[e]),r.flags|=2048,Ka(9,Qb.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Dn(),t=ut.identifierPrefix;if(Be){var n=sr,r=or;n=(r&~(1<<32-$n(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=qa++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Q3++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},n9={readContext:pn,useCallback:sE,useContext:pn,useEffect:Q0,useImperativeHandle:oE,useInsertionEffect:nE,useLayoutEffect:rE,useMemo:aE,useReducer:hh,useRef:tE,useState:function(){return hh(Xa)},useDebugValue:Z0,useDeferredValue:function(e){var t=hn();return lE(t,rt.memoizedState,e)},useTransition:function(){var e=hh(Xa)[0],t=hn().memoizedState;return[e,t]},useMutableSource:qb,useSyncExternalStore:Xb,useId:uE,unstable_isNewReconciler:!1},r9={readContext:pn,useCallback:sE,useContext:pn,useEffect:Q0,useImperativeHandle:oE,useInsertionEffect:nE,useLayoutEffect:rE,useMemo:aE,useReducer:vh,useRef:tE,useState:function(){return vh(Xa)},useDebugValue:Z0,useDeferredValue:function(e){var t=hn();return rt===null?t.memoizedState=e:lE(t,rt.memoizedState,e)},useTransition:function(){var e=vh(Xa)[0],t=hn().memoizedState;return[e,t]},useMutableSource:qb,useSyncExternalStore:Xb,useId:uE,unstable_isNewReconciler:!1};function is(e,t){try{var n="",r=t;do n+=OT(r),r=r.return;while(r);var i=n}catch(o){i=`
|
|
31
|
-
Error generating stack: `+o.message+`
|
|
32
|
-
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function mh(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function Vv(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var i9=typeof WeakMap=="function"?WeakMap:Map;function pE(e,t,n){n=ar(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Rc||(Rc=!0,Zv=r),Vv(e,t)},n}function hE(e,t,n){n=ar(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Vv(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Vv(e,t),typeof r!="function"&&(qr===null?qr=new Set([this]):qr.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Gy(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new i9;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=y9.bind(null,e,t,n),t.then(e,e))}function Yy(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Wy(e,t,n,r,i){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=ar(-1,1),t.tag=2,Wr(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var o9=wr.ReactCurrentOwner,jt=!1;function Rt(e,t,n,r){t.child=e===null?Yb(t,null,n,r):ns(t,e.child,n,r)}function qy(e,t,n,r,i){n=n.render;var o=t.ref;return Ho(t,i),r=X0(e,t,n,r,o,i),n=K0(),e!==null&&!jt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,pr(e,t,i)):(Be&&n&&F0(t),t.flags|=1,Rt(e,t,r,i),t.child)}function Xy(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!sg(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,vE(e,t,o,r,i)):(e=Wu(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,(e.lanes&i)===0){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Va,n(s,r)&&e.ref===t.ref)return pr(e,t,i)}return t.flags|=1,e=Kr(o,r),e.ref=t.ref,e.return=t,t.child=e}function vE(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Va(o,r)&&e.ref===t.ref)if(jt=!1,t.pendingProps=r=o,(e.lanes&i)!==0)(e.flags&131072)!==0&&(jt=!0);else return t.lanes=e.lanes,pr(e,t,i)}return zv(e,t,n,r,i)}function mE(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Me(ko,qt),qt|=n;else{if((n&1073741824)===0)return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Me(ko,qt),qt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,Me(ko,qt),qt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,Me(ko,qt),qt|=r;return Rt(e,t,i,n),t.child}function gE(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function zv(e,t,n,r,i){var o=Bt(n)?qi:Et.current;return o=es(t,o),Ho(t,i),n=X0(e,t,n,r,o,i),r=K0(),e!==null&&!jt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,pr(e,t,i)):(Be&&r&&F0(t),t.flags|=1,Rt(e,t,n,i),t.child)}function Ky(e,t,n,r,i){if(Bt(n)){var o=!0;xc(t)}else o=!1;if(Ho(t,i),t.stateNode===null)Hu(e,t),Hb(t,n,r),Bv(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=pn(u):(u=Bt(n)?qi:Et.current,u=es(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&By(t,s,r,u),Rr=!1;var d=t.memoizedState;s.state=d,Cc(t,r,s,i),l=t.memoizedState,a!==r||d!==l||Ut.current||Rr?(typeof c=="function"&&(Uv(t,n,c,r),l=t.memoizedState),(a=Rr||Uy(t,n,a,r,d,l,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Vb(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:bn(t.type,a),s.props=u,f=t.pendingProps,d=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=pn(l):(l=Bt(n)?qi:Et.current,l=es(t,l));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||d!==l)&&By(t,s,r,l),Rr=!1,d=t.memoizedState,s.state=d,Cc(t,r,s,i);var v=t.memoizedState;a!==f||d!==v||Ut.current||Rr?(typeof p=="function"&&(Uv(t,n,p,r),v=t.memoizedState),(u=Rr||Uy(t,n,u,r,d,v,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,v,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,v,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),s.props=r,s.state=v,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Hv(e,t,n,r,o,i)}function Hv(e,t,n,r,i,o){gE(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&My(t,n,!1),pr(e,t,o);r=t.stateNode,o9.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=ns(t,e.child,null,o),t.child=ns(t,null,a,o)):Rt(e,t,a,o),t.memoizedState=r.state,i&&My(t,n,!0),t.child}function yE(e){var t=e.stateNode;t.pendingContext?Dy(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Dy(e,t.context,!1),G0(e,t.containerInfo)}function Qy(e,t,n,r,i){return ts(),j0(i),t.flags|=256,Rt(e,t,n,r),t.child}var Gv={dehydrated:null,treeContext:null,retryLane:0};function Yv(e){return{baseLanes:e,cachePool:null,transitions:null}}function _E(e,t,n){var r=t.pendingProps,i=ze.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Me(ze,i&1),e===null)return Iv(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},(r&1)===0&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Pf(s,r,0,null),e=zi(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Yv(n),t.memoizedState=Gv,e):J0(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return s9(e,t,s,r,a,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return(s&1)===0&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Kr(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=Kr(a,o):(o=zi(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?Yv(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Gv,r}return o=e.child,e=o.sibling,r=Kr(o,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function J0(e,t){return t=Pf({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ru(e,t,n,r){return r!==null&&j0(r),ns(t,e.child,null,n),e=J0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function s9(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=mh(Error(U(422))),ru(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Pf({mode:"visible",children:r.children},i,0,null),o=zi(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,(t.mode&1)!==0&&ns(t,e.child,null,s),t.child.memoizedState=Yv(s),t.memoizedState=Gv,o);if((t.mode&1)===0)return ru(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(U(419)),r=mh(o,r,void 0),ru(e,t,s,r)}if(a=(s&e.childLanes)!==0,jt||a){if(r=ut,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=(i&(r.suspendedLanes|s))!==0?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,dr(e,i),Tn(r,e,i,-1))}return og(),r=mh(Error(U(421))),ru(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=_9.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Kt=Yr(i.nextSibling),Zt=t,Be=!0,Cn=null,e!==null&&(ln[un++]=or,ln[un++]=sr,ln[un++]=Xi,or=e.id,sr=e.overflow,Xi=t),t=J0(t,r.children),t.flags|=4096,t)}function Zy(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),jv(e.return,t,n)}function gh(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function xE(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Rt(e,t,r.children,n),r=ze.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Zy(e,n,t);else if(e.tag===19)Zy(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Me(ze,r),(t.mode&1)===0)t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Ac(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),gh(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Ac(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}gh(t,!0,n,null,o);break;case"together":gh(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hu(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function pr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Qi|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(U(153));if(t.child!==null){for(e=t.child,n=Kr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Kr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function a9(e,t,n){switch(t.tag){case 3:yE(t),ts();break;case 5:Wb(t);break;case 1:Bt(t.type)&&xc(t);break;case 4:G0(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Me(Ec,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Me(ze,ze.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?_E(e,t,n):(Me(ze,ze.current&1),e=pr(e,t,n),e!==null?e.sibling:null);Me(ze,ze.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return xE(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Me(ze,ze.current),r)break;return null;case 22:case 23:return t.lanes=0,mE(e,t,n)}return pr(e,t,n)}var wE,Wv,bE,EE;wE=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Wv=function(){};bE=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ii(Vn.current);var o=null;switch(n){case"input":i=vv(e,i),r=vv(e,r),o=[];break;case"select":i=Ge({},i,{value:void 0}),r=Ge({},r,{value:void 0}),o=[];break;case"textarea":i=yv(e,i),r=yv(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=yc)}xv(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ma.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ma.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Ie("scroll",e),o||a===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};EE=function(e,t,n,r){n!==r&&(t.flags|=4)};function Js(e,t){if(!Be)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function gt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function l9(e,t,n){var r=t.pendingProps;switch(I0(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gt(t),null;case 1:return Bt(t.type)&&_c(),gt(t),null;case 3:return r=t.stateNode,rs(),je(Ut),je(Et),W0(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(tu(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Cn!==null&&(tm(Cn),Cn=null))),Wv(e,t),gt(t),null;case 5:Y0(t);var i=Ii(Wa.current);if(n=t.type,e!==null&&t.stateNode!=null)bE(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(U(166));return gt(t),null}if(e=Ii(Vn.current),tu(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Fn]=t,r[Ga]=o,e=(t.mode&1)!==0,n){case"dialog":Ie("cancel",r),Ie("close",r);break;case"iframe":case"object":case"embed":Ie("load",r);break;case"video":case"audio":for(i=0;i<aa.length;i++)Ie(aa[i],r);break;case"source":Ie("error",r);break;case"img":case"image":case"link":Ie("error",r),Ie("load",r);break;case"details":Ie("toggle",r);break;case"input":ay(r,o),Ie("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Ie("invalid",r);break;case"textarea":uy(r,o),Ie("invalid",r)}xv(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&eu(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&eu(r.textContent,a,e),i=["children",""+a]):Ma.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&Ie("scroll",r)}switch(n){case"input":Yl(r),ly(r,o,!0);break;case"textarea":Yl(r),cy(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=yc)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=K2(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Fn]=t,e[Ga]=r,wE(e,t,!1,!1),t.stateNode=e;e:{switch(s=wv(n,r),n){case"dialog":Ie("cancel",e),Ie("close",e),i=r;break;case"iframe":case"object":case"embed":Ie("load",e),i=r;break;case"video":case"audio":for(i=0;i<aa.length;i++)Ie(aa[i],e);i=r;break;case"source":Ie("error",e),i=r;break;case"img":case"image":case"link":Ie("error",e),Ie("load",e),i=r;break;case"details":Ie("toggle",e),i=r;break;case"input":ay(e,r),i=vv(e,r),Ie("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Ge({},r,{value:void 0}),Ie("invalid",e);break;case"textarea":uy(e,r),i=yv(e,r),Ie("invalid",e);break;default:i=r}xv(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?J2(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Q2(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&La(e,l):typeof l=="number"&&La(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Ma.hasOwnProperty(o)?l!=null&&o==="onScroll"&&Ie("scroll",e):l!=null&&E0(e,o,l,s))}switch(n){case"input":Yl(e),ly(e,r,!1);break;case"textarea":Yl(e),cy(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ni(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Uo(e,!!r.multiple,o,!1):r.defaultValue!=null&&Uo(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=yc)}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)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return gt(t),null;case 6:if(e&&t.stateNode!=null)EE(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(U(166));if(n=Ii(Wa.current),Ii(Vn.current),tu(t)){if(r=t.stateNode,n=t.memoizedProps,r[Fn]=t,(o=r.nodeValue!==n)&&(e=Zt,e!==null))switch(e.tag){case 3:eu(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&eu(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Fn]=t,t.stateNode=r}return gt(t),null;case 13:if(je(ze),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Be&&Kt!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Ub(),ts(),t.flags|=98560,o=!1;else if(o=tu(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(U(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(U(317));o[Fn]=t}else ts(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;gt(t),o=!1}else Cn!==null&&(tm(Cn),Cn=null),o=!0;if(!o)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(ze.current&1)!==0?ot===0&&(ot=3):og())),t.updateQueue!==null&&(t.flags|=4),gt(t),null);case 4:return rs(),Wv(e,t),e===null&&za(t.stateNode.containerInfo),gt(t),null;case 10:return V0(t.type._context),gt(t),null;case 17:return Bt(t.type)&&_c(),gt(t),null;case 19:if(je(ze),o=t.memoizedState,o===null)return gt(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)Js(o,!1);else{if(ot!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=Ac(e),s!==null){for(t.flags|=128,Js(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Me(ze,ze.current&1|2),t.child}e=e.sibling}o.tail!==null&&Ke()>os&&(t.flags|=128,r=!0,Js(o,!1),t.lanes=4194304)}else{if(!r)if(e=Ac(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Js(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Be)return gt(t),null}else 2*Ke()-o.renderingStartTime>os&&n!==1073741824&&(t.flags|=128,r=!0,Js(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ke(),t.sibling=null,n=ze.current,Me(ze,r?n&1|2:n&1),t):(gt(t),null);case 22:case 23:return ig(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(qt&1073741824)!==0&&(gt(t),t.subtreeFlags&6&&(t.flags|=8192)):gt(t),null;case 24:return null;case 25:return null}throw Error(U(156,t.tag))}function u9(e,t){switch(I0(t),t.tag){case 1:return Bt(t.type)&&_c(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return rs(),je(Ut),je(Et),W0(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Y0(t),null;case 13:if(je(ze),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(U(340));ts()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return je(ze),null;case 4:return rs(),null;case 10:return V0(t.type._context),null;case 22:case 23:return ig(),null;case 24:return null;default:return null}}var iu=!1,_t=!1,c9=typeof WeakSet=="function"?WeakSet:Set,K=null;function Oo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){We(e,t,r)}else n.current=null}function qv(e,t,n){try{n()}catch(r){We(e,t,r)}}var Jy=!1;function f9(e,t){if(Ov=vc,e=$b(),L0(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===e)break t;if(d===n&&++u===i&&(a=s),d===o&&++c===r&&(l=s),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(kv={focusedElem:e,selectionRange:n},vc=!1,K=t;K!==null;)if(t=K,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,K=e;else for(;K!==null;){t=K;try{var v=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var m=v.memoizedProps,w=v.memoizedState,_=t.stateNode,x=_.getSnapshotBeforeUpdate(t.elementType===t.type?m:bn(t.type,m),w);_.__reactInternalSnapshotBeforeUpdate=x}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(U(163))}}catch(E){We(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,K=e;break}K=t.return}return v=Jy,Jy=!1,v}function ma(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&qv(t,n,o)}i=i.next}while(i!==r)}}function $f(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==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 Xv(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function SE(e){var t=e.alternate;t!==null&&(e.alternate=null,SE(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Fn],delete t[Ga],delete t[Mv],delete t[W3],delete t[q3])),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 CE(e){return e.tag===5||e.tag===3||e.tag===4}function e_(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||CE(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Kv(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=yc));else if(r!==4&&(e=e.child,e!==null))for(Kv(e,t,n),e=e.sibling;e!==null;)Kv(e,t,n),e=e.sibling}function Qv(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Qv(e,t,n),e=e.sibling;e!==null;)Qv(e,t,n),e=e.sibling}var ft=null,En=!1;function Cr(e,t,n){for(n=n.child;n!==null;)AE(e,t,n),n=n.sibling}function AE(e,t,n){if(Bn&&typeof Bn.onCommitFiberUnmount=="function")try{Bn.onCommitFiberUnmount(_f,n)}catch{}switch(n.tag){case 5:_t||Oo(n,t);case 6:var r=ft,i=En;ft=null,Cr(e,t,n),ft=r,En=i,ft!==null&&(En?(e=ft,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ft.removeChild(n.stateNode));break;case 18:ft!==null&&(En?(e=ft,n=n.stateNode,e.nodeType===8?ch(e.parentNode,n):e.nodeType===1&&ch(e,n),Ua(e)):ch(ft,n.stateNode));break;case 4:r=ft,i=En,ft=n.stateNode.containerInfo,En=!0,Cr(e,t,n),ft=r,En=i;break;case 0:case 11:case 14:case 15:if(!_t&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&((o&2)!==0||(o&4)!==0)&&qv(n,t,s),i=i.next}while(i!==r)}Cr(e,t,n);break;case 1:if(!_t&&(Oo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){We(n,t,a)}Cr(e,t,n);break;case 21:Cr(e,t,n);break;case 22:n.mode&1?(_t=(r=_t)||n.memoizedState!==null,Cr(e,t,n),_t=r):Cr(e,t,n);break;default:Cr(e,t,n)}}function t_(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new c9),t.forEach(function(r){var i=x9.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function _n(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:ft=a.stateNode,En=!1;break e;case 3:ft=a.stateNode.containerInfo,En=!0;break e;case 4:ft=a.stateNode.containerInfo,En=!0;break e}a=a.return}if(ft===null)throw Error(U(160));AE(o,s,i),ft=null,En=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){We(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)$E(t,e),t=t.sibling}function $E(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(_n(t,e),Nn(e),r&4){try{ma(3,e,e.return),$f(3,e)}catch(m){We(e,e.return,m)}try{ma(5,e,e.return)}catch(m){We(e,e.return,m)}}break;case 1:_n(t,e),Nn(e),r&512&&n!==null&&Oo(n,n.return);break;case 5:if(_n(t,e),Nn(e),r&512&&n!==null&&Oo(n,n.return),e.flags&32){var i=e.stateNode;try{La(i,"")}catch(m){We(e,e.return,m)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&q2(i,o),wv(a,s);var u=wv(a,o);for(s=0;s<l.length;s+=2){var c=l[s],f=l[s+1];c==="style"?J2(i,f):c==="dangerouslySetInnerHTML"?Q2(i,f):c==="children"?La(i,f):E0(i,c,f,u)}switch(a){case"input":mv(i,o);break;case"textarea":X2(i,o);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;p!=null?Uo(i,!!o.multiple,p,!1):d!==!!o.multiple&&(o.defaultValue!=null?Uo(i,!!o.multiple,o.defaultValue,!0):Uo(i,!!o.multiple,o.multiple?[]:"",!1))}i[Ga]=o}catch(m){We(e,e.return,m)}}break;case 6:if(_n(t,e),Nn(e),r&4){if(e.stateNode===null)throw Error(U(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(m){We(e,e.return,m)}}break;case 3:if(_n(t,e),Nn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ua(t.containerInfo)}catch(m){We(e,e.return,m)}break;case 4:_n(t,e),Nn(e);break;case 13:_n(t,e),Nn(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(ng=Ke())),r&4&&t_(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(_t=(u=_t)||c,_n(t,e),_t=u):_n(t,e),Nn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&(e.mode&1)!==0)for(K=e,c=e.child;c!==null;){for(f=K=c;K!==null;){switch(d=K,p=d.child,d.tag){case 0:case 11:case 14:case 15:ma(4,d,d.return);break;case 1:Oo(d,d.return);var v=d.stateNode;if(typeof v.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){We(r,n,m)}}break;case 5:Oo(d,d.return);break;case 22:if(d.memoizedState!==null){r_(f);continue}}p!==null?(p.return=d,K=p):r_(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{i=f.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Z2("display",s))}catch(m){We(e,e.return,m)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(m){We(e,e.return,m)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||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:_n(t,e),Nn(e),r&4&&t_(e);break;case 21:break;default:_n(t,e),Nn(e)}}function Nn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(CE(n)){var r=n;break e}n=n.return}throw Error(U(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(La(i,""),r.flags&=-33);var o=e_(e);Qv(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=e_(e);Kv(e,a,s);break;default:throw Error(U(161))}}catch(l){We(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function d9(e,t,n){K=e,TE(e)}function TE(e,t,n){for(var r=(e.mode&1)!==0;K!==null;){var i=K,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||iu;if(!s){var a=i.alternate,l=a!==null&&a.memoizedState!==null||_t;a=iu;var u=_t;if(iu=s,(_t=l)&&!u)for(K=i;K!==null;)s=K,l=s.child,s.tag===22&&s.memoizedState!==null?i_(i):l!==null?(l.return=s,K=l):i_(i);for(;o!==null;)K=o,TE(o),o=o.sibling;K=i,iu=a,_t=u}n_(e)}else(i.subtreeFlags&8772)!==0&&o!==null?(o.return=i,K=o):n_(e)}}function n_(e){for(;K!==null;){var t=K;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:_t||$f(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!_t)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:bn(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&jy(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}jy(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&Ua(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(U(163))}_t||t.flags&512&&Xv(t)}catch(d){We(t,t.return,d)}}if(t===e){K=null;break}if(n=t.sibling,n!==null){n.return=t.return,K=n;break}K=t.return}}function r_(e){for(;K!==null;){var t=K;if(t===e){K=null;break}var n=t.sibling;if(n!==null){n.return=t.return,K=n;break}K=t.return}}function i_(e){for(;K!==null;){var t=K;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{$f(4,t)}catch(l){We(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){We(t,i,l)}}var o=t.return;try{Xv(t)}catch(l){We(t,o,l)}break;case 5:var s=t.return;try{Xv(t)}catch(l){We(t,s,l)}}}catch(l){We(t,t.return,l)}if(t===e){K=null;break}var a=t.sibling;if(a!==null){a.return=t.return,K=a;break}K=t.return}}var p9=Math.ceil,Pc=wr.ReactCurrentDispatcher,eg=wr.ReactCurrentOwner,dn=wr.ReactCurrentBatchConfig,we=0,ut=null,et=null,ht=0,qt=0,ko=fi(0),ot=0,Qa=null,Qi=0,Tf=0,tg=0,ga=null,Lt=null,ng=0,os=1/0,tr=null,Rc=!1,Zv=null,qr=null,ou=!1,jr=null,Oc=0,ya=0,Jv=null,Gu=-1,Yu=0;function kt(){return(we&6)!==0?Ke():Gu!==-1?Gu:Gu=Ke()}function Xr(e){return(e.mode&1)===0?1:(we&2)!==0&&ht!==0?ht&-ht:K3.transition!==null?(Yu===0&&(Yu=fb()),Yu):(e=Ce,e!==0||(e=window.event,e=e===void 0?16:yb(e.type)),e)}function Tn(e,t,n,r){if(50<ya)throw ya=0,Jv=null,Error(U(185));bl(e,n,r),((we&2)===0||e!==ut)&&(e===ut&&((we&2)===0&&(Tf|=n),ot===4&&Mr(e,ht)),Vt(e,r),n===1&&we===0&&(t.mode&1)===0&&(os=Ke()+500,Sf&&di()))}function Vt(e,t){var n=e.callbackNode;KT(e,t);var r=hc(e,e===ut?ht:0);if(r===0)n!==null&&py(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&py(n),t===1)e.tag===0?X3(o_.bind(null,e)):Fb(o_.bind(null,e)),G3(function(){(we&6)===0&&di()}),n=null;else{switch(db(r)){case 1:n=T0;break;case 4:n=ub;break;case 16:n=pc;break;case 536870912:n=cb;break;default:n=pc}n=LE(n,PE.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function PE(e,t){if(Gu=-1,Yu=0,(we&6)!==0)throw Error(U(327));var n=e.callbackNode;if(Go()&&e.callbackNode!==n)return null;var r=hc(e,e===ut?ht:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=kc(e,r);else{t=r;var i=we;we|=2;var o=OE();(ut!==e||ht!==t)&&(tr=null,os=Ke()+500,Vi(e,t));do try{m9();break}catch(a){RE(e,a)}while(1);B0(),Pc.current=o,we=i,et!==null?t=0:(ut=null,ht=0,t=ot)}if(t!==0){if(t===2&&(i=Av(e),i!==0&&(r=i,t=em(e,i))),t===1)throw n=Qa,Vi(e,0),Mr(e,r),Vt(e,Ke()),n;if(t===6)Mr(e,r);else{if(i=e.current.alternate,(r&30)===0&&!h9(i)&&(t=kc(e,r),t===2&&(o=Av(e),o!==0&&(r=o,t=em(e,o))),t===1))throw n=Qa,Vi(e,0),Mr(e,r),Vt(e,Ke()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(U(345));case 2:ki(e,Lt,tr);break;case 3:if(Mr(e,r),(r&130023424)===r&&(t=ng+500-Ke(),10<t)){if(hc(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){kt(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Dv(ki.bind(null,e,Lt,tr),t);break}ki(e,Lt,tr);break;case 4:if(Mr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-$n(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=Ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*p9(r/1960))-r,10<r){e.timeoutHandle=Dv(ki.bind(null,e,Lt,tr),r);break}ki(e,Lt,tr);break;case 5:ki(e,Lt,tr);break;default:throw Error(U(329))}}}return Vt(e,Ke()),e.callbackNode===n?PE.bind(null,e):null}function em(e,t){var n=ga;return e.current.memoizedState.isDehydrated&&(Vi(e,t).flags|=256),e=kc(e,t),e!==2&&(t=Lt,Lt=n,t!==null&&tm(t)),e}function tm(e){Lt===null?Lt=e:Lt.push.apply(Lt,e)}function h9(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!kn(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Mr(e,t){for(t&=~tg,t&=~Tf,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-$n(t),r=1<<n;e[n]=-1,t&=~r}}function o_(e){if((we&6)!==0)throw Error(U(327));Go();var t=hc(e,0);if((t&1)===0)return Vt(e,Ke()),null;var n=kc(e,t);if(e.tag!==0&&n===2){var r=Av(e);r!==0&&(t=r,n=em(e,r))}if(n===1)throw n=Qa,Vi(e,0),Mr(e,t),Vt(e,Ke()),n;if(n===6)throw Error(U(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ki(e,Lt,tr),Vt(e,Ke()),null}function rg(e,t){var n=we;we|=1;try{return e(t)}finally{we=n,we===0&&(os=Ke()+500,Sf&&di())}}function Zi(e){jr!==null&&jr.tag===0&&(we&6)===0&&Go();var t=we;we|=1;var n=dn.transition,r=Ce;try{if(dn.transition=null,Ce=1,e)return e()}finally{Ce=r,dn.transition=n,we=t,(we&6)===0&&di()}}function ig(){qt=ko.current,je(ko)}function Vi(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,H3(n)),et!==null)for(n=et.return;n!==null;){var r=n;switch(I0(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&_c();break;case 3:rs(),je(Ut),je(Et),W0();break;case 5:Y0(r);break;case 4:rs();break;case 13:je(ze);break;case 19:je(ze);break;case 10:V0(r.type._context);break;case 22:case 23:ig()}n=n.return}if(ut=e,et=e=Kr(e.current,null),ht=qt=t,ot=0,Qa=null,tg=Tf=Qi=0,Lt=ga=null,Fi!==null){for(t=0;t<Fi.length;t++)if(n=Fi[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}Fi=null}return e}function RE(e,t){do{var n=et;try{if(B0(),Vu.current=Tc,$c){for(var r=He.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}$c=!1}if(Ki=0,lt=rt=He=null,va=!1,qa=0,eg.current=null,n===null||n.return===null){ot=1,Qa=t,et=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=ht,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,f=c.tag;if((c.mode&1)===0&&(f===0||f===11||f===15)){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=Yy(s);if(p!==null){p.flags&=-257,Wy(p,s,a,o,t),p.mode&1&&Gy(o,u,t),t=p,l=u;var v=t.updateQueue;if(v===null){var m=new Set;m.add(l),t.updateQueue=m}else v.add(l);break e}else{if((t&1)===0){Gy(o,u,t),og();break e}l=Error(U(426))}}else if(Be&&a.mode&1){var w=Yy(s);if(w!==null){(w.flags&65536)===0&&(w.flags|=256),Wy(w,s,a,o,t),j0(is(l,a));break e}}o=l=is(l,a),ot!==4&&(ot=2),ga===null?ga=[o]:ga.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var _=pE(o,l,t);Iy(o,_);break e;case 1:a=l;var x=o.type,y=o.stateNode;if((o.flags&128)===0&&(typeof x.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(qr===null||!qr.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t;var E=hE(o,a,t);Iy(o,E);break e}}o=o.return}while(o!==null)}NE(n)}catch(S){t=S,et===n&&n!==null&&(et=n=n.return);continue}break}while(1)}function OE(){var e=Pc.current;return Pc.current=Tc,e===null?Tc:e}function og(){(ot===0||ot===3||ot===2)&&(ot=4),ut===null||(Qi&268435455)===0&&(Tf&268435455)===0||Mr(ut,ht)}function kc(e,t){var n=we;we|=2;var r=OE();(ut!==e||ht!==t)&&(tr=null,Vi(e,t));do try{v9();break}catch(i){RE(e,i)}while(1);if(B0(),we=n,Pc.current=r,et!==null)throw Error(U(261));return ut=null,ht=0,ot}function v9(){for(;et!==null;)kE(et)}function m9(){for(;et!==null&&!BT();)kE(et)}function kE(e){var t=ME(e.alternate,e,qt);e.memoizedProps=e.pendingProps,t===null?NE(e):et=t,eg.current=null}function NE(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=l9(n,t,qt),n!==null){et=n;return}}else{if(n=u9(n,t),n!==null){n.flags&=32767,et=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ot=6,et=null;return}}if(t=t.sibling,t!==null){et=t;return}et=t=e}while(t!==null);ot===0&&(ot=5)}function ki(e,t,n){var r=Ce,i=dn.transition;try{dn.transition=null,Ce=1,g9(e,t,n,r)}finally{dn.transition=i,Ce=r}return null}function g9(e,t,n,r){do Go();while(jr!==null);if((we&6)!==0)throw Error(U(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(U(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(QT(e,o),e===ut&&(et=ut=null,ht=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||ou||(ou=!0,LE(pc,function(){return Go(),null})),o=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||o){o=dn.transition,dn.transition=null;var s=Ce;Ce=1;var a=we;we|=4,eg.current=null,f9(e,n),$E(n,e),F3(kv),vc=!!Ov,kv=Ov=null,e.current=n,d9(n),VT(),we=a,Ce=s,dn.transition=o}else e.current=n;if(ou&&(ou=!1,jr=e,Oc=i),o=e.pendingLanes,o===0&&(qr=null),GT(n.stateNode),Vt(e,Ke()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Rc)throw Rc=!1,e=Zv,Zv=null,e;return(Oc&1)!==0&&e.tag!==0&&Go(),o=e.pendingLanes,(o&1)!==0?e===Jv?ya++:(ya=0,Jv=e):ya=0,di(),null}function Go(){if(jr!==null){var e=db(Oc),t=dn.transition,n=Ce;try{if(dn.transition=null,Ce=16>e?16:e,jr===null)var r=!1;else{if(e=jr,jr=null,Oc=0,(we&6)!==0)throw Error(U(331));var i=we;for(we|=4,K=e.current;K!==null;){var o=K,s=o.child;if((K.flags&16)!==0){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(K=u;K!==null;){var c=K;switch(c.tag){case 0:case 11:case 15:ma(8,c,o)}var f=c.child;if(f!==null)f.return=c,K=f;else for(;K!==null;){c=K;var d=c.sibling,p=c.return;if(SE(c),c===u){K=null;break}if(d!==null){d.return=p,K=d;break}K=p}}}var v=o.alternate;if(v!==null){var m=v.child;if(m!==null){v.child=null;do{var w=m.sibling;m.sibling=null,m=w}while(m!==null)}}K=o}}if((o.subtreeFlags&2064)!==0&&s!==null)s.return=o,K=s;else e:for(;K!==null;){if(o=K,(o.flags&2048)!==0)switch(o.tag){case 0:case 11:case 15:ma(9,o,o.return)}var _=o.sibling;if(_!==null){_.return=o.return,K=_;break e}K=o.return}}var x=e.current;for(K=x;K!==null;){s=K;var y=s.child;if((s.subtreeFlags&2064)!==0&&y!==null)y.return=s,K=y;else e:for(s=x;K!==null;){if(a=K,(a.flags&2048)!==0)try{switch(a.tag){case 0:case 11:case 15:$f(9,a)}}catch(S){We(a,a.return,S)}if(a===s){K=null;break e}var E=a.sibling;if(E!==null){E.return=a.return,K=E;break e}K=a.return}}if(we=i,di(),Bn&&typeof Bn.onPostCommitFiberRoot=="function")try{Bn.onPostCommitFiberRoot(_f,e)}catch{}r=!0}return r}finally{Ce=n,dn.transition=t}}return!1}function s_(e,t,n){t=is(n,t),t=pE(e,t,1),e=Wr(e,t,1),t=kt(),e!==null&&(bl(e,1,t),Vt(e,t))}function We(e,t,n){if(e.tag===3)s_(e,e,n);else for(;t!==null;){if(t.tag===3){s_(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(qr===null||!qr.has(r))){e=is(n,e),e=hE(t,e,1),t=Wr(t,e,1),e=kt(),t!==null&&(bl(t,1,e),Vt(t,e));break}}t=t.return}}function y9(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=kt(),e.pingedLanes|=e.suspendedLanes&n,ut===e&&(ht&n)===n&&(ot===4||ot===3&&(ht&130023424)===ht&&500>Ke()-ng?Vi(e,0):tg|=n),Vt(e,t)}function DE(e,t){t===0&&((e.mode&1)===0?t=1:(t=Xl,Xl<<=1,(Xl&130023424)===0&&(Xl=4194304)));var n=kt();e=dr(e,t),e!==null&&(bl(e,t,n),Vt(e,n))}function _9(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),DE(e,n)}function x9(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(U(314))}r!==null&&r.delete(t),DE(e,n)}var ME;ME=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ut.current)jt=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return jt=!1,a9(e,t,n);jt=(e.flags&131072)!==0}else jt=!1,Be&&(t.flags&1048576)!==0&&Ib(t,bc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hu(e,t),e=t.pendingProps;var i=es(t,Et.current);Ho(t,n),i=X0(null,t,r,e,i,n);var o=K0();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Bt(r)?(o=!0,xc(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,H0(t),i.updater=Cf,t.stateNode=i,i._reactInternals=t,Bv(t,r,e,n),t=Hv(null,t,r,!0,o,n)):(t.tag=0,Be&&o&&F0(t),Rt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hu(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=b9(r),e=bn(r,e),i){case 0:t=zv(null,t,r,e,n);break e;case 1:t=Ky(null,t,r,e,n);break e;case 11:t=qy(null,t,r,e,n);break e;case 14:t=Xy(null,t,r,bn(r.type,e),n);break e}throw Error(U(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:bn(r,i),zv(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:bn(r,i),Ky(e,t,r,i,n);case 3:e:{if(yE(t),e===null)throw Error(U(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Vb(e,t),Cc(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=is(Error(U(423)),t),t=Qy(e,t,r,n,i);break e}else if(r!==i){i=is(Error(U(424)),t),t=Qy(e,t,r,n,i);break e}else for(Kt=Yr(t.stateNode.containerInfo.firstChild),Zt=t,Be=!0,Cn=null,n=Yb(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ts(),r===i){t=pr(e,t,n);break e}Rt(e,t,r,n)}t=t.child}return t;case 5:return Wb(t),e===null&&Iv(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Nv(r,i)?s=null:o!==null&&Nv(r,o)&&(t.flags|=32),gE(e,t),Rt(e,t,s,n),t.child;case 6:return e===null&&Iv(t),null;case 13:return _E(e,t,n);case 4:return G0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ns(t,null,r,n):Rt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:bn(r,i),qy(e,t,r,i,n);case 7:return Rt(e,t,t.pendingProps,n),t.child;case 8:return Rt(e,t,t.pendingProps.children,n),t.child;case 12:return Rt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,Me(Ec,r._currentValue),r._currentValue=s,o!==null)if(kn(o.value,s)){if(o.children===i.children&&!Ut.current){t=pr(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=ar(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),jv(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(U(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),jv(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Rt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ho(t,n),i=pn(i),r=r(i),t.flags|=1,Rt(e,t,r,n),t.child;case 14:return r=t.type,i=bn(r,t.pendingProps),i=bn(r.type,i),Xy(e,t,r,i,n);case 15:return vE(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:bn(r,i),Hu(e,t),t.tag=1,Bt(r)?(e=!0,xc(t)):e=!1,Ho(t,n),Hb(t,r,i),Bv(t,r,i,n),Hv(null,t,r,!0,e,n);case 19:return xE(e,t,n);case 22:return mE(e,t,n)}throw Error(U(156,t.tag))};function LE(e,t){return lb(e,t)}function w9(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 cn(e,t,n,r){return new w9(e,t,n,r)}function sg(e){return e=e.prototype,!(!e||!e.isReactComponent)}function b9(e){if(typeof e=="function")return sg(e)?1:0;if(e!=null){if(e=e.$$typeof,e===C0)return 11;if(e===A0)return 14}return 2}function Kr(e,t){var n=e.alternate;return n===null?(n=cn(e.tag,t,e.key,e.mode),n.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=e.flags&14680064,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Wu(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")sg(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case bo:return zi(n.children,i,o,t);case S0:s=8,i|=8;break;case fv:return e=cn(12,n,t,i|2),e.elementType=fv,e.lanes=o,e;case dv:return e=cn(13,n,t,i),e.elementType=dv,e.lanes=o,e;case pv:return e=cn(19,n,t,i),e.elementType=pv,e.lanes=o,e;case G2:return Pf(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case z2:s=10;break e;case H2:s=9;break e;case C0:s=11;break e;case A0:s=14;break e;case Pr:s=16,r=null;break e}throw Error(U(130,e==null?e:typeof e,""))}return t=cn(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function zi(e,t,n,r){return e=cn(7,e,r,t),e.lanes=n,e}function Pf(e,t,n,r){return e=cn(22,e,r,t),e.elementType=G2,e.lanes=n,e.stateNode={isHidden:!1},e}function yh(e,t,n){return e=cn(6,e,null,t),e.lanes=n,e}function _h(e,t,n){return t=cn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function E9(e,t,n,r,i){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=Jp(0),this.expirationTimes=Jp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jp(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ag(e,t,n,r,i,o,s,a,l){return e=new E9(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=cn(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},H0(o),e}function S9(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:wo,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function FE(e){if(!e)return ri;e=e._reactInternals;e:{if(ro(e)!==e||e.tag!==1)throw Error(U(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Bt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(U(171))}if(e.tag===1){var n=e.type;if(Bt(n))return Lb(e,n,t)}return t}function IE(e,t,n,r,i,o,s,a,l){return e=ag(n,r,!0,e,i,o,s,a,l),e.context=FE(null),n=e.current,r=kt(),i=Xr(n),o=ar(r,i),o.callback=t!=null?t:null,Wr(n,o,i),e.current.lanes=i,bl(e,i,r),Vt(e,r),e}function Rf(e,t,n,r){var i=t.current,o=kt(),s=Xr(i);return n=FE(n),t.context===null?t.context=n:t.pendingContext=n,t=ar(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Wr(i,t,s),e!==null&&(Tn(e,i,s,o),Bu(e,i,s)),s}function Nc(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function a_(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function lg(e,t){a_(e,t),(e=e.alternate)&&a_(e,t)}function C9(){return null}var jE=typeof reportError=="function"?reportError:function(e){console.error(e)};function ug(e){this._internalRoot=e}Of.prototype.render=ug.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(U(409));Rf(e,t,null,null)};Of.prototype.unmount=ug.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Zi(function(){Rf(null,e,null,null)}),t[fr]=null}};function Of(e){this._internalRoot=e}Of.prototype.unstable_scheduleHydration=function(e){if(e){var t=vb();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dr.length&&t!==0&&t<Dr[n].priority;n++);Dr.splice(n,0,e),n===0&&gb(e)}};function cg(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function kf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function l_(){}function A9(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=Nc(s);o.call(u)}}var s=IE(t,r,e,0,null,!1,!1,"",l_);return e._reactRootContainer=s,e[fr]=s.current,za(e.nodeType===8?e.parentNode:e),Zi(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=Nc(l);a.call(u)}}var l=ag(e,0,!1,null,null,!1,!1,"",l_);return e._reactRootContainer=l,e[fr]=l.current,za(e.nodeType===8?e.parentNode:e),Zi(function(){Rf(t,l,n,r)}),l}function Nf(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var a=i;i=function(){var l=Nc(s);a.call(l)}}Rf(t,s,e,i)}else s=A9(n,t,e,i,r);return Nc(s)}pb=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=sa(t.pendingLanes);n!==0&&(P0(t,n|1),Vt(t,Ke()),(we&6)===0&&(os=Ke()+500,di()))}break;case 13:Zi(function(){var r=dr(e,1);if(r!==null){var i=kt();Tn(r,e,1,i)}}),lg(e,1)}};R0=function(e){if(e.tag===13){var t=dr(e,134217728);if(t!==null){var n=kt();Tn(t,e,134217728,n)}lg(e,134217728)}};hb=function(e){if(e.tag===13){var t=Xr(e),n=dr(e,t);if(n!==null){var r=kt();Tn(n,e,t,r)}lg(e,t)}};vb=function(){return Ce};mb=function(e,t){var n=Ce;try{return Ce=e,t()}finally{Ce=n}};Ev=function(e,t,n){switch(t){case"input":if(mv(e,n),t=n.name,n.type==="radio"&&t!=null){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 i=Ef(r);if(!i)throw Error(U(90));W2(r),mv(r,i)}}}break;case"textarea":X2(e,n);break;case"select":t=n.value,t!=null&&Uo(e,!!n.multiple,t,!1)}};nb=rg;rb=Zi;var $9={usingClientEntryPoint:!1,Events:[Sl,Ao,Ef,eb,tb,rg]},ea={findFiberByHostInstance:Li,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},T9={bundleType:ea.bundleType,version:ea.version,rendererPackageName:ea.rendererPackageName,rendererConfig:ea.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:wr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=sb(e),e===null?null:e.stateNode},findFiberByHostInstance:ea.findFiberByHostInstance||C9,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var su=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!su.isDisabled&&su.supportsFiber)try{_f=su.inject(T9),Bn=su}catch{}}nn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$9;nn.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!cg(t))throw Error(U(200));return S9(e,t,null,n)};nn.createRoot=function(e,t){if(!cg(e))throw Error(U(299));var n=!1,r="",i=jE;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=ag(e,1,!1,null,null,n,!1,r,i),e[fr]=t.current,za(e.nodeType===8?e.parentNode:e),new ug(t)};nn.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(U(188)):(e=Object.keys(e).join(","),Error(U(268,e)));return e=sb(t),e=e===null?null:e.stateNode,e};nn.flushSync=function(e){return Zi(e)};nn.hydrate=function(e,t,n){if(!kf(t))throw Error(U(200));return Nf(null,e,t,!0,n)};nn.hydrateRoot=function(e,t,n){if(!cg(e))throw Error(U(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=jE;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=IE(t,null,e,1,n!=null?n:null,i,!1,o,s),e[fr]=t.current,za(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Of(t)};nn.render=function(e,t,n){if(!kf(t))throw Error(U(200));return Nf(null,e,t,!1,n)};nn.unmountComponentAtNode=function(e){if(!kf(e))throw Error(U(40));return e._reactRootContainer?(Zi(function(){Nf(null,null,e,!1,function(){e._reactRootContainer=null,e[fr]=null})}),!0):!1};nn.unstable_batchedUpdates=rg;nn.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!kf(n))throw Error(U(200));if(e==null||e._reactInternals===void 0)throw Error(U(38));return Nf(e,t,n,!1,r)};nn.version="18.2.0-next-9e3b772b8-20220608";function UE(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(UE)}catch(e){console.error(e)}}UE(),ui.exports=nn;var u_=ui.exports;uv.createRoot=u_.createRoot,uv.hydrateRoot=u_.hydrateRoot;function P9(){return typeof __SENTRY_BROWSER_BUNDLE__!="undefined"&&!!__SENTRY_BROWSER_BUNDLE__}function Df(){return!P9()&&Object.prototype.toString.call(typeof process!="undefined"?process:0)==="[object process]"}function Ur(e,t){return e.require(t)}function R9(e){let t;try{t=Ur(module,e)}catch{}try{const{cwd:n}=Ur(module,"process");t=Ur(module,`${n()}/node_modules/${e}`)}catch{}return t}var O9={};function Te(){return Df()?global:typeof window!="undefined"?window:typeof self!="undefined"?self:O9}function fg(e,t,n){var r=n||Te(),i=r.__SENTRY__=r.__SENTRY__||{},o=i[e]||(i[e]=t());return o}var BE=Object.prototype.toString;function VE(e){switch(BE.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return br(e,Error)}}function ws(e,t){return BE.call(e)===`[object ${t}]`}function zE(e){return ws(e,"ErrorEvent")}function c_(e){return ws(e,"DOMError")}function k9(e){return ws(e,"DOMException")}function ii(e){return ws(e,"String")}function HE(e){return e===null||typeof e!="object"&&typeof e!="function"}function ss(e){return ws(e,"Object")}function dg(e){return typeof Event!="undefined"&&br(e,Event)}function N9(e){return typeof Element!="undefined"&&br(e,Element)}function D9(e){return ws(e,"RegExp")}function pg(e){return Boolean(e&&e.then&&typeof e.then=="function")}function M9(e){return ss(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function GE(e){return typeof e=="number"&&e!==e}function br(e,t){try{return e instanceof t}catch{return!1}}function Za(e,t){try{let a=e;var n=5,r=80,i=[];let l=0,u=0;var o=" > ",s=o.length;let c;for(;a&&l++<n&&(c=L9(a,t),!(c==="html"||l>1&&u+i.length*s+c.length>=r));)i.push(c),u+=c.length,a=a.parentNode;return i.reverse().join(o)}catch{return"<unknown>"}}function L9(e,t){var n=e,r=[];let i,o,s,a,l;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());var u=t&&t.length?t.filter(f=>n.getAttribute(f)).map(f=>[f,n.getAttribute(f)]):null;if(u&&u.length)u.forEach(f=>{r.push(`[${f[0]}="${f[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&ii(i))for(o=i.split(/\s+/),l=0;l<o.length;l++)r.push(`.${o[l]}`);var c=["type","name","title","alt"];for(l=0;l<c.length;l++)s=c[l],a=n.getAttribute(s),a&&r.push(`[${s}="${a}"]`);return r.join("")}function F9(){var e=Te();try{return e.document.location.href}catch{return""}}class xt extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}var I9=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function j9(e){return e==="http"||e==="https"}function hg(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${s}`}function U9(e){var t=I9.exec(e);if(!t)throw new xt(`Invalid Sentry Dsn: ${e}`);const[n,r,i="",o,s="",a]=t.slice(1);let l="",u=a;var c=u.split("/");if(c.length>1&&(l=c.slice(0,-1).join("/"),u=c.pop()),u){var f=u.match(/^\d+/);f&&(u=f[0])}return YE({host:o,pass:i,path:l,projectId:u,port:s,protocol:n,publicKey:r})}function YE(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function B9(e){if(!(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__))return;const{port:t,projectId:n,protocol:r}=e;var i=["protocol","publicKey","host","projectId"];if(i.forEach(o=>{if(!e[o])throw new xt(`Invalid Sentry Dsn: ${o} missing`)}),!n.match(/^\d+$/))throw new xt(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!j9(r))throw new xt(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(t&&isNaN(parseInt(t,10)))throw new xt(`Invalid Sentry Dsn: Invalid port ${t}`);return!0}function V9(e){var t=typeof e=="string"?U9(e):YE(e);return B9(t),t}var z9=Te(),H9="Sentry Logger ",Dc=["debug","info","warn","error","log","assert","trace"];function WE(e){var t=Te();if(!("console"in t))return e();var n=t.console,r={};Dc.forEach(i=>{var o=n[i]&&n[i].__sentry_original__;i in t.console&&o&&(r[i]=n[i],n[i]=o)});try{return e()}finally{Object.keys(r).forEach(i=>{n[i]=r[i]})}}function f_(){let e=!1;var t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?Dc.forEach(n=>{t[n]=(...r)=>{e&&WE(()=>{z9.console[n](`${H9}[${n}]:`,...r)})}}):Dc.forEach(n=>{t[n]=()=>{}}),t}let V;typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?V=fg("logger",f_):V=f_();function _a(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.substr(0,t)}...`}function d_(e,t){if(!Array.isArray(e))return"";var n=[];for(let i=0;i<e.length;i++){var r=e[i];try{n.push(String(r))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function Ja(e,t){return ii(e)?D9(t)?t.test(e):typeof t=="string"?e.indexOf(t)!==-1:!1:!1}function wt(e,t,n){if(t in e){var r=e[t],i=n(r);if(typeof i=="function")try{qE(i,r)}catch{}e[t]=i}}function vg(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function qE(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,vg(e,"__sentry_original__",t)}function mg(e){return e.__sentry_original__}function G9(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function XE(e){if(VE(e))return{message:e.message,name:e.name,stack:e.stack,...h_(e)};if(dg(e)){var t={type:e.type,target:p_(e.target),currentTarget:p_(e.currentTarget),...h_(e)};return typeof CustomEvent!="undefined"&&br(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function p_(e){try{return N9(e)?Za(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function h_(e){if(typeof e=="object"&&e!==null){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function Y9(e,t=40){var n=Object.keys(XE(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return _a(n[0],t);for(let i=n.length;i>0;i--){var r=n.slice(0,i).join(", ");if(!(r.length>t))return i===n.length?r:_a(r,t)}return""}function Qr(e){var t=new Map;return nm(e,t)}function nm(e,t){if(ss(e)){var n=t.get(e);if(n!==void 0)return n;var r={};t.set(e,r);for(var i of Object.keys(e))typeof e[i]!="undefined"&&(r[i]=nm(e[i],t));return r}if(Array.isArray(e)){var n=t.get(e);if(n!==void 0)return n;var r=[];return t.set(e,r),e.forEach(a=>{r.push(nm(a,t))}),r}return e}function Lr(e,t){return e!=null?e:t()}function W9(e){let t,n=e[0],r=1;for(;r<e.length;){var i=e[r],o=e[r+1];if(r+=2,(i==="optionalAccess"||i==="optionalCall")&&n==null)return;i==="access"||i==="optionalAccess"?(t=n,n=o(n)):(i==="call"||i==="optionalCall")&&(n=o((...s)=>n.call(t,...s)),t=void 0)}return n}var q9=50;function KE(...e){var t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{var i=[];for(var o of n.split(`
|
|
33
|
-
`).slice(r)){var s=o.replace(/\(error: (.*)\)/,"$1");for(var a of t){var l=a(s);if(l){i.push(l);break}}}return K9(i)}}function X9(e){return Array.isArray(e)?KE(...e):e}function K9(e){if(!e.length)return[];let t=e;var n=t[0].function||"",r=t[t.length-1].function||"";return(n.indexOf("captureMessage")!==-1||n.indexOf("captureException")!==-1)&&(t=t.slice(1)),r.indexOf("sentryWrapped")!==-1&&(t=t.slice(0,-1)),t.slice(0,q9).map(i=>({...i,filename:i.filename||t[0].filename,function:i.function||"?"})).reverse()}var xh="<anonymous>";function oi(e){try{return!e||typeof e!="function"?xh:e.name||xh}catch{return xh}}function gg(){if(!("fetch"in Te()))return!1;try{return new Headers,new Request(""),new Response,!0}catch{return!1}}function rm(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Q9(){if(!gg())return!1;var e=Te();if(rm(e.fetch))return!0;let t=!1;var n=e.document;if(n&&typeof n.createElement=="function")try{var r=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(t=rm(r.contentWindow.fetch)),n.head.removeChild(r)}catch(i){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",i)}return t}function Z9(){var e=Te(),t=e.chrome,n=t&&t.app&&t.app.runtime,r="history"in e&&!!e.history.pushState&&!!e.history.replaceState;return!n&&r}var Ve=Te(),xa={},v_={};function J9(e){if(!v_[e])switch(v_[e]=!0,e){case"console":e4();break;case"dom":u4();break;case"xhr":i4();break;case"fetch":t4();break;case"history":o4();break;case"error":c4();break;case"unhandledrejection":f4();break;default:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn("unknown instrumentation type:",e);return}}function Xt(e,t){xa[e]=xa[e]||[],xa[e].push(t),J9(e)}function Pn(e,t){if(!(!e||!xa[e]))for(var n of xa[e]||[])try{n(t)}catch(r){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.error(`Error while triggering instrumentation handler.
|
|
34
|
-
Type: ${e}
|
|
35
|
-
Name: ${oi(n)}
|
|
36
|
-
Error:`,r)}}function e4(){"console"in Ve&&Dc.forEach(function(e){e in Ve.console&&wt(Ve.console,e,function(t){return function(...n){Pn("console",{args:n,level:e}),t&&t.apply(Ve.console,n)}})})}function t4(){!Q9()||wt(Ve,"fetch",function(e){return function(...t){var n={args:t,fetchData:{method:n4(t),url:r4(t)},startTimestamp:Date.now()};return Pn("fetch",{...n}),e.apply(Ve,t).then(r=>(Pn("fetch",{...n,endTimestamp:Date.now(),response:r}),r),r=>{throw Pn("fetch",{...n,endTimestamp:Date.now(),error:r}),r})}})}function n4(e=[]){return"Request"in Ve&&br(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function r4(e=[]){return typeof e[0]=="string"?e[0]:"Request"in Ve&&br(e[0],Request)?e[0].url:String(e[0])}function i4(){if("XMLHttpRequest"in Ve){var e=XMLHttpRequest.prototype;wt(e,"open",function(t){return function(...n){var r=this,i=n[1],o=r.__sentry_xhr__={method:ii(n[0])?n[0].toUpperCase():n[0],url:n[1]};ii(i)&&o.method==="POST"&&i.match(/sentry_key/)&&(r.__sentry_own_request__=!0);var s=function(){if(r.readyState===4){try{o.status_code=r.status}catch{}Pn("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?wt(r,"onreadystatechange",function(a){return function(...l){return s(),a.apply(r,l)}}):r.addEventListener("readystatechange",s),t.apply(r,n)}}),wt(e,"send",function(t){return function(...n){return this.__sentry_xhr__&&n[0]!==void 0&&(this.__sentry_xhr__.body=n[0]),Pn("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}}let au;function o4(){if(!Z9())return;var e=Ve.onpopstate;Ve.onpopstate=function(...n){var r=Ve.location.href,i=au;if(au=r,Pn("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){var i=r.length>2?r[2]:void 0;if(i){var o=au,s=String(i);au=s,Pn("history",{from:o,to:s})}return n.apply(this,r)}}wt(Ve.history,"pushState",t),wt(Ve.history,"replaceState",t)}var s4=1e3;let lu,uu;function a4(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch{}return!1}function l4(e){if(e.type!=="keypress")return!1;try{var t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch{}return!0}function m_(e,t=!1){return n=>{if(!(!n||uu===n)&&!l4(n)){var r=n.type==="keypress"?"input":n.type;lu===void 0?(e({event:n,name:r,global:t}),uu=n):a4(uu,n)&&(e({event:n,name:r,global:t}),uu=n),clearTimeout(lu),lu=Ve.setTimeout(()=>{lu=void 0},s4)}}}function u4(){if("document"in Ve){var e=Pn.bind(null,"dom"),t=m_(e,!0);Ve.document.addEventListener("click",t,!1),Ve.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{var r=Ve[n]&&Ve[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(wt(r,"addEventListener",function(i){return function(o,s,a){if(o==="click"||o=="keypress")try{var l=this,u=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},c=u[o]=u[o]||{refCount:0};if(!c.handler){var f=m_(e);c.handler=f,i.call(this,o,f,a)}c.refCount+=1}catch{}return i.call(this,o,s,a)}}),wt(r,"removeEventListener",function(i){return function(o,s,a){if(o==="click"||o=="keypress")try{var l=this,u=l.__sentry_instrumentation_handlers__||{},c=u[o];c&&(c.refCount-=1,c.refCount<=0&&(i.call(this,o,c.handler,a),c.handler=void 0,delete u[o]),Object.keys(u).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return i.call(this,o,s,a)}}))})}}let wh=null;function c4(){wh=Ve.onerror,Ve.onerror=function(e,t,n,r,i){return Pn("error",{column:r,error:i,line:n,msg:e,url:t}),wh?wh.apply(this,arguments):!1}}let bh=null;function f4(){bh=Ve.onunhandledrejection,Ve.onunhandledrejection=function(e){return Pn("unhandledrejection",e),bh?bh.apply(this,arguments):!0}}function d4(){var e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let s=0;s<t.length;s++){var o=t[s];if(o===i)return!0}return t.push(i),!1}function r(i){if(e)t.delete(i);else for(let o=0;o<t.length;o++)if(t[o]===i){t.splice(o,1);break}}return[n,r]}function Zr(){var e=Te(),t=e.crypto||e.msCrypto;if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");var n=t&&t.getRandomValues?()=>t.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function QE(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function ji(e){const{message:t,event_id:n}=e;if(t)return t;var r=QE(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function im(e,t,n){var r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function el(e,t){var n=QE(e);if(!!n){var r={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&"data"in t){var o={...i&&i.data,...t.data};n.mechanism.data=o}}}function g_(e){if(e&&e.__sentry_captured__)return!0;try{vg(e,"__sentry_captured__",!0)}catch{}return!1}function Ni(e,t=1/0,n=1/0){try{return om("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function ZE(e,t=3,n=100*1024){var r=Ni(e,t);return v4(r)>n?ZE(e,t-1,n):r}function om(e,t,n=1/0,r=1/0,i=d4()){const[o,s]=i;if(t===null||["number","boolean","string"].includes(typeof t)&&!GE(t))return t;var a=p4(e,t);if(!a.startsWith("[object "))return a;if(t.__sentry_skip_normalization__)return t;if(n===0)return a.replace("object ","");if(o(t))return"[Circular ~]";var l=t;if(l&&typeof l.toJSON=="function")try{var u=l.toJSON();return om("",u,n-1,r,i)}catch{}var c=Array.isArray(t)?[]:{};let f=0;var d=XE(t);for(var p in d)if(!!Object.prototype.hasOwnProperty.call(d,p)){if(f>=r){c[p]="[MaxProperties ~]";break}var v=d[p];c[p]=om(p,v,n-1,r,i),f+=1}return s(t),c}function p4(e,t){try{return e==="domain"&&t&&typeof t=="object"&&t._events?"[Domain]":e==="domainEmitter"?"[DomainEmitter]":typeof global!="undefined"&&t===global?"[Global]":typeof window!="undefined"&&t===window?"[Window]":typeof document!="undefined"&&t===document?"[Document]":M9(t)?"[SyntheticEvent]":typeof t=="number"&&t!==t?"[NaN]":t===void 0?"[undefined]":typeof t=="function"?`[Function: ${oi(t)}]`:typeof t=="symbol"?`[${String(t)}]`:typeof t=="bigint"?`[BigInt: ${String(t)}]`:`[object ${Object.getPrototypeOf(t).constructor.name}]`}catch(n){return`**non-serializable** (${n})`}}function h4(e){return~-encodeURI(e).split(/%..|./).length}function v4(e){return h4(JSON.stringify(e))}var nr;(function(e){var t=0;e[e.PENDING=t]="PENDING";var n=1;e[e.RESOLVED=n]="RESOLVED";var r=2;e[e.REJECTED=r]="REJECTED"})(nr||(nr={}));function Ji(e){return new Ot(t=>{t(e)})}function sm(e){return new Ot((t,n)=>{n(e)})}class Ot{__init(){this._state=nr.PENDING}__init2(){this._handlers=[]}constructor(t){Ot.prototype.__init.call(this),Ot.prototype.__init2.call(this),Ot.prototype.__init3.call(this),Ot.prototype.__init4.call(this),Ot.prototype.__init5.call(this),Ot.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new Ot((r,i)=>{this._handlers.push([!1,o=>{if(!t)r(o);else try{r(t(o))}catch(s){i(s)}},o=>{if(!n)i(o);else try{r(n(o))}catch(s){i(s)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new Ot((n,r)=>{let i,o;return this.then(s=>{o=!1,i=s,t&&t()},s=>{o=!0,i=s,t&&t()}).then(()=>{if(o){r(i);return}n(i)})})}__init3(){this._resolve=t=>{this._setResult(nr.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(nr.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===nr.PENDING){if(pg(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state!==nr.PENDING){var t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===nr.RESOLVED&&n[1](this._value),this._state===nr.REJECTED&&n[2](this._value),n[0]=!0)})}}}}function m4(e){var t=[];function n(){return e===void 0||t.length<e}function r(s){return t.splice(t.indexOf(s),1)[0]}function i(s){if(!n())return sm(new xt("Not adding Promise due to buffer limit reached."));var a=s();return t.indexOf(a)===-1&&t.push(a),a.then(()=>r(a)).then(null,()=>r(a).then(null,()=>{})),a}function o(s){return new Ot((a,l)=>{let u=t.length;if(!u)return a(!0);var c=setTimeout(()=>{s&&s>0&&a(!1)},s);t.forEach(f=>{Ji(f).then(()=>{--u||(clearTimeout(c),a(!0))},l)})})}return{$:t,add:i,drain:o}}function Eh(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 g4=["fatal","error","warning","log","info","debug"];function y4(e){return e==="warn"?"warning":g4.includes(e)?e:"log"}var am={nowSeconds:()=>Date.now()/1e3};function _4(){const{performance:e}=Te();if(!(!e||!e.now)){var t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}}function x4(){try{var e=Ur(module,"perf_hooks");return e.performance}catch{return}}var Sh=Df()?x4():_4(),y_=Sh===void 0?am:{nowSeconds:()=>(Sh.timeOrigin+Sh.now())/1e3},Mf=am.nowSeconds.bind(am),yg=y_.nowSeconds.bind(y_),tl=yg,as=(()=>{const{performance:e}=Te();if(!(!e||!e.now)){var t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,o=i<t,s=e.timing&&e.timing.navigationStart,a=typeof s=="number",l=a?Math.abs(s+n-r):t,u=l<t;return o||u?i<=l?e.timeOrigin:s:r}})(),w4=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function b4(e){var t=e.match(w4);if(t){let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}}function Lf(e,t=[]){return[e,t]}function E4(e,t){const[n,r]=e;return[n,[...r,t]]}function __(e,t){var n=e[1];n.forEach(r=>{var i=r[0].type;t(r,i)})}function lm(e,t){var n=t||new TextEncoder;return n.encode(e)}function JE(e,t){const[n,r]=e;let i=JSON.stringify(n);function o(a){typeof i=="string"?i=typeof a=="string"?i+a:[lm(i,t),a]:i.push(typeof a=="string"?lm(a,t):a)}for(var s of r){const[a,l]=s;o(`
|
|
37
|
-
${JSON.stringify(a)}
|
|
38
|
-
`),o(typeof l=="string"||l instanceof Uint8Array?l:JSON.stringify(l))}return typeof i=="string"?i:S4(i)}function S4(e){var t=e.reduce((o,s)=>o+s.length,0),n=new Uint8Array(t);let r=0;for(var i of e)n.set(i,r),r+=i.length;return n}function C4(e,t){var n=typeof e.data=="string"?lm(e.data,t):e.data;return[Qr({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}var A4={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function x_(e){return A4[e]}function $4(e,t,n){var r=[{type:"client_report"},{timestamp:n||Mf(),discarded_events:e}];return Lf(t?{dsn:t}:{},[r])}var T4=60*1e3;function P4(e,t=Date.now()){var n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;var r=Date.parse(`${e}`);return isNaN(r)?T4:r-t}function R4(e,t){return e[t]||e.all||0}function O4(e,t,n=Date.now()){return R4(e,t)>n}function k4(e,{statusCode:t,headers:n},r=Date.now()){var i={...e},o=n&&n["x-sentry-rate-limits"],s=n&&n["retry-after"];if(o)for(var a of o.trim().split(",")){const[f,d]=a.split(":",2);var l=parseInt(f,10),u=(isNaN(l)?60:l)*1e3;if(!d)i.all=r+u;else for(var c of d.split(";"))i[c]=r+u}else s?i.all=r+P4(s,r):t===429&&(i.all=r+60*1e3);return i}var No="baggage",N4="sentry-",w_=/^sentry-/,D4=8192;function Mc(e,t="",n=!0){return[{...e},t,n]}function M4(e){return Object.keys(e[0]).length===0}function eS(e){return e[0]}function L4(e){return e[1]}function F4(e){return e[2]}function I4(e){e[2]=!1}function j4(e){return Object.keys(e[0]).reduce((t,n)=>{var r=e[0][n],i=`${N4}${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=t===""?i:`${t},${i}`;return o.length>D4?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn(`Not adding key: ${n} with val: ${r} to baggage due to exceeding baggage size limits.`),t):o},e[1])}function tS(e,t=!1){if(!Array.isArray(e)&&!ii(e)||typeof e=="number")return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn("[parseBaggageHeader] Received input value of incompatible type: ",typeof e,e),Mc({},"");var n=(ii(e)?e:e.join(",")).split(",").map(r=>r.trim()).filter(r=>r!==""&&(t||w_.test(r)));return n.reduce(([r,i],o)=>{const[s,a]=o.split("=");if(w_.test(s)){var l=decodeURIComponent(s.split("-")[1]);return[{...r,[l]:decodeURIComponent(a)},i,!0]}else return[r,i===""?o:`${i},${o}`,!0]},[{},"",!0])}function la(e,t){if(!e&&!t)return"";var n=t&&tS(t,!0)||void 0,r=n&&L4(n),i=Mc(e&&e[0]||{},r||"");return j4(i)}function U4(e,t){var n=tS(e||"");return(t||!M4(n))&&I4(n),n}function B4(e){var t=yg(),n={sid:Zr(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>z4(n)};return e&&ls(n,e),n}function ls(e,t={}){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||yg(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Zr()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")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),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function V4(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),ls(e,n)}function z4(e){return Qr({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}var b_=100;class Jr{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(t){var n=new Jr;return t&&(n._breadcrumbs=[...t._breadcrumbs],n._tags={...t._tags},n._extra={...t._extra},n._contexts={...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=[...t._eventProcessors],n._requestSession=t._requestSession,n._attachments=[...t._attachments]),n}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&ls(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts={...this._contexts,[t]:n},this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){var t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){var n=t(this);return n instanceof Jr?n:this}return t instanceof Jr?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...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)):ss(t)&&(t=t,this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...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}clear(){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}addBreadcrumb(t,n){var r=typeof n=="number"?Math.min(n,b_):b_;if(r<=0)return this;var i={timestamp:Mf(),...t};return this._breadcrumbs=[...this._breadcrumbs,i].slice(-r),this._notifyScopeListeners(),this}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,n={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};var r=this._span.transaction&&this._span.transaction.name;r&&(t.tags={transaction:r,...t.tags})}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...nS(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,n,r,i=0){return new Ot((o,s)=>{var a=t[i];if(n===null||typeof a!="function")o(n);else{var l=a({...n},r);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.id&&l===null&&V.log(`Event processor "${a.id}" dropped event`),pg(l)?l.then(u=>this._notifyEventProcessors(t,u,r,i+1).then(o)).then(null,s):this._notifyEventProcessors(t,l,r,i+1).then(o).then(null,s)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function nS(){return fg("globalEventProcessors",()=>[])}function _g(e){nS().push(e)}var xg=4,H4=100;class Al{__init(){this._stack=[{}]}constructor(t,n=new Jr,r=xg){this._version=r,Al.prototype.__init.call(this),this.getStackTop().scope=n,t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){var n=this.getStackTop();n.client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){var t=Jr.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(t){var n=this.pushScope();try{t(n)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,n){var r=this._lastEventId=n&&n.event_id?n.event_id:Zr(),i=new Error("Sentry syntheticException");return this._withClient((o,s)=>{o.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},s)}),r}captureMessage(t,n,r){var i=this._lastEventId=r&&r.event_id?r.event_id:Zr(),o=new Error(t);return this._withClient((s,a)=>{s.captureMessage(t,n,{originalException:t,syntheticException:o,...r,event_id:i},a)}),i}captureEvent(t,n){var r=n&&n.event_id?n.event_id:Zr();return t.type!=="transaction"&&(this._lastEventId=r),this._withClient((i,o)=>{i.captureEvent(t,{...n,event_id:r},o)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!r||!i)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:s=H4}=i.getOptions&&i.getOptions()||{};if(!(s<=0)){var a=Mf(),l={timestamp:a,...t},u=o?WE(()=>o(l,n)):l;u!==null&&r.addBreadcrumb(u,s)}}setUser(t){var n=this.getScope();n&&n.setUser(t)}setTags(t){var n=this.getScope();n&&n.setTags(t)}setExtras(t){var n=this.getScope();n&&n.setExtras(t)}setTag(t,n){var r=this.getScope();r&&r.setTag(t,n)}setExtra(t,n){var r=this.getScope();r&&r.setExtra(t,n)}setContext(t,n){var r=this.getScope();r&&r.setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();n&&r&&t(n)}run(t){var n=E_(this);try{t(this)}finally{E_(n)}}getIntegration(t){var n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){return this._callExtensionMethod("startTransaction",t,n)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){var t=this.getStackTop(),n=t&&t.scope,r=n&&n.getSession();r&&V4(r),this._sendSessionUpdate(),n&&n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:o}=r&&r.getOptions()||{};var s=Te();const{userAgent:a}=s.navigator||{};var l=B4({release:i,environment:o,...n&&{user:n.getUser()},...a&&{userAgent:a},...t});if(n){var u=n.getSession&&n.getSession();u&&u.status==="ok"&&ls(u,{status:"exited"}),this.endSession(),n.setSession(l)}return l}shouldSendDefaultPii(){var t=this.getClient(),n=t&&t.getOptions();return Boolean(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop();if(!!t){var r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}}_withClient(t){const{scope:n,client:r}=this.getStackTop();r&&t(r,n)}_callExtensionMethod(t,...n){var r=bs(),i=r.__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function bs(){var e=Te();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function E_(e){var t=bs(),n=Fr(t);return wg(t,e),n}function Qe(){var e=bs();return(!rS(e)||Fr(e).isOlderThan(xg))&&wg(e,new Al),Df()?G4(e):Fr(e)}function G4(e){try{var t=bs().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return Fr(e);if(!rS(n)||Fr(n).isOlderThan(xg)){var r=Fr(e).getStackTop();wg(n,new Al(r.client,Jr.clone(r.scope)))}return Fr(n)}catch{return Fr(e)}}function rS(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function Fr(e){return fg("hub",()=>new Al,e)}function wg(e,t){if(!e)return!1;var n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function Y4(e,t){return Qe().captureException(e,{captureContext:t})}function W4(e){Qe().withScope(e)}var q4="7";function X4(e){var t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function K4(e){return`${X4(e)}${e.projectId}/envelope/`}function Q4(e,t){return G9({sentry_key:e.publicKey,sentry_version:q4,...t&&{sentry_client:`${t.name}/${t.version}`}})}function iS(e,t={}){var n=typeof t=="string"?t:t.tunnel,r=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return n||`${K4(e)}?${Q4(e,r)}`}function oS(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Z4(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function J4(e,t,n,r){var i=oS(n),o={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&{dsn:hg(t)}},s="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e];return Lf(o,[s])}function eP(e,t,n,r){var i=oS(n),o=e.type||"event";const{transactionSampling:s}=e.sdkProcessingMetadata||{},{method:a,rate:l}=s||{};Z4(e,n&&n.sdk);var u=tP(e,i,r,t);delete e.sdkProcessingMetadata;var c=[{type:o,sample_rates:[{id:a,rate:l}]},e];return Lf(u,[c])}function tP(e,t,n,r){var i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baggage,o=i&&eS(i);return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&{dsn:hg(r)},...e.type==="transaction"&&o&&{trace:Qr({...o})}}}var S_=[];function C_(e){return e.reduce((t,n)=>(t.every(r=>n.name!==r.name)&&t.push(n),t),[])}function nP(e){var t=e.defaultIntegrations&&[...e.defaultIntegrations]||[],n=e.integrations;let r=[...C_(t)];Array.isArray(n)?r=[...r.filter(s=>n.every(a=>a.name!==s.name)),...C_(n)]:typeof n=="function"&&(r=n(r),r=Array.isArray(r)?r:[r]);var i=r.map(s=>s.name),o="Debug";return i.indexOf(o)!==-1&&r.push(...r.splice(i.indexOf(o),1)),r}function rP(e){var t={};return e.forEach(n=>{t[n.name]=n,S_.indexOf(n.name)===-1&&(n.setupOnce(_g,Qe),S_.push(n.name),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`Integration installed: ${n.name}`))}),t}var A_="Not capturing exception because it's already been captured.";class Do{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(t){if(Do.prototype.__init.call(this),Do.prototype.__init2.call(this),Do.prototype.__init3.call(this),Do.prototype.__init4.call(this),this._options=t,t.dsn){this._dsn=V9(t.dsn);var n=iS(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}else(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn("No DSN provided, client will not do anything.")}captureException(t,n,r){if(g_(t)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(A_);return}let i=n&&n.event_id;return this._process(this.eventFromException(t,n).then(o=>this._captureEvent(o,n,r)).then(o=>{i=o})),i}captureMessage(t,n,r,i){let o=r&&r.event_id;var s=HE(t)?this.eventFromMessage(String(t),n,r):this.eventFromException(t,r);return this._process(s.then(a=>this._captureEvent(a,r,i)).then(a=>{o=a})),o}captureEvent(t,n,r){if(n&&n.originalException&&g_(n.originalException)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(A_);return}let i=n&&n.event_id;return this._process(this._captureEvent(t,n,r).then(o=>{i=o})),i}captureSession(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn("SDK not enabled, will not capture session.");return}typeof t.release!="string"?(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),ls(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getTransport(){return this._transport}flush(t){var n=this._transport;return n?this._isClientDoneProcessing(t).then(r=>n.flush(t).then(i=>r&&i)):Ji(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,n))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=rP(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}sendEvent(t,n={}){if(this._dsn){let i=eP(t,this._dsn,this._options._metadata,this._options.tunnel);for(var r of n.attachments||[])i=E4(i,C4(r,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(i)}}sendSession(t){if(this._dsn){var n=J4(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}}recordDroppedEvent(t,n){if(this._options.sendClientReports){var r=`${t}:${n}`;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`Adding outcome: "${r}"`),this._outcomes[r]=this._outcomes[r]+1||1}}_updateSessionFromEvent(t,n){let r=!1,i=!1;var o=n.exception&&n.exception.values;if(o){i=!0;for(var s of o){var a=s.mechanism;if(a&&a.handled===!1){r=!0;break}}}var l=t.status==="ok",u=l&&t.errors===0||l&&r;u&&(ls(t,{...r&&{status:"crashed"},errors:t.errors||Number(i||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new Ot(n=>{let r=0;var i=1,o=setInterval(()=>{this._numProcessing==0?(clearInterval(o),n(!0)):(r+=i,t&&r>=t&&(clearInterval(o),n(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._dsn!==void 0}_prepareEvent(t,n,r){const{normalizeDepth:i=3,normalizeMaxBreadth:o=1e3}=this.getOptions();var s={...t,event_id:t.event_id||n.event_id||Zr(),timestamp:t.timestamp||Mf()};this._applyClientOptions(s),this._applyIntegrationsMetadata(s);let a=r;n.captureContext&&(a=Jr.clone(a).update(n.captureContext));let l=Ji(s);if(a){var u=[...n.attachments||[],...a.getAttachments()];u.length&&(n.attachments=u),l=a.applyToEvent(s,n)}return l.then(c=>typeof i=="number"&&i>0?this._normalizeEvent(c,i,o):c)}_normalizeEvent(t,n,r){if(!t)return null;var i={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(o=>({...o,...o.data&&{data:Ni(o.data,n,r)}}))},...t.user&&{user:Ni(t.user,n,r)},...t.contexts&&{contexts:Ni(t.contexts,n,r)},...t.extra&&{extra:Ni(t.extra,n,r)}};return t.contexts&&t.contexts.trace&&i.contexts&&(i.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(i.contexts.trace.data=Ni(t.contexts.trace.data,n,r))),t.spans&&(i.spans=t.spans.map(o=>(o.data&&(o.data=Ni(o.data,n,r)),o))),i}_applyClientOptions(t){var n=this.getOptions();const{environment:r,release:i,dist:o,maxValueLength:s=250}=n;"environment"in t||(t.environment="environment"in n?r:"production"),t.release===void 0&&i!==void 0&&(t.release=i),t.dist===void 0&&o!==void 0&&(t.dist=o),t.message&&(t.message=_a(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=_a(a.value,s));var l=t.request;l&&l.url&&(l.url=_a(l.url,s))}_applyIntegrationsMetadata(t){var n=Object.keys(this._integrations);n.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...n])}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(i=>i.event_id,i=>{if(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__){var o=i;o.logLevel==="log"?V.log(o.message):V.warn(o)}})}_processEvent(t,n,r){const{beforeSend:i,sampleRate:o}=this.getOptions();if(!this._isEnabled())return sm(new xt("SDK not enabled, will not capture event.","log"));var s=t.type==="transaction";return!s&&typeof o=="number"&&Math.random()>o?(this.recordDroppedEvent("sample_rate","error"),sm(new xt(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"))):this._prepareEvent(t,n,r).then(a=>{if(a===null)throw this.recordDroppedEvent("event_processor",t.type||"error"),new xt("An event processor returned null, will not send event.","log");var l=n.data&&n.data.__sentry__===!0;if(l||s||!i)return a;var u=i(a,n);return iP(u)}).then(a=>{if(a===null)throw this.recordDroppedEvent("before_send",t.type||"error"),new xt("`beforeSend` returned `null`, will not send event.","log");var l=r&&r.getSession();return!s&&l&&this._updateSessionFromEvent(l,a),this.sendEvent(a,n),a}).then(null,a=>{throw a instanceof xt?a:(this.captureException(a,{data:{__sentry__:!0},originalException:a}),new xt(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
39
|
-
Reason: ${a}`))})}_process(t){this._numProcessing+=1,t.then(n=>(this._numProcessing-=1,n),n=>(this._numProcessing-=1,n))}_sendEnvelope(t){this._transport&&this._dsn?this._transport.send(t).then(null,n=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.error("Error while sending event:",n)}):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.error("Transport disabled")}_clearOutcomes(){var t=this._outcomes;return this._outcomes={},Object.keys(t).map(n=>{const[r,i]=n.split(":");return{reason:r,category:i,quantity:t[n]}})}}function iP(e){var t="`beforeSend` method has to return `null` or a valid event.";if(pg(e))return e.then(n=>{if(!(ss(n)||n===null))throw new xt(t);return n},n=>{throw new xt(`beforeSend rejected with ${n}`)});if(!(ss(e)||e===null))throw new xt(t);return e}function oP(e,t){t.debug===!0&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?V.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=Qe(),r=n.getScope();r&&r.update(t.initialScope);var i=new e(t);n.bindClient(i)}var sP=30;function sS(e,t,n=m4(e.bufferSize||sP)){let r={};var i=s=>n.drain(s);function o(s){var a=[];if(__(s,(f,d)=>{var p=x_(d);O4(r,p)?e.recordDroppedEvent("ratelimit_backoff",p):a.push(f)}),a.length===0)return Ji();var l=Lf(s[0],a),u=f=>{__(l,(d,p)=>{e.recordDroppedEvent(f,x_(p))})},c=()=>t({body:JE(l,e.textEncoder)}).then(f=>{f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn(`Sentry responded with status code ${f.statusCode} to sent event.`),r=k4(r,f)},f=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.error("Failed while sending event:",f),u("network_error")});return n.add(c).then(f=>f,f=>{if(f instanceof xt)return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.error("Skipped sending event due to full buffer"),u("queue_overflow"),Ji();throw f})}return{send:o,flush:i}}var Lc="7.11.1";let $_;class nl{constructor(){nl.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=nl.id}setupOnce(){$_=Function.prototype.toString,Function.prototype.toString=function(...t){var n=mg(this)||this;return $_.apply(n,t)}}}nl.__initStatic();var aP=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class Yo{static __initStatic(){this.id="InboundFilters"}__init(){this.name=Yo.id}constructor(t={}){this._options=t,Yo.prototype.__init.call(this)}setupOnce(t,n){var r=i=>{var o=n();if(o){var s=o.getIntegration(Yo);if(s){var a=o.getClient(),l=a?a.getOptions():{},u=lP(s._options,l);return uP(i,u)?null:i}}return i};r.id=this.name,t(r)}}Yo.__initStatic();function lP(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...aP],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function uP(e,t){return t.ignoreInternal&&hP(e)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn(`Event dropped due to being internal Sentry Error.
|
|
40
|
-
Event: ${ji(e)}`),!0):cP(e,t.ignoreErrors)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
41
|
-
Event: ${ji(e)}`),!0):fP(e,t.denyUrls)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
42
|
-
Event: ${ji(e)}.
|
|
43
|
-
Url: ${Fc(e)}`),!0):dP(e,t.allowUrls)?!1:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
44
|
-
Event: ${ji(e)}.
|
|
45
|
-
Url: ${Fc(e)}`),!0)}function cP(e,t){return!t||!t.length?!1:pP(e).some(n=>t.some(r=>Ja(n,r)))}function fP(e,t){if(!t||!t.length)return!1;var n=Fc(e);return n?t.some(r=>Ja(n,r)):!1}function dP(e,t){if(!t||!t.length)return!0;var n=Fc(e);return n?t.some(r=>Ja(n,r)):!0}function pP(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.error(`Cannot extract message for event ${ji(e)}`),[]}return[]}function hP(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function vP(e=[]){for(let n=e.length-1;n>=0;n--){var t=e[n];if(t&&t.filename!=="<anonymous>"&&t.filename!=="[native code]")return t.filename||null}return null}function Fc(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?vP(t):null}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.error(`Cannot extract url for event ${ji(e)}`),null}}function aS(e,t){var n=bg(e,t),r={type:t&&t.name,value:_P(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function mP(e,t,n,r){var i={exception:{values:[{type:dg(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${Y9(t)}`}]},extra:{__serialized__:ZE(t)}};if(n){var o=bg(e,n);o.length&&(i.exception.values[0].stacktrace={frames:o})}return i}function Ch(e,t){return{exception:{values:[aS(e,t)]}}}function bg(e,t){var n=t.stacktrace||t.stack||"",r=yP(t);try{return e(n,r)}catch{}return[]}var gP=/Minified React error #\d+;/i;function yP(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(gP.test(e.message))return 1}return 0}function _P(e){var t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function xP(e,t,n,r){var i=n&&n.syntheticException||void 0,o=Eg(e,t,i,r);return el(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),Ji(o)}function wP(e,t,n="info",r,i){var o=r&&r.syntheticException||void 0,s=um(e,t,o,i);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),Ji(s)}function Eg(e,t,n,r,i){let o;if(zE(t)&&t.error){var s=t;return Ch(e,s.error)}if(c_(t)||k9(t)){var a=t;if("stack"in t)o=Ch(e,t);else{var l=a.name||(c_(a)?"DOMError":"DOMException"),u=a.message?`${l}: ${a.message}`:l;o=um(e,u,n,r),im(o,u)}return"code"in a&&(o.tags={...o.tags,"DOMException.code":`${a.code}`}),o}if(VE(t))return Ch(e,t);if(ss(t)||dg(t)){var c=t;return o=mP(e,c,n,i),el(o,{synthetic:!0}),o}return o=um(e,t,n,r),im(o,`${t}`,void 0),el(o,{synthetic:!0}),o}function um(e,t,n,r){var i={message:t};if(r&&n){var o=bg(e,n);o.length&&(i.exception={values:[{value:t,stacktrace:{frames:o}}]})}return i}var lS="Breadcrumbs";class rl{static __initStatic(){this.id=lS}__init(){this.name=rl.id}constructor(t){rl.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&Xt("console",EP),this.options.dom&&Xt("dom",bP(this.options.dom)),this.options.xhr&&Xt("xhr",SP),this.options.fetch&&Xt("fetch",CP),this.options.history&&Xt("history",AP)}}rl.__initStatic();function bP(e){function t(n){let r,i=typeof e=="object"?e.serializeAttribute:void 0;typeof i=="string"&&(i=[i]);try{r=n.event.target?Za(n.event.target,i):Za(n.event,i)}catch{r="<unknown>"}r.length!==0&&Qe().addBreadcrumb({category:`ui.${n.name}`,message:r},{event:n.event,name:n.name,global:n.global})}return t}function EP(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:y4(e.level),message:d_(e.args," ")};if(e.level==="assert")if(e.args[0]===!1)t.message=`Assertion failed: ${d_(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);else return;Qe().addBreadcrumb(t,{input:e.args,level:e.level})}function SP(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;const{method:t,url:n,status_code:r,body:i}=e.xhr.__sentry_xhr__||{};Qe().addBreadcrumb({category:"xhr",data:{method:t,url:n,status_code:r},type:"http"},{xhr:e.xhr,input:i});return}}function CP(e){!e.endTimestamp||e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"||(e.error?Qe().addBreadcrumb({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args}):Qe().addBreadcrumb({category:"fetch",data:{...e.fetchData,status_code:e.response.status},type:"http"},{input:e.args,response:e.response}))}function AP(e){var t=Te();let n=e.from,r=e.to;var i=Eh(t.location.href);let o=Eh(n);var s=Eh(r);o.path||(o=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),Qe().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var An=Te();let cu;function uS(){if(cu)return cu;if(rm(An.fetch))return cu=An.fetch.bind(An);var e=An.document;let t=An.fetch;if(e&&typeof e.createElement=="function")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(i){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",i)}return cu=t.bind(An)}function $P(e,t){var n=Object.prototype.toString.call(An&&An.navigator)==="[object Navigator]",r=n&&typeof An.navigator.sendBeacon=="function";if(r){var i=An.navigator.sendBeacon.bind(An.navigator);i(e,t)}else if(gg()){var o=uS();o(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,s=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.error(s)})}}var Ah=Te();class TP extends Do{constructor(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:Lc}],version:Lc},super(t),t.sendClientReports&&Ah.document&&Ah.document.addEventListener("visibilitychange",()=>{Ah.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return xP(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return wP(this._options.stackParser,t,n,r,this._options.attachStacktrace)}sendEvent(t,n){var r=this.getIntegrationById(lS);r&&r.options&&r.options.sentry&&Qe().addBreadcrumb({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:ji(t)},{event:t}),super.sendEvent(t,n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){var t=this._clearOutcomes();if(t.length===0){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("Sending outcomes:",t);var n=iS(this._dsn,this._options),r=$4(t,this._options.tunnel&&hg(this._dsn));try{$P(n,JE(r))}catch(i){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.error(i)}}}function PP(e,t=uS()){function n(r){var i={body:r.body,method:"POST",referrerPolicy:"origin",headers:e.headers,...e.fetchOptions};return t(e.url,i).then(o=>({statusCode:o.status,headers:{"x-sentry-rate-limits":o.headers.get("X-Sentry-Rate-Limits"),"retry-after":o.headers.get("Retry-After")}}))}return sS(e,n)}var RP=4;function OP(e){function t(n){return new Ot((r,i)=>{var o=new XMLHttpRequest;o.onerror=i,o.onreadystatechange=()=>{o.readyState===RP&&r({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);for(var s in e.headers)Object.prototype.hasOwnProperty.call(e.headers,s)&&o.setRequestHeader(s,e.headers[s]);o.send(n.body)})}return sS(e,t)}var Ff="?",kP=30,NP=40,DP=50;function Sg(e,t,n,r){var i={filename:e,function:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var MP=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,LP=/\((\S*)(?::(\d+))(?::(\d+))\)/,FP=e=>{var t=MP.exec(e);if(t){var n=t[2]&&t[2].indexOf("eval")===0;if(n){var r=LP.exec(t[2]);r&&(t[2]=r[1],t[3]=r[2],t[4]=r[3])}const[i,o]=cS(t[1]||Ff,t[2]);return Sg(o,i,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},IP=[kP,FP],jP=/^\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,UP=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,BP=e=>{var t=jP.exec(e);if(t){var n=t[3]&&t[3].indexOf(" > eval")>-1;if(n){var r=UP.exec(t[3]);r&&(t[1]=t[1]||"eval",t[3]=r[1],t[4]=r[2],t[5]="")}let i=t[3],o=t[1]||Ff;return[o,i]=cS(o,i),Sg(i,o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},VP=[DP,BP],zP=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,HP=e=>{var t=zP.exec(e);return t?Sg(t[2],t[1]||Ff,+t[3],t[4]?+t[4]:void 0):void 0},GP=[NP,HP],YP=[IP,VP,GP],WP=KE(...YP),cS=(e,t)=>{var n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:Ff,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};let cm=0;function fS(){return cm>0}function qP(){cm+=1,setTimeout(()=>{cm-=1})}function us(e,t={},n){if(typeof e!="function")return e;try{var r=e.__sentry_wrapped__;if(r)return r;if(mg(e))return e}catch{return e}var i=function(){var a=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);var l=a.map(u=>us(u,t));return e.apply(this,l)}catch(u){throw qP(),W4(c=>{c.addEventProcessor(f=>(t.mechanism&&(im(f,void 0,void 0),el(f,t.mechanism)),f.extra={...f.extra,arguments:a},f)),Y4(u)}),u}};try{for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(i[o]=e[o])}catch{}qE(i,e),vg(e,"__sentry_wrapped__",i);try{var s=Object.getOwnPropertyDescriptor(i,"name");s.configurable&&Object.defineProperty(i,"name",{get(){return e.name}})}catch{}return i}class ei{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=ei.id}__init2(){this._installFunc={onerror:XP,onunhandledrejection:KP}}constructor(t){ei.prototype.__init.call(this),ei.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;var t=this._options;for(var n in t){var r=this._installFunc[n];r&&t[n]&&(JP(n),r(),this._installFunc[n]=void 0)}}}ei.__initStatic();function XP(){Xt("error",e=>{const[t,n,r]=hS();if(!t.getIntegration(ei))return;const{msg:i,url:o,line:s,column:a,error:l}=e;if(!(fS()||l&&l.__sentry_own_request__)){var u=l===void 0&&ii(i)?ZP(i,o,s,a):dS(Eg(n,l||i,void 0,r,!1),o,s,a);u.level="error",pS(t,l,u,"onerror")}})}function KP(){Xt("unhandledrejection",e=>{const[t,n,r]=hS();if(!t.getIntegration(ei))return;let i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch{}if(fS()||i&&i.__sentry_own_request__)return!0;var o=HE(i)?QP(i):Eg(n,i,void 0,r,!0);o.level="error",pS(t,i,o,"onunhandledrejection")})}function QP(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function ZP(e,t,n,r){var i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let o=zE(e)?e.message:e,s="Error";var a=o.match(i);a&&(s=a[1],o=a[2]);var l={exception:{values:[{type:s,value:o}]}};return dS(l,t,n,r)}function dS(e,t,n,r){var i=e.exception=e.exception||{},o=i.values=i.values||[],s=o[0]=o[0]||{},a=s.stacktrace=s.stacktrace||{},l=a.frames=a.frames||[],u=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,f=ii(t)&&t.length>0?t:F9();return l.length===0&&l.push({colno:u,filename:f,function:"?",in_app:!0,lineno:c}),e}function JP(e){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`Global Handler attached: ${e}`)}function pS(e,t,n,r){el(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function hS(){var e=Qe(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}var e6=["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"];class il{static __initStatic(){this.id="TryCatch"}__init(){this.name=il.id}constructor(t){il.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){var t=Te();this._options.setTimeout&&wt(t,"setTimeout",T_),this._options.setInterval&&wt(t,"setInterval",T_),this._options.requestAnimationFrame&&wt(t,"requestAnimationFrame",t6),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&wt(XMLHttpRequest.prototype,"send",n6);var n=this._options.eventTarget;if(n){var r=Array.isArray(n)?n:e6;r.forEach(r6)}}}il.__initStatic();function T_(e){return function(...t){var n=t[0];return t[0]=us(n,{mechanism:{data:{function:oi(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function t6(e){return function(t){return e.apply(this,[us(t,{mechanism:{data:{function:"requestAnimationFrame",handler:oi(e)},handled:!0,type:"instrument"}})])}}function n6(e){return function(...t){var n=this,r=["onload","onerror","onprogress","onreadystatechange"];return r.forEach(i=>{i in n&&typeof n[i]=="function"&&wt(n,i,function(o){var s={mechanism:{data:{function:i,handler:oi(o)},handled:!0,type:"instrument"}},a=mg(o);return a&&(s.mechanism.data.handler=oi(a)),us(o,s)})}),e.apply(this,t)}}function r6(e){var t=Te(),n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(wt(n,"addEventListener",function(r){return function(i,o,s){try{typeof o.handleEvent=="function"&&(o.handleEvent=us(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:oi(o),target:e},handled:!0,type:"instrument"}}))}catch{}return r.apply(this,[i,us(o,{mechanism:{data:{function:"addEventListener",handler:oi(o),target:e},handled:!0,type:"instrument"}}),s])}}),wt(n,"removeEventListener",function(r){return function(i,o,s){var a=o;try{var l=a&&a.__sentry_wrapped__;l&&r.call(this,i,l,s)}catch{}return r.call(this,i,a,s)}}))}var i6="cause",o6=5;class Wo{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=Wo.id}constructor(t={}){Wo.prototype.__init.call(this),this._key=t.key||i6,this._limit=t.limit||o6}setupOnce(){var t=Qe().getClient();!t||_g((n,r)=>{var i=Qe().getIntegration(Wo);return i?s6(t.getOptions().stackParser,i._key,i._limit,n,r):n})}}Wo.__initStatic();function s6(e,t,n,r,i){if(!r.exception||!r.exception.values||!i||!br(i.originalException,Error))return r;var o=vS(e,n,i.originalException,t);return r.exception.values=[...o,...r.exception.values],r}function vS(e,t,n,r,i=[]){if(!br(n[r],Error)||i.length+1>=t)return i;var o=aS(e,n[r]);return vS(e,t,n[r],r,[o,...i])}var Ti=Te();class qo{constructor(){qo.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=qo.id}setupOnce(){_g(t=>{if(Qe().getIntegration(qo)){if(!Ti.navigator&&!Ti.location&&!Ti.document)return t;var n=t.request&&t.request.url||Ti.location&&Ti.location.href;const{referrer:o}=Ti.document||{},{userAgent:s}=Ti.navigator||{};var r={...t.request&&t.request.headers,...o&&{Referer:o},...s&&{"User-Agent":s}},i={...n&&{url:n},headers:r};return{...t,request:i}}return t})}}qo.__initStatic();class Xo{constructor(){Xo.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=Xo.id}setupOnce(t,n){var r=i=>{var o=n().getIntegration(Xo);if(o){try{if(a6(i,o._previousEvent))return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return o._previousEvent=i}return o._previousEvent=i}return i};r.id=this.name,t(r)}}Xo.__initStatic();function a6(e,t){return t?!!(l6(e,t)||u6(e,t)):!1}function l6(e,t){var n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!gS(e,t)||!mS(e,t))}function u6(e,t){var n=P_(t),r=P_(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!gS(e,t)||!mS(e,t))}function mS(e,t){let n=R_(e),r=R_(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let s=0;s<r.length;s++){var i=r[s],o=n[s];if(i.filename!==o.filename||i.lineno!==o.lineno||i.colno!==o.colno||i.function!==o.function)return!1}return!0}function gS(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function P_(e){return e.exception&&e.exception.values&&e.exception.values[0]}function R_(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch{return}}var c6=[new Yo,new nl,new il,new rl,new ei,new Wo,new Xo,new qo];function f6(e={}){if(e.defaultIntegrations===void 0&&(e.defaultIntegrations=c6),e.release===void 0){var t=Te();t.SENTRY_RELEASE&&t.SENTRY_RELEASE.id&&(e.release=t.SENTRY_RELEASE.id)}e.autoSessionTracking===void 0&&(e.autoSessionTracking=!0),e.sendClientReports===void 0&&(e.sendClientReports=!0);var n={...e,stackParser:X9(e.stackParser||WP),integrations:nP(e),transport:e.transport||(gg()?PP:OP)};oP(TP,n),e.autoSessionTracking&&d6()}function O_(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function d6(){var e=Te(),t=e.document;if(typeof t=="undefined"){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}var n=Qe();!n.captureSession||(O_(n),Xt("history",({from:r,to:i})=>{r===void 0||r===i||O_(Qe())}))}function p6(e){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:Lc}],version:Lc},f6(e)}var yS={exports:{}},Ae={};/** @license React v16.13.1
|
|
46
|
-
* react-is.production.min.js
|
|
47
|
-
*
|
|
48
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
49
|
-
*
|
|
50
|
-
* This source code is licensed under the MIT license found in the
|
|
51
|
-
* LICENSE file in the root directory of this source tree.
|
|
52
|
-
*/var ct=typeof Symbol=="function"&&Symbol.for,Cg=ct?Symbol.for("react.element"):60103,Ag=ct?Symbol.for("react.portal"):60106,If=ct?Symbol.for("react.fragment"):60107,jf=ct?Symbol.for("react.strict_mode"):60108,Uf=ct?Symbol.for("react.profiler"):60114,Bf=ct?Symbol.for("react.provider"):60109,Vf=ct?Symbol.for("react.context"):60110,$g=ct?Symbol.for("react.async_mode"):60111,zf=ct?Symbol.for("react.concurrent_mode"):60111,Hf=ct?Symbol.for("react.forward_ref"):60112,Gf=ct?Symbol.for("react.suspense"):60113,h6=ct?Symbol.for("react.suspense_list"):60120,Yf=ct?Symbol.for("react.memo"):60115,Wf=ct?Symbol.for("react.lazy"):60116,v6=ct?Symbol.for("react.block"):60121,m6=ct?Symbol.for("react.fundamental"):60117,g6=ct?Symbol.for("react.responder"):60118,y6=ct?Symbol.for("react.scope"):60119;function on(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Cg:switch(e=e.type,e){case $g:case zf:case If:case Uf:case jf:case Gf:return e;default:switch(e=e&&e.$$typeof,e){case Vf:case Hf:case Wf:case Yf:case Bf:return e;default:return t}}case Ag:return t}}}function _S(e){return on(e)===zf}Ae.AsyncMode=$g;Ae.ConcurrentMode=zf;Ae.ContextConsumer=Vf;Ae.ContextProvider=Bf;Ae.Element=Cg;Ae.ForwardRef=Hf;Ae.Fragment=If;Ae.Lazy=Wf;Ae.Memo=Yf;Ae.Portal=Ag;Ae.Profiler=Uf;Ae.StrictMode=jf;Ae.Suspense=Gf;Ae.isAsyncMode=function(e){return _S(e)||on(e)===$g};Ae.isConcurrentMode=_S;Ae.isContextConsumer=function(e){return on(e)===Vf};Ae.isContextProvider=function(e){return on(e)===Bf};Ae.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Cg};Ae.isForwardRef=function(e){return on(e)===Hf};Ae.isFragment=function(e){return on(e)===If};Ae.isLazy=function(e){return on(e)===Wf};Ae.isMemo=function(e){return on(e)===Yf};Ae.isPortal=function(e){return on(e)===Ag};Ae.isProfiler=function(e){return on(e)===Uf};Ae.isStrictMode=function(e){return on(e)===jf};Ae.isSuspense=function(e){return on(e)===Gf};Ae.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===If||e===zf||e===Uf||e===jf||e===Gf||e===h6||typeof e=="object"&&e!==null&&(e.$$typeof===Wf||e.$$typeof===Yf||e.$$typeof===Bf||e.$$typeof===Vf||e.$$typeof===Hf||e.$$typeof===m6||e.$$typeof===g6||e.$$typeof===y6||e.$$typeof===v6)};Ae.typeOf=on;yS.exports=Ae;var Tg=yS.exports,_6={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},x6={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},w6={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},xS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Pg={};Pg[Tg.ForwardRef]=w6;Pg[Tg.Memo]=xS;function k_(e){return Tg.isMemo(e)?xS:Pg[e.$$typeof]||_6}var b6=Object.defineProperty,E6=Object.getOwnPropertyNames,N_=Object.getOwnPropertySymbols,S6=Object.getOwnPropertyDescriptor,C6=Object.getPrototypeOf,D_=Object.prototype;function wS(e,t,n){if(typeof t!="string"){if(D_){var r=C6(t);r&&r!==D_&&wS(e,r,n)}var i=E6(t);N_&&(i=i.concat(N_(t)));for(var o=k_(e),s=k_(t),a=0;a<i.length;++a){var l=i[a];if(!x6[l]&&!(n&&n[l])&&!(s&&s[l])&&!(o&&o[l])){var u=S6(t,l);try{b6(e,l,u)}catch{}}}}return e}var A6=wS;function Rg(e){var t=Qe().getClient(),n=e||t&&t.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function $l(e){var t=e||Qe(),n=t.getScope();return n&&n.getTransaction()}function it(e){return e/1e3}function $6(){Xt("error",M_),Xt("unhandledrejection",M_)}function M_(){var e=$l();if(e){var t="internal_error";(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}class qf{__init(){this.spans=[]}constructor(t=1e3){qf.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class Or{__init2(){this.traceId=Zr()}__init3(){this.spanId=Zr().substring(16)}__init4(){this.startTimestamp=tl()}__init5(){this.tags={}}__init6(){this.data={}}constructor(t){if(Or.prototype.__init2.call(this),Or.prototype.__init3.call(this),Or.prototype.__init4.call(this),Or.prototype.__init5.call(this),Or.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)}startChild(t){var n=new Or({...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,(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.transaction){var r=t&&t.op||"< unknown op >",i=n.transaction.name||"< unknown name >",o=n.transaction.spanId,s=`[Tracing] Starting '${r}' span on transaction '${i}' (${o}).`;n.transaction.metadata.spanMetadata[n.spanId]={logMessage:s},V.log(s)}return n}setTag(t,n){return this.tags={...this.tags,[t]:n},this}setData(t,n){return this.data={...this.data,[t]:n},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t));var n=T6(t);return n!=="unknown_error"&&this.setStatus(n),this}isSuccess(){return this.status==="ok"}finish(t){if((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:n}=this.transaction.metadata.spanMetadata[this.spanId];n&&V.log(n.replace("Starting","Finishing"))}this.endTimestamp=typeof t=="number"?t:tl()}toTraceparent(){let t="";return this.sampled!==void 0&&(t=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${t}`}toContext(){return Qr({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})}updateWithContext(t){return this.data=Lr(t.data,()=>({})),this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=Lr(t.spanId,()=>this.spanId),this.startTimestamp=Lr(t.startTimestamp,()=>this.startTimestamp),this.status=t.status,this.tags=Lr(t.tags,()=>({})),this.traceId=Lr(t.traceId,()=>this.traceId),this}getTraceContext(){return Qr({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})}toJSON(){return Qr({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})}}function T6(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"}class Xf extends Or{__init(){this._measurements={}}constructor(t,n){super(t),Xf.prototype.__init.call(this),this._hub=n||Qe(),this._name=t.name||"",this.metadata={...t.metadata,spanMetadata:{}},this._trimEnd=t.trimEnd,this.transaction=this}get name(){return this._name}set name(t){this._name=t,this.metadata.source="custom"}setName(t,n="custom"){this.name=t,this.metadata.source=n}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new qf(t)),this.spanRecorder.add(this)}setMeasurement(t,n,r=""){this._measurements[t]={value:n,unit:r}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(this.endTimestamp===void 0){if(this.name||((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(t),this.sampled!==!0){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");var n=this._hub.getClient();n&&n.recordDroppedEvent("sample_rate","transaction");return}var r=this.spanRecorder?this.spanRecorder.spans.filter(a=>a!==this&&a.endTimestamp):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((a,l)=>a.endTimestamp&&l.endTimestamp?a.endTimestamp>l.endTimestamp?a:l:a).endTimestamp);var i=this.metadata,o={contexts:{trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...i,baggage:this.getBaggage()},...i.source&&{transaction_info:{source:i.source}}},s=Object.keys(this._measurements).length>0;return s&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),o.measurements=this._measurements),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(o)}}toContext(){var t=super.toContext();return Qr({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=Lr(t.name,()=>""),this._trimEnd=t.trimEnd,this}getBaggage(){var t=this.metadata.baggage,n=!t||F4(t)?this._populateBaggageWithSentryValues(t):t;return this.metadata.baggage=n,n}_populateBaggageWithSentryValues(t=Mc({})){var n=this._hub||Qe(),r=n&&n.getClient();if(!r)return t;const{environment:i,release:o}=r.getOptions()||{},{publicKey:s}=r.getDsn()||{};var a=this.metadata&&this.metadata.transactionSampling&&this.metadata.transactionSampling.rate&&this.metadata.transactionSampling.rate.toString(),l=n.getScope();const{segment:u}=l&&l.getUser()||{};var c=this.metadata.source,f=c&&c!=="url"?this.name:void 0;return Mc(Qr({environment:i,release:o,transaction:f,user_segment:u,public_key:s,trace_id:this.traceId,sample_rate:a,...eS(t)}),"",!1)}}var bS=1e3,ES=3e4,P6=5e3;class R6 extends qf{constructor(t,n,r,i){super(i),this._pushActivity=t,this._popActivity=n,this.transactionSpanId=r}add(t){t.spanId!==this.transactionSpanId&&(t.finish=n=>{t.endTimestamp=typeof n=="number"?n:tl(),this._popActivity(t.spanId)},t.endTimestamp===void 0&&this._pushActivity(t.spanId)),super.add(t)}}class Mo extends Xf{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._beforeFinishCallbacks=[]}constructor(t,n,r=bS,i=ES,o=!1){super(t,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=i,this._onScope=o,Mo.prototype.__init.call(this),Mo.prototype.__init2.call(this),Mo.prototype.__init3.call(this),Mo.prototype.__init4.call(this),o&&(L_(n),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),n.configureScope(s=>s.setSpan(this))),this._startIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this.finish())},this._finalTimeout)}finish(t=tl()){if(this._finished=!0,this.activities={},this.spanRecorder){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Tracing] finishing IdleTransaction",new Date(t*1e3).toISOString(),this.op);for(var n of this._beforeFinishCallbacks)n(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(r=>{if(r.spanId===this.spanId)return!0;r.endTimestamp||(r.endTimestamp=t,r.setStatus("cancelled"),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(r,void 0,2)));var i=r.startTimestamp<t;return i||(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(r,void 0,2)),i}),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Tracing] flushing IdleTransaction")}else(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Tracing] No active IdleTransaction");return this._onScope&&L_(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){var n=i=>{this._finished||this._pushActivity(i)},r=i=>{this._finished||this._popActivity(i)};this.spanRecorder=new R6(n,r,this.spanId,t),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}_cancelIdleTimeout(){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0)}_startIdleTimeout(t){this._cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&this.finish(t)},this._idleTimeout)}_pushActivity(t){this._cancelIdleTimeout(),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`[Tracing] popActivity ${t}`),delete this.activities[t],(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){var n=tl()+this._idleTimeout/1e3;this._startIdleTimeout(n)}}_beat(){if(!this._finished){var t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}}_pingHeartbeat(){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},P6)}}function L_(e){var t=e.getScope();if(t){var n=t.getTransaction();n&&t.setSpan(void 0)}}function O6(){var e=this.getScope();if(e){var t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function SS(e,t,n){if(!Rg(t))return e.sampled=!1,e;if(e.sampled!==void 0)return e.setMetadata({transactionSampling:{method:"explicitly_set"}}),e;let r;return typeof t.tracesSampler=="function"?(r=t.tracesSampler(n),e.setMetadata({transactionSampling:{method:"client_sampler",rate:Number(r)}})):n.parentSampled!==void 0?(r=n.parentSampled,e.setMetadata({transactionSampling:{method:"inheritance"}})):(r=t.tracesSampleRate,e.setMetadata({transactionSampling:{method:"client_rate",rate:Number(r)}})),k6(r)?r?(e.sampled=Math.random()<r,e.sampled?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1,e):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function k6(e){return GE(e)||!(typeof e=="number"||typeof e=="boolean")?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e<0||e>1?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function N6(e,t){var n=this.getClient(),r=n&&n.getOptions()||{};let i=new Xf(e,this);return i=SS(i,r,{parentSampled:e.parentSampled,transactionContext:e,...t}),i.sampled&&i.initSpanRecorder(r._experiments&&r._experiments.maxSpans),i}function D6(e,t,n,r,i,o){var s=e.getClient(),a=s&&s.getOptions()||{};let l=new Mo(t,e,n,r,i);return l=SS(l,a,{parentSampled:t.parentSampled,transactionContext:t,...o}),l.sampled&&l.initSpanRecorder(a._experiments&&a._experiments.maxSpans),l}function M6(){var e=bs();!e.__SENTRY__||(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=N6),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=O6))}function L6(){var e=bs();if(!!e.__SENTRY__){var t={mongodb(){var r=Ur(module,"./integrations/node/mongo");return new r.Mongo},mongoose(){var r=Ur(module,"./integrations/node/mongo");return new r.Mongo({mongoose:!0})},mysql(){var r=Ur(module,"./integrations/node/mysql");return new r.Mysql},pg(){var r=Ur(module,"./integrations/node/postgres");return new r.Postgres}},n=Object.keys(t).filter(r=>!!R9(r)).map(r=>{try{return t[r]()}catch{return}}).filter(r=>r);n.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...n])}}function F6(){M6(),Df()&&L6(),$6()}var fu=Te();function I6(){fu&&fu.document?fu.document.addEventListener("visibilitychange",()=>{var e=$l();if(fu.document.hidden&&e){var t="cancelled";(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}}):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn("[Tracing] Could not set up background tab detection due to lack of global document")}var Og=(e,t,n)=>{let r;return i=>{t.value>=0&&(i||n)&&(t.delta=t.value-(r||0),(t.delta||r===void 0)&&(r=t.value,e(t)))}},j6=()=>`v2-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,kg=(e,t)=>({name:e,value:Lr(t,()=>-1),delta:0,entries:[],id:j6()}),Kf=(e,t)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if(e==="first-input"&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver(r=>r.getEntries().map(t));return n.observe({type:e,buffered:!0}),n}}catch{}},Qf=(e,t)=>{var n=r=>{(r.type==="pagehide"||Te().document.visibilityState==="hidden")&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},U6=(e,t)=>{var n=kg("CLS",0);let r,i=0,o=[];var s=l=>{if(l&&!l.hadRecentInput){var u=o[0],c=o[o.length-1];i&&o.length!==0&&l.startTime-c.startTime<1e3&&l.startTime-u.startTime<5e3?(i+=l.value,o.push(l)):(i=l.value,o=[l]),i>n.value&&(n.value=i,n.entries=o,r&&r())}},a=Kf("layout-shift",s);a&&(r=Og(e,n,t),Qf(()=>{a.takeRecords().map(s),r(!0)}))};let qu=-1;var B6=()=>Te().document.visibilityState==="hidden"?0:1/0,V6=()=>{Qf(({timeStamp:e})=>{qu=e},!0)},Ng=()=>(qu<0&&(qu=B6(),V6()),{get firstHiddenTime(){return qu}}),z6=(e,t)=>{var n=Ng(),r=kg("FID");let i;var o=a=>{i&&a.startTime<n.firstHiddenTime&&(r.value=a.processingStart-a.startTime,r.entries.push(a),i(!0))},s=Kf("first-input",o);s&&(i=Og(e,r,t),Qf(()=>{s.takeRecords().map(o),s.disconnect()},!0))},F_={},H6=(e,t)=>{var n=Ng(),r=kg("LCP");let i;var o=l=>{var u=l.startTime;u<n.firstHiddenTime&&(r.value=u,r.entries.push(l)),i&&i()},s=Kf("largest-contentful-paint",o);if(s){i=Og(e,r,t);var a=()=>{F_[r.id]||(s.takeRecords().map(o),s.disconnect(),F_[r.id]=!0,i(!0))};["keydown","click"].forEach(l=>{addEventListener(l,a,{once:!0,capture:!0})}),Qf(a,!0)}};function du(e){return typeof e=="number"&&isFinite(e)}function cs(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}var Hi=Te();function CS(){return Hi&&Hi.addEventListener&&Hi.performance}let I_=0,Oe={},Mn,wa;function G6(e=!1){var t=CS();t&&as&&(t.mark&&Hi.performance.mark("sentry-tracing-init"),W6(),q6(e),X6())}function Y6(){var e=t=>{var n=$l();if(!!n){var r=it(as+t.startTime),i=it(t.duration);n.startChild({description:"Long Task",op:"ui.long-task",startTimestamp:r,endTimestamp:r+i})}};Kf("longtask",e)}function W6(){U6(e=>{var t=e.entries.pop();!t||((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Measurements] Adding CLS"),Oe.cls={value:e.value,unit:""},wa=t)})}function q6(e){H6(t=>{var n=t.entries.pop();if(!!n){var r=it(as),i=it(n.startTime);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Measurements] Adding LCP"),Oe.lcp={value:t.value,unit:"millisecond"},Oe["mark.lcp"]={value:r+i,unit:"second"},Mn=n}},e)}function X6(){z6(e=>{var t=e.entries.pop();if(!!t){var n=it(as),r=it(t.startTime);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Measurements] Adding FID"),Oe.fid={value:e.value,unit:"millisecond"},Oe["mark.fid"]={value:n+r,unit:"second"}}})}function K6(e){var t=CS();if(!t||!Hi.performance.getEntries||!as)return;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Tracing] Adding & adjusting spans using Performance API");var n=it(as),r=t.getEntries();let i,o;r.slice(I_).forEach(s=>{var a=it(s.startTime),l=it(s.duration);if(!(e.op==="navigation"&&n+a<e.startTimestamp))switch(s.entryType){case"navigation":{Z6(e,s,n),i=n+it(s.responseStart),o=n+it(s.requestStart);break}case"mark":case"paint":case"measure":{var u=Q6(e,s,a,l,n),c=Ng(),f=s.startTime<c.firstHiddenTime;s.name==="first-paint"&&f&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Measurements] Adding FP"),Oe.fp={value:s.startTime,unit:"millisecond"},Oe["mark.fp"]={value:u,unit:"second"}),s.name==="first-contentful-paint"&&f&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Measurements] Adding FCP"),Oe.fcp={value:s.startTime,unit:"millisecond"},Oe["mark.fcp"]={value:u,unit:"second"});break}case"resource":{var d=s.name.replace(Hi.location.origin,"");eR(e,s,d,a,l,n);break}}}),I_=Math.max(r.length-1,0),tR(e),e.op==="pageload"&&(typeof i=="number"&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Measurements] Adding TTFB"),Oe.ttfb={value:(i-e.startTimestamp)*1e3,unit:"millisecond"},typeof o=="number"&&o<=i&&(Oe["ttfb.requestTime"]={value:(i-o)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(s=>{if(!(!Oe[s]||n>=e.startTimestamp)){var a=Oe[s].value,l=n+it(a),u=Math.abs((l-e.startTimestamp)*1e3),c=u-a;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`[Measurements] Normalized ${s} from ${a} to ${u} (${c})`),Oe[s].value=u}}),Oe["mark.fid"]&&Oe.fid&&cs(e,{description:"first input delay",endTimestamp:Oe["mark.fid"].value+it(Oe.fid.value),op:"web.vitals",startTimestamp:Oe["mark.fid"].value}),"fcp"in Oe||delete Oe.cls,Object.keys(Oe).forEach(s=>{e.setMeasurement(s,Oe[s].value,Oe[s].unit)}),nR(e)),Mn=void 0,wa=void 0,Oe={}}function Q6(e,t,n,r,i){var o=i+n,s=o+r;return cs(e,{description:t.name,endTimestamp:s,op:t.entryType,startTimestamp:o}),o}function Z6(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{pu(e,t,r,n)}),pu(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),pu(e,t,"fetch",n,"cache","domainLookupStart"),pu(e,t,"domainLookup",n,"DNS"),J6(e,t,n)}function pu(e,t,n,r,i,o){var s=o?t[o]:t[`${n}End`],a=t[`${n}Start`];!a||!s||cs(e,{op:"browser",description:Lr(i,()=>n),startTimestamp:r+it(a),endTimestamp:r+it(s)})}function J6(e,t,n){cs(e,{op:"browser",description:"request",startTimestamp:n+it(t.requestStart),endTimestamp:n+it(t.responseEnd)}),cs(e,{op:"browser",description:"response",startTimestamp:n+it(t.responseStart),endTimestamp:n+it(t.responseEnd)})}function eR(e,t,n,r,i,o){if(!(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")){var s={};"transferSize"in t&&(s["Transfer Size"]=t.transferSize),"encodedBodySize"in t&&(s["Encoded Body Size"]=t.encodedBodySize),"decodedBodySize"in t&&(s["Decoded Body Size"]=t.decodedBodySize);var a=o+r,l=a+i;cs(e,{description:n,endTimestamp:l,op:t.initiatorType?`resource.${t.initiatorType}`:"resource",startTimestamp:a,data:s})}}function tR(e){var t=Hi.navigator;if(!!t){var n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),du(n.rtt)&&(Oe["connection.rtt"]={value:n.rtt,unit:"millisecond"}),du(n.downlink)&&(Oe["connection.downlink"]={value:n.downlink,unit:""})),du(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),du(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}}function nR(e){Mn&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Measurements] Adding LCP Data"),Mn.element&&e.setTag("lcp.element",Za(Mn.element)),Mn.id&&e.setTag("lcp.id",Mn.id),Mn.url&&e.setTag("lcp.url",Mn.url.trim().slice(0,200)),e.setTag("lcp.size",Mn.size)),wa&&wa.sources&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log("[Measurements] Adding CLS Data"),wa.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,Za(t.node))))}var rR=["localhost",/^\//],Ic={traceFetch:!0,traceXHR:!0,tracingOrigins:rR};function iR(e){const{traceFetch:t,traceXHR:n,tracingOrigins:r,shouldCreateSpanForRequest:i}={...Ic,...e};var o={},s=u=>{if(o[u])return o[u];var c=r;return o[u]=c.some(f=>Ja(u,f))&&!Ja(u,"sentry_key"),o[u]};let a=s;typeof i=="function"&&(a=u=>s(u)&&i(u));var l={};t&&Xt("fetch",u=>{oR(u,a,l)}),n&&Xt("xhr",u=>{aR(u,a,l)})}function oR(e,t,n){if(!(!Rg()||!(e.fetchData&&t(e.fetchData.url)))){if(e.endTimestamp){var r=e.fetchData.__span;if(!r)return;var i=n[r];i&&(e.response?i.setHttpStatus(e.response.status):e.error&&i.setStatus("internal_error"),i.finish(),delete n[r]);return}var o=$l();if(o){var i=o.startChild({data:{...e.fetchData,type:"fetch"},description:`${e.fetchData.method} ${e.fetchData.url}`,op:"http.client"});e.fetchData.__span=i.spanId,n[i.spanId]=i;var s=e.args[0]=e.args[0],a=e.args[1]=e.args[1]||{};a.headers=sR(s,o.getBaggage(),i,a)}}}function sR(e,t,n,r){let i=r.headers;if(br(e,Request)&&(i=e.headers),i)if(typeof i.append=="function")i.append("sentry-trace",n.toTraceparent()),i.append(No,la(t,i.get(No)));else if(Array.isArray(i)){const[,o]=i.find(([s,a])=>s===No);i=[...i,["sentry-trace",n.toTraceparent()],[No,la(t,o)]]}else i={...i,"sentry-trace":n.toTraceparent(),baggage:la(t,i.baggage)};else i={"sentry-trace":n.toTraceparent(),baggage:la(t)};return i}function aR(e,t,n){if(!(!Rg()||e.xhr&&e.xhr.__sentry_own_request__||!(e.xhr&&e.xhr.__sentry_xhr__&&t(e.xhr.__sentry_xhr__.url)))){var r=e.xhr.__sentry_xhr__;if(e.endTimestamp){var i=e.xhr.__sentry_xhr_span_id__;if(!i)return;var o=n[i];o&&(o.setHttpStatus(r.status_code),o.finish(),delete n[i]);return}var s=$l();if(s){var o=s.startChild({data:{...r.data,type:"xhr",method:r.method,url:r.url},description:`${r.method} ${r.url}`,op:"http.client"});if(e.xhr.__sentry_xhr_span_id__=o.spanId,n[e.xhr.__sentry_xhr_span_id__]=o,e.xhr.setRequestHeader)try{e.xhr.setRequestHeader("sentry-trace",o.toTraceparent());var a=e.xhr.getRequestHeader&&e.xhr.getRequestHeader(No);e.xhr.setRequestHeader(No,la(s.getBaggage(),a))}catch{}}}}var ta=Te();function lR(e,t=!0,n=!0){if(!ta||!ta.location){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn("Could not initialize routing instrumentation due to invalid location");return}let r=ta.location.href,i;t&&(i=e({name:ta.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&Xt("history",({to:o,from:s})=>{if(s===void 0&&r&&r.indexOf(o)!==-1){r=void 0;return}s!==o&&(r=void 0,i&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.finish()),i=e({name:ta.location.pathname,op:"navigation",metadata:{source:"url"}}))})}var uR="BrowserTracing",cR={idleTimeout:bS,finalTimeout:ES,markBackgroundTransactions:!0,routingInstrumentation:lR,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,_experiments:{enableLongTask:!0},...Ic};class Dg{__init(){this.name=uR}constructor(t){Dg.prototype.__init.call(this);let n=Ic.tracingOrigins;t&&(t.tracingOrigins&&Array.isArray(t.tracingOrigins)?n=t.tracingOrigins:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&(this._emitOptionsWarning=!0)),this.options={...cR,...t,tracingOrigins:n};const{_metricOptions:r}=this.options;G6(r&&r._reportAllChanges),W9([this,"access",i=>i.options,"access",i=>i._experiments,"optionalAccess",i=>i.enableLongTask])&&Y6()}setupOnce(t,n){this._getCurrentHub=n,this._emitOptionsWarning&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn(`[Tracing] We added a reasonable default for you: ${Ic.tracingOrigins}`));const{routingInstrumentation:r,startTransactionOnLocationChange:i,startTransactionOnPageLoad:o,markBackgroundTransactions:s,traceFetch:a,traceXHR:l,tracingOrigins:u,shouldCreateSpanForRequest:c}=this.options;r(f=>this._createRouteTransaction(f),o,i),s&&I6(),iR({traceFetch:a,traceXHR:l,tracingOrigins:u,shouldCreateSpanForRequest:c})}_createRouteTransaction(t){if(!this._getCurrentHub){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`);return}const{beforeNavigate:n,idleTimeout:r,finalTimeout:i}=this.options;var o=t.op==="pageload"?fR():void 0,s={...t,...o,...o&&{metadata:{...t.metadata,...o.metadata}},trimEnd:!0},a=typeof n=="function"?n(s):s,l=a===void 0?{...s,sampled:!1}:a;l.metadata=l.name!==s.name?{...l.metadata,source:"custom"}:l.metadata,l.sampled===!1&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`[Tracing] Will not send ${l.op} transaction because of beforeNavigate.`),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&V.log(`[Tracing] Starting ${l.op} transaction on scope`);var u=this._getCurrentHub();const{location:c}=Te();var f=D6(u,l,r,i,!0,{location:c});return f.registerBeforeFinishCallback(d=>{K6(d),d.setTag("sentry_reportAllChanges",Boolean(this.options._metricOptions&&this.options._metricOptions._reportAllChanges))}),f}}function fR(){var e=j_("sentry-trace"),t=j_("baggage"),n=e?b4(e):void 0,r=U4(t,e);if(n||r)return{...n&&n,...r&&{metadata:{baggage:r}}}}function j_(e){var t=Te();if(t.document&&t.document.querySelector){var n=t.document.querySelector(`meta[name=${e}]`);return n?n.getAttribute("content"):null}else return null}(typeof __SENTRY_TRACING__=="undefined"||__SENTRY_TRACING__)&&F6();var Mg={exports:{}},$e={};/**
|
|
53
|
-
* @license React
|
|
54
|
-
* react-is.production.min.js
|
|
55
|
-
*
|
|
56
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
57
|
-
*
|
|
58
|
-
* This source code is licensed under the MIT license found in the
|
|
59
|
-
* LICENSE file in the root directory of this source tree.
|
|
60
|
-
*/var Lg=Symbol.for("react.element"),Fg=Symbol.for("react.portal"),Zf=Symbol.for("react.fragment"),Jf=Symbol.for("react.strict_mode"),ed=Symbol.for("react.profiler"),td=Symbol.for("react.provider"),nd=Symbol.for("react.context"),dR=Symbol.for("react.server_context"),rd=Symbol.for("react.forward_ref"),id=Symbol.for("react.suspense"),od=Symbol.for("react.suspense_list"),sd=Symbol.for("react.memo"),ad=Symbol.for("react.lazy"),pR=Symbol.for("react.offscreen"),AS;AS=Symbol.for("react.module.reference");function vn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Lg:switch(e=e.type,e){case Zf:case ed:case Jf:case id:case od:return e;default:switch(e=e&&e.$$typeof,e){case dR:case nd:case rd:case ad:case sd:case td:return e;default:return t}}case Fg:return t}}}$e.ContextConsumer=nd;$e.ContextProvider=td;$e.Element=Lg;$e.ForwardRef=rd;$e.Fragment=Zf;$e.Lazy=ad;$e.Memo=sd;$e.Portal=Fg;$e.Profiler=ed;$e.StrictMode=Jf;$e.Suspense=id;$e.SuspenseList=od;$e.isAsyncMode=function(){return!1};$e.isConcurrentMode=function(){return!1};$e.isContextConsumer=function(e){return vn(e)===nd};$e.isContextProvider=function(e){return vn(e)===td};$e.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Lg};$e.isForwardRef=function(e){return vn(e)===rd};$e.isFragment=function(e){return vn(e)===Zf};$e.isLazy=function(e){return vn(e)===ad};$e.isMemo=function(e){return vn(e)===sd};$e.isPortal=function(e){return vn(e)===Fg};$e.isProfiler=function(e){return vn(e)===ed};$e.isStrictMode=function(e){return vn(e)===Jf};$e.isSuspense=function(e){return vn(e)===id};$e.isSuspenseList=function(e){return vn(e)===od};$e.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Zf||e===ed||e===Jf||e===id||e===od||e===pR||typeof e=="object"&&e!==null&&(e.$$typeof===ad||e.$$typeof===sd||e.$$typeof===td||e.$$typeof===nd||e.$$typeof===rd||e.$$typeof===AS||e.getModuleId!==void 0)};$e.typeOf=vn;Mg.exports=$e;var hR=function(t,n,r,i){var o=r?r.call(i,t,n):void 0;if(o!==void 0)return!!o;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var s=Object.keys(t),a=Object.keys(n);if(s.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),u=0;u<s.length;u++){var c=s[u];if(!l(c))return!1;var f=t[c],d=n[c];if(o=r?r.call(i,f,d,c):void 0,o===!1||o===void 0&&f!==d)return!1}return!0};function vR(e){function t(I,R,k,L,P){for(var te=0,F=0,ge=0,pe=0,me,re,Le=0,Ye=0,ve,Ue=ve=me=0,ue=0,xe=0,St=0,_e=0,sn=k.length,Ct=sn-1,be,ie="",Pe="",mi="",gi="",at;ue<sn;){if(re=k.charCodeAt(ue),ue===Ct&&F+pe+ge+te!==0&&(F!==0&&(re=F===47?10:47),pe=ge=te=0,sn++,Ct++),F+pe+ge+te===0){if(ue===Ct&&(0<xe&&(ie=ie.replace(d,"")),0<ie.trim().length)){switch(re){case 32:case 9:case 59:case 13:case 10:break;default:ie+=k.charAt(ue)}re=59}switch(re){case 123:for(ie=ie.trim(),me=ie.charCodeAt(0),ve=1,_e=++ue;ue<sn;){switch(re=k.charCodeAt(ue)){case 123:ve++;break;case 125:ve--;break;case 47:switch(re=k.charCodeAt(ue+1)){case 42:case 47:e:{for(Ue=ue+1;Ue<Ct;++Ue)switch(k.charCodeAt(Ue)){case 47:if(re===42&&k.charCodeAt(Ue-1)===42&&ue+2!==Ue){ue=Ue+1;break e}break;case 10:if(re===47){ue=Ue+1;break e}}ue=Ue}}break;case 91:re++;case 40:re++;case 34:case 39:for(;ue++<Ct&&k.charCodeAt(ue)!==re;);}if(ve===0)break;ue++}switch(ve=k.substring(_e,ue),me===0&&(me=(ie=ie.replace(f,"").trim()).charCodeAt(0)),me){case 64:switch(0<xe&&(ie=ie.replace(d,"")),re=ie.charCodeAt(1),re){case 100:case 109:case 115:case 45:xe=R;break;default:xe=Ee}if(ve=t(R,xe,ve,re,P+1),_e=ve.length,0<B&&(xe=n(Ee,ie,St),at=a(3,ve,xe,R,X,H,_e,re,P,L),ie=xe.join(""),at!==void 0&&(_e=(ve=at.trim()).length)===0&&(re=0,ve="")),0<_e)switch(re){case 115:ie=ie.replace(A,s);case 100:case 109:case 45:ve=ie+"{"+ve+"}";break;case 107:ie=ie.replace(x,"$1 $2"),ve=ie+"{"+ve+"}",ve=le===1||le===2&&o("@"+ve,3)?"@-webkit-"+ve+"@"+ve:"@"+ve;break;default:ve=ie+ve,L===112&&(ve=(Pe+=ve,""))}else ve="";break;default:ve=t(R,n(R,ie,St),ve,L,P+1)}mi+=ve,ve=St=xe=Ue=me=0,ie="",re=k.charCodeAt(++ue);break;case 125:case 59:if(ie=(0<xe?ie.replace(d,""):ie).trim(),1<(_e=ie.length))switch(Ue===0&&(me=ie.charCodeAt(0),me===45||96<me&&123>me)&&(_e=(ie=ie.replace(" ",":")).length),0<B&&(at=a(1,ie,R,I,X,H,Pe.length,L,P,L))!==void 0&&(_e=(ie=at.trim()).length)===0&&(ie="\0\0"),me=ie.charCodeAt(0),re=ie.charCodeAt(1),me){case 0:break;case 64:if(re===105||re===99){gi+=ie+k.charAt(ue);break}default:ie.charCodeAt(_e-1)!==58&&(Pe+=i(ie,me,re,ie.charCodeAt(2)))}St=xe=Ue=me=0,ie="",re=k.charCodeAt(++ue)}}switch(re){case 13:case 10:F===47?F=0:1+me===0&&L!==107&&0<ie.length&&(xe=1,ie+="\0"),0<B*Z&&a(0,ie,R,I,X,H,Pe.length,L,P,L),H=1,X++;break;case 59:case 125:if(F+pe+ge+te===0){H++;break}default:switch(H++,be=k.charAt(ue),re){case 9:case 32:if(pe+te+F===0)switch(Le){case 44:case 58:case 9:case 32:be="";break;default:re!==32&&(be=" ")}break;case 0:be="\\0";break;case 12:be="\\f";break;case 11:be="\\v";break;case 38:pe+F+te===0&&(xe=St=1,be="\f"+be);break;case 108:if(pe+F+te+G===0&&0<Ue)switch(ue-Ue){case 2:Le===112&&k.charCodeAt(ue-3)===58&&(G=Le);case 8:Ye===111&&(G=Ye)}break;case 58:pe+F+te===0&&(Ue=ue);break;case 44:F+ge+pe+te===0&&(xe=1,be+="\r");break;case 34:case 39:F===0&&(pe=pe===re?0:pe===0?re:pe);break;case 91:pe+F+ge===0&&te++;break;case 93:pe+F+ge===0&&te--;break;case 41:pe+F+te===0&&ge--;break;case 40:if(pe+F+te===0){if(me===0)switch(2*Le+3*Ye){case 533:break;default:me=1}ge++}break;case 64:F+ge+pe+te+Ue+ve===0&&(ve=1);break;case 42:case 47:if(!(0<pe+te+ge))switch(F){case 0:switch(2*re+3*k.charCodeAt(ue+1)){case 235:F=47;break;case 220:_e=ue,F=42}break;case 42:re===47&&Le===42&&_e+2!==ue&&(k.charCodeAt(_e+2)===33&&(Pe+=k.substring(_e,ue+1)),be="",F=0)}}F===0&&(ie+=be)}Ye=Le,Le=re,ue++}if(_e=Pe.length,0<_e){if(xe=R,0<B&&(at=a(2,Pe,xe,I,X,H,_e,L,P,L),at!==void 0&&(Pe=at).length===0))return gi+Pe+mi;if(Pe=xe.join(",")+"{"+Pe+"}",le*G!==0){switch(le!==2||o(Pe,2)||(G=0),G){case 111:Pe=Pe.replace(E,":-moz-$1")+Pe;break;case 112:Pe=Pe.replace(y,"::-webkit-input-$1")+Pe.replace(y,"::-moz-$1")+Pe.replace(y,":-ms-input-$1")+Pe}G=0}}return gi+Pe+mi}function n(I,R,k){var L=R.trim().split(w);R=L;var P=L.length,te=I.length;switch(te){case 0:case 1:var F=0;for(I=te===0?"":I[0]+" ";F<P;++F)R[F]=r(I,R[F],k).trim();break;default:var ge=F=0;for(R=[];F<P;++F)for(var pe=0;pe<te;++pe)R[ge++]=r(I[pe]+" ",L[F],k).trim()}return R}function r(I,R,k){var L=R.charCodeAt(0);switch(33>L&&(L=(R=R.trim()).charCodeAt(0)),L){case 38:return R.replace(_,"$1"+I.trim());case 58:return I.trim()+R.replace(_,"$1"+I.trim());default:if(0<1*k&&0<R.indexOf("\f"))return R.replace(_,(I.charCodeAt(0)===58?"":"$1")+I.trim())}return I+R}function i(I,R,k,L){var P=I+";",te=2*R+3*k+4*L;if(te===944){I=P.indexOf(":",9)+1;var F=P.substring(I,P.length-1).trim();return F=P.substring(0,I).trim()+F+";",le===1||le===2&&o(F,1)?"-webkit-"+F+F:F}if(le===0||le===2&&!o(P,1))return P;switch(te){case 1015:return P.charCodeAt(10)===97?"-webkit-"+P+P:P;case 951:return P.charCodeAt(3)===116?"-webkit-"+P+P:P;case 963:return P.charCodeAt(5)===110?"-webkit-"+P+P:P;case 1009:if(P.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+P+P;case 978:return"-webkit-"+P+"-moz-"+P+P;case 1019:case 983:return"-webkit-"+P+"-moz-"+P+"-ms-"+P+P;case 883:if(P.charCodeAt(8)===45)return"-webkit-"+P+P;if(0<P.indexOf("image-set(",11))return P.replace(Y,"$1-webkit-$2")+P;break;case 932:if(P.charCodeAt(4)===45)switch(P.charCodeAt(5)){case 103:return"-webkit-box-"+P.replace("-grow","")+"-webkit-"+P+"-ms-"+P.replace("grow","positive")+P;case 115:return"-webkit-"+P+"-ms-"+P.replace("shrink","negative")+P;case 98:return"-webkit-"+P+"-ms-"+P.replace("basis","preferred-size")+P}return"-webkit-"+P+"-ms-"+P+P;case 964:return"-webkit-"+P+"-ms-flex-"+P+P;case 1023:if(P.charCodeAt(8)!==99)break;return F=P.substring(P.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+F+"-webkit-"+P+"-ms-flex-pack"+F+P;case 1005:return v.test(P)?P.replace(p,":-webkit-")+P.replace(p,":-moz-")+P:P;case 1e3:switch(F=P.substring(13).trim(),R=F.indexOf("-")+1,F.charCodeAt(0)+F.charCodeAt(R)){case 226:F=P.replace(S,"tb");break;case 232:F=P.replace(S,"tb-rl");break;case 220:F=P.replace(S,"lr");break;default:return P}return"-webkit-"+P+"-ms-"+F+P;case 1017:if(P.indexOf("sticky",9)===-1)break;case 975:switch(R=(P=I).length-10,F=(P.charCodeAt(R)===33?P.substring(0,R):P).substring(I.indexOf(":",7)+1).trim(),te=F.charCodeAt(0)+(F.charCodeAt(7)|0)){case 203:if(111>F.charCodeAt(8))break;case 115:P=P.replace(F,"-webkit-"+F)+";"+P;break;case 207:case 102:P=P.replace(F,"-webkit-"+(102<te?"inline-":"")+"box")+";"+P.replace(F,"-webkit-"+F)+";"+P.replace(F,"-ms-"+F+"box")+";"+P}return P+";";case 938:if(P.charCodeAt(5)===45)switch(P.charCodeAt(6)){case 105:return F=P.replace("-items",""),"-webkit-"+P+"-webkit-box-"+F+"-ms-flex-"+F+P;case 115:return"-webkit-"+P+"-ms-flex-item-"+P.replace(T,"")+P;default:return"-webkit-"+P+"-ms-flex-line-pack"+P.replace("align-content","").replace(T,"")+P}break;case 973:case 989:if(P.charCodeAt(3)!==45||P.charCodeAt(4)===122)break;case 931:case 953:if(M.test(I)===!0)return(F=I.substring(I.indexOf(":")+1)).charCodeAt(0)===115?i(I.replace("stretch","fill-available"),R,k,L).replace(":fill-available",":stretch"):P.replace(F,"-webkit-"+F)+P.replace(F,"-moz-"+F.replace("fill-",""))+P;break;case 962:if(P="-webkit-"+P+(P.charCodeAt(5)===102?"-ms-"+P:"")+P,k+L===211&&P.charCodeAt(13)===105&&0<P.indexOf("transform",10))return P.substring(0,P.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+P}return P}function o(I,R){var k=I.indexOf(R===1?":":"{"),L=I.substring(0,R!==3?k:10);return k=I.substring(k+1,I.length-1),Q(R!==2?L:L.replace(O,"$1"),k,R)}function s(I,R){var k=i(R,R.charCodeAt(0),R.charCodeAt(1),R.charCodeAt(2));return k!==R+";"?k.replace($," or ($1)").substring(4):"("+R+")"}function a(I,R,k,L,P,te,F,ge,pe,me){for(var re=0,Le=R,Ye;re<B;++re)switch(Ye=he[re].call(c,I,Le,k,L,P,te,F,ge,pe,me)){case void 0:case!1:case!0:case null:break;default:Le=Ye}if(Le!==R)return Le}function l(I){switch(I){case void 0:case null:B=he.length=0;break;default:if(typeof I=="function")he[B++]=I;else if(typeof I=="object")for(var R=0,k=I.length;R<k;++R)l(I[R]);else Z=!!I|0}return l}function u(I){return I=I.prefix,I!==void 0&&(Q=null,I?typeof I!="function"?le=1:(le=2,Q=I):le=0),u}function c(I,R){var k=I;if(33>k.charCodeAt(0)&&(k=k.trim()),de=k,k=[de],0<B){var L=a(-1,R,k,k,X,H,0,0,0,0);L!==void 0&&typeof L=="string"&&(R=L)}var P=t(Ee,k,R,0,0);return 0<B&&(L=a(-2,P,k,k,X,H,P.length,0,0,0),L!==void 0&&(P=L)),de="",G=0,H=X=1,P}var f=/^\0+/g,d=/[\0\r\f]/g,p=/: */g,v=/zoo|gra/,m=/([,: ])(transform)/g,w=/,\r+?/g,_=/([\t\r\n ])*\f?&/g,x=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,E=/:(read-only)/g,S=/[svh]\w+-[tblr]{2}/,A=/\(\s*(.*)\s*\)/g,$=/([\s\S]*?);/g,T=/-self|flex-/g,O=/[^]*?(:[rp][el]a[\w-]+)[^]*/,M=/stretch|:\s*\w+\-(?:conte|avail)/,Y=/([^-])(image-set\()/,H=1,X=1,G=0,le=1,Ee=[],he=[],B=0,Q=null,Z=0,de="";return c.use=l,c.set=u,e!==void 0&&u(e),c}var mR={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 gR(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var yR=/^((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)-.*))$/,U_=gR(function(e){return yR.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function jn(){return(jn=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 B_=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},fm=function(e){return e!==null&&typeof e=="object"&&(e.toString?e.toString():Object.prototype.toString.call(e))==="[object Object]"&&!Mg.exports.typeOf(e)},jc=Object.freeze([]),ti=Object.freeze({});function ol(e){return typeof e=="function"}function V_(e){return e.displayName||e.name||"Component"}function Ig(e){return e&&typeof e.styledComponentId=="string"}var fs=typeof process!="undefined"&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",jg=typeof window!="undefined"&&"HTMLElement"in window,_R=Boolean(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process!="undefined"&&{}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:typeof process!="undefined"&&{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""?{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY:!1),xR={};function Tl(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 wR=function(){function e(n){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=n}var t=e.prototype;return t.indexOfGroup=function(n){for(var r=0,i=0;i<n;i++)r+=this.groupSizes[i];return r},t.insertRules=function(n,r){if(n>=this.groupSizes.length){for(var i=this.groupSizes,o=i.length,s=o;n>=s;)(s<<=1)<0&&Tl(16,""+n);this.groupSizes=new Uint32Array(s),this.groupSizes.set(i),this.length=s;for(var a=o;a<s;a++)this.groupSizes[a]=0}for(var l=this.indexOfGroup(n+1),u=0,c=r.length;u<c;u++)this.tag.insertRule(l,r[u])&&(this.groupSizes[n]++,l++)},t.clearGroup=function(n){if(n<this.length){var r=this.groupSizes[n],i=this.indexOfGroup(n),o=i+r;this.groupSizes[n]=0;for(var s=i;s<o;s++)this.tag.deleteRule(i)}},t.getGroup=function(n){var r="";if(n>=this.length||this.groupSizes[n]===0)return r;for(var i=this.groupSizes[n],o=this.indexOfGroup(n),s=o+i,a=o;a<s;a++)r+=this.tag.getRule(a)+`/*!sc*/
|
|
61
|
-
`;return r},e}(),Xu=new Map,Uc=new Map,ba=1,hu=function(e){if(Xu.has(e))return Xu.get(e);for(;Uc.has(ba);)ba++;var t=ba++;return Xu.set(e,t),Uc.set(t,e),t},bR=function(e){return Uc.get(e)},ER=function(e,t){t>=ba&&(ba=t+1),Xu.set(e,t),Uc.set(t,e)},SR="style["+fs+'][data-styled-version="5.3.5"]',CR=new RegExp("^"+fs+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),AR=function(e,t,n){for(var r,i=n.split(","),o=0,s=i.length;o<s;o++)(r=i[o])&&e.registerName(t,r)},$R=function(e,t){for(var n=(t.textContent||"").split(`/*!sc*/
|
|
62
|
-
`),r=[],i=0,o=n.length;i<o;i++){var s=n[i].trim();if(s){var a=s.match(CR);if(a){var l=0|parseInt(a[1],10),u=a[2];l!==0&&(ER(u,l),AR(e,u,a[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(s)}}},TR=function(){return typeof window!="undefined"&&window.__webpack_nonce__!==void 0?window.__webpack_nonce__:null},$S=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(a){for(var l=a.childNodes,u=l.length;u>=0;u--){var c=l[u];if(c&&c.nodeType===1&&c.hasAttribute(fs))return c}}(n),o=i!==void 0?i.nextSibling:null;r.setAttribute(fs,"active"),r.setAttribute("data-styled-version","5.3.5");var s=TR();return s&&r.setAttribute("nonce",s),n.insertBefore(r,o),r},PR=function(){function e(n){var r=this.element=$S(n);r.appendChild(document.createTextNode("")),this.sheet=function(i){if(i.sheet)return i.sheet;for(var o=document.styleSheets,s=0,a=o.length;s<a;s++){var l=o[s];if(l.ownerNode===i)return l}Tl(17)}(r),this.length=0}var t=e.prototype;return t.insertRule=function(n,r){try{return this.sheet.insertRule(r,n),this.length++,!0}catch{return!1}},t.deleteRule=function(n){this.sheet.deleteRule(n),this.length--},t.getRule=function(n){var r=this.sheet.cssRules[n];return r!==void 0&&typeof r.cssText=="string"?r.cssText:""},e}(),RR=function(){function e(n){var r=this.element=$S(n);this.nodes=r.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(n,r){if(n<=this.length&&n>=0){var i=document.createTextNode(r),o=this.nodes[n];return this.element.insertBefore(i,o||null),this.length++,!0}return!1},t.deleteRule=function(n){this.element.removeChild(this.nodes[n]),this.length--},t.getRule=function(n){return n<this.length?this.nodes[n].textContent:""},e}(),OR=function(){function e(n){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(n,r){return n<=this.length&&(this.rules.splice(n,0,r),this.length++,!0)},t.deleteRule=function(n){this.rules.splice(n,1),this.length--},t.getRule=function(n){return n<this.length?this.rules[n]:""},e}(),z_=jg,kR={isServer:!jg,useCSSOMInjection:!_R},Bc=function(){function e(n,r,i){n===void 0&&(n=ti),r===void 0&&(r={}),this.options=jn({},kR,{},n),this.gs=r,this.names=new Map(i),this.server=!!n.isServer,!this.server&&jg&&z_&&(z_=!1,function(o){for(var s=document.querySelectorAll(SR),a=0,l=s.length;a<l;a++){var u=s[a];u&&u.getAttribute(fs)!=="active"&&($R(o,u),u.parentNode&&u.parentNode.removeChild(u))}}(this))}e.registerId=function(n){return hu(n)};var t=e.prototype;return t.reconstructWithOptions=function(n,r){return r===void 0&&(r=!0),new e(jn({},this.options,{},n),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(n){return this.gs[n]=(this.gs[n]||0)+1},t.getTag=function(){return this.tag||(this.tag=(i=(r=this.options).isServer,o=r.useCSSOMInjection,s=r.target,n=i?new OR(s):o?new PR(s):new RR(s),new wR(n)));var n,r,i,o,s},t.hasNameForId=function(n,r){return this.names.has(n)&&this.names.get(n).has(r)},t.registerName=function(n,r){if(hu(n),this.names.has(n))this.names.get(n).add(r);else{var i=new Set;i.add(r),this.names.set(n,i)}},t.insertRules=function(n,r,i){this.registerName(n,r),this.getTag().insertRules(hu(n),i)},t.clearNames=function(n){this.names.has(n)&&this.names.get(n).clear()},t.clearRules=function(n){this.getTag().clearGroup(hu(n)),this.clearNames(n)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(n){for(var r=n.getTag(),i=r.length,o="",s=0;s<i;s++){var a=bR(s);if(a!==void 0){var l=n.names.get(a),u=r.getGroup(s);if(l&&u&&l.size){var c=fs+".g"+s+'[id="'+a+'"]',f="";l!==void 0&&l.forEach(function(d){d.length>0&&(f+=d+",")}),o+=""+u+c+'{content:"'+f+`"}/*!sc*/
|
|
63
|
-
`}}}return o}(this)},e}(),NR=/(a)(d)/gi,H_=function(e){return String.fromCharCode(e+(e>25?39:97))};function dm(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=H_(t%52)+n;return(H_(t%52)+n).replace(NR,"$1-$2")}var Lo=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},TS=function(e){return Lo(5381,e)};function PS(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(ol(n)&&!Ig(n))return!1}return!0}var DR=TS("5.3.5"),MR=function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=(r===void 0||r.isStatic)&&PS(t),this.componentId=n,this.baseHash=Lo(DR,n),this.baseStyle=r,Bc.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,r){var i=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(t,n,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(i,this.staticRulesId))o.push(this.staticRulesId);else{var s=eo(this.rules,t,n,r).join(""),a=dm(Lo(this.baseHash,s)>>>0);if(!n.hasNameForId(i,a)){var l=r(s,"."+a,void 0,i);n.insertRules(i,a,l)}o.push(a),this.staticRulesId=a}else{for(var u=this.rules.length,c=Lo(this.baseHash,r.hash),f="",d=0;d<u;d++){var p=this.rules[d];if(typeof p=="string")f+=p;else if(p){var v=eo(p,t,n,r),m=Array.isArray(v)?v.join(""):v;c=Lo(c,m+d),f+=m}}if(f){var w=dm(c>>>0);if(!n.hasNameForId(i,w)){var _=r(f,"."+w,void 0,i);n.insertRules(i,w,_)}o.push(w)}}return o.join(" ")},e}(),LR=/^\s*\/\/.*$/gm,FR=[":","[",".","#"];function RS(e){var t,n,r,i,o=e===void 0?ti:e,s=o.options,a=s===void 0?ti:s,l=o.plugins,u=l===void 0?jc:l,c=new vR(a),f=[],d=function(m){function w(_){if(_)try{m(_+"}")}catch{}}return function(_,x,y,E,S,A,$,T,O,M){switch(_){case 1:if(O===0&&x.charCodeAt(0)===64)return m(x+";"),"";break;case 2:if(T===0)return x+"/*|*/";break;case 3:switch(T){case 102:case 112:return m(y[0]+x),"";default:return x+(M===0?"/*|*/":"")}case-2:x.split("/*|*/}").forEach(w)}}}(function(m){f.push(m)}),p=function(m,w,_){return w===0&&FR.indexOf(_[n.length])!==-1||_.match(i)?m:"."+t};function v(m,w,_,x){x===void 0&&(x="&");var y=m.replace(LR,""),E=w&&_?_+" "+w+" { "+y+" }":y;return t=x,n=w,r=new RegExp("\\"+n+"\\b","g"),i=new RegExp("(\\"+n+"\\b){2,}"),c(_||!w?"":w,E)}return c.use([].concat(u,[function(m,w,_){m===2&&_.length&&_[0].lastIndexOf(n)>0&&(_[0]=_[0].replace(r,p))},d,function(m){if(m===-2){var w=f;return f=[],w}}])),v.hash=u.length?u.reduce(function(m,w){return w.name||Tl(15),Lo(m,w.name)},5381).toString():"",v}var Ug=ce.createContext();Ug.Consumer;var Bg=ce.createContext(),IR=(Bg.Consumer,new Bc),pm=RS();function Vg(){return g.exports.useContext(Ug)||IR}function OS(){return g.exports.useContext(Bg)||pm}function jR(e){var t=g.exports.useState(e.stylisPlugins),n=t[0],r=t[1],i=Vg(),o=g.exports.useMemo(function(){var a=i;return e.sheet?a=e.sheet:e.target&&(a=a.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(a=a.reconstructWithOptions({useCSSOMInjection:!1})),a},[e.disableCSSOMInjection,e.sheet,e.target]),s=g.exports.useMemo(function(){return RS({options:{prefix:!e.disableVendorPrefixes},plugins:n})},[e.disableVendorPrefixes,n]);return g.exports.useEffect(function(){hR(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]),ce.createElement(Ug.Provider,{value:o},ce.createElement(Bg.Provider,{value:s},e.children))}var kS=function(){function e(t,n){var r=this;this.inject=function(i,o){o===void 0&&(o=pm);var s=r.name+o.hash;i.hasNameForId(r.id,s)||i.insertRules(r.id,s,o(r.rules,s,"@keyframes"))},this.toString=function(){return Tl(12,String(r.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=n}return e.prototype.getName=function(t){return t===void 0&&(t=pm),this.name+t.hash},e}(),UR=/([A-Z])/,BR=/([A-Z])/g,VR=/^ms-/,zR=function(e){return"-"+e.toLowerCase()};function G_(e){return UR.test(e)?e.replace(BR,zR).replace(VR,"-ms-"):e}var Y_=function(e){return e==null||e===!1||e===""};function eo(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],s=0,a=e.length;s<a;s+=1)(i=eo(e[s],t,n,r))!==""&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}if(Y_(e))return"";if(Ig(e))return"."+e.styledComponentId;if(ol(e)){if(typeof(u=e)!="function"||u.prototype&&u.prototype.isReactComponent||!t)return e;var l=e(t);return eo(l,t,n,r)}var u;return e instanceof kS?n?(e.inject(n,r),e.getName(r)):e:fm(e)?function c(f,d){var p,v,m=[];for(var w in f)f.hasOwnProperty(w)&&!Y_(f[w])&&(Array.isArray(f[w])&&f[w].isCss||ol(f[w])?m.push(G_(w)+":",f[w],";"):fm(f[w])?m.push.apply(m,c(f[w],w)):m.push(G_(w)+": "+(p=w,(v=f[w])==null||typeof v=="boolean"||v===""?"":typeof v!="number"||v===0||p in mR?String(v).trim():v+"px")+";"));return d?[d+" {"].concat(m,["}"]):m}(e):e.toString()}var W_=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Ze(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 ol(e)||fm(e)?W_(eo(B_(jc,[e].concat(n)))):n.length===0&&e.length===1&&typeof e[0]=="string"?e:W_(eo(B_(e,n)))}var NS=function(e,t,n){return n===void 0&&(n=ti),e.theme!==n.theme&&e.theme||t||n.theme},HR=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,GR=/(^-|-$)/g;function $h(e){return e.replace(HR,"-").replace(GR,"")}var zg=function(e){return dm(TS(e)>>>0)};function vu(e){return typeof e=="string"&&!0}var hm=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},YR=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function WR(e,t,n){var r=e[n];hm(t)&&hm(r)?DS(r,t):e[n]=t}function DS(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 i=0,o=n;i<o.length;i++){var s=o[i];if(hm(s))for(var a in s)YR(a)&&WR(e,s[a],a)}return e}var Hg=ce.createContext();Hg.Consumer;var Th={};function MS(e,t,n){var r=Ig(e),i=!vu(e),o=t.attrs,s=o===void 0?jc:o,a=t.componentId,l=a===void 0?function(x,y){var E=typeof x!="string"?"sc":$h(x);Th[E]=(Th[E]||0)+1;var S=E+"-"+zg("5.3.5"+E+Th[E]);return y?y+"-"+S:S}(t.displayName,t.parentComponentId):a,u=t.displayName,c=u===void 0?function(x){return vu(x)?"styled."+x:"Styled("+V_(x)+")"}(e):u,f=t.displayName&&t.componentId?$h(t.displayName)+"-"+t.componentId:t.componentId||l,d=r&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,p=t.shouldForwardProp;r&&e.shouldForwardProp&&(p=t.shouldForwardProp?function(x,y,E){return e.shouldForwardProp(x,y,E)&&t.shouldForwardProp(x,y,E)}:e.shouldForwardProp);var v,m=new MR(n,f,r?e.componentStyle:void 0),w=m.isStatic&&s.length===0,_=function(x,y){return function(E,S,A,$){var T=E.attrs,O=E.componentStyle,M=E.defaultProps,Y=E.foldedComponentIds,H=E.shouldForwardProp,X=E.styledComponentId,G=E.target,le=function(L,P,te){L===void 0&&(L=ti);var F=jn({},P,{theme:L}),ge={};return te.forEach(function(pe){var me,re,Le,Ye=pe;for(me in ol(Ye)&&(Ye=Ye(F)),Ye)F[me]=ge[me]=me==="className"?(re=ge[me],Le=Ye[me],re&&Le?re+" "+Le:re||Le):Ye[me]}),[F,ge]}(NS(S,g.exports.useContext(Hg),M)||ti,S,T),Ee=le[0],he=le[1],B=function(L,P,te,F){var ge=Vg(),pe=OS(),me=P?L.generateAndInjectStyles(ti,ge,pe):L.generateAndInjectStyles(te,ge,pe);return me}(O,$,Ee),Q=A,Z=he.$as||S.$as||he.as||S.as||G,de=vu(Z),I=he!==S?jn({},S,{},he):S,R={};for(var k in I)k[0]!=="$"&&k!=="as"&&(k==="forwardedAs"?R.as=I[k]:(H?H(k,U_,Z):!de||U_(k))&&(R[k]=I[k]));return S.style&&he.style!==S.style&&(R.style=jn({},S.style,{},he.style)),R.className=Array.prototype.concat(Y,X,B!==X?B:null,S.className,he.className).filter(Boolean).join(" "),R.ref=Q,g.exports.createElement(Z,R)}(v,x,y,w)};return _.displayName=c,(v=ce.forwardRef(_)).attrs=d,v.componentStyle=m,v.displayName=c,v.shouldForwardProp=p,v.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):jc,v.styledComponentId=f,v.target=r?e.target:e,v.withComponent=function(x){var y=t.componentId,E=function(A,$){if(A==null)return{};var T,O,M={},Y=Object.keys(A);for(O=0;O<Y.length;O++)T=Y[O],$.indexOf(T)>=0||(M[T]=A[T]);return M}(t,["componentId"]),S=y&&y+"-"+(vu(x)?x:$h(V_(x)));return MS(x,jn({},E,{attrs:d,componentId:S}),n)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(x){this._foldedDefaultProps=r?DS({},e.defaultProps,x):x}}),v.toString=function(){return"."+v.styledComponentId},i&&A6(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var vm=function(e){return function t(n,r,i){if(i===void 0&&(i=ti),!Mg.exports.isValidElementType(r))return Tl(1,String(r));var o=function(){return n(r,i,Ze.apply(void 0,arguments))};return o.withConfig=function(s){return t(n,r,jn({},i,{},s))},o.attrs=function(s){return t(n,r,jn({},i,{attrs:Array.prototype.concat(i.attrs,s).filter(Boolean)}))},o}(MS,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){vm[e]=vm(e)});var qR=function(){function e(n,r){this.rules=n,this.componentId=r,this.isStatic=PS(n),Bc.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(n,r,i,o){var s=o(eo(this.rules,r,i,o).join(""),""),a=this.componentId+n;i.insertRules(a,a,s)},t.removeStyles=function(n,r){r.clearRules(this.componentId+n)},t.renderStyles=function(n,r,i,o){n>2&&Bc.registerId(this.componentId+n),this.removeStyles(n,i),this.createStyles(n,r,i,o)},e}();function LS(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 i=Ze.apply(void 0,[e].concat(n)),o="sc-global-"+zg(JSON.stringify(i)),s=new qR(i,o);function a(u){var c=Vg(),f=OS(),d=g.exports.useContext(Hg),p=g.exports.useRef(c.allocateGSInstance(o)).current;return c.server&&l(p,u,c,d,f),g.exports.useLayoutEffect(function(){if(!c.server)return l(p,u,c,d,f),function(){return s.removeStyles(p,c)}},[p,u,c,d,f]),null}function l(u,c,f,d,p){if(s.isStatic)s.renderStyles(u,xR,f,p);else{var v=jn({},c,{theme:NS(c,d,a.defaultProps)});s.renderStyles(u,v,f,p)}}return ce.memo(a)}function ld(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 i=Ze.apply(void 0,[e].concat(n)).join(""),o=zg(i);return new kS(o,i)}var ee=vm;function Xe(){return Xe=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},Xe.apply(this,arguments)}function Gi(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function XR(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function FS(...e){return t=>e.forEach(n=>XR(n,t))}function io(...e){return g.exports.useCallback(FS(...e),e)}function IS(e,t=[]){let n=[];function r(o,s){const a=g.exports.createContext(s),l=n.length;n=[...n,s];function u(f){const{scope:d,children:p,...v}=f,m=(d==null?void 0:d[e][l])||a,w=g.exports.useMemo(()=>v,Object.values(v));return g.exports.createElement(m.Provider,{value:w},p)}function c(f,d){const p=(d==null?void 0:d[e][l])||a,v=g.exports.useContext(p);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,c]}const i=()=>{const o=n.map(s=>g.exports.createContext(s));return function(a){const l=(a==null?void 0:a[e])||o;return g.exports.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,KR(i,...t)]}function KR(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const f=l(o)[`__scope${u}`];return{...a,...f}},{});return g.exports.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}const Gg=g.exports.forwardRef((e,t)=>{const{children:n,...r}=e,i=g.exports.Children.toArray(n),o=i.find(ZR);if(o){const s=o.props.children,a=i.map(l=>l===o?g.exports.Children.count(s)>1?g.exports.Children.only(null):g.exports.isValidElement(s)?s.props.children:null:l);return g.exports.createElement(mm,Xe({},r,{ref:t}),g.exports.isValidElement(s)?g.exports.cloneElement(s,void 0,a):null)}return g.exports.createElement(mm,Xe({},r,{ref:t}),n)});Gg.displayName="Slot";const mm=g.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return g.exports.isValidElement(n)?g.exports.cloneElement(n,{...JR(r,n.props),ref:FS(t,n.ref)}):g.exports.Children.count(n)>1?g.exports.Children.only(null):null});mm.displayName="SlotClone";const QR=({children:e})=>g.exports.createElement(g.exports.Fragment,null,e);function ZR(e){return g.exports.isValidElement(e)&&e.type===QR}function JR(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?n[r]=(...a)=>{o==null||o(...a),i==null||i(...a)}:r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const eO=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],to=eO.reduce((e,t)=>{const n=g.exports.forwardRef((r,i)=>{const{asChild:o,...s}=r,a=o?Gg:t;return g.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),g.exports.createElement(a,Xe({},s,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function tO(e,t){e&&ui.exports.flushSync(()=>e.dispatchEvent(t))}function sl(e){const t=g.exports.useRef(e);return g.exports.useEffect(()=>{t.current=e}),g.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function nO(e){const t=sl(e);g.exports.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const gm="dismissableLayer.update",rO="dismissableLayer.pointerDownOutside",iO="dismissableLayer.focusOutside";let q_;const oO=g.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),sO=g.exports.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,u=g.exports.useContext(oO),[c,f]=g.exports.useState(null),[,d]=g.exports.useState({}),p=io(t,A=>f(A)),v=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),w=v.indexOf(m),_=c?v.indexOf(c):-1,x=u.layersWithOutsidePointerEventsDisabled.size>0,y=_>=w,E=aO(A=>{const $=A.target,T=[...u.branches].some(O=>O.contains($));!y||T||(i==null||i(A),s==null||s(A),A.defaultPrevented||a==null||a())}),S=lO(A=>{const $=A.target;[...u.branches].some(O=>O.contains($))||(o==null||o(A),s==null||s(A),A.defaultPrevented||a==null||a())});return nO(A=>{_===u.layers.size-1&&(r==null||r(A),!A.defaultPrevented&&a&&(A.preventDefault(),a()))}),g.exports.useEffect(()=>{if(!!c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(q_=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),X_(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=q_)}},[c,n,u]),g.exports.useEffect(()=>()=>{!c||(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),X_())},[c,u]),g.exports.useEffect(()=>{const A=()=>d({});return document.addEventListener(gm,A),()=>document.removeEventListener(gm,A)},[]),g.exports.createElement(to.div,Xe({},l,{ref:p,style:{pointerEvents:x?y?"auto":"none":void 0,...e.style},onFocusCapture:Gi(e.onFocusCapture,S.onFocusCapture),onBlurCapture:Gi(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:Gi(e.onPointerDownCapture,E.onPointerDownCapture)}))});function aO(e){const t=sl(e),n=g.exports.useRef(!1),r=g.exports.useRef(()=>{});return g.exports.useEffect(()=>{const i=s=>{if(s.target&&!n.current){let l=function(){jS(rO,t,a,{discrete:!0})};const a={originalEvent:s};s.pointerType==="touch"?(document.removeEventListener("click",r.current),r.current=l,document.addEventListener("click",r.current,{once:!0})):l()}n.current=!1},o=window.setTimeout(()=>{document.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),document.removeEventListener("pointerdown",i),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}function lO(e){const t=sl(e),n=g.exports.useRef(!1);return g.exports.useEffect(()=>{const r=i=>{i.target&&!n.current&&jS(iO,t,{originalEvent:i},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function X_(){const e=new CustomEvent(gm);document.dispatchEvent(e)}function jS(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?tO(i,o):i.dispatchEvent(o)}let Ph=0;function uO(){g.exports.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:K_()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:K_()),Ph++,()=>{Ph===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Ph--}},[])}function K_(){const 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}const Rh="focusScope.autoFocusOnMount",Oh="focusScope.autoFocusOnUnmount",Q_={bubbles:!1,cancelable:!0},cO=g.exports.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...s}=e,[a,l]=g.exports.useState(null),u=sl(i),c=sl(o),f=g.exports.useRef(null),d=io(t,m=>l(m)),p=g.exports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.exports.useEffect(()=>{if(r){let m=function(_){if(p.paused||!a)return;const x=_.target;a.contains(x)?f.current=x:Di(f.current,{select:!0})},w=function(_){p.paused||!a||a.contains(_.relatedTarget)||Di(f.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",w),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",w)}}},[r,a,p.paused]),g.exports.useEffect(()=>{if(a){J_.add(p);const m=document.activeElement;if(!a.contains(m)){const _=new CustomEvent(Rh,Q_);a.addEventListener(Rh,u),a.dispatchEvent(_),_.defaultPrevented||(fO(mO(US(a)),{select:!0}),document.activeElement===m&&Di(a))}return()=>{a.removeEventListener(Rh,u),setTimeout(()=>{const _=new CustomEvent(Oh,Q_);a.addEventListener(Oh,c),a.dispatchEvent(_),_.defaultPrevented||Di(m!=null?m:document.body,{select:!0}),a.removeEventListener(Oh,c),J_.remove(p)},0)}}},[a,u,c,p]);const v=g.exports.useCallback(m=>{if(!n&&!r||p.paused)return;const w=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,_=document.activeElement;if(w&&_){const x=m.currentTarget,[y,E]=dO(x);y&&E?!m.shiftKey&&_===E?(m.preventDefault(),n&&Di(y,{select:!0})):m.shiftKey&&_===y&&(m.preventDefault(),n&&Di(E,{select:!0})):_===x&&m.preventDefault()}},[n,r,p.paused]);return g.exports.createElement(to.div,Xe({tabIndex:-1},s,{ref:d,onKeyDown:v}))});function fO(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Di(r,{select:t}),document.activeElement!==n)return}function dO(e){const t=US(e),n=Z_(t,e),r=Z_(t.reverse(),e);return[n,r]}function US(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Z_(e,t){for(const n of e)if(!pO(n,{upTo:t}))return n}function pO(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function hO(e){return e instanceof HTMLInputElement&&"select"in e}function Di(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&hO(e)&&t&&e.select()}}const J_=vO();function vO(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=ex(e,t),e.unshift(t)},remove(t){var n;e=ex(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function ex(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function mO(e){return e.filter(t=>t.tagName!=="A")}const al=Boolean(globalThis==null?void 0:globalThis.document)?g.exports.useLayoutEffect:()=>{};function Es(e){return e.split("-")[0]}function ud(e){return e.split("-")[1]}function Ss(e){return["top","bottom"].includes(Es(e))?"x":"y"}function Yg(e){return e==="y"?"height":"width"}function tx(e,t,n){let{reference:r,floating:i}=e;const o=r.x+r.width/2-i.width/2,s=r.y+r.height/2-i.height/2,a=Ss(t),l=Yg(a),u=r[l]/2-i[l]/2,c=Es(t),f=a==="x";let d;switch(c){case"top":d={x:o,y:r.y-i.height};break;case"bottom":d={x:o,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:s};break;case"left":d={x:r.x-i.width,y:s};break;default:d={x:r.x,y:r.y}}switch(ud(t)){case"start":d[a]-=u*(n&&f?-1:1);break;case"end":d[a]+=u*(n&&f?-1:1);break}return d}const gO=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=await(s.isRTL==null?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=tx(l,r,a),f=r,d={},p=0;for(let v=0;v<o.length;v++){const{name:m,fn:w}=o[v],{x:_,y:x,data:y,reset:E}=await w({x:u,y:c,initialPlacement:r,placement:f,strategy:i,middlewareData:d,rects:l,platform:s,elements:{reference:e,floating:t}});if(u=_!=null?_:u,c=x!=null?x:c,d={...d,[m]:{...d[m],...y}},E&&p<=50){p++,typeof E=="object"&&(E.placement&&(f=E.placement),E.rects&&(l=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):E.rects),{x:u,y:c}=tx(l,f,a)),v=-1;continue}}return{x:u,y:c,placement:f,strategy:i,middlewareData:d}};function yO(e){return{top:0,right:0,bottom:0,left:0,...e}}function BS(e){return typeof e!="number"?yO(e):{top:e,right:e,bottom:e,left:e}}function Vc(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function zc(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=t,v=BS(p),w=a[d?f==="floating"?"reference":"floating":f],_=Vc(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(w)))==null||n?w:w.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),x=Vc(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...s.floating,x:r,y:i}:s.reference,offsetParent:await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),strategy:l}):s[f]);return{top:_.top-x.top+v.top,bottom:x.bottom-_.bottom+v.bottom,left:_.left-x.left+v.left,right:x.right-_.right+v.right}}const _O=Math.min,xO=Math.max;function ym(e,t,n){return xO(e,_O(t,n))}const nx=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e!=null?e:{},{x:i,y:o,placement:s,rects:a,platform:l}=t;if(n==null)return{};const u=BS(r),c={x:i,y:o},f=Ss(s),d=ud(s),p=Yg(f),v=await l.getDimensions(n),m=f==="y"?"top":"left",w=f==="y"?"bottom":"right",_=a.reference[p]+a.reference[f]-c[f]-a.floating[p],x=c[f]-a.reference[f],y=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let E=y?f==="y"?y.clientHeight||0:y.clientWidth||0:0;E===0&&(E=a.floating[p]);const S=_/2-x/2,A=u[m],$=E-v[p]-u[w],T=E/2-v[p]/2+S,O=ym(A,T,$),H=(d==="start"?u[m]:u[w])>0&&T!==O&&a.reference[p]<=a.floating[p]?T<A?A-T:$-T:0;return{[f]:c[f]-H,data:{[f]:O,centerOffset:T-O}}}}),wO={left:"right",right:"left",bottom:"top",top:"bottom"};function Hc(e){return e.replace(/left|right|bottom|top/g,t=>wO[t])}function bO(e,t,n){n===void 0&&(n=!1);const r=ud(e),i=Ss(e),o=Yg(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=Hc(s)),{main:s,cross:Hc(s)}}const EO={start:"end",end:"start"};function rx(e){return e.replace(/start|end/g,t=>EO[t])}const SO=["top","right","bottom","left"];function CO(e){const t=Hc(e);return[rx(e),t,rx(t)]}const AO=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:o,initialPlacement:s,platform:a,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...v}=e,m=Es(r),_=f||(m===s||!p?[Hc(s)]:CO(s)),x=[s,..._],y=await zc(t,v),E=[];let S=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&E.push(y[m]),c){const{main:O,cross:M}=bO(r,o,await(a.isRTL==null?void 0:a.isRTL(l.floating)));E.push(y[O],y[M])}if(S=[...S,{placement:r,overflows:E}],!E.every(O=>O<=0)){var A,$;const O=((A=($=i.flip)==null?void 0:$.index)!=null?A:0)+1,M=x[O];if(M)return{data:{index:O,overflows:S},reset:{placement:M}};let Y="bottom";switch(d){case"bestFit":{var T;const H=(T=S.map(X=>[X,X.overflows.filter(G=>G>0).reduce((G,le)=>G+le,0)]).sort((X,G)=>X[1]-G[1])[0])==null?void 0:T[0].placement;H&&(Y=H);break}case"initialPlacement":Y=s;break}if(r!==Y)return{reset:{placement:Y}}}return{}}}};function ix(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ox(e){return SO.some(t=>e[t]>=0)}const $O=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:i}=r;switch(t){case"referenceHidden":{const o=await zc(r,{...n,elementContext:"reference"}),s=ix(o,i.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:ox(s)}}}case"escaped":{const o=await zc(r,{...n,altBoundary:!0}),s=ix(o,i.floating);return{data:{escapedOffsets:s,escaped:ox(s)}}}default:return{}}}}};async function TO(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=Es(n),a=ud(n),l=Ss(n)==="x",u=["left","top"].includes(s)?-1:1,c=o&&l?-1:1,f=typeof t=="function"?t(e):t;let{mainAxis:d,crossAxis:p,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof v=="number"&&(p=a==="end"?v*-1:v),l?{x:p*c,y:d*u}:{x:d*u,y:p*c}}const PO=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await TO(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function VS(e){return e==="x"?"y":"x"}const RO=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:w=>{let{x:_,y:x}=w;return{x:_,y:x}}},...l}=e,u={x:n,y:r},c=await zc(t,l),f=Ss(Es(i)),d=VS(f);let p=u[f],v=u[d];if(o){const w=f==="y"?"top":"left",_=f==="y"?"bottom":"right",x=p+c[w],y=p-c[_];p=ym(x,p,y)}if(s){const w=d==="y"?"top":"left",_=d==="y"?"bottom":"right",x=v+c[w],y=v-c[_];v=ym(x,v,y)}const m=a.fn({...t,[f]:p,[d]:v});return{...m,data:{x:m.x-n,y:m.y-r}}}}},OO=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=e,c={x:n,y:r},f=Ss(i),d=VS(f);let p=c[f],v=c[d];const m=typeof a=="function"?a({...o,placement:i}):a,w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const S=f==="y"?"height":"width",A=o.reference[f]-o.floating[S]+w.mainAxis,$=o.reference[f]+o.reference[S]-w.mainAxis;p<A?p=A:p>$&&(p=$)}if(u){var _,x,y,E;const S=f==="y"?"width":"height",A=["top","left"].includes(Es(i)),$=o.reference[d]-o.floating[S]+(A&&(_=(x=s.offset)==null?void 0:x[d])!=null?_:0)+(A?0:w.crossAxis),T=o.reference[d]+o.reference[S]+(A?0:(y=(E=s.offset)==null?void 0:E[d])!=null?y:0)-(A?w.crossAxis:0);v<$?v=$:v>T&&(v=T)}return{[f]:p,[d]:v}}}};function zS(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Er(e){if(e==null)return window;if(!zS(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Pl(e){return Er(e).getComputedStyle(e)}function hr(e){return zS(e)?"":e?(e.nodeName||"").toLowerCase():""}function HS(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Gn(e){return e instanceof Er(e).HTMLElement}function si(e){return e instanceof Er(e).Element}function kO(e){return e instanceof Er(e).Node}function Wg(e){if(typeof ShadowRoot=="undefined")return!1;const t=Er(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function cd(e){const{overflow:t,overflowX:n,overflowY:r}=Pl(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function NO(e){return["table","td","th"].includes(hr(e))}function GS(e){const t=/firefox/i.test(HS()),n=Pl(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)}function YS(){return!/^((?!chrome|android).)*safari/i.test(HS())}const sx=Math.min,Ea=Math.max,Gc=Math.round;function vr(e,t,n){var r,i,o,s;t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect();let l=1,u=1;t&&Gn(e)&&(l=e.offsetWidth>0&&Gc(a.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Gc(a.height)/e.offsetHeight||1);const c=si(e)?Er(e):window,f=!YS()&&n,d=(a.left+(f&&(r=(i=c.visualViewport)==null?void 0:i.offsetLeft)!=null?r:0))/l,p=(a.top+(f&&(o=(s=c.visualViewport)==null?void 0:s.offsetTop)!=null?o:0))/u,v=a.width/l,m=a.height/u;return{width:v,height:m,top:p,right:d+v,bottom:p+m,left:d,x:d,y:p}}function pi(e){return((kO(e)?e.ownerDocument:e.document)||window.document).documentElement}function fd(e){return si(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function WS(e){return vr(pi(e)).left+fd(e).scrollLeft}function DO(e){const t=vr(e);return Gc(t.width)!==e.offsetWidth||Gc(t.height)!==e.offsetHeight}function MO(e,t,n){const r=Gn(t),i=pi(t),o=vr(e,r&&DO(t),n==="fixed");let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((hr(t)!=="body"||cd(i))&&(s=fd(t)),Gn(t)){const l=vr(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else i&&(a.x=WS(i));return{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}function qS(e){return hr(e)==="html"?e:e.assignedSlot||e.parentNode||(Wg(e)?e.host:null)||pi(e)}function ax(e){return!Gn(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function LO(e){let t=qS(e);for(Wg(t)&&(t=t.host);Gn(t)&&!["html","body"].includes(hr(t));){if(GS(t))return t;t=t.parentNode}return null}function _m(e){const t=Er(e);let n=ax(e);for(;n&&NO(n)&&getComputedStyle(n).position==="static";)n=ax(n);return n&&(hr(n)==="html"||hr(n)==="body"&&getComputedStyle(n).position==="static"&&!GS(n))?t:n||LO(e)||t}function lx(e){if(Gn(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=vr(e);return{width:t.width,height:t.height}}function FO(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=Gn(n),o=pi(n);if(n===o)return t;let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((i||!i&&r!=="fixed")&&((hr(n)!=="body"||cd(o))&&(s=fd(n)),Gn(n))){const l=vr(n,!0);a.x=l.x+n.clientLeft,a.y=l.y+n.clientTop}return{...t,x:t.x-s.scrollLeft+a.x,y:t.y-s.scrollTop+a.y}}function IO(e,t){const n=Er(e),r=pi(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const u=YS();(u||!u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}function jO(e){var t;const n=pi(e),r=fd(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Ea(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Ea(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);let a=-r.scrollLeft+WS(e);const l=-r.scrollTop;return Pl(i||n).direction==="rtl"&&(a+=Ea(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function XS(e){const t=qS(e);return["html","body","#document"].includes(hr(t))?e.ownerDocument.body:Gn(t)&&cd(t)?t:XS(t)}function Yc(e,t){var n;t===void 0&&(t=[]);const r=XS(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Er(r),s=i?[o].concat(o.visualViewport||[],cd(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(Yc(s))}function UO(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Wg(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function BO(e,t){const n=vr(e,!1,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft;return{top:r,left:i,x:i,y:r,right:i+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function ux(e,t,n){return t==="viewport"?Vc(IO(e,n)):si(t)?BO(t,n):Vc(jO(pi(e)))}function VO(e){const t=Yc(e),r=["absolute","fixed"].includes(Pl(e).position)&&Gn(e)?_m(e):e;return si(r)?t.filter(i=>si(i)&&UO(i,r)&&hr(i)!=="body"):[]}function zO(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[...n==="clippingAncestors"?VO(t):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const f=ux(t,c,i);return u.top=Ea(f.top,u.top),u.right=sx(f.right,u.right),u.bottom=sx(f.bottom,u.bottom),u.left=Ea(f.left,u.left),u},ux(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}const HO={getClippingRect:zO,convertOffsetParentRelativeRectToViewportRelativeRect:FO,isElement:si,getDimensions:lx,getOffsetParent:_m,getDocumentElement:pi,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:MO(t,_m(n),r),floating:{...lx(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Pl(e).direction==="rtl"};function GO(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=!0,animationFrame:a=!1}=r,l=i&&!a,u=o&&!a,c=l||u?[...si(e)?Yc(e):[],...Yc(t)]:[];c.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),u&&m.addEventListener("resize",n)});let f=null;if(s){let m=!0;f=new ResizeObserver(()=>{m||n(),m=!1}),si(e)&&!a&&f.observe(e),f.observe(t)}let d,p=a?vr(e):null;a&&v();function v(){const m=vr(e);p&&(m.x!==p.x||m.y!==p.y||m.width!==p.width||m.height!==p.height)&&n(),p=m,d=requestAnimationFrame(v)}return n(),()=>{var m;c.forEach(w=>{l&&w.removeEventListener("scroll",n),u&&w.removeEventListener("resize",n)}),(m=f)==null||m.disconnect(),f=null,a&&cancelAnimationFrame(d)}}const YO=(e,t,n)=>gO(e,t,{platform:HO,...n});var xm=typeof document!="undefined"?g.exports.useLayoutEffect:g.exports.useEffect;function wm(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!wm(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!wm(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function WO(e){const t=g.exports.useRef(e);return xm(()=>{t.current=e}),t}function qO(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:i}=e===void 0?{}:e;const o=g.exports.useRef(null),s=g.exports.useRef(null),a=WO(i),l=g.exports.useRef(null),[u,c]=g.exports.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[f,d]=g.exports.useState(t);wm(f==null?void 0:f.map(y=>{let{options:E}=y;return E}),t==null?void 0:t.map(y=>{let{options:E}=y;return E}))||d(t);const p=g.exports.useCallback(()=>{!o.current||!s.current||YO(o.current,s.current,{middleware:f,placement:n,strategy:r}).then(y=>{v.current&&ui.exports.flushSync(()=>{c(y)})})},[f,n,r]);xm(()=>{v.current&&p()},[p]);const v=g.exports.useRef(!1);xm(()=>(v.current=!0,()=>{v.current=!1}),[]);const m=g.exports.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),o.current&&s.current)if(a.current){const y=a.current(o.current,s.current,p);l.current=y}else p()},[p,a]),w=g.exports.useCallback(y=>{o.current=y,m()},[m]),_=g.exports.useCallback(y=>{s.current=y,m()},[m]),x=g.exports.useMemo(()=>({reference:o,floating:s}),[]);return g.exports.useMemo(()=>({...u,update:p,refs:x,reference:w,floating:_}),[u,p,x,w,_])}const XO=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?nx({element:t.current,padding:n}).fn(i):{}:t?nx({element:t,padding:n}).fn(i):{}}}},KO=g.exports.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return g.exports.createElement(to.svg,Xe({},o,{ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:g.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))}),QO=KO;function ZO(e){const[t,n]=g.exports.useState(void 0);return al(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let s,a;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const KS="Popper",[qg,QS]=IS(KS),[fY,ZS]=qg(KS),JO="PopperAnchor",e8=g.exports.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=ZS(JO,n),s=g.exports.useRef(null),a=io(t,s);return g.exports.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:g.exports.createElement(to.div,Xe({},i,{ref:a}))}),Wc="PopperContent",[t8,n8]=qg(Wc),[r8,i8]=qg(Wc,{hasParent:!1,positionUpdateFns:new Set}),o8=g.exports.forwardRef((e,t)=>{var n,r,i,o,s,a,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:d=0,align:p="center",alignOffset:v=0,arrowPadding:m=0,collisionBoundary:w=[],collisionPadding:_=0,sticky:x="partial",hideWhenDetached:y=!1,avoidCollisions:E=!0,...S}=e,A=ZS(Wc,c),[$,T]=g.exports.useState(null),O=io(t,_e=>T(_e)),[M,Y]=g.exports.useState(null),H=ZO(M),X=(n=H==null?void 0:H.width)!==null&&n!==void 0?n:0,G=(r=H==null?void 0:H.height)!==null&&r!==void 0?r:0,le=f+(p!=="center"?"-"+p:""),Ee=typeof _=="number"?_:{top:0,right:0,bottom:0,left:0,..._},he=Array.isArray(w)?w:[w],B=he.length>0,Q={padding:Ee,boundary:he.filter(c8),altBoundary:B},{reference:Z,floating:de,strategy:I,x:R,y:k,placement:L,middlewareData:P,update:te}=qO({strategy:"fixed",placement:le,whileElementsMounted:GO,middleware:[PO({mainAxis:d+G,alignmentAxis:v}),E?RO({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?OO():void 0,...Q}):void 0,M?XO({element:M,padding:m}):void 0,E?AO({...Q}):void 0,f8({arrowWidth:X,arrowHeight:G}),y?$O({strategy:"referenceHidden"}):void 0].filter(u8)});al(()=>{Z(A.anchor)},[Z,A.anchor]);const F=R!==null&&k!==null,[ge,pe]=JS(L),me=(i=P.arrow)===null||i===void 0?void 0:i.x,re=(o=P.arrow)===null||o===void 0?void 0:o.y,Le=((s=P.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[Ye,ve]=g.exports.useState();al(()=>{$&&ve(window.getComputedStyle($).zIndex)},[$]);const{hasParent:Ue,positionUpdateFns:ue}=i8(Wc,c),xe=!Ue;g.exports.useLayoutEffect(()=>{if(!xe)return ue.add(te),()=>{ue.delete(te)}},[xe,ue,te]),g.exports.useLayoutEffect(()=>{xe&&F&&Array.from(ue).reverse().forEach(_e=>requestAnimationFrame(_e))},[xe,F,ue]);const St={"data-side":ge,"data-align":pe,...S,ref:O,style:{...S.style,animation:F?void 0:"none",opacity:(a=P.hide)!==null&&a!==void 0&&a.referenceHidden?0:void 0}};return g.exports.createElement("div",{ref:de,"data-radix-popper-content-wrapper":"",style:{position:I,left:0,top:0,transform:F?`translate3d(${Math.round(R)}px, ${Math.round(k)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Ye,["--radix-popper-transform-origin"]:[(l=P.transformOrigin)===null||l===void 0?void 0:l.x,(u=P.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},g.exports.createElement(t8,{scope:c,placedSide:ge,onArrowChange:Y,arrowX:me,arrowY:re,shouldHideArrow:Le},xe?g.exports.createElement(r8,{scope:c,hasParent:!0,positionUpdateFns:ue},g.exports.createElement(to.div,St)):g.exports.createElement(to.div,St)))}),s8="PopperArrow",a8={top:"bottom",right:"left",bottom:"top",left:"right"},l8=g.exports.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=n8(s8,r),s=a8[o.placedSide];return g.exports.createElement("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},g.exports.createElement(QO,Xe({},i,{ref:n,style:{...i.style,display:"block"}})))});function u8(e){return e!==void 0}function c8(e){return e!==null}const f8=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,s;const{placement:a,rects:l,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=f?0:e.arrowWidth,p=f?0:e.arrowHeight,[v,m]=JS(a),w={start:"0%",center:"50%",end:"100%"}[m],_=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+d/2,x=((o=(s=u.arrow)===null||s===void 0?void 0:s.y)!==null&&o!==void 0?o:0)+p/2;let y="",E="";return v==="bottom"?(y=f?w:`${_}px`,E=`${-p}px`):v==="top"?(y=f?w:`${_}px`,E=`${l.floating.height+p}px`):v==="right"?(y=`${-p}px`,E=f?w:`${x}px`):v==="left"&&(y=`${l.floating.width+p}px`,E=f?w:`${x}px`),{data:{x:y,y:E}}}});function JS(e){const[t,n="center"]=e.split("-");return[t,n]}const d8=e8,p8=o8,h8=l8;function v8(e,t){return g.exports.useReducer((n,r)=>{const i=t[n][r];return i!=null?i:n},e)}const eC=e=>{const{present:t,children:n}=e,r=m8(t),i=typeof n=="function"?n({present:r.isPresent}):g.exports.Children.only(n),o=io(r.ref,i.ref);return typeof n=="function"||r.isPresent?g.exports.cloneElement(i,{ref:o}):null};eC.displayName="Presence";function m8(e){const[t,n]=g.exports.useState(),r=g.exports.useRef({}),i=g.exports.useRef(e),o=g.exports.useRef("none"),s=e?"mounted":"unmounted",[a,l]=v8(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.exports.useEffect(()=>{const u=mu(r.current);o.current=a==="mounted"?u:"none"},[a]),al(()=>{const u=r.current,c=i.current;if(c!==e){const d=o.current,p=mu(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&d!==p?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),al(()=>{if(t){const u=f=>{const p=mu(r.current).includes(f.animationName);f.target===t&&p&&ui.exports.flushSync(()=>l("ANIMATION_END"))},c=f=>{f.target===t&&(o.current=mu(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:g.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function mu(e){return(e==null?void 0:e.animationName)||"none"}var g8=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},fo=new WeakMap,gu=new WeakMap,yu={},kh=0,y8=function(e,t,n,r){var i=Array.isArray(e)?e:[e];yu[n]||(yu[n]=new WeakMap);var o=yu[n],s=[],a=new Set,l=new Set(i),u=function(f){!f||a.has(f)||(a.add(f),u(f.parentNode))};i.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(d){if(a.has(d))c(d);else{var p=d.getAttribute(r),v=p!==null&&p!=="false",m=(fo.get(d)||0)+1,w=(o.get(d)||0)+1;fo.set(d,m),o.set(d,w),s.push(d),m===1&&v&&gu.set(d,!0),w===1&&d.setAttribute(n,"true"),v||d.setAttribute(r,"true")}})};return c(t),a.clear(),kh++,function(){s.forEach(function(f){var d=fo.get(f)-1,p=o.get(f)-1;fo.set(f,d),o.set(f,p),d||(gu.has(f)||f.removeAttribute(r),gu.delete(f)),p||f.removeAttribute(n)}),kh--,kh||(fo=new WeakMap,fo=new WeakMap,gu=new WeakMap,yu={})}},_8=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||g8(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),y8(r,i,n,"aria-hidden")):function(){return null}},bm=function(e,t){return bm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},bm(e,t)};function tC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");bm(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var j=function(){return j=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},j.apply(this,arguments)};function zt(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function dY(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function st(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o}function Rn(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var Ku="right-scroll-bar-position",Qu="width-before-scroll-bar",x8="with-scroll-bars-hidden",w8="--removed-body-scroll-bar-size";function b8(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function E8(e,t){var n=g.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}function S8(e,t){return E8(t||null,function(n){return e.forEach(function(r){return b8(r,n)})})}function C8(e){return e}function A8(e,t){t===void 0&&(t=C8);var n=[],r=!1,i={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(o){var s=t(o,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(o){for(r=!0;n.length;){var s=n;n=[],s.forEach(o)}n={push:function(a){return o(a)},filter:function(){return n}}},assignMedium:function(o){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(o),s=n}var l=function(){var c=s;s=[],c.forEach(o)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){s.push(c),u()},filter:function(c){return s=s.filter(c),n}}}};return i}function $8(e){e===void 0&&(e={});var t=A8(null);return t.options=j({async:!0,ssr:!1},e),t}var nC=function(e){var t=e.sideCar,n=zt(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 g.exports.createElement(r,j({},n))};nC.isSideCarExport=!0;function T8(e,t){return e.useMedium(t),nC}var rC=$8(),Nh=function(){},dd=g.exports.forwardRef(function(e,t){var n=g.exports.useRef(null),r=g.exports.useState({onScrollCapture:Nh,onWheelCapture:Nh,onTouchMoveCapture:Nh}),i=r[0],o=r[1],s=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,p=e.noIsolation,v=e.inert,m=e.allowPinchZoom,w=e.as,_=w===void 0?"div":w,x=zt(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=d,E=S8([n,t]),S=j(j({},x),i);return g.exports.createElement(g.exports.Fragment,null,c&&g.exports.createElement(y,{sideCar:rC,removeScrollBar:u,shards:f,noIsolation:p,inert:v,setCallbacks:o,allowPinchZoom:!!m,lockRef:n}),s?g.exports.cloneElement(g.exports.Children.only(a),j(j({},S),{ref:E})):g.exports.createElement(_,j({},S,{className:l,ref:E}),a))});dd.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};dd.classNames={fullWidth:Qu,zeroRight:Ku};var P8=function(){if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function R8(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=P8();return t&&e.setAttribute("nonce",t),e}function O8(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function k8(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var N8=function(){var e=0,t=null;return{add:function(n){e==0&&(t=R8())&&(O8(t,n),k8(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},D8=function(){var e=N8();return function(t,n){g.exports.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},iC=function(){var e=D8(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},M8={left:0,top:0,right:0,gap:0},Dh=function(e){return parseInt(e||"",10)||0},L8=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[Dh(n),Dh(r),Dh(i)]},F8=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return M8;var t=L8(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])}},I8=iC(),j8=function(e,t,n,r){var i=e.left,o=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
|
|
64
|
-
.`.concat(x8,` {
|
|
65
|
-
overflow: hidden `).concat(r,`;
|
|
66
|
-
padding-right: `).concat(a,"px ").concat(r,`;
|
|
67
|
-
}
|
|
68
|
-
body {
|
|
69
|
-
overflow: hidden `).concat(r,`;
|
|
70
|
-
overscroll-behavior: contain;
|
|
71
|
-
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
72
|
-
padding-left: `.concat(i,`px;
|
|
73
|
-
padding-top: `).concat(o,`px;
|
|
74
|
-
padding-right: `).concat(s,`px;
|
|
75
|
-
margin-left:0;
|
|
76
|
-
margin-top:0;
|
|
77
|
-
margin-right: `).concat(a,"px ").concat(r,`;
|
|
78
|
-
`),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.`).concat(Ku,` {
|
|
82
|
-
right: `).concat(a,"px ").concat(r,`;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.`).concat(Qu,` {
|
|
86
|
-
margin-right: `).concat(a,"px ").concat(r,`;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.`).concat(Ku," .").concat(Ku,` {
|
|
90
|
-
right: 0 `).concat(r,`;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.`).concat(Qu," .").concat(Qu,` {
|
|
94
|
-
margin-right: 0 `).concat(r,`;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
body {
|
|
98
|
-
`).concat(w8,": ").concat(a,`px;
|
|
99
|
-
}
|
|
100
|
-
`)},U8=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r,o=g.exports.useMemo(function(){return F8(i)},[i]);return g.exports.createElement(I8,{styles:j8(o,!t,i,n?"":"!important")})},Em=!1;if(typeof window!="undefined")try{var _u=Object.defineProperty({},"passive",{get:function(){return Em=!0,!0}});window.addEventListener("test",_u,_u),window.removeEventListener("test",_u,_u)}catch{Em=!1}var po=Em?{passive:!1}:!1,B8=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},V8=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},cx=function(e,t){var n=t;do{typeof ShadowRoot!="undefined"&&n instanceof ShadowRoot&&(n=n.host);var r=oC(e,n);if(r){var i=sC(e,n),o=i[1],s=i[2];if(o>s)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},z8=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},H8=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},oC=function(e,t){return e==="v"?B8(t):V8(t)},sC=function(e,t){return e==="v"?z8(t):H8(t)},G8=function(e,t){return e==="h"&&t==="rtl"?-1:1},Y8=function(e,t,n,r,i){var o=G8(e,window.getComputedStyle(t).direction),s=o*r,a=n.target,l=t.contains(a),u=!1,c=s>0,f=0,d=0;do{var p=sC(e,a),v=p[0],m=p[1],w=p[2],_=m-w-o*v;(v||_)&&oC(e,a)&&(f+=_,d+=v),a=a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(c&&(i&&f===0||!i&&s>f)||!c&&(i&&d===0||!i&&-s>d))&&(u=!0),u},xu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},fx=function(e){return[e.deltaX,e.deltaY]},dx=function(e){return e&&"current"in e?e.current:e},W8=function(e,t){return e[0]===t[0]&&e[1]===t[1]},q8=function(e){return`
|
|
101
|
-
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
102
|
-
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
103
|
-
`)},X8=0,ho=[];function K8(e){var t=g.exports.useRef([]),n=g.exports.useRef([0,0]),r=g.exports.useRef(),i=g.exports.useState(X8++)[0],o=g.exports.useState(function(){return iC()})[0],s=g.exports.useRef(e);g.exports.useEffect(function(){s.current=e},[e]),g.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var m=Rn([e.lockRef.current],(e.shards||[]).map(dx),!0).filter(Boolean);return m.forEach(function(w){return w.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),m.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=g.exports.useCallback(function(m,w){if("touches"in m&&m.touches.length===2)return!s.current.allowPinchZoom;var _=xu(m),x=n.current,y="deltaX"in m?m.deltaX:x[0]-_[0],E="deltaY"in m?m.deltaY:x[1]-_[1],S,A=m.target,$=Math.abs(y)>Math.abs(E)?"h":"v";if("touches"in m&&$==="h"&&A.type==="range")return!1;var T=cx($,A);if(!T)return!0;if(T?S=$:(S=$==="v"?"h":"v",T=cx($,A)),!T)return!1;if(!r.current&&"changedTouches"in m&&(y||E)&&(r.current=S),!S)return!0;var O=r.current||S;return Y8(O,w,m,O==="h"?y:E,!0)},[]),l=g.exports.useCallback(function(m){var w=m;if(!(!ho.length||ho[ho.length-1]!==o)){var _="deltaY"in w?fx(w):xu(w),x=t.current.filter(function(S){return S.name===w.type&&S.target===w.target&&W8(S.delta,_)})[0];if(x&&x.should){w.preventDefault();return}if(!x){var y=(s.current.shards||[]).map(dx).filter(Boolean).filter(function(S){return S.contains(w.target)}),E=y.length>0?a(w,y[0]):!s.current.noIsolation;E&&w.preventDefault()}}},[]),u=g.exports.useCallback(function(m,w,_,x){var y={name:m,delta:w,target:_,should:x};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(E){return E!==y})},1)},[]),c=g.exports.useCallback(function(m){n.current=xu(m),r.current=void 0},[]),f=g.exports.useCallback(function(m){u(m.type,fx(m),m.target,a(m,e.lockRef.current))},[]),d=g.exports.useCallback(function(m){u(m.type,xu(m),m.target,a(m,e.lockRef.current))},[]);g.exports.useEffect(function(){return ho.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",l,po),document.addEventListener("touchmove",l,po),document.addEventListener("touchstart",c,po),function(){ho=ho.filter(function(m){return m!==o}),document.removeEventListener("wheel",l,po),document.removeEventListener("touchmove",l,po),document.removeEventListener("touchstart",c,po)}},[]);var p=e.removeScrollBar,v=e.inert;return g.exports.createElement(g.exports.Fragment,null,v?g.exports.createElement(o,{styles:q8(i)}):null,p?g.exports.createElement(U8,{gapMode:"margin"}):null)}var Q8=T8(rC,K8),aC=g.exports.forwardRef(function(e,t){return g.exports.createElement(dd,j({},e,{ref:t,sideCar:Q8}))});aC.classNames=dd.classNames;var Z8=aC;const lC="Popover",[uC,pY]=IS(lC,[QS]),Xg=QS(),[hY,Rl]=uC(lC),J8="PopoverTrigger",e7=g.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Rl(J8,n),o=Xg(n),s=io(t,i.triggerRef),a=g.exports.createElement(to.button,Xe({type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":fC(i.open)},r,{ref:s,onClick:Gi(e.onClick,i.onOpenToggle)}));return i.hasCustomAnchor?a:g.exports.createElement(d8,Xe({asChild:!0},o),a)}),t7="PopoverPortal",[vY,n7]=uC(t7,{forceMount:void 0}),ll="PopoverContent",r7=g.exports.forwardRef((e,t)=>{const n=n7(ll,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,o=Rl(ll,e.__scopePopover);return g.exports.createElement(eC,{present:r||o.open},o.modal?g.exports.createElement(i7,Xe({},i,{ref:t})):g.exports.createElement(o7,Xe({},i,{ref:t})))}),i7=g.exports.forwardRef((e,t)=>{const n=Rl(ll,e.__scopePopover),r=g.exports.useRef(null),i=io(t,r),o=g.exports.useRef(!1);return g.exports.useEffect(()=>{const s=r.current;if(s)return _8(s)},[]),g.exports.createElement(Z8,{as:Gg,allowPinchZoom:!0},g.exports.createElement(cC,Xe({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Gi(e.onCloseAutoFocus,s=>{var a;s.preventDefault(),o.current||(a=n.triggerRef.current)===null||a===void 0||a.focus()}),onPointerDownOutside:Gi(e.onPointerDownOutside,s=>{const a=s.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0,u=a.button===2||l;o.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Gi(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})))}),o7=g.exports.forwardRef((e,t)=>{const n=Rl(ll,e.__scopePopover),r=g.exports.useRef(!1);return g.exports.createElement(cC,Xe({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o;if((o=e.onCloseAutoFocus)===null||o===void 0||o.call(e,i),!i.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),i.preventDefault()}r.current=!1},onInteractOutside:i=>{var o,s;(o=e.onInteractOutside)===null||o===void 0||o.call(e,i),i.defaultPrevented||(r.current=!0);const a=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(a))&&i.preventDefault()}}))}),cC=g.exports.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...f}=e,d=Rl(ll,n),p=Xg(n);return uO(),g.exports.createElement(cO,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o},g.exports.createElement(sO,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:c,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>d.onOpenChange(!1)},g.exports.createElement(p8,Xe({"data-state":fC(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:{...f.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),s7=g.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Xg(n);return g.exports.createElement(h8,Xe({},i,r,{ref:t}))});function fC(e){return e?"open":"closed"}const a7=e7,l7=r7,u7=s7;var c7=Object.defineProperty,Kg=(e,t)=>{for(var n in t)c7(e,n,{get:t[n],enumerable:!0})},dC={};Kg(dC,{neutralColors:()=>ke,primaryColors:()=>ul});var ul={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"},ke={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"},lr=4,f7={"--ll-color-primary":ul.colorPrimary50,"--ll-color-primary-variant1":ul.colorPrimary40,"--ll-color-background":ke.colorNeutral100,"--ll-color-surface":ke.colorNeutral95,"--ll-color-surface-variant1":ke.colorNeutral90,"--ll-color-surface-variant2":ke.colorNeutral80,"--ll-color-on-primary":ke.colorNeutral100,"--ll-color-on-primary-variant1":ke.colorNeutral90,"--ll-color-on-background":ke.colorNeutral10,"--ll-color-on-background-variant1":ke.colorNeutral30,"--ll-color-on-surface":ke.colorNeutral10,"--ll-color-on-surface-variant1":ke.colorNeutral30,"--ll-color-placeholder":ke.colorNeutral60,"--ll-color-disabled":ke.colorNeutral60,"--ll-color-border":ke.colorNeutral90},d7={"--ll-border-radius-small":`${lr}px`,"--ll-border-radius-medium":`${2*lr}px`},p7={"--ll-shadow-small":"0px 1px 3px 0px rgba(0,0,0,0.2)","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"},h7={"--ll-spacing-auto":"auto","--ll-spacing-base-unit":`${lr}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)"},v7={"--ll-font-family":"Inter, sans-serif"},m7={"--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)"},g7={"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"},Qg={...f7,...d7,...p7,...h7,...v7,...m7,...g7},y7={...Qg,"--ll-color-primary":ul.colorPrimary60,"--ll-color-primary-variant1":ul.colorPrimary50,"--ll-color-background":ke.colorNeutral10,"--ll-color-surface":ke.colorNeutral20,"--ll-color-surface-variant1":ke.colorNeutral30,"--ll-color-surface-variant2":ke.colorNeutral40,"--ll-color-on-primary":ke.colorNeutral100,"--ll-color-on-primary-variant1":ke.colorNeutral90,"--ll-color-on-background":ke.colorNeutral99,"--ll-color-on-background-variant1":ke.colorNeutral60,"--ll-color-on-surface":ke.colorNeutral60,"--ll-color-on-surface-variant1":ke.colorNeutral70,"--ll-color-placeholder":ke.colorNeutral70,"--ll-color-disabled":ke.colorNeutral70,"--ll-color-border":ke.colorNeutral30},_7=Object.keys(Qg),fe=_7.reduce((e,t)=>({...e,[t]:`var(${t})`}),{}),x7={day:Qg,night:y7},w7=LS`
|
|
104
|
-
:root {
|
|
105
|
-
${({themeName:e,overrides:t})=>({...x7[e||"day"],...t})};
|
|
106
|
-
}
|
|
107
|
-
`,pC={};Kg(pC,{transitions:()=>E7});var b7=e=>e,E7=b7({default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}}),hC={};Kg(hC,{screenSizes:()=>S7});var S7={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560},mY={colors:dC,...pC,...hC};ee.span`
|
|
108
|
-
display: inline-flex;
|
|
109
|
-
color: ${({textColor:e})=>e};
|
|
110
|
-
background-color: ${({backgroundColor:e})=>e};
|
|
111
|
-
border-radius: ${fe["--ll-border-radius-small"]};
|
|
112
|
-
padding: ${({size:e})=>e==="small"?`calc(${fe["--ll-spacing-xx-small"]} / 2)
|
|
113
|
-
${fe["--ll-spacing-xx-small"]};`:`${fe["--ll-spacing-xx-small"]} ${fe["--ll-spacing-x-small"]}`};
|
|
114
|
-
line-height: 1;
|
|
115
|
-
font-family: ${fe["--ll-font-family"]};
|
|
116
|
-
font-size: ${fe["--ll-font-size-caption-1"]};
|
|
117
|
-
`;var C7=ee.div`
|
|
118
|
-
height: ${({height:e})=>e}px;
|
|
119
|
-
width: ${({width:e})=>e}px;
|
|
120
|
-
fill: ${({fill:e})=>e};
|
|
121
|
-
display: flex;
|
|
122
|
-
|
|
123
|
-
& > svg {
|
|
124
|
-
fill: inherit;
|
|
125
|
-
height: 100%;
|
|
126
|
-
width: 100%;
|
|
127
|
-
}
|
|
128
|
-
`,gY=({SVGElement:e,fill:t="--ll-color-on-background",height:n=24,width:r=24})=>ce.createElement(C7,{fill:t,height:n,width:r},ce.createElement(e,null)),px=({variant:e})=>e==="h1"?fe["--ll-font-size-h1"]:e==="h2"?fe["--ll-font-size-h2"]:e==="h3"?fe["--ll-font-size-h3"]:e==="h4"?fe["--ll-font-size-h4"]:e==="h5"?fe["--ll-font-size-h5"]:e==="h6"?fe["--ll-font-size-h6"]:e==="p"?fe["--ll-font-size-p"]:e==="caption1"?fe["--ll-font-size-caption-1"]:e==="caption2"?fe["--ll-font-size-caption-2"]:fe["--ll-font-size-h2"],vC=ee.span`
|
|
129
|
-
overflow: hidden;
|
|
130
|
-
display: inline-block;
|
|
131
|
-
width: 100%;
|
|
132
|
-
line-height: 1.45;
|
|
133
|
-
margin: 0 0 ${({noMargin:e})=>e?"0":"0.5em"} 0;
|
|
134
|
-
font-size: inherit;
|
|
135
|
-
font-weight: inherit;
|
|
136
|
-
`,A7=ee.div`
|
|
137
|
-
${e=>Ze`
|
|
138
|
-
text-align: ${e.align};
|
|
139
|
-
font-size: ${px(e)};
|
|
140
|
-
font-family: ${fe["--ll-font-family"]};
|
|
141
|
-
color: ${fe[e.color]};
|
|
142
|
-
font-weight: ${fe[e.weight]};
|
|
143
|
-
overflow: hidden;
|
|
144
|
-
display: flex;
|
|
145
|
-
|
|
146
|
-
svg {
|
|
147
|
-
height: ${px(e)};
|
|
148
|
-
fill: ${fe[e.color]};
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
${vC} {
|
|
152
|
-
${e.noWrap&&Ze`
|
|
153
|
-
text-overflow: ellipsis;
|
|
154
|
-
white-space: nowrap;
|
|
155
|
-
`}
|
|
156
|
-
}
|
|
157
|
-
`}
|
|
158
|
-
`,hx=({children:e,variant:t="p",align:n,color:r="--ll-color-on-background",noWrap:i,noMargin:o,weight:s="--ll-font-weight-normal",className:a})=>{const l=["caption1","caption2","p"].includes(t)?"p":t;return ce.createElement(A7,{variant:t,align:n,color:r,noWrap:i,weight:s},ce.createElement(vC,{as:l,noMargin:o,className:a},e))},$7=ld`
|
|
159
|
-
0% {
|
|
160
|
-
transform: rotate(0deg);
|
|
161
|
-
}
|
|
162
|
-
100% {
|
|
163
|
-
transform: rotate(360deg);
|
|
164
|
-
}
|
|
165
|
-
`,Mh={small:lr*4,medium:lr*6,large:lr*8},T7=ee.div`
|
|
166
|
-
height: ${({size:e})=>Mh[e]}px;
|
|
167
|
-
width: ${({size:e})=>Mh[e]}px;
|
|
168
|
-
border: ${({size:e})=>Mh[e]/6}px solid ${fe["--ll-color-on-surface-variant1"]};
|
|
169
|
-
border-bottom-color: transparent;
|
|
170
|
-
border-radius: 50%;
|
|
171
|
-
display: inline-block;
|
|
172
|
-
box-sizing: border-box;
|
|
173
|
-
animation: ${$7} 1s linear infinite;
|
|
174
|
-
`,P7=({size:e="medium"})=>ce.createElement(T7,{size:e}),Sa={primary:{background:fe["--ll-color-primary"],onBackground:fe["--ll-color-on-primary"],hover:fe["--ll-color-primary-variant1"]}},R7=({size:e})=>e==="small"?`font-size: ${fe["--ll-font-size-caption-1"]}`:`font-size: ${fe["--ll-font-size-p"]}`,Zg=({size:e})=>e==="small"?`${lr*8}px`:e==="large"?`${lr*12}px`:`${lr*10}px`,Jg=({size:e})=>e==="small"?`padding: 0 ${fe["--ll-spacing-x-small"]}`:e==="large"?`padding: 0 ${fe["--ll-spacing-medium"]}`:`padding: 0 ${fe["--ll-spacing-small"]}`,O7=({size:e})=>e==="large"?"svg { height: 24px; }":e==="small"?"svg { height: 12px }":"svg { height: 20px; }",k7=Ze`
|
|
175
|
-
${({color:e="primary"})=>Ze`
|
|
176
|
-
color: ${fe["--ll-color-on-background"]};
|
|
177
|
-
|
|
178
|
-
&:disabled {
|
|
179
|
-
cursor: default;
|
|
180
|
-
}
|
|
181
|
-
`};
|
|
182
|
-
|
|
183
|
-
height: ${Zg};
|
|
184
|
-
${Jg};
|
|
185
|
-
`,N7=Ze`
|
|
186
|
-
${({color:e="primary"})=>Ze`
|
|
187
|
-
background-color: ${Sa[e].background};
|
|
188
|
-
color: ${Sa[e].onBackground};
|
|
189
|
-
|
|
190
|
-
&:hover {
|
|
191
|
-
background-color: ${Sa[e].hover};
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
&:disabled {
|
|
195
|
-
cursor: default;
|
|
196
|
-
}
|
|
197
|
-
`};
|
|
198
|
-
height: ${Zg};
|
|
199
|
-
${Jg};
|
|
200
|
-
`,D7=Ze`
|
|
201
|
-
${({color:e="primary"})=>Ze`
|
|
202
|
-
border-color: ${Sa[e].background};
|
|
203
|
-
border-width: 1px;
|
|
204
|
-
border-style: solid;
|
|
205
|
-
color: ${Sa[e].background};
|
|
206
|
-
`};
|
|
207
|
-
|
|
208
|
-
&:hover {
|
|
209
|
-
background-color: rgba(0, 0, 0, 0.03);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
height: ${Zg};
|
|
213
|
-
${Jg};
|
|
214
|
-
`,M7=e=>({contained:N7,outlined:D7,text:k7})[e.variant],L7=ee.div`
|
|
215
|
-
display: flex;
|
|
216
|
-
align-items: center;
|
|
217
|
-
margin-right: ${fe["--ll-spacing-x-small"]};
|
|
218
|
-
margin-left: calc(-1 * ${fe["--ll-spacing-xx-small"]});
|
|
219
|
-
`,F7=ee.button`
|
|
220
|
-
font-weight: ${fe["--ll-font-weight-normal"]};
|
|
221
|
-
border-radius: ${fe["--ll-border-radius-small"]};
|
|
222
|
-
align-items: center;
|
|
223
|
-
cursor: pointer;
|
|
224
|
-
display: inline-flex;
|
|
225
|
-
background: none;
|
|
226
|
-
border: none;
|
|
227
|
-
|
|
228
|
-
svg {
|
|
229
|
-
fill: currentColor;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
${M7};
|
|
233
|
-
${O7};
|
|
234
|
-
${R7};
|
|
235
|
-
`,I7=ce.forwardRef(({children:e,disabled:t=!1,onClick:n,variant:r="contained",startAdornment:i,size:o="medium",type:s="button",color:a,isLoading:l,className:u},c)=>{const f=d=>{t||!n||l||n(d)};return ce.createElement(F7,{variant:r,size:o,onClick:f,disabled:t||l,className:u,color:a,type:s,ref:c},l?ce.createElement(P7,null):ce.createElement(ce.Fragment,null,i&&ce.createElement(L7,null,i),e))});I7.displayName="Button";var j7=({vertical:e,spacing:t})=>{const n=fe[t];return e?`${n} 0 0 0`:`0 ${n} 0 0`},U7=ee.div`
|
|
236
|
-
margin: ${e=>j7(e)};
|
|
237
|
-
flex-shrink: 0;
|
|
238
|
-
`,yY=({vertical:e=!1,spacing:t="--ll-spacing-auto"})=>ce.createElement(U7,{vertical:e,spacing:t});ee(a7)`
|
|
239
|
-
background: none;
|
|
240
|
-
border: none;
|
|
241
|
-
padding: 0;
|
|
242
|
-
`;ee(l7)`
|
|
243
|
-
border-radius: ${fe["--ll-border-radius-small"]};
|
|
244
|
-
box-shadow: ${fe["--ll-shadow-small"]};
|
|
245
|
-
padding: ${fe["--ll-spacing-medium"]};
|
|
246
|
-
`;ee(u7)`
|
|
247
|
-
fill: ${fe["--ll-color-background"]};
|
|
248
|
-
`;function B7({height:e,width:t}){return Ze`
|
|
249
|
-
height: ${e};
|
|
250
|
-
width: ${t};
|
|
251
|
-
`}var V7=ld`
|
|
252
|
-
from {
|
|
253
|
-
background-position: -800px 0;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
to {
|
|
257
|
-
background-position: 800px 0;
|
|
258
|
-
}
|
|
259
|
-
`,z7=ee.div`
|
|
260
|
-
border-radius: ${fe["--ll-border-radius-medium"]};
|
|
261
|
-
animation: ${V7} 2s linear infinite;
|
|
262
|
-
background: linear-gradient(
|
|
263
|
-
to right,
|
|
264
|
-
/* NOTE: 99.9% of the time we should use colours from theme, since these are
|
|
265
|
-
CSS vars that can be overriden. */
|
|
266
|
-
${fe["--ll-color-surface-variant1"]} 4%,
|
|
267
|
-
${fe["--ll-color-surface-variant2"]} 25%,
|
|
268
|
-
${fe["--ll-color-surface-variant1"]} 36%
|
|
269
|
-
);
|
|
270
|
-
background-size: 800px 100%;
|
|
271
|
-
${B7}
|
|
272
|
-
`,_Y=({height:e,width:t,className:n})=>ce.createElement(z7,{height:e,width:t,className:n});ee.div`
|
|
273
|
-
flex: 1;
|
|
274
|
-
height: 100%;
|
|
275
|
-
width: 100%;
|
|
276
|
-
display: flex;
|
|
277
|
-
align-items: center;
|
|
278
|
-
justify-content: center;
|
|
279
|
-
`;ee.div`
|
|
280
|
-
display: flex;
|
|
281
|
-
flex-direction: column;
|
|
282
|
-
align-items: center;
|
|
283
|
-
`;var Un;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Un||(Un={}));var qc=function(e){return e},vx="beforeunload",H7="popstate";function G7(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,i=r.history;function o(){var $=r.location,T=$.pathname,O=$.search,M=$.hash,Y=i.state||{};return[Y.idx,qc({pathname:T,search:O,hash:M,state:Y.usr||null,key:Y.key||"default"})]}var s=null;function a(){if(s)p.call(s),s=null;else{var $=Un.Pop,T=o(),O=T[0],M=T[1];if(p.length){if(O!=null){var Y=c-O;Y&&(s={action:$,location:M,retry:function(){S(Y*-1)}},S(Y))}}else x($)}}r.addEventListener(H7,a);var l=Un.Pop,u=o(),c=u[0],f=u[1],d=Xc(),p=Xc();c==null&&(c=0,i.replaceState(Xe({},i.state,{idx:c}),""));function v($){return typeof $=="string"?$:mC($)}function m($,T){return T===void 0&&(T=null),qc(Xe({pathname:f.pathname,hash:"",search:""},typeof $=="string"?Cm($):$,{state:T,key:Sm()}))}function w($,T){return[{usr:$.state,key:$.key,idx:T},v($)]}function _($,T,O){return!p.length||(p.call({action:$,location:T,retry:O}),!1)}function x($){l=$;var T=o();c=T[0],f=T[1],d.call({action:l,location:f})}function y($,T){var O=Un.Push,M=m($,T);function Y(){y($,T)}if(_(O,M,Y)){var H=w(M,c+1),X=H[0],G=H[1];try{i.pushState(X,"",G)}catch{r.location.assign(G)}x(O)}}function E($,T){var O=Un.Replace,M=m($,T);function Y(){E($,T)}if(_(O,M,Y)){var H=w(M,c),X=H[0],G=H[1];i.replaceState(X,"",G),x(O)}}function S($){i.go($)}var A={get action(){return l},get location(){return f},createHref:v,push:y,replace:E,go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(T){return d.push(T)},block:function(T){var O=p.push(T);return p.length===1&&r.addEventListener(vx,gx),function(){O(),p.length||r.removeEventListener(vx,gx)}}};return A}function Y7(e){e===void 0&&(e={});var t=e,n=t.initialEntries,r=n===void 0?["/"]:n,i=t.initialIndex,o=r.map(function(y){var E=qc(Xe({pathname:"/",search:"",hash:"",state:null,key:Sm()},typeof y=="string"?Cm(y):y));return E}),s=mx(i==null?o.length-1:i,0,o.length-1),a=Un.Pop,l=o[s],u=Xc(),c=Xc();function f(y){return typeof y=="string"?y:mC(y)}function d(y,E){return E===void 0&&(E=null),qc(Xe({pathname:l.pathname,search:"",hash:""},typeof y=="string"?Cm(y):y,{state:E,key:Sm()}))}function p(y,E,S){return!c.length||(c.call({action:y,location:E,retry:S}),!1)}function v(y,E){a=y,l=E,u.call({action:a,location:l})}function m(y,E){var S=Un.Push,A=d(y,E);function $(){m(y,E)}p(S,A,$)&&(s+=1,o.splice(s,o.length,A),v(S,A))}function w(y,E){var S=Un.Replace,A=d(y,E);function $(){w(y,E)}p(S,A,$)&&(o[s]=A,v(S,A))}function _(y){var E=mx(s+y,0,o.length-1),S=Un.Pop,A=o[E];function $(){_(y)}p(S,A,$)&&(s=E,v(S,A))}var x={get index(){return s},get action(){return a},get location(){return l},createHref:f,push:m,replace:w,go:_,back:function(){_(-1)},forward:function(){_(1)},listen:function(E){return u.push(E)},block:function(E){return c.push(E)}};return x}function mx(e,t,n){return Math.min(Math.max(e,t),n)}function gx(e){e.preventDefault(),e.returnValue=""}function Xc(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(r){return r!==n})}},call:function(n){e.forEach(function(r){return r&&r(n)})}}}function Sm(){return Math.random().toString(36).substr(2,8)}function mC(e){var t=e.pathname,n=t===void 0?"/":t,r=e.search,i=r===void 0?"":r,o=e.hash,s=o===void 0?"":o;return i&&i!=="?"&&(n+=i.charAt(0)==="?"?i:"?"+i),s&&s!=="#"&&(n+=s.charAt(0)==="#"?s:"#"+s),n}function Cm(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}/**
|
|
284
|
-
* react-location
|
|
285
|
-
*
|
|
286
|
-
* Copyright (c) TanStack
|
|
287
|
-
*
|
|
288
|
-
* This source code is licensed under the MIT license found in the
|
|
289
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
290
|
-
*
|
|
291
|
-
* @license MIT
|
|
292
|
-
*/function On(){return On=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},On.apply(this,arguments)}function Am(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function W7(e,t){var n,r,i,o="";for(n in e)if((i=e[n])!==void 0)if(Array.isArray(i))for(r=0;r<i.length;r++)o&&(o+="&"),o+=encodeURIComponent(n)+"="+encodeURIComponent(i[r]);else o&&(o+="&"),o+=encodeURIComponent(n)+"="+encodeURIComponent(i);return(t||"")+o}function yx(e){if(!e)return"";var t=decodeURIComponent(e);return t==="false"?!1:t==="true"?!0:+t*0===0?+t:t}function q7(e){for(var t,n,r={},i=e.split("&");t=i.shift();)t=t.split("="),n=t.shift(),r[n]!==void 0?r[n]=[].concat(r[n],yx(t.shift())):r[n]=yx(t.shift());return r}const X7=["children","location","__experimental__snapshot"],K7=["location","__experimental__snapshot"],Q7=["basepath","routes"],gC=g.exports.createContext(null),yC=g.exports.createContext(null),_C=g.exports.createContext(null),xC=Boolean(typeof window!="undefined"&&window.document&&window.document.createElement),$m=xC?g.exports.useLayoutEffect:g.exports.useEffect,Z7=()=>xC?G7():Y7();class e1{constructor(){this.listeners=[]}subscribe(t){return this.listeners.push(t),()=>{this.listeners=this.listeners.filter(n=>n!==t)}}notify(){this.listeners.forEach(t=>t())}}class J7 extends e1{constructor(t){var n,r;super(),this.isTransitioning=!1,this.history=(t==null?void 0:t.history)||Z7(),this.stringifySearch=(n=t==null?void 0:t.stringifySearch)!=null?n:dk,this.parseSearch=(r=t==null?void 0:t.parseSearch)!=null?r:fk,this.current=this.parseLocation(this.history.location),this.destroy=this.history.listen(i=>{this.current=this.parseLocation(i.location,this.current),this.notify()})}buildNext(t,n){var r,i,o,s;t===void 0&&(t="/"),n===void 0&&(n={});const a=On({},this.current,n.from),l=ck(t,a.pathname,""+((r=n.to)!=null?r:".")),u=(i=n.__searchFilters)!=null&&i.length?n.__searchFilters.reduce((v,m)=>m(v),a.search):a.search,c=n.search===!0?u:n.search?(o=wx(n.search,u))!=null?o:{}:(s=n.__searchFilters)!=null&&s.length?u:{},f=Tm(a.search,c),d=this.stringifySearch(f);let p=n.hash===!0?a.hash:wx(n.hash,a.hash);return p=p?"#"+p:"",{pathname:l,search:f,searchStr:d,hash:p,href:""+l+d+p,key:n.key}}navigate(t,n){this.current=t,this.navigateTimeout&&clearTimeout(this.navigateTimeout);let r="replace";return n||(r="push"),this.parseLocation(this.history.location).href===this.current.href&&!this.current.key&&(r="replace"),r==="replace"?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})}parseLocation(t,n){var r;const i=this.parseSearch(t.search);return{pathname:t.pathname,searchStr:t.search,search:Tm(n==null?void 0:n.search,i),hash:(r=t.hash.split("#").reverse()[0])!=null?r:"",href:""+t.pathname+t.search+t.hash,key:t.key}}}function wC(e){return g.exports.createElement(yC.Provider,e)}function ek(e){let{children:t,location:n,__experimental__snapshot:r}=e,i=Am(e,X7);const o=g.exports.useRef(null);o.current||(o.current=new nk({location:n,__experimental__snapshot:r,routes:i.routes}));const s=o.current,[a,l]=g.exports.useReducer(()=>({}),{});return s.update(i),$m(()=>s.subscribe(()=>{l()}),[]),$m(()=>s.updateLocation(n.current).unsubscribe,[n.current.key]),g.exports.createElement(gC.Provider,{value:{location:n}},g.exports.createElement(_C.Provider,{value:{router:s}},g.exports.createElement(tk,null),g.exports.createElement(wC,{value:[s.rootMatch,...s.state.matches]},t!=null?t:g.exports.createElement(t1,null))))}function tk(){const e=Ol(),t=$C(),n=AC();return $m(()=>{t({to:".",search:!0,hash:!0}).href!==e.current.href&&n({to:".",search:!0,hash:!0,fromCurrent:!0,replace:!0})},[]),null}class nk extends e1{constructor(t){var n;let{location:r,__experimental__snapshot:i}=t,o=Am(t,K7);super(),this.routesById={},this.update=a=>{let{basepath:l,routes:u}=a,c=Am(a,Q7);Object.assign(this,c),this.basepath=pd("/"+(l!=null?l:"")),this.routesById={};const f=(d,p)=>d.map(v=>{var m,w,_,x;const y=(m=v.path)!=null?m:"*",E=ds([(p==null?void 0:p.id)==="root"?"":p==null?void 0:p.id,""+(y==null?void 0:y.replace(/(.)\/$/,"$1"))+(v.id?"-"+v.id:"")]);if(v=On({},v,{pendingMs:(w=v.pendingMs)!=null?w:c==null?void 0:c.defaultPendingMs,pendingMinMs:(_=v.pendingMinMs)!=null?_:c==null?void 0:c.defaultPendingMinMs,id:E}),this.routesById[E])throw new Error;return this.routesById[E]=v,v.children=(x=v.children)!=null&&x.length?f(v.children,v):void 0,v});this.routes=f(u),this.rootMatch={id:"root",params:{},search:{},pathname:this.basepath,route:null,ownData:{},data:{},isLoading:!1,status:"resolved"}},this.setState=a=>{const l=a({state:this.state,pending:this.pending});this.state=l.state,this.pending=l.pending,this.cleanMatchCache(),this.notify()},this.matchCache={},this.cleanMatchCache=()=>{var a,l,u;const c=[...(a=this==null?void 0:this.state.matches)!=null?a:[],...(l=this==null||(u=this.pending)==null?void 0:u.matches)!=null?l:[]].map(f=>f.id);Object.values(this.matchCache).forEach(f=>{var d;if(!f.updatedAt||c.includes(f.id))return;const p=Date.now()-((d=f.updatedAt)!=null?d:0);(!f.maxAge||p>f.maxAge)&&(f.route.unloader&&f.route.unloader(f),delete this.matchCache[f.id])})},this.updateLocation=a=>{let l;return{promise:new Promise(c=>{const f=new _x(this,a);this.setState(d=>On({},d,{pending:{location:f.location,matches:f.matches}})),l=f.subscribe(()=>{const d=this.state.matches;d.filter(p=>!f.matches.find(v=>v.id===p.id)).forEach(p=>{p.onExit==null||p.onExit(p)}),d.filter(p=>f.matches.find(v=>v.id===p.id)).forEach(p=>{p.route.onTransition==null||p.route.onTransition(p)}),f.matches.filter(p=>!d.find(v=>v.id===p.id)).forEach(p=>{p.onExit=p.route.onMatch==null?void 0:p.route.onMatch(p)}),this.setState(p=>On({},p,{state:{location:f.location,matches:f.matches},pending:void 0})),c()}),f.loadData(),f.startPending()}),unsubscribe:l}},this.__experimental__createSnapshot=()=>({location:this.state.location,matches:this.state.matches.map(a=>{let{ownData:l,id:u}=a;return{id:u,ownData:l}})}),this.update(o);let s=[];if(i){const a=new _x(this,r.current);a.matches.forEach((l,u)=>{var c,f,d;if(l.id!==((c=i.matches[u])==null?void 0:c.id)){var p;throw new Error("Router hydration mismatch: "+l.id+" !== "+((p=i.matches[u])==null?void 0:p.id))}l.ownData=(f=(d=i.matches[u])==null?void 0:d.ownData)!=null?f:{}}),bC(a.matches),s=a.matches}this.state={location:(n=i==null?void 0:i.location)!=null?n:r.current,matches:s},r.subscribe(()=>this.notify())}}function Ol(){const e=g.exports.useContext(gC);return TC(!!e,"useLocation must be used within a <ReactLocation />"),e.location}class rk{constructor(t){this.status="loading",this.ownData={},this.data={},this.isLoading=!1,this.notify=n=>{var r;(r=this.matchLoader)==null||r.preNotify(n?this:void 0)},this.assignMatchLoader=n=>{this.matchLoader=n},this.startPending=()=>{this.pendingTimeout&&clearTimeout(this.pendingTimeout),this.route.pendingMs!==void 0&&(this.pendingTimeout=setTimeout(()=>{var n;this.status==="loading"&&(this.status="pending"),(n=this.notify)==null||n.call(this),typeof this.route.pendingMinMs!="undefined"&&(this.pendingMinPromise=new Promise(r=>setTimeout(r,this.route.pendingMinMs)))},this.route.pendingMs))},this.load=n=>{var r,i;if(this.maxAge=(r=(i=n.maxAge)!=null?i:this.route.loaderMaxAge)!=null?r:n.router.defaultLoaderMaxAge,this.loaderPromise)return;const o=this.route.import;this.loaderPromise=(o?(()=>(this.isLoading=!0,o({params:this.params,search:this.search}).then(s=>{this.route=On({},this.route,s)})))():Promise.resolve()).then(()=>{const s=[];["element","errorElement","pendingElement"].forEach(c=>{const f=this.route[c];this[c]||(typeof f=="function"?(this.isLoading=!0,s.push(f(this).then(d=>{this[c]=d}))):this[c]=this.route[c])});const l=this.route.loader,u=l?new Promise(async c=>{this.isLoading=!0;const f=v=>{this.updatedAt=Date.now(),c(this.ownData),this.status=v},d=v=>{this.ownData=v,this.error=void 0,f("resolved")},p=v=>{console.error(v),this.error=v,f("rejected")};try{d(await l(this,{parentMatch:n.parentMatch,dispatch:async v=>{var m;v.type==="resolve"?d(v.data):v.type==="reject"?p(v.error):v.type==="loading"?this.isLoading=!0:v.type==="maxAge"&&(this.maxAge=v.maxAge),this.updatedAt=Date.now(),(m=this.notify)==null||m.call(this,!0)}}))}catch(v){p(v)}}):Promise.resolve();return Promise.all([...s,u]).then(()=>{this.status="resolved",this.isLoading=!1,this.startPending=void 0}).then(()=>this.pendingMinPromise).then(()=>{var c;this.pendingTimeout&&clearTimeout(this.pendingTimeout),(c=this.notify)==null||c.call(this,!0)})}).then(()=>this.ownData)},Object.assign(this,t)}}class _x extends e1{constructor(t,n){var r;super(),r=this,this.preNotifiedMatches=[],this.status="pending",this.preNotify=o=>{o&&(this.preNotifiedMatches.includes(o)||this.preNotifiedMatches.push(o)),(!o||this.preNotifiedMatches.length===this.matches.length)&&(this.status="resolved",bC(this.matches),this.notify())},this.loadData=async function(o){var s;let{maxAge:a}=o===void 0?{}:o;if(r.router.cleanMatchCache(),!((s=r.matches)!=null&&s.length)){r.preNotify();return}return r.firstRenderPromises=[],r.matches.forEach((l,u)=>{var c,f;const d=(c=r.matches)==null?void 0:c[u-1];l.assignMatchLoader==null||l.assignMatchLoader(r),l.load==null||l.load({maxAge:a,parentMatch:d,router:r.router}),(f=r.firstRenderPromises)==null||f.push(l.loaderPromise)}),await Promise.all(r.firstRenderPromises).then(()=>(r.preNotify(),r.matches))},this.load=async function(o){let{maxAge:s}=o===void 0?{}:o;return await r.loadData({maxAge:s})},this.startPending=async()=>{this.matches.forEach(o=>o.startPending==null?void 0:o.startPending())},this.router=t,this.location=n,this.matches=[];const i=SC(this.router,this.location);this.matches=i==null?void 0:i.map(o=>(this.router.matchCache[o.id]||(this.router.matchCache[o.id]=new rk(o)),this.router.matchCache[o.id]))}}function bC(e){e==null||e.forEach((t,n)=>{var r;const i=e==null?void 0:e[n-1];t.data=On({},(r=i==null?void 0:i.data)!=null?r:{},t.ownData)})}function EC(){const e=g.exports.useContext(_C);if(!e)throw TC(!0,"You are trying to use useRouter() outside of ReactLocation!"),new Error;return e.router}function SC(e,t){if(!e.routes.length)return[];const n=[],r=async(i,o)=>{var s;let{pathname:a,params:l}=o;const c=(e!=null&&e.filterRoutes?e==null?void 0:e.filterRoutes(i):i).find(v=>{var m,w;const _=ds([a,v.path]),x=!!(v.path!=="/"||(m=v.children)!=null&&m.length),y=sk(t,{to:_,search:v.search,fuzzy:x,caseSensitive:(w=v.caseSensitive)!=null?w:e.caseSensitive});return y&&(l=On({},l,y)),!!y});if(!c)return;const f=xx(c.path,l);a=ds([a,f]);const p={id:xx(c.id,l,!0),route:c,params:l,pathname:a,search:t.search};n.push(p),(s=c.children)!=null&&s.length&&r(c.children,p)};return r(e.routes,e.rootMatch),n}function xx(e,t,n){const r=cl(e);return ds(r.map(i=>{if(i.value==="*"&&!n)return"";if(i.type==="param"){var o;return(o=t[i.value.substring(1)])!=null?o:""}return i.value}))}function CC(){return g.exports.useContext(yC)}function ik(){var e;return(e=CC())==null?void 0:e[0]}function AC(){const e=Ol(),t=ik(),n=$C();function r(i){var o;let{search:s,hash:a,replace:l,from:u,to:c,fromCurrent:f}=i;f=(o=f)!=null?o:typeof c=="undefined";const d=n({to:c,search:s,hash:a,from:f?e.current:u!=null?u:{pathname:t.pathname}});e.navigate(d,l)}return PC(r)}function $C(){const e=Ol(),t=EC();return PC(r=>{const i=e.buildNext(t.basepath,r),s=SC(t,i).map(a=>{var l;return(l=a.route.searchFilters)!=null?l:[]}).flat().filter(Boolean);return e.buildNext(t.basepath,On({},r,{__searchFilters:s}))})}function t1(){var e;const t=EC(),[n,...r]=CC(),i=r[0];if(!i)return null;const o=(e=i.errorElement)!=null?e:t.defaultErrorElement,s=(()=>{var a,l;if(i.status==="rejected"){if(o)return o;if(!t.useErrorBoundary)return"An unknown error occured!";throw i.error}const u=(a=i.pendingElement)!=null?a:t.defaultPendingElement;if(i.status==="loading")return null;if(i.status==="pending"&&(i.route.pendingMs||u))return u!=null?u:null;const c=(l=i.element)!=null?l:t.defaultElement;return c!=null?c:g.exports.createElement(t1,null)})();return g.exports.createElement(wC,{value:r},s)}function ok(){return Ol().current.search}function sk(e,t){const n=lk(e,t),r=uk(e,t);if(!(t.to&&!n)&&!(t.search&&!r))return n!=null?n:{}}function TC(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch{}}}function ak(e){return typeof e=="function"}function wx(e,t){return ak(e)?e(t):e}function ds(e){return pd(e.filter(Boolean).join("/"))}function pd(e){return(""+e).replace(/\/{2,}/g,"/")}function lk(e,t){var n;const r=cl(e.pathname),i=cl(""+((n=t.to)!=null?n:"*")),o={};return(()=>{for(let a=0;a<Math.max(r.length,i.length);a++){const l=r[a],u=i[a],c=a===i.length-1,f=a===r.length-1;if(u){if(u.type==="wildcard")return l!=null&&l.value?(o["*"]=ds(r.slice(a).map(d=>d.value)),!0):!1;if(u.type==="pathname"){if(u.value==="/"&&!(l!=null&&l.value))return!0;if(l){if(t.caseSensitive){if(u.value!==l.value)return!1}else if(u.value.toLowerCase()!==l.value.toLowerCase())return!1}}if(!l)return!1;u.type==="param"&&(o[u.value.substring(1)]=l.value)}if(c&&!f)return!!t.fuzzy}return!0})()?o:void 0}function uk(e,t){return!!(t.search&&t.search(e.search))}function cl(e){if(!e)return[];e=pd(e);const t=[];if(e.slice(0,1)==="/"&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),!e)return t;const n=e.split("/").filter(Boolean);return t.push(...n.map(r=>r.startsWith("*")?{type:"wildcard",value:r}:r.charAt(0)===":"?{type:"param",value:r}:{type:"pathname",value:r})),e.slice(-1)==="/"&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),t}function ck(e,t,n){t=t.replace(new RegExp("^"+e),"/"),n=n.replace(new RegExp("^"+e),"/");let r=cl(t);const i=cl(n);i.forEach((s,a)=>{if(s.value==="/")a?a===i.length-1&&r.push(s):r=[s];else if(s.value==="..")r.pop();else{if(s.value===".")return;r.push(s)}});const o=ds([e,...r.map(s=>s.value)]);return pd(o)}function PC(e){const t=g.exports.useRef(),n=g.exports.useRef(e);return n.current=e,t.current||(t.current=function(){return n.current(...arguments)}),t.current}function Tm(e,t){if(e===t)return e;const n=Array.isArray(e)&&Array.isArray(t);if(n||bx(e)&&bx(t)){const r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,s=n?[]:{};let a=0;for(let l=0;l<o;l++){const u=n?l:i[l];s[u]=Tm(e[u],t[u]),s[u]===e[u]&&a++}return r===o&&a===r?e:s}return t}function bx(e){if(!Ex(e))return!1;const t=e.constructor;if(typeof t=="undefined")return!0;const n=t.prototype;return!(!Ex(n)||!n.hasOwnProperty("isPrototypeOf"))}function Ex(e){return Object.prototype.toString.call(e)==="[object Object]"}const fk=pk(JSON.parse),dk=hk(JSON.stringify);function pk(e){return t=>{t.substring(0,1)==="?"&&(t=t.substring(1));let n=q7(t);for(let r in n){const i=n[r];if(typeof i=="string")try{n[r]=e(i)}catch{}}return n}}function hk(e){return t=>{t=On({},t),t&&Object.keys(t).forEach(r=>{const i=t[r];if(typeof i=="undefined"||i===void 0)delete t[r];else if(i&&typeof i=="object"&&i!==null)try{t[r]=e(i)}catch{}});const n=W7(t).toString();return n?"?"+n:""}}function Pm(e,t){return Pm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Pm(e,t)}function vk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pm(e,t)}var mk=function(t,n){return t===void 0&&(t=[]),n===void 0&&(n=[]),t.length!==n.length||t.some(function(r,i){return!Object.is(r,n[i])})},Sx={error:null},gk=function(e){vk(t,e);function t(){for(var r,i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return r=e.call.apply(e,[this].concat(o))||this,r.state=Sx,r.resetErrorBoundary=function(){for(var a,l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];r.props.onReset==null||(a=r.props).onReset.apply(a,u),r.reset()},r}t.getDerivedStateFromError=function(i){return{error:i}};var n=t.prototype;return n.reset=function(){this.setState(Sx)},n.componentDidCatch=function(i,o){var s,a;(s=(a=this.props).onError)==null||s.call(a,i,o)},n.componentDidUpdate=function(i,o){var s=this.state.error,a=this.props.resetKeys;if(s!==null&&o.error!==null&&mk(i.resetKeys,a)){var l,u;(l=(u=this.props).onResetKeysChange)==null||l.call(u,i.resetKeys,a),this.reset()}},n.render=function(){var i=this.state.error,o=this.props,s=o.fallbackRender,a=o.FallbackComponent,l=o.fallback;if(i!==null){var u={error:i,resetErrorBoundary:this.resetErrorBoundary};if(g.exports.isValidElement(l))return l;if(typeof s=="function")return s(u);if(a)return g.exports.createElement(a,u);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(g.exports.Component),RC={exports:{}},OC={};/**
|
|
293
|
-
* @license React
|
|
294
|
-
* use-sync-external-store-shim.production.min.js
|
|
295
|
-
*
|
|
296
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
297
|
-
*
|
|
298
|
-
* This source code is licensed under the MIT license found in the
|
|
299
|
-
* LICENSE file in the root directory of this source tree.
|
|
300
|
-
*/var ps=g.exports;function yk(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _k=typeof Object.is=="function"?Object.is:yk,xk=ps.useState,wk=ps.useEffect,bk=ps.useLayoutEffect,Ek=ps.useDebugValue;function Sk(e,t){var n=t(),r=xk({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return bk(function(){i.value=n,i.getSnapshot=t,Lh(i)&&o({inst:i})},[e,n,t]),wk(function(){return Lh(i)&&o({inst:i}),e(function(){Lh(i)&&o({inst:i})})},[e]),Ek(n),n}function Lh(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!_k(e,n)}catch{return!0}}function Ck(e,t){return t()}var Ak=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?Ck:Sk;OC.useSyncExternalStore=ps.useSyncExternalStore!==void 0?ps.useSyncExternalStore:Ak;RC.exports=OC;/**
|
|
301
|
-
* react-query
|
|
302
|
-
*
|
|
303
|
-
* Copyright (c) TanStack
|
|
304
|
-
*
|
|
305
|
-
* This source code is licensed under the MIT license found in the
|
|
306
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
307
|
-
*
|
|
308
|
-
* @license MIT
|
|
309
|
-
*//**
|
|
310
|
-
* query-core
|
|
311
|
-
*
|
|
312
|
-
* Copyright (c) TanStack
|
|
313
|
-
*
|
|
314
|
-
* This source code is licensed under the MIT license found in the
|
|
315
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
316
|
-
*
|
|
317
|
-
* @license MIT
|
|
318
|
-
*/class kl{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.push(t),this.onSubscribe(),()=>{this.listeners=this.listeners.filter(n=>n!==t),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const fl=typeof window=="undefined";function an(){}function $k(e,t){return typeof e=="function"?e(t):e}function Rm(e){return typeof e=="number"&&e>=0&&e!==1/0}function kC(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Zu(e,t,n){return hd(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function kr(e,t,n){return hd(e)?[{...t,queryKey:e},n]:[e||{},t]}function Cx(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(hd(s)){if(r){if(t.queryHash!==n1(s,t.options))return!1}else if(!Kc(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||typeof i!="undefined"&&i!==t.state.fetchStatus||o&&!o(t))}function Ax(e,t){const{exact:n,fetching:r,predicate:i,mutationKey:o}=e;if(hd(o)){if(!t.options.mutationKey)return!1;if(n){if(Ui(t.options.mutationKey)!==Ui(o))return!1}else if(!Kc(t.options.mutationKey,o))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||i&&!i(t))}function n1(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ui)(e)}function Ui(e){return JSON.stringify(e,(t,n)=>Om(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Kc(e,t){return NC(e,t)}function NC(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!NC(e[n],t[n])):!1}function DC(e,t){if(e===t)return e;const n=Tx(e)&&Tx(t);if(n||Om(e)&&Om(t)){const r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,s=n?[]:{};let a=0;for(let l=0;l<o;l++){const u=n?l:i[l];s[u]=DC(e[u],t[u]),s[u]===e[u]&&a++}return r===o&&a===r?e:s}return t}function $x(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Tx(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Om(e){if(!Px(e))return!1;const t=e.constructor;if(typeof t=="undefined")return!0;const n=t.prototype;return!(!Px(n)||!n.hasOwnProperty("isPrototypeOf"))}function Px(e){return Object.prototype.toString.call(e)==="[object Object]"}function hd(e){return Array.isArray(e)}function MC(e){return new Promise(t=>{setTimeout(t,e)})}function Rx(e){MC(0).then(e)}function Tk(){if(typeof AbortController=="function")return new AbortController}function km(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?DC(e,t):t}class Pk extends kl{constructor(){super(),this.setup=t=>{if(!fl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.focused=t,t&&this.onFocus()}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document=="undefined"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const Qc=new Pk;class Rk extends kl{constructor(){super(),this.setup=t=>{if(!fl&&window.addEventListener){const n=()=>t();return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setOnline(r):this.onOnline()})}setOnline(t){this.online=t,t&&this.onOnline()}onOnline(){this.listeners.forEach(t=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator=="undefined"||typeof navigator.onLine=="undefined"?!0:navigator.onLine}}const Zc=new Rk;function Ok(e){return Math.min(1e3*2**e,3e4)}function vd(e){return(e!=null?e:"online")==="online"?Zc.isOnline():!0}class LC{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function Ju(e){return e instanceof LC}function FC(e){let t=!1,n=0,r=!1,i,o,s;const a=new Promise((w,_)=>{o=w,s=_}),l=w=>{r||(p(new LC(w)),e.abort==null||e.abort())},u=()=>{t=!0},c=()=>{t=!1},f=()=>!Qc.isFocused()||e.networkMode!=="always"&&!Zc.isOnline(),d=w=>{r||(r=!0,e.onSuccess==null||e.onSuccess(w),i==null||i(),o(w))},p=w=>{r||(r=!0,e.onError==null||e.onError(w),i==null||i(),s(w))},v=()=>new Promise(w=>{i=_=>{if(r||!f())return w(_)},e.onPause==null||e.onPause()}).then(()=>{i=void 0,r||e.onContinue==null||e.onContinue()}),m=()=>{if(r)return;let w;try{w=e.fn()}catch(_){w=Promise.reject(_)}Promise.resolve(w).then(d).catch(_=>{var x,y;if(r)return;const E=(x=e.retry)!=null?x:3,S=(y=e.retryDelay)!=null?y:Ok,A=typeof S=="function"?S(n,_):S,$=E===!0||typeof E=="number"&&n<E||typeof E=="function"&&E(n,_);if(t||!$){p(_);return}n++,e.onFail==null||e.onFail(n,_),MC(A).then(()=>{if(f())return v()}).then(()=>{t?p(_):m()})})};return vd(e.networkMode)?m():v().then(m),{promise:a,cancel:l,continue:()=>{i==null||i()},cancelRetry:u,continueRetry:c}}const r1=console;function kk(){let e=[],t=0,n=c=>{c()},r=c=>{c()};const i=c=>{let f;t++;try{f=c()}finally{t--,t||a()}return f},o=c=>{t?e.push(c):Rx(()=>{n(c)})},s=c=>(...f)=>{o(()=>{c(...f)})},a=()=>{const c=e;e=[],c.length&&Rx(()=>{r(()=>{c.forEach(f=>{n(f)})})})};return{batch:i,batchCalls:s,schedule:o,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c}}}const Je=kk();class IC{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Rm(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:fl?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Nk extends IC{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||r1,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||Dk(this.options),this.state=this.initialState,this.meta=t.meta}setOptions(t){this.options={...this.defaultOptions,...t},this.meta=t==null?void 0:t.meta,this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,n){const r=km(this.state.data,t,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){this.dispatch({type:"setState",state:t,setStateOptions:n})}cancel(t){var n;const r=this.promise;return(n=this.retryer)==null||n.cancel(t),r?r.then(an).catch(an):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!kC(this.state.dataUpdatedAt,t)}onFocus(){var t;const n=this.observers.find(r=>r.shouldFetchOnWindowFocus());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const n=this.observers.find(r=>r.shouldFetchOnReconnect());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.indexOf(t)!==-1&&(this.observers=this.observers.filter(n=>n!==t),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:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,n){var r,i;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&n!=null&&n.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var o;return(o=this.retryer)==null||o.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const p=this.observers.find(v=>v.options.queryFn);p&&this.setOptions(p.options)}Array.isArray(this.options.queryKey);const s=Tk(),a={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>{if(s)return this.abortSignalConsumed=!0,s.signal}})};l(a);const u=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(a)):Promise.reject("Missing queryFn"),c={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:u,meta:this.meta};if(l(c),(r=this.options.behavior)==null||r.onFetch(c),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((i=c.fetchOptions)==null?void 0:i.meta)){var f;this.dispatch({type:"fetch",meta:(f=c.fetchOptions)==null?void 0:f.meta})}const d=p=>{if(Ju(p)&&p.silent||this.dispatch({type:"error",error:p}),!Ju(p)){var v,m;(v=(m=this.cache.config).onError)==null||v.call(m,p,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=FC({fn:c.fetchFn,abort:s==null?void 0:s.abort.bind(s),onSuccess:p=>{var v,m;if(typeof p=="undefined"){d(new Error("Query data cannot be undefined"));return}this.setData(p),(v=(m=this.cache.config).onSuccess)==null||v.call(m,p,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:d,onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const n=r=>{var i,o;switch(t.type){case"failed":return{...r,fetchFailureCount:r.fetchFailureCount+1};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,fetchFailureCount:0,fetchMeta:(i=t.meta)!=null?i:null,fetchStatus:vd(this.options.networkMode)?"fetching":"paused",...!r.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:(o=t.dataUpdatedAt)!=null?o:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0}};case"error":const s=t.error;return Ju(s)&&s.revert&&this.revertState?{...this.revertState}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Je.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function Dk(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=typeof e.initialData!="undefined"?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,i=typeof t!="undefined";return{data:t,dataUpdateCount:0,dataUpdatedAt:i?r!=null?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:i?"success":"loading",fetchStatus:"idle"}}class Mk extends kl{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,n,r){var i;const o=n.queryKey,s=(i=n.queryHash)!=null?i:n1(o,n);let a=this.get(s);return a||(a=new Nk({cache:this,logger:t.getLogger(),queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o),meta:n.meta}),this.add(a)),a}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const n=this.queriesMap[t.queryHash];n&&(t.destroy(),this.queries=this.queries.filter(r=>r!==t),n===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){Je.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[r]=kr(t,n);return typeof r.exact=="undefined"&&(r.exact=!0),this.queries.find(i=>Cx(r,i))}findAll(t,n){const[r]=kr(t,n);return Object.keys(r).length>0?this.queries.filter(i=>Cx(r,i)):this.queries}notify(t){Je.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Je.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){Je.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class Lk extends IC{constructor(t){super(),this.options={...t.defaultOptions,...t.options},this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||r1,this.observers=[],this.state=t.state||Fk(),this.meta=t.meta,this.updateCacheTime(this.options.cacheTime),this.scheduleGc()}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(n=>n!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}async execute(){const t=()=>{var y;return this.retryer=FC({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(y=this.options.retry)!=null?y:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},n=this.state.status==="loading";try{var r,i,o,s,a,l;if(!n){var u,c,f,d;this.dispatch({type:"loading",variables:this.options.variables}),(u=(c=this.mutationCache.config).onMutate)==null||u.call(c,this.state.variables,this);const E=await((f=(d=this.options).onMutate)==null?void 0:f.call(d,this.state.variables));E!==this.state.context&&this.dispatch({type:"loading",context:E,variables:this.state.variables})}const y=await t();return(r=(i=this.mutationCache.config).onSuccess)==null||r.call(i,y,this.state.variables,this.state.context,this),await((o=(s=this.options).onSuccess)==null?void 0:o.call(s,y,this.state.variables,this.state.context)),await((a=(l=this.options).onSettled)==null?void 0:a.call(l,y,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:y}),y}catch(y){try{var p,v,m,w,_,x;throw(p=(v=this.mutationCache.config).onError)==null||p.call(v,y,this.state.variables,this.state.context,this),await((m=(w=this.options).onError)==null?void 0:m.call(w,y,this.state.variables,this.state.context)),await((_=(x=this.options).onSettled)==null?void 0:_.call(x,void 0,y,this.state.variables,this.state.context)),y}finally{this.dispatch({type:"error",error:y})}}}dispatch(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:r.failureCount+1};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"loading":return{...r,context:t.context,data:void 0,error:null,isPaused:!vd(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...r,data:t.data,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,isPaused:!1,status:"error"};case"setState":return{...r,...t.state}}};this.state=n(this.state),Je.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function Fk(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}class Ik extends kl{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,r){const i=new Lk({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(n),state:r,defaultOptions:n.mutationKey?t.getMutationDefaults(n.mutationKey):void 0,meta:n.meta});return this.add(i),i}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(n=>n!==t),this.notify({type:"removed",mutation:t})}clear(){Je.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact=="undefined"&&(t.exact=!0),this.mutations.find(n=>Ax(t,n))}findAll(t){return this.mutations.filter(n=>Ax(t,n))}notify(t){Je.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.mutations.filter(n=>n.state.isPaused);return Je.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(an)),Promise.resolve()))}}function jk(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,r,i,o,s;const a=(t=e.fetchOptions)==null||(n=t.meta)==null?void 0:n.refetchPage,l=(r=e.fetchOptions)==null||(i=r.meta)==null?void 0:i.fetchMore,u=l==null?void 0:l.pageParam,c=(l==null?void 0:l.direction)==="forward",f=(l==null?void 0:l.direction)==="backward",d=((o=e.state.data)==null?void 0:o.pages)||[],p=((s=e.state.data)==null?void 0:s.pageParams)||[];let v=p,m=!1;const w=A=>{Object.defineProperty(A,"signal",{enumerable:!0,get:()=>{var $;if(($=e.signal)!=null&&$.aborted)m=!0;else{var T;(T=e.signal)==null||T.addEventListener("abort",()=>{m=!0})}return e.signal}})},_=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),x=(A,$,T,O)=>(v=O?[$,...v]:[...v,$],O?[T,...A]:[...A,T]),y=(A,$,T,O)=>{if(m)return Promise.reject("Cancelled");if(typeof T=="undefined"&&!$&&A.length)return Promise.resolve(A);const M={queryKey:e.queryKey,pageParam:T,meta:e.meta};w(M);const Y=_(M);return Promise.resolve(Y).then(X=>x(A,T,X,O))};let E;if(!d.length)E=y([]);else if(c){const A=typeof u!="undefined",$=A?u:Ox(e.options,d);E=y(d,A,$)}else if(f){const A=typeof u!="undefined",$=A?u:Uk(e.options,d);E=y(d,A,$,!0)}else{v=[];const A=typeof e.options.getNextPageParam=="undefined";E=(a&&d[0]?a(d[0],0,d):!0)?y([],A,p[0]):Promise.resolve(x([],p[0],d[0]));for(let T=1;T<d.length;T++)E=E.then(O=>{if(a&&d[T]?a(d[T],T,d):!0){const Y=A?p[T]:Ox(e.options,O);return y(O,A,Y)}return Promise.resolve(x(O,p[T],d[T]))})}return E.then(A=>({pages:A,pageParams:v}))}}}}function Ox(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function Uk(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class Bk{constructor(t={}){this.queryCache=t.queryCache||new Mk,this.mutationCache=t.mutationCache||new Ik,this.logger=t.logger||r1,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}mount(){this.unsubscribeFocus=Qc.subscribe(()=>{Qc.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=Zc.subscribe(()=>{Zc.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})}unmount(){var t,n;(t=this.unsubscribeFocus)==null||t.call(this),(n=this.unsubscribeOnline)==null||n.call(this)}isFetching(t,n){const[r]=kr(t,n);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(t){return this.mutationCache.findAll({...t,fetching:!0}).length}getQueryData(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state.data}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:n,state:r})=>{const i=r.data;return[n,i]})}setQueryData(t,n,r){const i=this.queryCache.find(t),o=i==null?void 0:i.state.data,s=$k(n,o);if(typeof s=="undefined")return;const a=Zu(t),l=this.defaultQueryOptions(a);return this.queryCache.build(this,l).setData(s,{...r,manual:!0})}setQueriesData(t,n,r){return Je.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,n,r)]))}getQueryState(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state}removeQueries(t,n){const[r]=kr(t,n),i=this.queryCache;Je.batch(()=>{i.findAll(r).forEach(o=>{i.remove(o)})})}resetQueries(t,n,r){const[i,o]=kr(t,n,r),s=this.queryCache,a={type:"active",...i};return Je.batch(()=>(s.findAll(i).forEach(l=>{l.reset()}),this.refetchQueries(a,o)))}cancelQueries(t,n,r){const[i,o={}]=kr(t,n,r);typeof o.revert=="undefined"&&(o.revert=!0);const s=Je.batch(()=>this.queryCache.findAll(i).map(a=>a.cancel(o)));return Promise.all(s).then(an).catch(an)}invalidateQueries(t,n,r){const[i,o]=kr(t,n,r);return Je.batch(()=>{var s,a;if(this.queryCache.findAll(i).forEach(u=>{u.invalidate()}),i.refetchType==="none")return Promise.resolve();const l={...i,type:(s=(a=i.refetchType)!=null?a:i.type)!=null?s:"active"};return this.refetchQueries(l,o)})}refetchQueries(t,n,r){const[i,o]=kr(t,n,r),s=Je.batch(()=>this.queryCache.findAll(i).filter(l=>!l.isDisabled()).map(l=>{var u;return l.fetch(void 0,{...o,cancelRefetch:(u=o==null?void 0:o.cancelRefetch)!=null?u:!0,meta:{refetchPage:i.refetchPage}})}));let a=Promise.all(s).then(an);return o!=null&&o.throwOnError||(a=a.catch(an)),a}fetchQuery(t,n,r){const i=Zu(t,n,r),o=this.defaultQueryOptions(i);typeof o.retry=="undefined"&&(o.retry=!1);const s=this.queryCache.build(this,o);return s.isStaleByTime(o.staleTime)?s.fetch(o):Promise.resolve(s.state.data)}prefetchQuery(t,n,r){return this.fetchQuery(t,n,r).then(an).catch(an)}fetchInfiniteQuery(t,n,r){const i=Zu(t,n,r);return i.behavior=jk(),this.fetchQuery(i)}prefetchInfiniteQuery(t,n,r){return this.fetchInfiniteQuery(t,n,r).then(an).catch(an)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,n){const r=this.queryDefaults.find(i=>Ui(t)===Ui(i.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(r=>Kc(t,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const r=this.mutationDefaults.find(i=>Ui(t)===Ui(i.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(r=>Kc(t,r.mutationKey));return n==null?void 0:n.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const n={...this.defaultOptions.queries,...this.getQueryDefaults(t==null?void 0:t.queryKey),...t,_defaulted:!0};return!n.queryHash&&n.queryKey&&(n.queryHash=n1(n.queryKey,n)),typeof n.refetchOnReconnect=="undefined"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary=="undefined"&&(n.useErrorBoundary=!!n.suspense),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(t==null?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class Vk extends kl{constructor(t,n){super(),this.client=t,this.options=n,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(n)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.length===1&&(this.currentQuery.addObserver(this),kx(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return Nm(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Nm(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,n){const r=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),$x(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled!="undefined"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();const o=this.hasListeners();o&&Nx(this.currentQuery,i,this.options,r)&&this.executeFetch(),this.updateResult(n),o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();const s=this.computeRefetchInterval();o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||s!==this.currentRefetchInterval)&&this.updateRefetchInterval(s)}getOptimisticResult(t){const n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)}getCurrentResult(){return this.currentResult}trackResult(t){const n={};return Object.keys(t).forEach(r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),t[r])})}),n}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...n}={}){return this.fetch({...n,meta:{refetchPage:t}})}fetchOptimistic(t){const n=this.client.defaultQueryOptions(t),r=this.client.getQueryCache().build(this.client,n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){var n;return this.executeFetch({...t,cancelRefetch:(n=t.cancelRefetch)!=null?n:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let n=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(an)),n}updateStaleTimeout(){if(this.clearStaleTimeout(),fl||this.currentResult.isStale||!Rm(this.options.staleTime))return;const n=kC(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},n)}computeRefetchInterval(){var t;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(t=this.options.refetchInterval)!=null?t:!1}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!(fl||this.options.enabled===!1||!Rm(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||Qc.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,n){const r=this.currentQuery,i=this.options,o=this.currentResult,s=this.currentResultState,a=this.currentResultOptions,l=t!==r,u=l?t.state:this.currentQueryInitialState,c=l?this.currentResult:this.previousQueryResult,{state:f}=t;let{dataUpdatedAt:d,error:p,errorUpdatedAt:v,fetchStatus:m,status:w}=f,_=!1,x=!1,y;if(n._optimisticResults){const A=this.hasListeners(),$=!A&&kx(t,n),T=A&&Nx(t,r,n,i);($||T)&&(m=vd(t.options.networkMode)?"fetching":"paused",d||(w="loading")),n._optimisticResults==="isRestoring"&&(m="idle")}if(n.keepPreviousData&&!f.dataUpdateCount&&c!=null&&c.isSuccess&&w!=="error")y=c.data,d=c.dataUpdatedAt,w=c.status,_=!0;else if(n.select&&typeof f.data!="undefined")if(o&&f.data===(s==null?void 0:s.data)&&n.select===this.selectFn)y=this.selectResult;else try{this.selectFn=n.select,y=n.select(f.data),y=km(o==null?void 0:o.data,y,n),this.selectResult=y,this.selectError=null}catch(A){this.selectError=A}else y=f.data;if(typeof n.placeholderData!="undefined"&&typeof y=="undefined"&&w==="loading"){let A;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))A=o.data;else if(A=typeof n.placeholderData=="function"?n.placeholderData():n.placeholderData,n.select&&typeof A!="undefined")try{A=n.select(A),A=km(o==null?void 0:o.data,A,n),this.selectError=null}catch($){this.selectError=$}typeof A!="undefined"&&(w="success",y=A,x=!0)}this.selectError&&(p=this.selectError,y=this.selectResult,v=Date.now(),w="error");const E=m==="fetching";return{status:w,fetchStatus:m,isLoading:w==="loading",isSuccess:w==="success",isError:w==="error",data:y,dataUpdatedAt:d,error:p,errorUpdatedAt:v,failureCount:f.fetchFailureCount,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>u.dataUpdateCount||f.errorUpdateCount>u.errorUpdateCount,isFetching:E,isRefetching:E&&w!=="loading",isLoadingError:w==="error"&&f.dataUpdatedAt===0,isPaused:m==="paused",isPlaceholderData:x,isPreviousData:_,isRefetchError:w==="error"&&f.dataUpdatedAt!==0,isStale:i1(t,n),refetch:this.refetch,remove:this.remove}}updateResult(t){const n=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,$x(r,n))return;this.currentResult=r;const i={cache:!0},o=()=>{if(!n)return!0;const{notifyOnChangeProps:s}=this.options;if(s==="all"||!s&&!this.trackedProps.size)return!0;const a=new Set(s!=null?s:this.trackedProps);return this.options.useErrorBoundary&&a.add("error"),Object.keys(this.currentResult).some(l=>{const u=l;return this.currentResult[u]!==n[u]&&a.has(u)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),this.notify({...i,...t})}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const n=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const n={};t.type==="success"?n.onSuccess=!t.manual:t.type==="error"&&!Ju(t.error)&&(n.onError=!0),this.updateResult(n),this.hasListeners()&&this.updateTimers()}notify(t){Je.batch(()=>{if(t.onSuccess){var n,r,i,o;(n=(r=this.options).onSuccess)==null||n.call(r,this.currentResult.data),(i=(o=this.options).onSettled)==null||i.call(o,this.currentResult.data,null)}else if(t.onError){var s,a,l,u;(s=(a=this.options).onError)==null||s.call(a,this.currentResult.error),(l=(u=this.options).onSettled)==null||l.call(u,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(c=>{c(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function zk(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function kx(e,t){return zk(e,t)||e.state.dataUpdatedAt>0&&Nm(e,t,t.refetchOnMount)}function Nm(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&i1(e,t)}return!1}function Nx(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&i1(e,n)}function i1(e,t){return e.isStaleByTime(t.staleTime)}const Dx=g.exports.createContext(void 0),jC=g.exports.createContext(!1);function UC(e,t){return e||(t&&typeof window!="undefined"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Dx),window.ReactQueryClientContext):Dx)}const Hk=({context:e}={})=>{const t=g.exports.useContext(UC(e,g.exports.useContext(jC)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Gk=({client:e,children:t,context:n,contextSharing:r=!1})=>{g.exports.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const i=UC(n,r);return g.exports.createElement(jC.Provider,{value:!n&&r},g.exports.createElement(i.Provider,{value:e},t))},BC=g.exports.createContext(!1),Yk=()=>g.exports.useContext(BC);BC.Provider;function Wk(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const qk=g.exports.createContext(Wk()),Xk=()=>g.exports.useContext(qk);function Kk(e,t){return typeof e=="function"?e(...t):!!e}function Qk(e,t){const n=Hk({context:e.context}),r=Yk(),i=Xk(),o=n.defaultQueryOptions(e);o._optimisticResults=r?"isRestoring":"optimistic",o.onError&&(o.onError=Je.batchCalls(o.onError)),o.onSuccess&&(o.onSuccess=Je.batchCalls(o.onSuccess)),o.onSettled&&(o.onSettled=Je.batchCalls(o.onSettled)),o.suspense&&typeof o.staleTime!="number"&&(o.staleTime=1e3),(o.suspense||o.useErrorBoundary)&&(i.isReset()||(o.retryOnMount=!1));const[s]=g.exports.useState(()=>new t(n,o)),a=s.getOptimisticResult(o);if(RC.exports.useSyncExternalStore(g.exports.useCallback(l=>r?()=>{}:s.subscribe(Je.batchCalls(l)),[s,r]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),g.exports.useEffect(()=>{i.clearReset()},[i]),g.exports.useEffect(()=>{s.setOptions(o,{listeners:!1})},[o,s]),o.suspense&&a.isLoading&&a.isFetching&&!r)throw s.fetchOptimistic(o).then(({data:l})=>{o.onSuccess==null||o.onSuccess(l),o.onSettled==null||o.onSettled(l,null)}).catch(l=>{i.clearReset(),o.onError==null||o.onError(l),o.onSettled==null||o.onSettled(void 0,l)});if(a.isError&&!i.isReset()&&!a.isFetching&&Kk(o.useErrorBoundary,[a.error,s.getCurrentQuery()]))throw a.error;return o.notifyOnChangeProps?a:s.trackResult(a)}function xY(e,t,n){const r=Zu(e,t,n);return Qk(r,Vk)}const Zk="modulepreload",Mx={},Jk="/sdks-app/v1/",eN=function(t,n){return!n||n.length===0?t():Promise.all(n.map(r=>{if(r=`${Jk}${r}`,r in Mx)return;Mx[r]=!0;const i=r.endsWith(".css"),o=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${o}`))return;const s=document.createElement("link");if(s.rel=i?"stylesheet":Zk,i||(s.as="script",s.crossOrigin=""),s.href=r,document.head.appendChild(s),i)return new Promise((a,l)=>{s.addEventListener("load",a),s.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};var VC=(e=>(e.LOCAL_CONTENT="local-content",e.LOCAL_MAPS="local-maps",e))(VC||{}),md={exports:{}},gd={};/**
|
|
319
|
-
* @license React
|
|
320
|
-
* react-jsx-runtime.production.min.js
|
|
321
|
-
*
|
|
322
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
323
|
-
*
|
|
324
|
-
* This source code is licensed under the MIT license found in the
|
|
325
|
-
* LICENSE file in the root directory of this source tree.
|
|
326
|
-
*/var tN=g.exports,nN=Symbol.for("react.element"),rN=Symbol.for("react.fragment"),iN=Object.prototype.hasOwnProperty,oN=tN.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,sN={key:!0,ref:!0,__self:!0,__source:!0};function zC(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)iN.call(t,r)&&!sN.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:nN,type:e,key:o,ref:s,props:i,_owner:oN.current}}gd.Fragment=rN;gd.jsx=zC;gd.jsxs=zC;md.exports=gd;const D=md.exports.jsx,tt=md.exports.jsxs,yd=md.exports.Fragment,aN=new J7,lN=ce.lazy(()=>eN(()=>import("./index.128006c6.js"),["assets/index.128006c6.js","assets/index.d3f78cf1.css"])),uN=({children:e})=>{const t=[{path:`*/${VC.LOCAL_CONTENT}`,element:D(lN,{})}];return D(ek,{location:aN,routes:t,children:e})},cN="CONNECT",fN="DEFAULT";function dN(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var HC={exports:{}};(function(e){var t=(()=>{var n=Object.defineProperty,r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,s=(w,_,x)=>_ in w?n(w,_,{enumerable:!0,configurable:!0,writable:!0,value:x}):w[_]=x,a=(w,_)=>{for(var x in _||(_={}))i.call(_,x)&&s(w,x,_[x]);if(r)for(var x of r(_))o.call(_,x)&&s(w,x,_[x]);return w},l=w=>n(w,"__esModule",{value:!0}),u=(w,_)=>{l(w);for(var x in _)n(w,x,{get:_[x],enumerable:!0})},c={};u(c,{DEFAULT_UUID_LENGTH:()=>d,default:()=>m});var f="4.4.4",d=6,p={dictionary:"alphanum",shuffle:!0,debug:!1,length:d},v=class extends Function{constructor(w={}){super(),this.dictIndex=0,this.dictRange=[],this.lowerBound=0,this.upperBound=0,this.dictLength=0,this._digit_first_ascii=48,this._digit_last_ascii=58,this._alpha_lower_first_ascii=97,this._alpha_lower_last_ascii=123,this._hex_last_ascii=103,this._alpha_upper_first_ascii=65,this._alpha_upper_last_ascii=91,this._number_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii]},this._alpha_dict_ranges={lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._alpha_lower_dict_ranges={lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]},this._alpha_upper_dict_ranges={upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._alphanum_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._alphanum_lower_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]},this._alphanum_upper_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._hex_dict_ranges={decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]},this.log=(...S)=>{const A=[...S];if(A[0]=`[short-unique-id] ${S[0]}`,this.debug===!0&&typeof console!="undefined"&&console!==null)return console.log(...A)},this.setDictionary=(S,A)=>{let $;if(S&&Array.isArray(S)&&S.length>1)$=S;else{$=[];let T;this.dictIndex=T=0;const O=`_${S}_dict_ranges`,M=this[O];Object.keys(M).forEach(Y=>{const H=Y;for(this.dictRange=M[H],this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1],this.dictIndex=T=this.lowerBound;this.lowerBound<=this.upperBound?T<this.upperBound:T>this.upperBound;this.dictIndex=this.lowerBound<=this.upperBound?T+=1:T-=1)$.push(String.fromCharCode(this.dictIndex))})}A&&($=$.sort(()=>Math.random()-.5)),this.dict=$,this.dictLength=this.dict.length,this.counter=0},this.seq=()=>this.sequentialUUID(),this.sequentialUUID=()=>{let S,A,$="";S=this.counter;do A=S%this.dictLength,S=Math.trunc(S/this.dictLength),$+=this.dict[A];while(S!==0);return this.counter+=1,$},this.randomUUID=(S=this.uuidLength||d)=>{let A,$,T;if(S===null||typeof S=="undefined"||S<1)throw new Error("Invalid UUID Length Provided");for(A="",T=0;T<S;T+=1)$=parseInt((Math.random()*this.dictLength).toFixed(0),10)%this.dictLength,A+=this.dict[$];return A},this.availableUUIDs=(S=this.uuidLength)=>parseFloat(Math.pow([...new Set(this.dict)].length,S).toFixed(0)),this.approxMaxBeforeCollision=(S=this.availableUUIDs(this.uuidLength))=>parseFloat(Math.sqrt(Math.PI/2*S).toFixed(20)),this.collisionProbability=(S=this.availableUUIDs(this.uuidLength),A=this.uuidLength)=>parseFloat((this.approxMaxBeforeCollision(S)/this.availableUUIDs(A)).toFixed(20)),this.uniqueness=(S=this.availableUUIDs(this.uuidLength))=>{const A=parseFloat((1-this.approxMaxBeforeCollision(S)/S).toFixed(20));return A>1?1:A<0?0:A},this.getVersion=()=>this.version,this.stamp=S=>{if(typeof S!="number"||S<10)throw new Error("Param finalLength must be number greater than 10");const A=Math.floor(+new Date/1e3).toString(16),$=S-9,T=Math.round(Math.random()*($>15?15:$)),O=this.randomUUID($);return`${O.substr(0,T)}${A}${O.substr(T)}${T.toString(16)}`},this.parseStamp=S=>{if(S.length<10)throw new Error("Stamp length invalid");const A=parseInt(S.substr(S.length-1,1),16);return new Date(parseInt(S.substr(A,8),16)*1e3)};const _=a(a({},p),w);this.counter=0,this.debug=!1,this.dict=[],this.version=f;const{dictionary:x,shuffle:y,length:E}=_;return this.uuidLength=E,this.setDictionary(x,y),this.debug=_.debug,this.log(this.dict),this.log(`Generator instantiated with Dictionary Size ${this.dictLength}`),new Proxy(this,{apply:(S,A,$)=>this.randomUUID(...$)})}},m=v;return m.default=v,c})();e.exports=t.default,typeof window!="undefined"&&(t=t.default)})(HC);var pN=dN(HC.exports);const Lx=new pN({length:10});class o1{constructor(t,n){this.onMessageHandlers=[],this.message=(r,i,o)=>this.crossOrigin?this.postMessage(r,i,o):this.customEventMessage(r,i,o),this.channelId=t!=null?t:fN,this.channelNodeId=`channel-node-${Lx()}`,this.crossOrigin=n,this.connection=new Promise(r=>{this.resolveConnection=r}),this.boundMessageHandler=this.handleMessage.bind(this)}disconnect(){this.onMessageHandlers=[],window.removeEventListener(this.channelId,this.boundMessageHandler),this.connection=new Promise(t=>{this.resolveConnection=t})}onMessage(t){this.onMessageHandlers.push(t)}removeMessageHandler(t){const n=this.onMessageHandlers.findIndex(r=>r===t);this.onMessageHandlers.splice(n,1)}customEventMessage(t,n,r){const i=new CustomEvent(this.channelId,{detail:{eventId:r,channelId:this.channelId,channelNodeId:this.channelNodeId,name:t,data:n}});window.dispatchEvent(i)}postMessage(t,n,r){var i,o,s;(s=(i=this.crossOrigin)==null?void 0:i.window)==null||s.postMessage({eventId:r,channelId:this.channelId,channelNodeId:this.channelNodeId,name:t,data:n},(o=this.crossOrigin)==null?void 0:o.targetOrigin)}async eventRequest(t,n){const r=Lx();return new Promise(i=>{const o=s=>{const{eventId:a}=s;r===a&&(this.removeMessageHandler(o),i(s))};this.onMessage(o),this.message(t,n,r)})}async waitForEvent(t){return new Promise(n=>{const r=i=>{const{name:o}=i;t===o&&(this.removeMessageHandler(r),n(i))};this.onMessage(r)})}handleMessage(t){var n;let r;if(o1.isCustomEvent(t))r=t.detail;else{if(this.crossOrigin&&!this.crossOrigin.targetOrigin.includes(t.origin)&&((n=this.crossOrigin)==null?void 0:n.targetOrigin)!=="*")return;r=t.data}const{channelId:i,channelNodeId:o}=r;this.channelId===i&&this.channelNodeId!==o&&this.onMessageHandlers.forEach(s=>{s(r)})}static isCustomEvent(t){return t.detail!==void 0}}class hN extends o1{connect(){return window.addEventListener(this.crossOrigin?"message":this.channelId,this.boundMessageHandler),this.eventRequest(cN).then(t=>{this.resolveConnection(t)}),this.connection}}var vN="Expected a function",Fx=1/0,mN=17976931348623157e292,Ix=0/0,gN="[object Symbol]",yN=/^\s+|\s+$/g,_N=/^[-+]0x[0-9a-f]+$/i,xN=/^0b[01]+$/i,wN=/^0o[0-7]+$/i,bN=parseInt,EN=Object.prototype,SN=EN.toString;function CN(e,t){var n;if(typeof t!="function")throw new TypeError(vN);return e=RN(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}function AN(e){return CN(2,e)}function jx(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function $N(e){return!!e&&typeof e=="object"}function TN(e){return typeof e=="symbol"||$N(e)&&SN.call(e)==gN}function PN(e){if(!e)return e===0?e:0;if(e=ON(e),e===Fx||e===-Fx){var t=e<0?-1:1;return t*mN}return e===e?e:0}function RN(e){var t=PN(e),n=t%1;return t===t?n?t-n:t:0}function ON(e){if(typeof e=="number")return e;if(TN(e))return Ix;if(jx(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=jx(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(yN,"");var n=xN.test(e);return n||wN.test(e)?bN(e.slice(2),n?2:8):_N.test(e)?Ix:+e}var kN=AN,Dm={exports:{}};(function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,o=16,s=9007199254740991,a="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",f="[object Date]",d="[object Error]",p="[object Function]",v="[object GeneratorFunction]",m="[object Map]",w="[object Number]",_="[object Null]",x="[object Object]",y="[object Proxy]",E="[object RegExp]",S="[object Set]",A="[object String]",$="[object Undefined]",T="[object WeakMap]",O="[object ArrayBuffer]",M="[object DataView]",Y="[object Float32Array]",H="[object Float64Array]",X="[object Int8Array]",G="[object Int16Array]",le="[object Int32Array]",Ee="[object Uint8Array]",he="[object Uint8ClampedArray]",B="[object Uint16Array]",Q="[object Uint32Array]",Z=/[\\^$.*+?()[\]{}|]/g,de=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,R={};R[Y]=R[H]=R[X]=R[G]=R[le]=R[Ee]=R[he]=R[B]=R[Q]=!0,R[a]=R[l]=R[O]=R[c]=R[M]=R[f]=R[d]=R[p]=R[m]=R[w]=R[x]=R[E]=R[S]=R[A]=R[T]=!1;var k=typeof zl=="object"&&zl&&zl.Object===Object&&zl,L=typeof self=="object"&&self&&self.Object===Object&&self,P=k||L||Function("return this")(),te=t&&!t.nodeType&&t,F=te&&!0&&e&&!e.nodeType&&e,ge=F&&F.exports===te,pe=ge&&k.process,me=function(){try{var h=F&&F.require&&F.require("util").types;return h||pe&&pe.binding&&pe.binding("util")}catch{}}(),re=me&&me.isTypedArray;function Le(h,b,C){switch(C.length){case 0:return h.call(b);case 1:return h.call(b,C[0]);case 2:return h.call(b,C[0],C[1]);case 3:return h.call(b,C[0],C[1],C[2])}return h.apply(b,C)}function Ye(h,b){for(var C=-1,N=Array(h);++C<h;)N[C]=b(C);return N}function ve(h){return function(b){return h(b)}}function Ue(h,b){return h==null?void 0:h[b]}function ue(h,b){return function(C){return h(b(C))}}var xe=Array.prototype,St=Function.prototype,_e=Object.prototype,sn=P["__core-js_shared__"],Ct=St.toString,be=_e.hasOwnProperty,ie=function(){var h=/[^.]+$/.exec(sn&&sn.keys&&sn.keys.IE_PROTO||"");return h?"Symbol(src)_1."+h:""}(),Pe=_e.toString,mi=Ct.call(Object),gi=RegExp("^"+Ct.call(be).replace(Z,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),at=ge?P.Buffer:void 0,Rs=P.Symbol,Os=P.Uint8Array,ks=at?at.allocUnsafe:void 0,Ns=ue(Object.getPrototypeOf,Object),Ds=Object.create,Hd=_e.propertyIsEnumerable,Gd=xe.splice,At=Rs?Rs.toStringTag:void 0,Xn=function(){try{var h=xi(Object,"defineProperty");return h({},"",{}),h}catch{}}(),Yd=at?at.isBuffer:void 0,Ms=Math.max,Wd=Date.now,Ls=xi(P,"Map"),mn=xi(Object,"create"),qd=function(){function h(){}return function(b){if(!Tt(b))return{};if(Ds)return Ds(b);h.prototype=b;var C=new h;return h.prototype=void 0,C}}();function $t(h){var b=-1,C=h==null?0:h.length;for(this.clear();++b<C;){var N=h[b];this.set(N[0],N[1])}}function Xd(){this.__data__=mn?mn(null):{},this.size=0}function Kd(h){var b=this.has(h)&&delete this.__data__[h];return this.size-=b?1:0,b}function Qd(h){var b=this.__data__;if(mn){var C=b[h];return C===r?void 0:C}return be.call(b,h)?b[h]:void 0}function Zd(h){var b=this.__data__;return mn?b[h]!==void 0:be.call(b,h)}function Jd(h,b){var C=this.__data__;return this.size+=this.has(h)?0:1,C[h]=mn&&b===void 0?r:b,this}$t.prototype.clear=Xd,$t.prototype.delete=Kd,$t.prototype.get=Qd,$t.prototype.has=Zd,$t.prototype.set=Jd;function nt(h){var b=-1,C=h==null?0:h.length;for(this.clear();++b<C;){var N=h[b];this.set(N[0],N[1])}}function ep(){this.__data__=[],this.size=0}function tp(h){var b=this.__data__,C=Kn(b,h);if(C<0)return!1;var N=b.length-1;return C==N?b.pop():Gd.call(b,C,1),--this.size,!0}function np(h){var b=this.__data__,C=Kn(b,h);return C<0?void 0:b[C][1]}function rp(h){return Kn(this.__data__,h)>-1}function ip(h,b){var C=this.__data__,N=Kn(C,h);return N<0?(++this.size,C.push([h,b])):C[N][1]=b,this}nt.prototype.clear=ep,nt.prototype.delete=tp,nt.prototype.get=np,nt.prototype.has=rp,nt.prototype.set=ip;function Gt(h){var b=-1,C=h==null?0:h.length;for(this.clear();++b<C;){var N=h[b];this.set(N[0],N[1])}}function op(){this.size=0,this.__data__={hash:new $t,map:new(Ls||nt),string:new $t}}function sp(h){var b=Zn(this,h).delete(h);return this.size-=b?1:0,b}function ap(h){return Zn(this,h).get(h)}function lp(h){return Zn(this,h).has(h)}function up(h,b){var C=Zn(this,h),N=C.size;return C.set(h,b),this.size+=C.size==N?0:1,this}Gt.prototype.clear=op,Gt.prototype.delete=sp,Gt.prototype.get=ap,Gt.prototype.has=lp,Gt.prototype.set=up;function Yt(h){var b=this.__data__=new nt(h);this.size=b.size}function cp(){this.__data__=new nt,this.size=0}function fp(h){var b=this.__data__,C=b.delete(h);return this.size=b.size,C}function dp(h){return this.__data__.get(h)}function pp(h){return this.__data__.has(h)}function hp(h,b){var C=this.__data__;if(C instanceof nt){var N=C.__data__;if(!Ls||N.length<n-1)return N.push([h,b]),this.size=++C.size,this;C=this.__data__=new Gt(N)}return C.set(h,b),this.size=C.size,this}Yt.prototype.clear=cp,Yt.prototype.delete=fp,Yt.prototype.get=dp,Yt.prototype.has=pp,Yt.prototype.set=hp;function vp(h,b){var C=Ei(h),N=!C&&bi(h),q=!C&&!N&&Bs(h),ne=!C&&!N&&!q&&zs(h),oe=C||N||q||ne,W=oe?Ye(h.length,String):[],se=W.length;for(var Fe in h)(b||be.call(h,Fe))&&!(oe&&(Fe=="length"||q&&(Fe=="offset"||Fe=="parent")||ne&&(Fe=="buffer"||Fe=="byteLength"||Fe=="byteOffset")||js(Fe,se)))&&W.push(Fe);return W}function yi(h,b,C){(C!==void 0&&!Jn(h[b],C)||C===void 0&&!(b in h))&&_i(h,b,C)}function mp(h,b,C){var N=h[b];(!(be.call(h,b)&&Jn(N,C))||C===void 0&&!(b in h))&&_i(h,b,C)}function Kn(h,b){for(var C=h.length;C--;)if(Jn(h[C][0],b))return C;return-1}function _i(h,b,C){b=="__proto__"&&Xn?Xn(h,b,{configurable:!0,enumerable:!0,value:C,writable:!0}):h[b]=C}var gp=Rp();function Qn(h){return h==null?h===void 0?$:_:At&&At in Object(h)?Op(h):Fp(h)}function Fs(h){return gn(h)&&Qn(h)==a}function yp(h){if(!Tt(h)||Mp(h))return!1;var b=Ci(h)?gi:de;return b.test(Bp(h))}function _p(h){return gn(h)&&Vs(h.length)&&!!R[Qn(h)]}function xp(h){if(!Tt(h))return Lp(h);var b=Us(h),C=[];for(var N in h)N=="constructor"&&(b||!be.call(h,N))||C.push(N);return C}function Is(h,b,C,N,q){h!==b&&gp(b,function(ne,oe){if(q||(q=new Yt),Tt(ne))wp(h,b,oe,C,Is,N,q);else{var W=N?N(wi(h,oe),ne,oe+"",h,b,q):void 0;W===void 0&&(W=ne),yi(h,oe,W)}},Hs)}function wp(h,b,C,N,q,ne,oe){var W=wi(h,C),se=wi(b,C),Fe=oe.get(se);if(Fe){yi(h,C,Fe);return}var Re=ne?ne(W,se,C+"",h,b,oe):void 0,yn=Re===void 0;if(yn){var Ai=Ei(se),$i=!Ai&&Bs(se),Ys=!Ai&&!$i&&zs(se);Re=se,Ai||$i||Ys?Ei(W)?Re=W:Vp(W)?Re=$p(W):$i?(yn=!1,Re=Sp(se,!0)):Ys?(yn=!1,Re=Ap(se,!0)):Re=[]:zp(se)||bi(se)?(Re=W,bi(W)?Re=Hp(W):(!Tt(W)||Ci(W))&&(Re=kp(se))):yn=!1}yn&&(oe.set(se,Re),q(Re,se,N,ne,oe),oe.delete(se)),yi(h,C,Re)}function bp(h,b){return jp(Ip(h,b,Gs),h+"")}var Ep=Xn?function(h,b){return Xn(h,"toString",{configurable:!0,enumerable:!1,value:Yp(b),writable:!0})}:Gs;function Sp(h,b){if(b)return h.slice();var C=h.length,N=ks?ks(C):new h.constructor(C);return h.copy(N),N}function Cp(h){var b=new h.constructor(h.byteLength);return new Os(b).set(new Os(h)),b}function Ap(h,b){var C=b?Cp(h.buffer):h.buffer;return new h.constructor(C,h.byteOffset,h.length)}function $p(h,b){var C=-1,N=h.length;for(b||(b=Array(N));++C<N;)b[C]=h[C];return b}function Tp(h,b,C,N){var q=!C;C||(C={});for(var ne=-1,oe=b.length;++ne<oe;){var W=b[ne],se=N?N(C[W],h[W],W,C,h):void 0;se===void 0&&(se=h[W]),q?_i(C,W,se):mp(C,W,se)}return C}function Pp(h){return bp(function(b,C){var N=-1,q=C.length,ne=q>1?C[q-1]:void 0,oe=q>2?C[2]:void 0;for(ne=h.length>3&&typeof ne=="function"?(q--,ne):void 0,oe&&Np(C[0],C[1],oe)&&(ne=q<3?void 0:ne,q=1),b=Object(b);++N<q;){var W=C[N];W&&h(b,W,N,ne)}return b})}function Rp(h){return function(b,C,N){for(var q=-1,ne=Object(b),oe=N(b),W=oe.length;W--;){var se=oe[h?W:++q];if(C(ne[se],se,ne)===!1)break}return b}}function Zn(h,b){var C=h.__data__;return Dp(b)?C[typeof b=="string"?"string":"hash"]:C.map}function xi(h,b){var C=Ue(h,b);return yp(C)?C:void 0}function Op(h){var b=be.call(h,At),C=h[At];try{h[At]=void 0;var N=!0}catch{}var q=Pe.call(h);return N&&(b?h[At]=C:delete h[At]),q}function kp(h){return typeof h.constructor=="function"&&!Us(h)?qd(Ns(h)):{}}function js(h,b){var C=typeof h;return b=b==null?s:b,!!b&&(C=="number"||C!="symbol"&&I.test(h))&&h>-1&&h%1==0&&h<b}function Np(h,b,C){if(!Tt(C))return!1;var N=typeof b;return(N=="number"?Si(C)&&js(b,C.length):N=="string"&&b in C)?Jn(C[b],h):!1}function Dp(h){var b=typeof h;return b=="string"||b=="number"||b=="symbol"||b=="boolean"?h!=="__proto__":h===null}function Mp(h){return!!ie&&ie in h}function Us(h){var b=h&&h.constructor,C=typeof b=="function"&&b.prototype||_e;return h===C}function Lp(h){var b=[];if(h!=null)for(var C in Object(h))b.push(C);return b}function Fp(h){return Pe.call(h)}function Ip(h,b,C){return b=Ms(b===void 0?h.length-1:b,0),function(){for(var N=arguments,q=-1,ne=Ms(N.length-b,0),oe=Array(ne);++q<ne;)oe[q]=N[b+q];q=-1;for(var W=Array(b+1);++q<b;)W[q]=N[q];return W[b]=C(oe),Le(h,this,W)}}function wi(h,b){if(!(b==="constructor"&&typeof h[b]=="function")&&b!="__proto__")return h[b]}var jp=Up(Ep);function Up(h){var b=0,C=0;return function(){var N=Wd(),q=o-(N-C);if(C=N,q>0){if(++b>=i)return arguments[0]}else b=0;return h.apply(void 0,arguments)}}function Bp(h){if(h!=null){try{return Ct.call(h)}catch{}try{return h+""}catch{}}return""}function Jn(h,b){return h===b||h!==h&&b!==b}var bi=Fs(function(){return arguments}())?Fs:function(h){return gn(h)&&be.call(h,"callee")&&!Hd.call(h,"callee")},Ei=Array.isArray;function Si(h){return h!=null&&Vs(h.length)&&!Ci(h)}function Vp(h){return gn(h)&&Si(h)}var Bs=Yd||Wp;function Ci(h){if(!Tt(h))return!1;var b=Qn(h);return b==p||b==v||b==u||b==y}function Vs(h){return typeof h=="number"&&h>-1&&h%1==0&&h<=s}function Tt(h){var b=typeof h;return h!=null&&(b=="object"||b=="function")}function gn(h){return h!=null&&typeof h=="object"}function zp(h){if(!gn(h)||Qn(h)!=x)return!1;var b=Ns(h);if(b===null)return!0;var C=be.call(b,"constructor")&&b.constructor;return typeof C=="function"&&C instanceof C&&Ct.call(C)==mi}var zs=re?ve(re):_p;function Hp(h){return Tp(h,Hs(h))}function Hs(h){return Si(h)?vp(h,!0):xp(h)}var Gp=Pp(function(h,b,C){Is(h,b,C)});function Yp(h){return function(){return h}}function Gs(h){return h}function Wp(){return!1}e.exports=Gp})(Dm,Dm.exports);var NN=Dm.exports;const DN=e=>{const t=g.exports.useRef(e),n=g.exports.useRef(),r=g.exports.useRef(!1),i=g.exports.useRef(!1),[,o]=g.exports.useState(0);r.current&&(i.current=!0),g.exports.useEffect(()=>(r.current||(n.current=t.current(),r.current=!0),o(s=>s+1),()=>{!i.current||n.current&&n.current()}),[])},MN=(e,t)=>{const[n,r]=g.exports.useState(e);return g.exports.useEffect(()=>{const i=setTimeout(()=>{r(e)},t);return()=>{clearTimeout(i)}},[e,t]),n};var ua=(e=>(e.GET_STATE="get-state",e.GET_STATE_RESPONSE="get-state-response",e.SET_STATE="set-state",e.ON_CHANGE="on-change",e))(ua||{});const LN={zoom:16,pitch:0,bearing:0,cooperativeGestures:!0},FN={"local-content":LN,"local-maps":{}},GC=kN(()=>ce.createContext({})),IN=()=>{const e=ce.useContext(GC());if(!e)throw new Error("useStateManagerContext must be used under StateManagerProvider");return e},jN=({children:e})=>{const t=GC(),n=ok(),r=ce.useRef(n),o=Ol().current.pathname.split("/"),s=o[o.length-1],a={options:FN[s]},l=ce.useRef(),[u,c]=g.exports.useState(!1),[f,d]=g.exports.useState(a),p=MN(f,500),v=AC(),m=y=>{r.current=y,d(y)},w=y=>{var E;y.name===ua.GET_STATE&&((E=l.current)==null||E.message(ua.GET_STATE_RESPONSE,r.current,y.eventId)),y.name===ua.SET_STATE&&m(y.data)};DN(()=>{const y=new hN(n.channelId,{targetOrigin:document.referrer,window:window.parent});l.current=y,y==null||y.onMessage(w),y==null||y.connect().then(E=>{d(S=>{const A=NN(S,E.data);return r.current=A,A}),c(!0)})});const _=y=>{var E;(E=l.current)==null||E.message(ua.ON_CHANGE,y)};g.exports.useEffect(()=>{v({search:()=>p})},[p]),g.exports.useEffect(()=>{f.options&&_({type:"options",data:f.options})},[f.options]);const x=g.exports.useMemo(()=>({sdkState:f,setSdkState:m,onChange:_}),[f,m,_]);return u?D(t.Provider,{value:x,children:e}):null};var s1={exports:{}},YC=function(t,n){return function(){for(var i=new Array(arguments.length),o=0;o<i.length;o++)i[o]=arguments[o];return t.apply(n,i)}},UN=YC,hi=Object.prototype.toString;function a1(e){return Array.isArray(e)}function Mm(e){return typeof e=="undefined"}function BN(e){return e!==null&&!Mm(e)&&e.constructor!==null&&!Mm(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function WC(e){return hi.call(e)==="[object ArrayBuffer]"}function VN(e){return hi.call(e)==="[object FormData]"}function zN(e){var t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&WC(e.buffer),t}function HN(e){return typeof e=="string"}function GN(e){return typeof e=="number"}function qC(e){return e!==null&&typeof e=="object"}function ec(e){if(hi.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function YN(e){return hi.call(e)==="[object Date]"}function WN(e){return hi.call(e)==="[object File]"}function qN(e){return hi.call(e)==="[object Blob]"}function XC(e){return hi.call(e)==="[object Function]"}function XN(e){return qC(e)&&XC(e.pipe)}function KN(e){return hi.call(e)==="[object URLSearchParams]"}function QN(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function ZN(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function l1(e,t){if(!(e===null||typeof e=="undefined"))if(typeof e!="object"&&(e=[e]),a1(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function Lm(){var e={};function t(i,o){ec(e[o])&&ec(i)?e[o]=Lm(e[o],i):ec(i)?e[o]=Lm({},i):a1(i)?e[o]=i.slice():e[o]=i}for(var n=0,r=arguments.length;n<r;n++)l1(arguments[n],t);return e}function JN(e,t,n){return l1(t,function(i,o){n&&typeof i=="function"?e[o]=UN(i,n):e[o]=i}),e}function eD(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}var Ht={isArray:a1,isArrayBuffer:WC,isBuffer:BN,isFormData:VN,isArrayBufferView:zN,isString:HN,isNumber:GN,isObject:qC,isPlainObject:ec,isUndefined:Mm,isDate:YN,isFile:WN,isBlob:qN,isFunction:XC,isStream:XN,isURLSearchParams:KN,isStandardBrowserEnv:ZN,forEach:l1,merge:Lm,extend:JN,trim:QN,stripBOM:eD},vo=Ht;function Ux(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var KC=function(t,n,r){if(!n)return t;var i;if(r)i=r(n);else if(vo.isURLSearchParams(n))i=n.toString();else{var o=[];vo.forEach(n,function(l,u){l===null||typeof l=="undefined"||(vo.isArray(l)?u=u+"[]":l=[l],vo.forEach(l,function(f){vo.isDate(f)?f=f.toISOString():vo.isObject(f)&&(f=JSON.stringify(f)),o.push(Ux(u)+"="+Ux(f))}))}),i=o.join("&")}if(i){var s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t},tD=Ht;function _d(){this.handlers=[]}_d.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};_d.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};_d.prototype.forEach=function(t){tD.forEach(this.handlers,function(r){r!==null&&t(r)})};var nD=_d,rD=Ht,iD=function(t,n){rD.forEach(t,function(i,o){o!==n&&o.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[o])})},QC=function(t,n,r,i,o){return t.config=n,r&&(t.code=r),t.request=i,t.response=o,t.isAxiosError=!0,t.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}},t},ZC={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},oD=QC,JC=function(t,n,r,i,o){var s=new Error(t);return oD(s,n,r,i,o)},sD=JC,aD=function(t,n,r){var i=r.config.validateStatus;!r.status||!i||i(r.status)?t(r):n(sD("Request failed with status code "+r.status,r.config,null,r.request,r))},wu=Ht,lD=wu.isStandardBrowserEnv()?function(){return{write:function(n,r,i,o,s,a){var l=[];l.push(n+"="+encodeURIComponent(r)),wu.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),wu.isString(o)&&l.push("path="+o),wu.isString(s)&&l.push("domain="+s),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),uD=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},cD=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},fD=uD,dD=cD,pD=function(t,n){return t&&!fD(n)?dD(t,n):n},Fh=Ht,hD=["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"],vD=function(t){var n={},r,i,o;return t&&Fh.forEach(t.split(`
|
|
327
|
-
`),function(a){if(o=a.indexOf(":"),r=Fh.trim(a.substr(0,o)).toLowerCase(),i=Fh.trim(a.substr(o+1)),r){if(n[r]&&hD.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([i]):n[r]=n[r]?n[r]+", "+i:i}}),n},Bx=Ht,mD=Bx.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function i(o){var s=o;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){var a=Bx.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function u1(e){this.message=e}u1.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};u1.prototype.__CANCEL__=!0;var xd=u1,bu=Ht,gD=aD,yD=lD,_D=KC,xD=pD,wD=vD,bD=mD,Ih=JC,ED=ZC,SD=xd,Vx=function(t){return new Promise(function(r,i){var o=t.data,s=t.headers,a=t.responseType,l;function u(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}bu.isFormData(o)&&delete s["Content-Type"];var c=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",d=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(f+":"+d)}var p=xD(t.baseURL,t.url);c.open(t.method.toUpperCase(),_D(p,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function v(){if(!!c){var w="getAllResponseHeaders"in c?wD(c.getAllResponseHeaders()):null,_=!a||a==="text"||a==="json"?c.responseText:c.response,x={data:_,status:c.status,statusText:c.statusText,headers:w,config:t,request:c};gD(function(E){r(E),u()},function(E){i(E),u()},x),c=null}}if("onloadend"in c?c.onloadend=v:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(v)},c.onabort=function(){!c||(i(Ih("Request aborted",t,"ECONNABORTED",c)),c=null)},c.onerror=function(){i(Ih("Network Error",t,null,c)),c=null},c.ontimeout=function(){var _=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",x=t.transitional||ED;t.timeoutErrorMessage&&(_=t.timeoutErrorMessage),i(Ih(_,t,x.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",c)),c=null},bu.isStandardBrowserEnv()){var m=(t.withCredentials||bD(p))&&t.xsrfCookieName?yD.read(t.xsrfCookieName):void 0;m&&(s[t.xsrfHeaderName]=m)}"setRequestHeader"in c&&bu.forEach(s,function(_,x){typeof o=="undefined"&&x.toLowerCase()==="content-type"?delete s[x]:c.setRequestHeader(x,_)}),bu.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),a&&a!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(l=function(w){!c||(i(!w||w&&w.type?new SD("canceled"):w),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l))),o||(o=null),c.send(o)})},dt=Ht,zx=iD,CD=QC,AD=ZC,$D={"Content-Type":"application/x-www-form-urlencoded"};function Hx(e,t){!dt.isUndefined(e)&&dt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function TD(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Vx),e}function PD(e,t,n){if(dt.isString(e))try{return(t||JSON.parse)(e),dt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var wd={transitional:AD,adapter:TD(),transformRequest:[function(t,n){return zx(n,"Accept"),zx(n,"Content-Type"),dt.isFormData(t)||dt.isArrayBuffer(t)||dt.isBuffer(t)||dt.isStream(t)||dt.isFile(t)||dt.isBlob(t)?t:dt.isArrayBufferView(t)?t.buffer:dt.isURLSearchParams(t)?(Hx(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):dt.isObject(t)||n&&n["Content-Type"]==="application/json"?(Hx(n,"application/json"),PD(t)):t}],transformResponse:[function(t){var n=this.transitional||wd.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,o=!r&&this.responseType==="json";if(o||i&&dt.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?CD(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};dt.forEach(["delete","get","head"],function(t){wd.headers[t]={}});dt.forEach(["post","put","patch"],function(t){wd.headers[t]=dt.merge($D)});var c1=wd,RD=Ht,OD=c1,kD=function(t,n,r){var i=this||OD;return RD.forEach(r,function(s){t=s.call(i,t,n)}),t},eA=function(t){return!!(t&&t.__CANCEL__)},Gx=Ht,jh=kD,ND=eA,DD=c1,MD=xd;function Uh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new MD("canceled")}var LD=function(t){Uh(t),t.headers=t.headers||{},t.data=jh.call(t,t.data,t.headers,t.transformRequest),t.headers=Gx.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Gx.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||DD.adapter;return n(t).then(function(i){return Uh(t),i.data=jh.call(t,i.data,i.headers,t.transformResponse),i},function(i){return ND(i)||(Uh(t),i&&i.response&&(i.response.data=jh.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},Wt=Ht,tA=function(t,n){n=n||{};var r={};function i(c,f){return Wt.isPlainObject(c)&&Wt.isPlainObject(f)?Wt.merge(c,f):Wt.isPlainObject(f)?Wt.merge({},f):Wt.isArray(f)?f.slice():f}function o(c){if(Wt.isUndefined(n[c])){if(!Wt.isUndefined(t[c]))return i(void 0,t[c])}else return i(t[c],n[c])}function s(c){if(!Wt.isUndefined(n[c]))return i(void 0,n[c])}function a(c){if(Wt.isUndefined(n[c])){if(!Wt.isUndefined(t[c]))return i(void 0,t[c])}else return i(void 0,n[c])}function l(c){if(c in n)return i(t[c],n[c]);if(c in t)return i(void 0,t[c])}var u={url:s,method:s,data:s,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:l};return Wt.forEach(Object.keys(t).concat(Object.keys(n)),function(f){var d=u[f]||o,p=d(f);Wt.isUndefined(p)&&d!==l||(r[f]=p)}),r},nA={version:"0.26.1"},FD=nA.version,f1={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){f1[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Yx={};f1.transitional=function(t,n,r){function i(o,s){return"[Axios v"+FD+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return function(o,s,a){if(t===!1)throw new Error(i(s," has been removed"+(n?" in "+n:"")));return n&&!Yx[s]&&(Yx[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,s,a):!0}};function ID(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],s=t[o];if(s){var a=e[o],l=a===void 0||s(a,o,e);if(l!==!0)throw new TypeError("option "+o+" must be "+l);continue}if(n!==!0)throw Error("Unknown option "+o)}}var jD={assertOptions:ID,validators:f1},rA=Ht,UD=KC,Wx=nD,qx=LD,bd=tA,iA=jD,mo=iA.validators;function Nl(e){this.defaults=e,this.interceptors={request:new Wx,response:new Wx}}Nl.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=bd(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&iA.assertOptions(r,{silentJSONParsing:mo.transitional(mo.boolean),forcedJSONParsing:mo.transitional(mo.boolean),clarifyTimeoutError:mo.transitional(mo.boolean)},!1);var i=[],o=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(o=o&&p.synchronous,i.unshift(p.fulfilled,p.rejected))});var s=[];this.interceptors.response.forEach(function(p){s.push(p.fulfilled,p.rejected)});var a;if(!o){var l=[qx,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(s),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var u=n;i.length;){var c=i.shift(),f=i.shift();try{u=c(u)}catch(d){f(d);break}}try{a=qx(u)}catch(d){return Promise.reject(d)}for(;s.length;)a=a.then(s.shift(),s.shift());return a};Nl.prototype.getUri=function(t){return t=bd(this.defaults,t),UD(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};rA.forEach(["delete","get","head","options"],function(t){Nl.prototype[t]=function(n,r){return this.request(bd(r||{},{method:t,url:n,data:(r||{}).data}))}});rA.forEach(["post","put","patch"],function(t){Nl.prototype[t]=function(n,r,i){return this.request(bd(i||{},{method:t,url:n,data:r}))}});var BD=Nl,VD=xd;function hs(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(i){t=i});var n=this;this.promise.then(function(r){if(!!n._listeners){var i,o=n._listeners.length;for(i=0;i<o;i++)n._listeners[i](r);n._listeners=null}}),this.promise.then=function(r){var i,o=new Promise(function(s){n.subscribe(s),i=s}).then(r);return o.cancel=function(){n.unsubscribe(i)},o},e(function(i){n.reason||(n.reason=new VD(i),t(n.reason))})}hs.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};hs.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};hs.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};hs.source=function(){var t,n=new hs(function(i){t=i});return{token:n,cancel:t}};var zD=hs,HD=function(t){return function(r){return t.apply(null,r)}},GD=Ht,YD=function(t){return GD.isObject(t)&&t.isAxiosError===!0},Xx=Ht,WD=YC,tc=BD,qD=tA,XD=c1;function oA(e){var t=new tc(e),n=WD(tc.prototype.request,t);return Xx.extend(n,tc.prototype,t),Xx.extend(n,t),n.create=function(i){return oA(qD(e,i))},n}var qn=oA(XD);qn.Axios=tc;qn.Cancel=xd;qn.CancelToken=zD;qn.isCancel=eA;qn.VERSION=nA.version;qn.all=function(t){return Promise.all(t)};qn.spread=HD;qn.isAxiosError=YD;s1.exports=qn;s1.exports.default=qn;var sA=s1.exports;const KD=(e,t)=>sA.create({baseURL:"https://api.locallogic.co/v3/",headers:{Accept:"application/json",Authorization:e},params:t});var Fm;(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"})(Fm||(Fm={}));const QD="/pois";function oo(e){this._maxSize=e,this.clear()}oo.prototype.clear=function(){this._size=0,this._values=Object.create(null)};oo.prototype.get=function(e){return this._values[e]};oo.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var ZD=/[^.^\]^[]+|(?=\[\]|\.\.)/g,aA=/^\d+$/,JD=/^\d/,eM=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,tM=/^\s*(['"]?)(.*?)(\1)\s*$/,d1=512,Kx=new oo(d1),Qx=new oo(d1),Zx=new oo(d1),Yi={Cache:oo,split:Im,normalizePath:Bh,setter:function(e){var t=Bh(e);return Qx.get(e)||Qx.set(e,function(r,i){for(var o=0,s=t.length,a=r;o<s-1;){var l=t[o];if(l==="__proto__"||l==="constructor"||l==="prototype")return r;a=a[t[o++]]}a[t[o]]=i})},getter:function(e,t){var n=Bh(e);return Zx.get(e)||Zx.set(e,function(i){for(var o=0,s=n.length;o<s;)if(i!=null||!t)i=i[n[o++]];else return;return i})},join:function(e){return e.reduce(function(t,n){return t+(p1(n)||aA.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){nM(Array.isArray(e)?e:Im(e),t,n)}};function Bh(e){return Kx.get(e)||Kx.set(e,Im(e).map(function(t){return t.replace(tM,"$2")}))}function Im(e){return e.match(ZD)||[""]}function nM(e,t,n){var r=e.length,i,o,s,a;for(o=0;o<r;o++)i=e[o],i&&(oM(i)&&(i='"'+i+'"'),a=p1(i),s=!a&&/^\d+$/.test(i),t.call(n,i,a,s,o,e))}function p1(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function rM(e){return e.match(JD)&&!e.match(aA)}function iM(e){return eM.test(e)}function oM(e){return!p1(e)&&(rM(e)||iM(e))}const sM=/[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,Ed=e=>e.match(sM)||[],Sd=e=>e[0].toUpperCase()+e.slice(1),h1=(e,t)=>Ed(e).join(t).toLowerCase(),lA=e=>Ed(e).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,""),aM=e=>Sd(lA(e)),lM=e=>h1(e,"_"),uM=e=>h1(e,"-"),cM=e=>Sd(h1(e," ")),fM=e=>Ed(e).map(Sd).join(" ");var Vh={words:Ed,upperFirst:Sd,camelCase:lA,pascalCase:aM,snakeCase:lM,kebabCase:uM,sentenceCase:cM,titleCase:fM},v1={exports:{}};v1.exports=function(e){return uA(dM(e),e)};v1.exports.array=uA;function uA(e,t){var n=e.length,r=new Array(n),i={},o=n,s=pM(t),a=hM(e);for(t.forEach(function(u){if(!a.has(u[0])||!a.has(u[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});o--;)i[o]||l(e[o],o,new Set);return r;function l(u,c,f){if(f.has(u)){var d;try{d=", node was:"+JSON.stringify(u)}catch{d=""}throw new Error("Cyclic dependency"+d)}if(!a.has(u))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(u));if(!i[c]){i[c]=!0;var p=s.get(u)||new Set;if(p=Array.from(p),c=p.length){f.add(u);do{var v=p[--c];l(v,a.get(v),f)}while(c);f.delete(u)}r[--n]=u}}}function dM(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var i=e[n];t.add(i[0]),t.add(i[1])}return Array.from(t)}function pM(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var i=e[n];t.has(i[0])||t.set(i[0],new Set),t.has(i[1])||t.set(i[1],new Set),t.get(i[0]).add(i[1])}return t}function hM(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}var vM=v1.exports;const mM=Object.prototype.toString,gM=Error.prototype.toString,yM=RegExp.prototype.toString,_M=typeof Symbol!="undefined"?Symbol.prototype.toString:()=>"",xM=/^Symbol\((.*)\)(.*)$/;function wM(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function Jx(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return wM(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return _M.call(e).replace(xM,"Symbol($1)");const r=mM.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+gM.call(e)+"]":r==="RegExp"?yM.call(e):null}function Wi(e,t){let n=Jx(e,t);return n!==null?n:JSON.stringify(e,function(r,i){let o=Jx(this[r],t);return o!==null?o:i},2)}function cA(e){return e==null?[]:[].concat(e)}let bM=/\$\{\s*(\w+)\s*\}/g;class Ft extends Error{static formatError(t,n){const r=n.label||n.path||"this";return r!==n.path&&(n=Object.assign({},n,{path:r})),typeof t=="string"?t.replace(bM,(i,o)=>Wi(n[o])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,i){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this.name="ValidationError",this.value=n,this.path=r,this.type=i,this.errors=[],this.inner=[],cA(t).forEach(o=>{Ft.isError(o)?(this.errors.push(...o.errors),this.inner=this.inner.concat(o.inner.length?o.inner:o)):this.errors.push(o)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,Ft)}}let rr={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:({path:e,type:t,value:n,originalValue:r})=>{const i=r!=null&&r!==n?` (cast from the value \`${Wi(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${Wi(n,!0)}\``+i:`${e} must match the configured type. The validated value was: \`${Wi(n,!0)}\``+i}},wn={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"},Ar={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"},jm={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Um={isValue:"${path} field must be ${value}"},Bm={noUnknown:"${path} field has unspecified keys: ${unknown}"},nc={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:rr,string:wn,number:Ar,date:jm,object:Bm,array:nc,boolean:Um});const Cd=e=>e&&e.__isYupSchema__;class Jc{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:i,otherwise:o}=n,s=typeof r=="function"?r:(...a)=>a.every(l=>l===r);return new Jc(t,(a,l)=>{var u;let c=s(...a)?i:o;return(u=c==null?void 0:c(l))!=null?u:l})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(o=>o.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),i=this.fn(r,t,n);if(i===void 0||i===t)return t;if(!Cd(i))throw new TypeError("conditions must return a schema object");return i.resolve(n)}}function EM(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}const Eu={context:"$",value:"."};class ur{constructor(t,n={}){if(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,typeof t!="string")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]===Eu.context,this.isValue=this.key[0]===Eu.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?Eu.context:this.isValue?Eu.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&Yi.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let i=this.isContext?r:this.isValue?t:n;return this.getter&&(i=this.getter(i||{})),this.map&&(i=this.map(i)),i}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}ur.prototype.__isYupRef=!0;const fn=e=>e==null,SM=["value","path","label","options","originalValue","spec","sync"];function go(e){function t(n,r,i){let{value:o,path:s="",label:a,options:l,originalValue:u,spec:c,sync:f}=n,d=EM(n,SM);const{name:p,test:v,params:m,message:w,skipAbsent:_}=e;let{parent:x,context:y,abortEarly:E=d.schema.spec.abortEarly}=l;function S(G){return ur.isRef(G)?G.getValue(o,x,y):G}function A(G={}){const le=Object.assign({value:o,originalValue:u,label:a,path:G.path||s,spec:c},m,G.params);for(const he of Object.keys(le))le[he]=S(le[he]);const Ee=new Ft(Ft.formatError(G.message||w,le),o,le.path,G.type||p);return Ee.params=le,Ee}const $=E?r:i;let T=Object.assign({path:s,parent:x,type:p,createError:A,resolve:S,options:l,originalValue:u},d);const O=G=>{Ft.isError(G)?$(G):G?i(null):$(A())},M=G=>{Ft.isError(G)?$(G):r(G)},Y=_&&fn(o);if(!f){try{Promise.resolve(Y?!0:v.call(T,o,T)).then(O,M)}catch(G){M(G)}return}let H;try{var X;if(H=Y?!0:v.call(T,o,T),typeof((X=H)==null?void 0:X.then)=="function")throw new Error(`Validation test of type: "${T.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`)}catch(G){M(G);return}O(H)}return t.OPTIONS=e,t}let CM=e=>e.substr(0,e.length-1).substr(1);function AM(e,t,n,r=n){let i,o,s;return t?(Yi.forEach(t,(a,l,u)=>{let c=l?CM(a):a;e=e.resolve({context:r,parent:i,value:n});let f=e.type==="tuple",d=u?parseInt(c,10):0;if(e.innerType||f){if(f&&!u)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${s}" must contain an index to the tuple element, e.g. "${s}[0]"`);if(n&&d>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${a}, in the path: ${t}. because there is no value at that index. `);i=n,n=n&&n[d],e=f?e.spec.types[d]:e.innerType}if(!u){if(!e.fields||!e.fields[c])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${s} which is a type: "${e.type}")`);i=n,n=n&&n[c],e=e.fields[c]}o=c,s=l?"["+a+"]":"."+a}),{schema:e,parent:i,parentPath:o}):{parent:i,parentPath:t,schema:e}}class ef{constructor(){this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}get size(){return this.list.size+this.refs.size}describe(){const t=[];for(const n of this.list)t.push(n);for(const[,n]of this.refs)t.push(n.describe());return t}toArray(){return Array.from(this.list).concat(Array.from(this.refs.values()))}resolveAll(t){return this.toArray().reduce((n,r)=>n.concat(ur.isRef(r)?t(r):r),[])}add(t){ur.isRef(t)?this.refs.set(t.key,t):this.list.add(t)}delete(t){ur.isRef(t)?this.refs.delete(t.key):this.list.delete(t)}clone(){const t=new ef;return t.list=new Set(this.list),t.refs=new Map(this.refs),t}merge(t,n){const r=this.clone();return t.list.forEach(i=>r.add(i)),t.refs.forEach(i=>r.add(i)),n.list.forEach(i=>r.delete(i)),n.refs.forEach(i=>r.delete(i)),r}}function Fo(e,t=new Map){if(Cd(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=Fo(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,i]of e.entries())n.set(r,Fo(i,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(Fo(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,i]of Object.entries(e))n[r]=Fo(i,t)}else throw Error(`Unable to clone ${e}`);return n}class en{constructor(t){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 ef,this._blacklist=new ef,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(rr.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},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=Fo(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const i=Object.assign({},n.spec,r.spec);return r.spec=i,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(o=>{t.tests.forEach(s=>{o.test(s.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((i,o)=>o.resolve(i,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,i;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(i=t.recursive)!=null?i:this.spec.recursive})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),i=n.assert==="ignore-optionality",o=r._cast(t,n);if(n.assert!==!1&&!r.isType(o)){if(i&&fn(o))return o;let s=Wi(t),a=Wi(o);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".
|
|
328
|
-
|
|
329
|
-
attempted value: ${s}
|
|
330
|
-
`+(a!==s?`result of cast: ${a}`:""))}return o}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((i,o)=>o.call(this,i,t,this),t);return r===void 0&&(r=this.getDefault()),r}_validate(t,n={},r,i){let{sync:o,path:s,from:a=[],originalValue:l=t,strict:u=this.spec.strict}=n,c=t;u||(c=this._cast(c,Object.assign({assert:!1},n)));let f={value:c,path:s,options:n,originalValue:l,schema:this,label:this.spec.label,spec:this.spec,sync:o,from:a},d=[];for(let p of Object.values(this.internalTests))p&&d.push(p);this.runTests({args:f,value:c,tests:d},r,p=>{if(p.length)return i(p,c);this.runTests({args:f,value:c,tests:this.tests},r,i)})}runTests(t,n,r){let i=!1,{tests:o,args:s,value:a}=t,l=d=>{i||(i=!0,n(d,a))},u=d=>{i||(i=!0,r(d,a))},c=o.length,f=[];if(!c)return u([]);for(let d=0;d<o.length;d++){const p=o[d];p(s,l,function(m){m&&(f=f.concat(m)),--c<=0&&u(f)})}}asNestedTest({key:t,index:n,parent:r,parentPath:i,originalParent:o,options:s}){const a=t!=null?t:n;if(a==null)throw TypeError("Must include `key` or `index` for nested validations");const l=typeof a=="number";let u=r[a];const c=Object.assign({},s,{strict:!0,parent:r,value:u,originalValue:o[a],key:void 0,[l?"index":"key"]:a,path:l||a.includes(".")?`${i||""}[${u?a:`"${a}"`}]`:(i?`${i}.`:"")+t});return(f,d,p)=>this.resolve(c)._validate(u,c,d,p)}validate(t,n){let r=this.resolve(Object.assign({},n,{value:t}));return new Promise((i,o)=>r._validate(t,n,(s,a)=>{Ft.isError(s)&&(s.value=a),o(s)},(s,a)=>{s.length?o(new Ft(s,a)):i(a)}))}validateSync(t,n){let r=this.resolve(Object.assign({},n,{value:t})),i;return r._validate(t,Object.assign({},n,{sync:!0}),(o,s)=>{throw Ft.isError(o)&&(o.value=s),o},(o,s)=>{if(o.length)throw new Ft(o,t);i=s}),i}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(Ft.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(Ft.isError(r))return!1;throw r}}_getDefault(){let t=this.spec.default;return t==null?t:typeof t=="function"?t.call(this):Fo(t)}getDefault(t){return this.resolve(t||{})._getDefault()}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=go({message:n,name:"nullable",test(i){return i===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=go({message:n,name:"optionality",test(i){return i===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=rr.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=rr.notNull){return this.nullability(!1,t)}required(t=rr.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=rr.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),i=go(n),o=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(s=>!(s.OPTIONS.name===n.name&&(o||s.OPTIONS.test===i.OPTIONS.test))),r.tests.push(i),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),i=cA(t).map(o=>new ur(o));return i.forEach(o=>{o.isSibling&&r.deps.push(o.key)}),r.conditions.push(typeof n=="function"?new Jc(i,n):Jc.fromOptions(i,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=go({message:t,name:"typeError",test(r){return!fn(r)&&!this.schema._typeCheck(r)?this.createError({params:{type:this.schema.type}}):!0}}),n}oneOf(t,n=rr.oneOf){let r=this.clone();return t.forEach(i=>{r._whitelist.add(i),r._blacklist.delete(i)}),r.internalTests.whiteList=go({message:n,name:"oneOf",test(i){if(i===void 0)return!0;let o=this.schema._whitelist,s=o.resolveAll(this.resolve);return s.includes(i)?!0:this.createError({params:{values:o.toArray().join(", "),resolved:s}})}}),r}notOneOf(t,n=rr.notOneOf){let r=this.clone();return t.forEach(i=>{r._blacklist.add(i),r._whitelist.delete(i)}),r.internalTests.blacklist=go({message:n,name:"notOneOf",test(i){let o=this.schema._blacklist,s=o.resolveAll(this.resolve);return s.includes(i)?this.createError({params:{values:o.toArray().join(", "),resolved:s}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:i,optional:o,nullable:s}=n.spec;return{meta:i,label:r,optional:o,nullable:s,type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(l=>({name:l.OPTIONS.name,params:l.OPTIONS.params})).filter((l,u,c)=>c.findIndex(f=>f.name===l.name)===u)}}}en.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])en.prototype[`${e}At`]=function(t,n,r={}){const{parent:i,parentPath:o,schema:s}=AM(this,t,n,r.context);return s[e](i&&i[o],Object.assign({},r,{parent:i,path:t}))};for(const e of["equals","is"])en.prototype[e]=en.prototype.oneOf;for(const e of["not","nope"])en.prototype[e]=en.prototype.notOneOf;function fA(){return new dA}class dA extends en{constructor(){super({type:"boolean",check(t){return t instanceof Boolean&&(t=t.valueOf()),typeof t=="boolean"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(r.spec.coerce&&!r.isType(t)){if(/^(true|1)$/i.test(String(t)))return!0;if(/^(false|0)$/i.test(String(t)))return!1}return t})})}isTrue(t=Um.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test(n){return fn(n)||n===!0}})}isFalse(t=Um.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test(n){return fn(n)||n===!1}})}default(t){return super.default(t)}defined(t){return super.defined(t)}optional(){return super.optional()}required(t){return super.required(t)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(t){return super.nonNullable(t)}strip(t){return super.strip(t)}}fA.prototype=dA.prototype;let $M=/^((([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,TM=/^((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,PM=/^(?:[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,RM=e=>fn(e)||e===e.trim(),OM={}.toString();function Ko(){return new pA}class pA extends en{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce||r.isType(t)||Array.isArray(t))return t;const i=t!=null&&t.toString?t.toString():t;return i===OM?t:i})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||rr.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=wn.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=wn.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=wn.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,i,o;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:i,name:o}=n:i=n),this.test({name:o||"matches",message:i||wn.matches,params:{regex:t},skipAbsent:!0,test:s=>s===""&&r||s.search(t)!==-1})}email(t=wn.email){return this.matches($M,{name:"email",message:t,excludeEmptyString:!0})}url(t=wn.url){return this.matches(TM,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=wn.uuid){return this.matches(PM,{name:"uuid",message:t,excludeEmptyString:!1})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=wn.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:RM})}lowercase(t=wn.lowercase){return this.transform(n=>fn(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>fn(n)||n===n.toLowerCase()})}uppercase(t=wn.uppercase){return this.transform(n=>fn(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>fn(n)||n===n.toUpperCase()})}}Ko.prototype=pA.prototype;let kM=e=>e!=+e;function pt(){return new hA}class hA extends en{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!kM(t)}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce)return t;let i=t;if(typeof i=="string"){if(i=i.replace(/\s/g,""),i==="")return NaN;i=+i}return r.isType(i)?i:parseFloat(i)})})}min(t,n=Ar.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r>=this.resolve(t)}})}max(t,n=Ar.max){return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r<=this.resolve(t)}})}lessThan(t,n=Ar.lessThan){return this.test({message:n,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(r){return r<this.resolve(t)}})}moreThan(t,n=Ar.moreThan){return this.test({message:n,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(r){return r>this.resolve(t)}})}positive(t=Ar.positive){return this.moreThan(0,t)}negative(t=Ar.negative){return this.lessThan(0,t)}integer(t=Ar.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>fn(t)?t:t|0)}round(t){var n;let r=["ceil","floor","round","trunc"];if(t=((n=t)==null?void 0:n.toLowerCase())||"round",t==="trunc")return this.truncate();if(r.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform(i=>fn(i)?i:Math[t](i))}}pt.prototype=hA.prototype;var NM=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;function DM(e){var t=[1,4,5,6,7,10,11],n=0,r,i;if(i=NM.exec(e)){for(var o=0,s;s=t[o];++o)i[s]=+i[s]||0;i[2]=(+i[2]||1)-1,i[3]=+i[3]||1,i[7]=i[7]?String(i[7]).substr(0,3):0,(i[8]===void 0||i[8]==="")&&(i[9]===void 0||i[9]==="")?r=+new Date(i[1],i[2],i[3],i[4],i[5],i[6],i[7]):(i[8]!=="Z"&&i[9]!==void 0&&(n=i[10]*60+i[11],i[9]==="+"&&(n=0-n)),r=Date.UTC(i[1],i[2],i[3],i[4],i[5]+n,i[6],i[7]))}else r=Date.parse?Date.parse(e):NaN;return r}let MM=new Date(""),LM=e=>Object.prototype.toString.call(e)==="[object Date]";class Ad extends en{constructor(){super({type:"date",check(t){return LM(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)?t:(t=DM(t),isNaN(t)?Ad.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(ur.isRef(t))r=t;else{let i=this.cast(t);if(!this._typeCheck(i))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=i}return r}min(t,n=jm.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(i){return i>=this.resolve(r)}})}max(t,n=jm.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(i){return i<=this.resolve(r)}})}}Ad.INVALID_DATE=MM;Ad.prototype;function FM(e,t=[]){let n=[],r=new Set,i=new Set(t.map(([s,a])=>`${s}-${a}`));function o(s,a){let l=Yi.split(s)[0];r.add(l),i.has(`${a}-${l}`)||n.push([a,l])}for(const s of Object.keys(e)){let a=e[s];r.add(s),ur.isRef(a)&&a.isSibling?o(a.path,s):Cd(a)&&"deps"in a&&a.deps.forEach(l=>o(l,s))}return vM.array(Array.from(r),n).reverse()}function ew(e,t){let n=1/0;return e.some((r,i)=>{var o;if((o=t.path)!=null&&o.includes(r))return n=i,!0}),n}function vA(e){return(t,n)=>ew(e,t)-ew(e,n)}const mA=(e,t,n)=>{if(typeof e!="string")return e;let r=e;try{r=JSON.parse(e)}catch{}return n.isType(r)?r:e};function rc(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=rc(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=rc(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(rc)}):"optional"in e?e.optional():e}const IM=(e,t)=>{const n=[...Yi.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),i=Yi.getter(Yi.join(n),!0)(e);return!!(i&&r in i)};let tw=e=>Object.prototype.toString.call(e)==="[object Object]";function jM(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const UM=vA([]);function so(e){return new gA(e)}class gA extends en{constructor(t){super({type:"object",check(n){return tw(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=UM,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,n={}){var r;let i=super._cast(t,n);if(i===void 0)return this.getDefault();if(!this._typeCheck(i))return i;let o=this.fields,s=(r=n.stripUnknown)!=null?r:this.spec.noUnknown,a=[].concat(this._nodes,Object.keys(i).filter(f=>!this._nodes.includes(f))),l={},u=Object.assign({},n,{parent:l,__validating:n.__validating||!1}),c=!1;for(const f of a){let d=o[f],p=f in i;if(d){let v,m=i[f];u.path=(n.path?`${n.path}.`:"")+f,d=d.resolve({value:m,context:n.context,parent:l});let w=d instanceof en?d.spec:void 0,_=w==null?void 0:w.strict;if(w!=null&&w.strip){c=c||f in i;continue}v=!n.__validating||!_?d.cast(i[f],u):i[f],v!==void 0&&(l[f]=v)}else p&&!s&&(l[f]=i[f]);(p!==f in l||l[f]!==i[f])&&(c=!0)}return c?l:i}_validate(t,n={},r,i){let{from:o=[],originalValue:s=t,recursive:a=this.spec.recursive}=n;n.from=[{schema:this,value:s},...o],n.__validating=!0,n.originalValue=s,super._validate(t,n,r,(l,u)=>{if(!a||!tw(u)){i(l,u);return}s=s||u;let c=[];for(let f of this._nodes){let d=this.fields[f];!d||ur.isRef(d)||c.push(d.asNestedTest({options:n,key:f,parent:u,parentPath:n.path,originalParent:s}))}this.runTests({tests:c,value:u},r,f=>{i(f.sort(this._sortErrors).concat(l),u)})})}clone(t){const n=super.clone(t);return n.fields=Object.assign({},this.fields),n._nodes=this._nodes,n._excludedEdges=this._excludedEdges,n._sortErrors=this._sortErrors,n}concat(t){let n=super.concat(t),r=n.fields;for(let[i,o]of Object.entries(this.fields)){const s=r[i];r[i]=s===void 0?o:s}return n.withMutation(i=>i.setFields(r,this._excludedEdges))}_getDefault(){if("default"in this.spec)return super._getDefault();if(!this._nodes.length)return;let t={};return this._nodes.forEach(n=>{const r=this.fields[n];t[n]="getDefault"in r?r.getDefault():void 0}),t}setFields(t,n){let r=this.clone();return r.fields=t,r._nodes=FM(t,n),r._sortErrors=vA(Object.keys(t)),n&&(r._excludedEdges=n),r}shape(t,n=[]){return this.clone().withMutation(r=>{let i=r._excludedEdges;return n.length&&(Array.isArray(n[0])||(n=[n]),i=[...r._excludedEdges,...n]),r.setFields(Object.assign(r.fields,t),i)})}partial(){const t={};for(const[n,r]of Object.entries(this.fields))t[n]="optional"in r&&r.optional instanceof Function?r.optional():r;return this.setFields(t)}deepPartial(){return rc(this)}pick(t){const n={};for(const r of t)this.fields[r]&&(n[r]=this.fields[r]);return this.setFields(n)}omit(t){const n=Object.assign({},this.fields);for(const r of t)delete n[r];return this.setFields(n)}from(t,n,r){let i=Yi.getter(t,!0);return this.transform(o=>{if(!o)return o;let s=o;return IM(o,t)&&(s=Object.assign({},o),r||delete s[t],s[n]=i(o)),s})}json(){return this.transform(mA)}noUnknown(t=!0,n=Bm.noUnknown){typeof t!="boolean"&&(n=t,t=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:n,test(i){if(i==null)return!0;const o=jM(this.schema,i);return!t||o.length===0||this.createError({params:{unknown:o.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=Bm.noUnknown){return this.noUnknown(!t,n)}transformKeys(t){return this.transform(n=>{if(!n)return n;const r={};for(const i of Object.keys(n))r[t(i)]=n[i];return r})}camelCase(){return this.transformKeys(Vh.camelCase)}snakeCase(){return this.transformKeys(Vh.snakeCase)}constantCase(){return this.transformKeys(t=>Vh.snakeCase(t).toUpperCase())}describe(t){let n=super.describe(t);n.fields={};for(const[i,o]of Object.entries(this.fields)){var r;let s=t;(r=s)!=null&&r.value&&(s=Object.assign({},s,{parent:s.value,value:s.value[i]})),n.fields[i]=o.describe(s)}return n}}so.prototype=gA.prototype;function Ca(e){return new yA(e)}class yA extends en{constructor(t){super({type:"array",check(n){return Array.isArray(n)}}),this.innerType=void 0,this.innerType=t}_cast(t,n){const r=super._cast(t,n);if(!this._typeCheck(r)||!this.innerType)return r;let i=!1;const o=r.map((s,a)=>{const l=this.innerType.cast(s,Object.assign({},n,{path:`${n.path||""}[${a}]`}));return l!==s&&(i=!0),l});return i?o:r}_validate(t,n={},r,i){var o;let s=this.innerType,a=(o=n.recursive)!=null?o:this.spec.recursive;n.originalValue!=null&&n.originalValue,super._validate(t,n,r,(l,u)=>{if(!a||!s||!this._typeCheck(u)){i(l,u);return}let c=new Array(u.length);for(let d=0;d<u.length;d++){var f;c[d]=s.asNestedTest({options:n,index:d,parent:u,parentPath:n.path,originalParent:(f=n.originalValue)!=null?f:t})}this.runTests({value:u,tests:c},r,d=>i(d.concat(l),u))})}clone(t){const n=super.clone(t);return n.innerType=this.innerType,n}json(){return this.transform(mA)}concat(t){let n=super.concat(t);return n.innerType=this.innerType,t.innerType&&(n.innerType=n.innerType?n.innerType.concat(t.innerType):t.innerType),n}of(t){let n=this.clone();if(!Cd(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+Wi(t));return n.innerType=t,n}length(t,n=nc.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n){return n=n||nc.min,this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n){return n=n||nc.max,this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}ensure(){return this.default(()=>[]).transform((t,n)=>this._typeCheck(t)?t:n==null?[]:[].concat(n))}compact(t){let n=t?(r,i,o)=>!t(r,i,o):r=>!!r;return this.transform(r=>r!=null?r.filter(n):r)}describe(t){let n=super.describe();if(this.innerType){var r;let i=t;(r=i)!=null&&r.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[0]})),n.innerType=this.innerType.describe(t)}return n}}Ca.prototype=yA.prototype;const BM=new RegExp(`(${Object.keys(Fm).filter(e=>Number.isNaN(Number(e))).join("|")})`),VM=so({lat:pt().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:pt().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:pt().max(30),radius:pt().max(25e3),include:Ca().of(Ko().matches(BM,"Must be a valid Score category.").required()).required()});var zM=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(f){s(f)}}function l(c){try{u(r.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})},HM=e=>t=>zM(void 0,void 0,void 0,function*(){const n=yield VM.validate(t),{lat:r,lng:i,limit:o,radius:s,include:a}=n;return(yield e.get(QD,{params:{lat:r,lng:i,limit:o,radius:s,include:a==null?void 0:a.join(",")}})).data.data}),Vm;(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"})(Vm||(Vm={}));const GM="/scores",YM=new RegExp(`(${Object.keys(Vm).filter(e=>Number.isNaN(Number(e))).join("|")})`),WM=so({lat:pt().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:pt().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geographyIds:Ca().of(Ko().required()),geographyLevels:Ca().of(Ko().matches(/10|20|30/,"Must be a valid Geography level.").required()),locationScoresRounding:fA(),include:Ca().of(Ko().matches(YM,"Must be a valid Score category.").required())});var qM=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(f){s(f)}}function l(c){try{u(r.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})},XM=e=>t=>qM(void 0,void 0,void 0,function*(){const n=yield WM.validate(t),{lat:r,lng:i,include:o,geographyIds:s,geographyLevels:a,locationScoresRounding:l=!0}=n;return(yield e.get(GM,{params:{lat:r,lng:i,include:o==null?void 0:o.join(","),geography_levels:a==null?void 0:a.join(","),geography_ids:s==null?void 0:s.join(","),location_scores_rounding:l?".5":"none"}})).data.data});const KM="/schools",QM=so({lat:pt().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:pt().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:pt().max(30,"Must use a limit between 1 and 30."),radius:pt().max(25e3,"Must use a radius between 1 and 25000.")});var ZM=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(f){s(f)}}function l(c){try{u(r.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})},JM=e=>t=>ZM(void 0,void 0,void 0,function*(){const n=yield QM.validate(t),{lat:r,lng:i,limit:o,radius:s}=n;return(yield e.get(KM,{params:{lat:r,lng:i,limit:o,radius:s}})).data.data});const eL="/profiles",tL=so({lat:pt().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:pt().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geogId:Ko()});var nL=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(f){s(f)}}function l(c){try{u(r.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})},rL=e=>t=>nL(void 0,void 0,void 0,function*(){const n=yield tL.validate(t),{lat:r,lng:i,geogId:o}=n;return(yield e.get(eL,{params:{lat:r,lng:i,geog_id:o}})).data.data});const iL="/geographies",oL=so({lat:pt().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:pt().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required()});var sL=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(f){s(f)}}function l(c){try{u(r.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})},aL=e=>t=>sL(void 0,void 0,void 0,function*(){const n=yield oL.validate(t),{lat:r,lng:i}=n;return(yield e.get(iL,{params:{lat:r,lng:i}})).data.data});const lL="/demographics",uL=so({lat:pt().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:pt().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required()});var cL=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(f){s(f)}}function l(c){try{u(r.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})},fL=e=>t=>cL(void 0,void 0,void 0,function*(){const n=yield uL.validate(t),{lat:r,lng:i}=n;return(yield e.get(lL,{params:{lat:r,lng:i}})).data.data.attributes});const m1="LocalLogicClient/";class dL extends Error{constructor({message:t}){super(t),this.name=m1+this.constructor.name}}class pL extends Error{constructor({message:t,response:n}){super(t),this.name=m1+this.constructor.name,this.statusCode=n==null?void 0:n.status,this.statusText=n==null?void 0:n.statusText,this.data=n==null?void 0:n.data}}class hL extends Error{constructor({message:t}){super(t),this.name=m1+this.constructor.name}}const nw=e=>{throw e instanceof Ft?new dL(e):sA.isAxiosError(e)?new pL(e):new hL(e)},Cs=(e,t,n)=>{const r=n.value;return n.value=function(...i){try{const o=r.apply(this,i);return o&&o instanceof Promise?o.catch(s=>{nw(s)}):o}catch(o){nw(o)}},n};var As=globalThis&&globalThis.__decorate||function(e,t,n,r){var i=arguments.length,o=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};class ao{constructor(t,n={locale:"en"}){this.requests=KD(t,n),this.options=n}getPois(t){return HM(this.requests)(t)}getScores(t){return XM(this.requests)(t)}getSchools(t){return JM(this.requests)(t)}getProfiles(t){return rL(this.requests)(t)}getGeographies(t){return aL(this.requests)(t)}getDemographics(t){return fL(this.requests)(t)}}As([Cs],ao.prototype,"getPois",null);As([Cs],ao.prototype,"getScores",null);As([Cs],ao.prototype,"getSchools",null);As([Cs],ao.prototype,"getProfiles",null);As([Cs],ao.prototype,"getGeographies",null);As([Cs],ao.prototype,"getDemographics",null);const vL=(e,t)=>new ao(e,t);var mL="production",_A=typeof process=="undefined"||process.env===void 0?mL:"production",er=function(e){return{isEnabled:function(t){return e.some(function(n){return!!t[n]})}}},dl={measureLayout:er(["layout","layoutId","drag"]),animation:er(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:er(["exit"]),drag:er(["drag","dragControls"]),focus:er(["whileFocus"]),hover:er(["whileHover","onHoverStart","onHoverEnd"]),tap:er(["whileTap","onTap","onTapStart","onTapCancel"]),pan:er(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:er(["whileInView","onViewportEnter","onViewportLeave"])};function gL(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?dl.projectionNodeConstructor=e[t]:dl[t].Component=e[t])}var yL=function(){},tf=function(){},xA=g.exports.createContext({strict:!1}),wA=Object.keys(dl),_L=wA.length;function xL(e,t,n){var r=[],i=g.exports.useContext(xA);if(!t)return null;_A!=="production"&&n&&i.strict;for(var o=0;o<_L;o++){var s=wA[o],a=dl[s],l=a.isEnabled,u=a.Component;l(e)&&u&&r.push(g.exports.createElement(u,j({key:s},e,{visualElement:t})))}return r}var g1=g.exports.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),$d=g.exports.createContext({});function wL(){return g.exports.useContext($d).visualElement}var Td=g.exports.createContext(null),$s=typeof document!="undefined",rw=$s?g.exports.useLayoutEffect:g.exports.useEffect,zm={current:null},bA=!1;function bL(){if(bA=!0,!!$s)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return zm.current=e.matches};e.addListener(t),t()}else zm.current=!1}function EL(){!bA&&bL();var e=st(g.exports.useState(zm.current),1),t=e[0];return t}function SL(){var e=EL(),t=g.exports.useContext(g1).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function CL(e,t,n,r){var i=g.exports.useContext(xA),o=wL(),s=g.exports.useContext(Td),a=SL(),l=g.exports.useRef(void 0);r||(r=i.renderer),!l.current&&r&&(l.current=r(e,{visualState:t,parent:o,props:n,presenceId:s==null?void 0:s.id,blockInitialAnimation:(s==null?void 0:s.initial)===!1,shouldReduceMotion:a}));var u=l.current;return rw(function(){u==null||u.syncRender()}),g.exports.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),rw(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function Io(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function AL(e,t,n){return g.exports.useCallback(function(r){var i;r&&((i=e.mount)===null||i===void 0||i.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Io(n)&&(n.current=r))},[t])}function EA(e){return Array.isArray(e)}function Sn(e){return typeof e=="string"||EA(e)}function $L(e){var t={};return e.forEachValue(function(n,r){return t[r]=n.get()}),t}function TL(e){var t={};return e.forEachValue(function(n,r){return t[r]=n.getVelocity()}),t}function SA(e,t,n,r,i){var o;return r===void 0&&(r={}),i===void 0&&(i={}),typeof t=="function"&&(t=t(n!=null?n:e.custom,r,i)),typeof t=="string"&&(t=(o=e.variants)===null||o===void 0?void 0:o[t]),typeof t=="function"&&(t=t(n!=null?n:e.custom,r,i)),t}function Pd(e,t,n){var r=e.getProps();return SA(r,t,n!=null?n:r.custom,$L(e),TL(e))}function Rd(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||Sn(e.initial)||Sn(e.animate)||Sn(e.whileHover)||Sn(e.whileDrag)||Sn(e.whileTap)||Sn(e.whileFocus)||Sn(e.exit)}function CA(e){return Boolean(Rd(e)||e.variants)}function PL(e,t){if(Rd(e)){var n=e.initial,r=e.animate;return{initial:n===!1||Sn(n)?n:void 0,animate:Sn(r)?r:void 0}}return e.inherit!==!1?t:{}}function RL(e){var t=PL(e,g.exports.useContext($d)),n=t.initial,r=t.animate;return g.exports.useMemo(function(){return{initial:n,animate:r}},[iw(n),iw(r)])}function iw(e){return Array.isArray(e)?e.join(" "):e}function Od(e){var t=g.exports.useRef(null);return t.current===null&&(t.current=e()),t.current}var Aa={hasAnimatedSinceResize:!0,hasEverUpdated:!1},OL=1;function kL(){return Od(function(){if(Aa.hasEverUpdated)return OL++})}var AA=g.exports.createContext({}),$A=g.exports.createContext({});function NL(e,t,n,r){var i,o=t.layoutId,s=t.layout,a=t.drag,l=t.dragConstraints,u=t.layoutScroll,c=g.exports.useContext($A);!r||!n||(n==null?void 0:n.projection)||(n.projection=new r(e,n.getLatestValues(),(i=n.parent)===null||i===void 0?void 0:i.projection),n.projection.setOptions({layoutId:o,layout:s,alwaysMeasureLayout:Boolean(a)||l&&Io(l),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:typeof s=="string"?s:"both",initialPromotionConfig:c,layoutScroll:u}))}var DL=function(e){tC(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var n=this.props,r=n.visualElement,i=n.props;r&&r.setProps(i)},t.prototype.render=function(){return this.props.children},t}(ce.Component);function ML(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.projectionNodeConstructor,i=e.useRender,o=e.useVisualState,s=e.Component;t&&gL(t);function a(l,u){var c=LL(l);l=j(j({},l),{layoutId:c});var f=g.exports.useContext(g1),d=null,p=RL(l),v=f.isStatic?void 0:kL(),m=o(l,f.isStatic);return!f.isStatic&&$s&&(p.visualElement=CL(s,m,j(j({},f),l),n),NL(v,l,p.visualElement,r||dl.projectionNodeConstructor),d=xL(l,p.visualElement,t)),g.exports.createElement(DL,{visualElement:p.visualElement,props:j(j({},f),l)},d,g.exports.createElement($d.Provider,{value:p},i(s,l,v,AL(m,p.visualElement,u),m,f.isStatic,p.visualElement)))}return g.exports.forwardRef(a)}function LL(e){var t,n=e.layoutId,r=(t=g.exports.useContext(AA))===null||t===void 0?void 0:t.id;return r&&n!==void 0?r+"-"+n:n}function FL(e){function t(r,i){return i===void 0&&(i={}),ML(e(r,i))}if(typeof Proxy=="undefined")return t;var n=new Map;return new Proxy(t,{get:function(r,i){return n.has(i)||n.set(i,t(i)),n.get(i)}})}var IL=["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 y1(e){return typeof e!="string"||e.includes("-")?!1:!!(IL.indexOf(e)>-1||/[A-Z]/.test(e))}var nf={};function jL(e){Object.assign(nf,e)}var Hm=["","X","Y","Z"],UL=["translate","scale","rotate","skew"],pl=["transformPerspective","x","y","z"];UL.forEach(function(e){return Hm.forEach(function(t){return pl.push(e+t)})});function BL(e,t){return pl.indexOf(e)-pl.indexOf(t)}var VL=new Set(pl);function Dl(e){return VL.has(e)}var zL=new Set(["originX","originY","originZ"]);function TA(e){return zL.has(e)}function PA(e,t){var n=t.layout,r=t.layoutId;return Dl(e)||TA(e)||(n||r!==void 0)&&(!!nf[e]||e==="opacity")}var mr=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},HL={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function GL(e,t,n,r){var i=e.transform,o=e.transformKeys,s=t.enableHardwareAcceleration,a=s===void 0?!0:s,l=t.allowTransformNone,u=l===void 0?!0:l,c="";o.sort(BL);for(var f=!1,d=o.length,p=0;p<d;p++){var v=o[p];c+="".concat(HL[v]||v,"(").concat(i[v],") "),v==="z"&&(f=!0)}return!f&&a?c+="translateZ(0)":c=c.trim(),r?c=r(i,n?"":c):u&&n&&(c="none"),c}function YL(e){var t=e.originX,n=t===void 0?"50%":t,r=e.originY,i=r===void 0?"50%":r,o=e.originZ,s=o===void 0?0:o;return"".concat(n," ").concat(i," ").concat(s)}function RA(e){return e.startsWith("--")}var WL=function(e,t){return t&&typeof e=="number"?t.transform(e):e};const OA=(e,t)=>n=>Math.max(Math.min(n,t),e),$a=e=>e%1?Number(e.toFixed(5)):e,hl=/(-)?([\d]*\.?[\d])+/g,Gm=/(#[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,qL=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Ml(e){return typeof e=="string"}const lo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ta=Object.assign(Object.assign({},lo),{transform:OA(0,1)}),Su=Object.assign(Object.assign({},lo),{default:1}),Ll=e=>({test:t=>Ml(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),$r=Ll("deg"),zn=Ll("%"),ae=Ll("px"),XL=Ll("vh"),KL=Ll("vw"),ow=Object.assign(Object.assign({},zn),{parse:e=>zn.parse(e)/100,transform:e=>zn.transform(e*100)}),_1=(e,t)=>n=>Boolean(Ml(n)&&qL.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),kA=(e,t,n)=>r=>{if(!Ml(r))return r;const[i,o,s,a]=r.match(hl);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},Bi={test:_1("hsl","hue"),parse:kA("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+zn.transform($a(t))+", "+zn.transform($a(n))+", "+$a(Ta.transform(r))+")"},QL=OA(0,255),zh=Object.assign(Object.assign({},lo),{transform:e=>Math.round(QL(e))}),Br={test:_1("rgb","red"),parse:kA("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+zh.transform(e)+", "+zh.transform(t)+", "+zh.transform(n)+", "+$a(Ta.transform(r))+")"};function ZL(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Ym={test:_1("#"),parse:ZL,transform:Br.transform},Pt={test:e=>Br.test(e)||Ym.test(e)||Bi.test(e),parse:e=>Br.test(e)?Br.parse(e):Bi.test(e)?Bi.parse(e):Ym.parse(e),transform:e=>Ml(e)?e:e.hasOwnProperty("red")?Br.transform(e):Bi.transform(e)},NA="${c}",DA="${n}";function JL(e){var t,n,r,i;return isNaN(e)&&Ml(e)&&((n=(t=e.match(hl))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((i=(r=e.match(Gm))===null||r===void 0?void 0:r.length)!==null&&i!==void 0?i:0)>0}function MA(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(Gm);r&&(n=r.length,e=e.replace(Gm,NA),t.push(...r.map(Pt.parse)));const i=e.match(hl);return i&&(e=e.replace(hl,DA),t.push(...i.map(lo.parse))),{values:t,numColors:n,tokenised:e}}function LA(e){return MA(e).values}function FA(e){const{values:t,numColors:n,tokenised:r}=MA(e),i=t.length;return o=>{let s=r;for(let a=0;a<i;a++)s=s.replace(a<n?NA:DA,a<n?Pt.transform(o[a]):$a(o[a]));return s}}const eF=e=>typeof e=="number"?0:e;function tF(e){const t=LA(e);return FA(e)(t.map(eF))}const gr={test:JL,parse:LA,createTransformer:FA,getAnimatableNone:tF},nF=new Set(["brightness","contrast","saturate","opacity"]);function rF(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(hl)||[];if(!r)return e;const i=n.replace(r,"");let o=nF.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const iF=/([a-z-]*)\(.*?\)/g,Wm=Object.assign(Object.assign({},gr),{getAnimatableNone:e=>{const t=e.match(iF);return t?t.map(rF).join(" "):e}});var sw=j(j({},lo),{transform:Math.round}),IA={borderWidth:ae,borderTopWidth:ae,borderRightWidth:ae,borderBottomWidth:ae,borderLeftWidth:ae,borderRadius:ae,radius:ae,borderTopLeftRadius:ae,borderTopRightRadius:ae,borderBottomRightRadius:ae,borderBottomLeftRadius:ae,width:ae,maxWidth:ae,height:ae,maxHeight:ae,size:ae,top:ae,right:ae,bottom:ae,left:ae,padding:ae,paddingTop:ae,paddingRight:ae,paddingBottom:ae,paddingLeft:ae,margin:ae,marginTop:ae,marginRight:ae,marginBottom:ae,marginLeft:ae,rotate:$r,rotateX:$r,rotateY:$r,rotateZ:$r,scale:Su,scaleX:Su,scaleY:Su,scaleZ:Su,skew:$r,skewX:$r,skewY:$r,distance:ae,translateX:ae,translateY:ae,translateZ:ae,x:ae,y:ae,z:ae,perspective:ae,transformPerspective:ae,opacity:Ta,originX:ow,originY:ow,originZ:ae,zIndex:sw,fillOpacity:Ta,strokeOpacity:Ta,numOctaves:sw};function x1(e,t,n,r){var i,o=e.style,s=e.vars,a=e.transform,l=e.transformKeys,u=e.transformOrigin;l.length=0;var c=!1,f=!1,d=!0;for(var p in t){var v=t[p];if(RA(p)){s[p]=v;continue}var m=IA[p],w=WL(v,m);if(Dl(p)){if(c=!0,a[p]=w,l.push(p),!d)continue;v!==((i=m.default)!==null&&i!==void 0?i:0)&&(d=!1)}else TA(p)?(u[p]=w,f=!0):o[p]=w}c?o.transform=GL(e,n,d,r):r?o.transform=r({},""):!t.transform&&o.transform&&(o.transform="none"),f&&(o.transformOrigin=YL(u))}var w1=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function jA(e,t,n){for(var r in t)!mr(t[r])&&!PA(r,n)&&(e[r]=t[r])}function oF(e,t,n){var r=e.transformTemplate;return g.exports.useMemo(function(){var i=w1();x1(i,t,{enableHardwareAcceleration:!n},r);var o=i.vars,s=i.style;return j(j({},o),s)},[t])}function sF(e,t,n){var r=e.style||{},i={};return jA(i,r,e),Object.assign(i,oF(e,t,n)),e.transformValues&&(i=e.transformValues(i)),i}function aF(e,t,n){var r={},i=sF(e,t,n);return Boolean(e.drag)&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":"pan-".concat(e.drag==="x"?"y":"x")),r.style=i,r}var lF=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 rf(e){return lF.has(e)}var UA=function(e){return!rf(e)};function uF(e){!e||(UA=function(t){return t.startsWith("on")?!rf(t):e(t)})}try{uF(require("@emotion/is-prop-valid").default)}catch{}function cF(e,t,n){var r={};for(var i in e)(UA(i)||n===!0&&rf(i)||!t&&!rf(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function aw(e,t,n){return typeof e=="string"?e:ae.transform(t+n*e)}function fF(e,t,n){var r=aw(t,e.x,e.width),i=aw(n,e.y,e.height);return"".concat(r," ").concat(i)}var dF={offset:"stroke-dashoffset",array:"stroke-dasharray"},pF={offset:"strokeDashoffset",array:"strokeDasharray"};function hF(e,t,n,r,i){n===void 0&&(n=1),r===void 0&&(r=0),i===void 0&&(i=!0),e.pathLength=1;var o=i?dF:pF;e[o.offset]=ae.transform(-r);var s=ae.transform(t),a=ae.transform(n);e[o.array]="".concat(s," ").concat(a)}function b1(e,t,n,r){var i=t.attrX,o=t.attrY,s=t.originX,a=t.originY,l=t.pathLength,u=t.pathSpacing,c=u===void 0?1:u,f=t.pathOffset,d=f===void 0?0:f,p=zt(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);x1(e,p,n,r),e.attrs=e.style,e.style={};var v=e.attrs,m=e.style,w=e.dimensions;v.transform&&(w&&(m.transform=v.transform),delete v.transform),w&&(s!==void 0||a!==void 0||m.transform)&&(m.transformOrigin=fF(w,s!==void 0?s:.5,a!==void 0?a:.5)),i!==void 0&&(v.x=i),o!==void 0&&(v.y=o),l!==void 0&&hF(v,l,c,d,!1)}var BA=function(){return j(j({},w1()),{attrs:{}})};function vF(e,t){var n=g.exports.useMemo(function(){var i=BA();return b1(i,t,{enableHardwareAcceleration:!1},e.transformTemplate),j(j({},i.attrs),{style:j({},i.style)})},[t]);if(e.style){var r={};jA(r,e.style,e),n.style=j(j({},r),n.style)}return n}function mF(e){e===void 0&&(e=!1);var t=function(n,r,i,o,s,a){var l=s.latestValues,u=y1(n)?vF:aF,c=u(r,l,a),f=cF(r,typeof n=="string",e),d=j(j(j({},f),c),{ref:o});return i&&(d["data-projection-id"]=i),g.exports.createElement(n,d)};return t}var gF=/([a-z])([A-Z])/g,yF="$1-$2",VA=function(e){return e.replace(gF,yF).toLowerCase()};function zA(e,t,n,r){var i=t.style,o=t.vars;Object.assign(e.style,i,r&&r.getProjectionStyles(n));for(var s in o)e.style.setProperty(s,o[s])}var HA=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function GA(e,t,n,r){zA(e,t,void 0,r);for(var i in t.attrs)e.setAttribute(HA.has(i)?i:VA(i),t.attrs[i])}function E1(e){var t=e.style,n={};for(var r in t)(mr(t[r])||PA(r,e))&&(n[r]=t[r]);return n}function YA(e){var t=E1(e);for(var n in e)if(mr(e[n])){var r=n==="x"||n==="y"?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function S1(e){return typeof e=="object"&&typeof e.start=="function"}var vl=function(e){return Array.isArray(e)},_F=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},WA=function(e){return vl(e)?e[e.length-1]||0:e};function ic(e){var t=mr(e)?e.get():e;return _F(t)?t.toValue():t}function lw(e,t,n,r){var i=e.scrapeMotionValuesFromProps,o=e.createRenderState,s=e.onMount,a={latestValues:xF(t,n,r,i),renderState:o()};return s&&(a.mount=function(l){return s(t,l,a)}),a}var qA=function(e){return function(t,n){var r=g.exports.useContext($d),i=g.exports.useContext(Td);return n?lw(e,t,r,i):Od(function(){return lw(e,t,r,i)})}};function xF(e,t,n,r){var i={},o=(n==null?void 0:n.initial)===!1,s=r(e);for(var a in s)i[a]=ic(s[a]);var l=e.initial,u=e.animate,c=Rd(e),f=CA(e);t&&f&&!c&&e.inherit!==!1&&(l!=null||(l=t.initial),u!=null||(u=t.animate));var d=o||l===!1,p=d?u:l;if(p&&typeof p!="boolean"&&!S1(p)){var v=Array.isArray(p)?p:[p];v.forEach(function(m){var w=SA(e,m);if(!!w){var _=w.transitionEnd;w.transition;var x=zt(w,["transitionEnd","transition"]);for(var y in x){var E=x[y];if(Array.isArray(E)){var S=d?E.length-1:0;E=E[S]}E!==null&&(i[y]=E)}for(var y in _)i[y]=_[y]}})}return i}var wF={useVisualState:qA({scrapeMotionValuesFromProps:YA,createRenderState:BA,onMount:function(e,t,n){var r=n.renderState,i=n.latestValues;try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}b1(r,i,{enableHardwareAcceleration:!1},e.transformTemplate),GA(t,r)}})},bF={useVisualState:qA({scrapeMotionValuesFromProps:E1,createRenderState:w1})};function EF(e,t,n,r,i){var o=t.forwardMotionProps,s=o===void 0?!1:o,a=y1(e)?wF:bF;return j(j({},a),{preloadedFeatures:n,useRender:mF(s),createVisualElement:r,projectionNodeConstructor:i,Component:e})}var De;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(De||(De={}));function kd(e,t,n,r){return r===void 0&&(r={passive:!0}),e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}function qm(e,t,n,r){g.exports.useEffect(function(){var i=e.current;if(n&&i)return kd(i,t,n,r)},[e,t,n,r])}function SF(e){var t=e.whileFocus,n=e.visualElement,r=function(){var o;(o=n.animationState)===null||o===void 0||o.setActive(De.Focus,!0)},i=function(){var o;(o=n.animationState)===null||o===void 0||o.setActive(De.Focus,!1)};qm(n,"focus",t?r:void 0),qm(n,"blur",t?i:void 0)}function XA(e){return typeof PointerEvent!="undefined"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function KA(e){var t=!!e.touches;return t}function CF(e){return function(t){var n=t instanceof MouseEvent,r=!n||n&&t.button===0;r&&e(t)}}var AF={pageX:0,pageY:0};function $F(e,t){t===void 0&&(t="page");var n=e.touches[0]||e.changedTouches[0],r=n||AF;return{x:r[t+"X"],y:r[t+"Y"]}}function TF(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function C1(e,t){return t===void 0&&(t="page"),{point:KA(e)?$F(e,t):TF(e,t)}}var QA=function(e,t){t===void 0&&(t=!1);var n=function(r){return e(r,C1(r))};return t?CF(n):n},PF=function(){return $s&&window.onpointerdown===null},RF=function(){return $s&&window.ontouchstart===null},OF=function(){return $s&&window.onmousedown===null},kF={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},NF={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function ZA(e){return PF()?e:RF()?NF[e]:OF()?kF[e]:e}function Qo(e,t,n,r){return kd(e,ZA(t),QA(n,t==="pointerdown"),r)}function of(e,t,n,r){return qm(e,ZA(t),n&&QA(n,t==="pointerdown"),r)}function JA(e){var t=null;return function(){var n=function(){t=null};return t===null?(t=e,n):!1}}var uw=JA("dragHorizontal"),cw=JA("dragVertical");function e5(e){var t=!1;if(e==="y")t=cw();else if(e==="x")t=uw();else{var n=uw(),r=cw();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function t5(){var e=e5(!0);return e?(e(),!1):!0}function fw(e,t,n){return function(r,i){var o;!XA(r)||t5()||((o=e.animationState)===null||o===void 0||o.setActive(De.Hover,t),n==null||n(r,i))}}function DF(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,i=e.visualElement;of(i,"pointerenter",t||r?fw(i,!0,t):void 0,{passive:!t}),of(i,"pointerleave",n||r?fw(i,!1,n):void 0,{passive:!n})}var n5=function(e,t){return t?e===t?!0:n5(e,t.parentElement):!1};function r5(e){return g.exports.useEffect(function(){return function(){return e()}},[])}const sf=(e,t,n)=>Math.min(Math.max(n,e),t),Hh=.001,MF=.01,dw=10,LF=.05,FF=1;function IF({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;yL(e<=dw*1e3);let s=1-t;s=sf(LF,FF,s),e=sf(MF,dw,e/1e3),s<1?(i=u=>{const c=u*s,f=c*e,d=c-n,p=Xm(u,s),v=Math.exp(-f);return Hh-d/p*v},o=u=>{const f=u*s*e,d=f*n+n,p=Math.pow(s,2)*Math.pow(u,2)*e,v=Math.exp(-f),m=Xm(Math.pow(u,2),s);return(-i(u)+Hh>0?-1:1)*((d-p)*v)/m}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-Hh+c*f},o=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const a=5/e,l=UF(i,o,a);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const jF=12;function UF(e,t,n){let r=n;for(let i=1;i<jF;i++)r=r-e(r)/t(r);return r}function Xm(e,t){return e*Math.sqrt(1-t*t)}const BF=["duration","bounce"],VF=["stiffness","damping","mass"];function pw(e,t){return t.some(n=>e[n]!==void 0)}function zF(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!pw(e,VF)&&pw(e,BF)){const n=IF(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function A1(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,o=zt(e,["from","to","restSpeed","restDelta"]);const s={done:!1,value:t};let{stiffness:a,damping:l,mass:u,velocity:c,duration:f,isResolvedFromDuration:d}=zF(o),p=hw,v=hw;function m(){const w=c?-(c/1e3):0,_=n-t,x=l/(2*Math.sqrt(a*u)),y=Math.sqrt(a/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),x<1){const E=Xm(y,x);p=S=>{const A=Math.exp(-x*y*S);return n-A*((w+x*y*_)/E*Math.sin(E*S)+_*Math.cos(E*S))},v=S=>{const A=Math.exp(-x*y*S);return x*y*A*(Math.sin(E*S)*(w+x*y*_)/E+_*Math.cos(E*S))-A*(Math.cos(E*S)*(w+x*y*_)-E*_*Math.sin(E*S))}}else if(x===1)p=E=>n-Math.exp(-y*E)*(_+(w+y*_)*E);else{const E=y*Math.sqrt(x*x-1);p=S=>{const A=Math.exp(-x*y*S),$=Math.min(E*S,300);return n-A*((w+x*y*_)*Math.sinh($)+E*_*Math.cosh($))/E}}}return m(),{next:w=>{const _=p(w);if(d)s.done=w>=f;else{const x=v(w)*1e3,y=Math.abs(x)<=r,E=Math.abs(n-_)<=i;s.done=y&&E}return s.value=s.done?n:_,s},flipTarget:()=>{c=-c,[t,n]=[n,t],m()}}}A1.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const hw=e=>0,ml=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},qe=(e,t,n)=>-n*e+n*t+e;function Gh(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function vw({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Gh(l,a,e+1/3),o=Gh(l,a,e),s=Gh(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}const HF=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},GF=[Ym,Br,Bi],mw=e=>GF.find(t=>t.test(e)),i5=(e,t)=>{let n=mw(e),r=mw(t),i=n.parse(e),o=r.parse(t);n===Bi&&(i=vw(i),n=Br),r===Bi&&(o=vw(o),r=Br);const s=Object.assign({},i);return a=>{for(const l in s)l!=="alpha"&&(s[l]=HF(i[l],o[l],a));return s.alpha=qe(i.alpha,o.alpha,a),n.transform(s)}},Km=e=>typeof e=="number",YF=(e,t)=>n=>t(e(n)),Nd=(...e)=>e.reduce(YF);function o5(e,t){return Km(e)?n=>qe(e,t,n):Pt.test(e)?i5(e,t):a5(e,t)}const s5=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,s)=>o5(o,t[s]));return o=>{for(let s=0;s<r;s++)n[s]=i[s](o);return n}},WF=(e,t)=>{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=o5(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}};function gw(e){const t=gr.parse(e),n=t.length;let r=0,i=0,o=0;for(let s=0;s<n;s++)r||typeof t[s]=="number"?r++:t[s].hue!==void 0?o++:i++;return{parsed:t,numNumbers:r,numRGB:i,numHSL:o}}const a5=(e,t)=>{const n=gr.createTransformer(t),r=gw(e),i=gw(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?Nd(s5(r.parsed,i.parsed),n):s=>`${s>0?t:e}`},qF=(e,t)=>n=>qe(e,t,n);function XF(e){if(typeof e=="number")return qF;if(typeof e=="string")return Pt.test(e)?i5:a5;if(Array.isArray(e))return s5;if(typeof e=="object")return WF}function KF(e,t,n){const r=[],i=n||XF(e[0]),o=e.length-1;for(let s=0;s<o;s++){let a=i(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]:t;a=Nd(l,a)}r.push(a)}return r}function QF([e,t],[n]){return r=>n(ml(e,t,r))}function ZF(e,t){const n=e.length,r=n-1;return i=>{let o=0,s=!1;if(i<=e[0]?s=!0:i>=e[r]&&(o=r-1,s=!0),!s){let l=1;for(;l<n&&!(e[l]>i||l===r);l++);o=l-1}const a=ml(e[o],e[o+1],i);return t[o](a)}}function l5(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;tf(o===t.length),tf(!r||!Array.isArray(r)||r.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const s=KF(t,r,i),a=o===2?QF(e,s):ZF(e,s);return n?l=>a(sf(e[0],e[o-1],l)):a}const Dd=e=>t=>1-e(1-t),$1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,JF=e=>t=>Math.pow(t,e),u5=e=>t=>t*t*((e+1)*t-e),eI=e=>{const t=u5(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},c5=1.525,tI=4/11,nI=8/11,rI=9/10,T1=e=>e,P1=JF(2),iI=Dd(P1),f5=$1(P1),d5=e=>1-Math.sin(Math.acos(e)),R1=Dd(d5),oI=$1(R1),O1=u5(c5),sI=Dd(O1),aI=$1(O1),lI=eI(c5),uI=4356/361,cI=35442/1805,fI=16061/1805,af=e=>{if(e===1||e===0)return e;const t=e*e;return e<tI?7.5625*t:e<nI?9.075*t-9.9*e+3.4:e<rI?uI*t-cI*e+fI:10.8*e*e-20.52*e+10.72},dI=Dd(af),pI=e=>e<.5?.5*(1-af(1-e*2)):.5*af(e*2-1)+.5;function hI(e,t){return e.map(()=>t||f5).splice(0,e.length-1)}function vI(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function mI(e,t){return e.map(n=>n*t)}function oc({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const o={done:!1,value:e},s=Array.isArray(t)?t:[e,t],a=mI(r&&r.length===s.length?r:vI(s),i);function l(){return l5(a,s,{ease:Array.isArray(n)?n:hI(s,n)})}let u=l();return{next:c=>(o.value=u(c),o.done=c>=i,o),flipTarget:()=>{s.reverse(),u=l()}}}function gI({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){const s={done:!1,value:t};let a=n*e;const l=t+a,u=o===void 0?l:o(l);return u!==l&&(a=u-t),{next:c=>{const f=-a*Math.exp(-c/r);return s.done=!(f>i||f<-i),s.value=s.done?u:u+f,s},flipTarget:()=>{}}}const yw={keyframes:oc,spring:A1,decay:gI};function yI(e){if(Array.isArray(e.to))return oc;if(yw[e.type])return yw[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?oc:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?A1:oc}const p5=1/60*1e3,_I=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),h5=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(_I()),p5);function xI(e){let t=[],n=[],r=0,i=!1,o=!1;const s=new WeakSet,a={schedule:(l,u=!1,c=!1)=>{const f=c&&i,d=f?t:n;return u&&s.add(l),d.indexOf(l)===-1&&(d.push(l),f&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),s.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u<r;u++){const c=t[u];c(l),s.has(c)&&(a.schedule(c),e())}i=!1,o&&(o=!1,a.process(l))}};return a}const wI=40;let Qm=!0,gl=!1,Zm=!1;const Zo={delta:0,timestamp:0},Fl=["read","update","preRender","render","postRender"],Md=Fl.reduce((e,t)=>(e[t]=xI(()=>gl=!0),e),{}),Hn=Fl.reduce((e,t)=>{const n=Md[t];return e[t]=(r,i=!1,o=!1)=>(gl||EI(),n.schedule(r,i,o)),e},{}),vs=Fl.reduce((e,t)=>(e[t]=Md[t].cancel,e),{}),Yh=Fl.reduce((e,t)=>(e[t]=()=>Md[t].process(Zo),e),{}),bI=e=>Md[e].process(Zo),v5=e=>{gl=!1,Zo.delta=Qm?p5:Math.max(Math.min(e-Zo.timestamp,wI),1),Zo.timestamp=e,Zm=!0,Fl.forEach(bI),Zm=!1,gl&&(Qm=!1,h5(v5))},EI=()=>{gl=!0,Qm=!0,Zm||h5(v5)},lf=()=>Zo;function m5(e,t,n=0){return e-t-n}function SI(e,t,n=0,r=!0){return r?m5(t+-e,t,n):t-(e-t)+n}function CI(e,t,n,r){return r?e>=t+n:e<=-n}const AI=e=>{const t=({delta:n})=>e(n);return{start:()=>Hn.update(t,!0),stop:()=>vs.update(t)}};function g5(e){var t,n,{from:r,autoplay:i=!0,driver:o=AI,elapsed:s=0,repeat:a=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:f,onComplete:d,onRepeat:p,onUpdate:v}=e,m=zt(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:w}=m,_,x=0,y=m.duration,E,S=!1,A=!0,$;const T=yI(m);!((n=(t=T).needsInterpolation)===null||n===void 0)&&n.call(t,r,w)&&($=l5([0,100],[r,w],{clamp:!1}),r=0,w=100);const O=T(Object.assign(Object.assign({},m),{from:r,to:w}));function M(){x++,l==="reverse"?(A=x%2===0,s=SI(s,y,u,A)):(s=m5(s,y,u),l==="mirror"&&O.flipTarget()),S=!1,p&&p()}function Y(){_.stop(),d&&d()}function H(G){if(A||(G=-G),s+=G,!S){const le=O.next(Math.max(0,s));E=le.value,$&&(E=$(E)),S=A?le.done:s<=0}v==null||v(E),S&&(x===0&&(y!=null||(y=s)),x<a?CI(s,y,u,A)&&M():Y())}function X(){c==null||c(),_=o(H),_.start()}return i&&X(),{stop:()=>{f==null||f(),_.stop()}}}function y5(e,t){return t?e*(1e3/t):0}function $I({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:s=500,bounceDamping:a=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:f,onComplete:d,onStop:p}){let v;function m(y){return n!==void 0&&y<n||r!==void 0&&y>r}function w(y){return n===void 0?r:r===void 0||Math.abs(n-y)<Math.abs(r-y)?n:r}function _(y){v==null||v.stop(),v=g5(Object.assign(Object.assign({},y),{driver:c,onUpdate:E=>{var S;f==null||f(E),(S=y.onUpdate)===null||S===void 0||S.call(y,E)},onComplete:d,onStop:p}))}function x(y){_(Object.assign({type:"spring",stiffness:s,damping:a,restDelta:l},y))}if(m(e))x({from:e,velocity:t,to:w(e)});else{let y=i*t+e;typeof u!="undefined"&&(y=u(y));const E=w(y),S=E===n?-1:1;let A,$;const T=O=>{A=$,$=O,t=y5(O-A,lf().delta),(S===1&&O>E||S===-1&&O<E)&&x({from:O,to:E,velocity:t})};_({type:"decay",from:e,velocity:t,timeConstant:o,power:i,restDelta:l,modifyTarget:u,onUpdate:m(y)?T:void 0})}return{stop:()=>v==null?void 0:v.stop()}}const Jm=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),_w=e=>Jm(e)&&e.hasOwnProperty("z"),Cu=(e,t)=>Math.abs(e-t);function _5(e,t){if(Km(e)&&Km(t))return Cu(e,t);if(Jm(e)&&Jm(t)){const n=Cu(e.x,t.x),r=Cu(e.y,t.y),i=_w(e)&&_w(t)?Cu(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}const x5=(e,t)=>1-3*t+3*e,w5=(e,t)=>3*t-6*e,b5=e=>3*e,uf=(e,t,n)=>((x5(t,n)*e+w5(t,n))*e+b5(t))*e,E5=(e,t,n)=>3*x5(t,n)*e*e+2*w5(t,n)*e+b5(t),TI=1e-7,PI=10;function RI(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=uf(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>TI&&++a<PI);return s}const OI=8,kI=.001;function NI(e,t,n,r){for(let i=0;i<OI;++i){const o=E5(t,n,r);if(o===0)return t;t-=(uf(t,n,r)-e)/o}return t}const sc=11,Au=1/(sc-1);function DI(e,t,n,r){if(e===t&&n===r)return T1;const i=new Float32Array(sc);for(let s=0;s<sc;++s)i[s]=uf(s*Au,e,n);function o(s){let a=0,l=1;const u=sc-1;for(;l!==u&&i[l]<=s;++l)a+=Au;--l;const c=(s-i[l])/(i[l+1]-i[l]),f=a+c*Au,d=E5(f,e,n);return d>=kI?NI(s,f,e,n):d===0?f:RI(s,a,a+Au,e,n)}return s=>s===0||s===1?s:uf(o(s),t,r)}function MI(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,i=e.whileTap,o=e.visualElement,s=t||n||r||i,a=g.exports.useRef(!1),l=g.exports.useRef(null),u={passive:!(n||t||r||v)};function c(){var m;(m=l.current)===null||m===void 0||m.call(l),l.current=null}function f(){var m;return c(),a.current=!1,(m=o.animationState)===null||m===void 0||m.setActive(De.Tap,!1),!t5()}function d(m,w){!f()||(n5(o.getInstance(),m.target)?t==null||t(m,w):r==null||r(m,w))}function p(m,w){!f()||r==null||r(m,w)}function v(m,w){var _;c(),!a.current&&(a.current=!0,l.current=Nd(Qo(window,"pointerup",d,u),Qo(window,"pointercancel",p,u)),(_=o.animationState)===null||_===void 0||_.setActive(De.Tap,!0),n==null||n(m,w))}of(o,"pointerdown",s?v:void 0,u),r5(c)}var xw=new Set;function LI(e,t,n){e||xw.has(t)||(console.warn(t),n&&console.warn(n),xw.add(t))}var e0=new WeakMap,Wh=new WeakMap,FI=function(e){var t;(t=e0.get(e.target))===null||t===void 0||t(e)},II=function(e){e.forEach(FI)};function jI(e){var t=e.root,n=zt(e,["root"]),r=t||document;Wh.has(r)||Wh.set(r,{});var i=Wh.get(r),o=JSON.stringify(n);return i[o]||(i[o]=new IntersectionObserver(II,j({root:t},n))),i[o]}function UI(e,t,n){var r=jI(t);return e0.set(e,n),r.observe(e),function(){e0.delete(e),r.unobserve(e)}}function BI(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,i=e.onViewportLeave,o=e.viewport,s=o===void 0?{}:o,a=g.exports.useRef({hasEnteredView:!1,isInView:!1}),l=Boolean(n||r||i);s.once&&a.current.hasEnteredView&&(l=!1);var u=typeof IntersectionObserver=="undefined"?HI:zI;u(l,a.current,t,s)}var VI={some:0,all:1};function zI(e,t,n,r){var i=r.root,o=r.margin,s=r.amount,a=s===void 0?"some":s,l=r.once;g.exports.useEffect(function(){if(!!e){var u={root:i==null?void 0:i.current,rootMargin:o,threshold:typeof a=="number"?a:VI[a]},c=function(f){var d,p=f.isIntersecting;if(t.isInView!==p&&(t.isInView=p,!(l&&!p&&t.hasEnteredView))){p&&(t.hasEnteredView=!0),(d=n.animationState)===null||d===void 0||d.setActive(De.InView,p);var v=n.getProps(),m=p?v.onViewportEnter:v.onViewportLeave;m==null||m(f)}};return UI(n.getInstance(),u,c)}},[e,i,o,a])}function HI(e,t,n,r){var i=r.fallback,o=i===void 0?!0:i;g.exports.useEffect(function(){!e||!o||(_A!=="production"&&LI(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(function(){var s;t.hasEnteredView=!0;var a=n.getProps().onViewportEnter;a==null||a(null),(s=n.animationState)===null||s===void 0||s.setActive(De.InView,!0)}))},[e])}var Vr=function(e){return function(t){return e(t),null}},GI={inView:Vr(BI),tap:Vr(MI),focus:Vr(SF),hover:Vr(DF)},YI=0,WI=function(){return YI++},qI=function(){return Od(WI)};function S5(){var e=g.exports.useContext(Td);if(e===null)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,i=qI();g.exports.useEffect(function(){return r(i)},[]);var o=function(){return n==null?void 0:n(i)};return!t&&n?[!1,o]:[!0]}function C5(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 cf=function(e){return e*1e3},XI={linear:T1,easeIn:P1,easeInOut:f5,easeOut:iI,circIn:d5,circInOut:oI,circOut:R1,backIn:O1,backInOut:aI,backOut:sI,anticipate:lI,bounceIn:dI,bounceInOut:pI,bounceOut:af},ww=function(e){if(Array.isArray(e)){tf(e.length===4);var t=st(e,4),n=t[0],r=t[1],i=t[2],o=t[3];return DI(n,r,i,o)}else if(typeof e=="string")return XI[e];return e},KI=function(e){return Array.isArray(e)&&typeof e[0]!="number"},bw=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&gr.test(t)&&!t.startsWith("url("))},Pi=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},$u=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},qh=function(){return{type:"keyframes",ease:"linear",duration:.3}},QI=function(e){return{type:"keyframes",duration:.8,values:e}},Ew={x:Pi,y:Pi,z:Pi,rotate:Pi,rotateX:Pi,rotateY:Pi,rotateZ:Pi,scaleX:$u,scaleY:$u,scale:$u,opacity:qh,backgroundColor:qh,color:qh,default:$u},ZI=function(e,t){var n;return vl(t)?n=QI:n=Ew[e]||Ew.default,j({to:t},n(t))},JI=j(j({},IA),{color:Pt,backgroundColor:Pt,outlineColor:Pt,fill:Pt,stroke:Pt,borderColor:Pt,borderTopColor:Pt,borderRightColor:Pt,borderBottomColor:Pt,borderLeftColor:Pt,filter:Wm,WebkitFilter:Wm}),k1=function(e){return JI[e]};function N1(e,t){var n,r=k1(e);return r!==Wm&&(r=gr),(n=r.getAnimatableNone)===null||n===void 0?void 0:n.call(r,t)}var ej={current:!1};function tj(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=zt(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function nj(e){var t=e.ease,n=e.times,r=e.yoyo,i=e.flip,o=e.loop,s=zt(e,["ease","times","yoyo","flip","loop"]),a=j({},s);return n&&(a.offset=n),s.duration&&(a.duration=cf(s.duration)),s.repeatDelay&&(a.repeatDelay=cf(s.repeatDelay)),t&&(a.ease=KI(t)?t.map(ww):ww(t)),s.type==="tween"&&(a.type="keyframes"),(r||o||i)&&(r?a.repeatType="reverse":o?a.repeatType="loop":i&&(a.repeatType="mirror"),a.repeat=o||r||i||s.repeat),s.type!=="spring"&&(a.type="keyframes"),a}function rj(e,t){var n,r,i=D1(e,t)||{};return(r=(n=i.delay)!==null&&n!==void 0?n:e.delay)!==null&&r!==void 0?r:0}function ij(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=Rn([],st(e.to),!1),e.to[0]=e.from),e}function oj(e,t,n){var r;return Array.isArray(t.to)&&((r=e.duration)!==null&&r!==void 0||(e.duration=.8)),ij(t),tj(e)||(e=j(j({},e),ZI(n,t.to))),j(j({},t),nj(e))}function sj(e,t,n,r,i){var o,s=D1(r,e),a=(o=s.from)!==null&&o!==void 0?o:t.get(),l=bw(e,n);a==="none"&&l&&typeof n=="string"?a=N1(e,n):Sw(a)&&typeof n=="string"?a=Cw(n):!Array.isArray(n)&&Sw(n)&&typeof a=="string"&&(n=Cw(a));var u=bw(e,a);function c(){var d={from:a,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:function(p){return t.set(p)}};return s.type==="inertia"||s.type==="decay"?$I(j(j({},d),s)):g5(j(j({},oj(s,d,e)),{onUpdate:function(p){var v;d.onUpdate(p),(v=s.onUpdate)===null||v===void 0||v.call(s,p)},onComplete:function(){var p;d.onComplete(),(p=s.onComplete)===null||p===void 0||p.call(s)}}))}function f(){var d,p,v=WA(n);return t.set(v),i(),(d=s==null?void 0:s.onUpdate)===null||d===void 0||d.call(s,v),(p=s==null?void 0:s.onComplete)===null||p===void 0||p.call(s),{stop:function(){}}}return!u||!l||s.type===!1?f:c}function Sw(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function Cw(e){return typeof e=="number"?0:N1("",e)}function D1(e,t){return e[t]||e.default||e}function M1(e,t,n,r){return r===void 0&&(r={}),ej.current&&(r={type:!1}),t.start(function(i){var o,s,a=sj(e,t,n,r,i),l=rj(r,e),u=function(){return s=a()};return l?o=window.setTimeout(u,cf(l)):u(),function(){clearTimeout(o),s==null||s.stop()}})}var aj=function(e){return/^\-?\d*\.?\d+$/.test(e)},lj=function(e){return/^0[^.\s]+$/.test(e)};function L1(e,t){e.indexOf(t)===-1&&e.push(t)}function F1(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Pa=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var n=this;return L1(this.subscriptions,t),function(){return F1(n.subscriptions,t)}},e.prototype.notify=function(t,n,r){var i=this.subscriptions.length;if(!!i)if(i===1)this.subscriptions[0](t,n,r);else for(var o=0;o<i;o++){var s=this.subscriptions[o];s&&s(t,n,r)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),uj=function(e){return!isNaN(parseFloat(e))},cj=function(){function e(t){var n=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Pa,this.velocityUpdateSubscribers=new Pa,this.renderSubscribers=new Pa,this.canTrackVelocity=!1,this.updateAndNotify=function(r,i){i===void 0&&(i=!0),n.prev=n.current,n.current=r;var o=lf(),s=o.delta,a=o.timestamp;n.lastUpdated!==a&&(n.timeDelta=s,n.lastUpdated=a,Hn.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),i&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return Hn.postRender(n.velocityCheck)},this.velocityCheck=function(r){var i=r.timestamp;i!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=uj(this.current)}return e.prototype.onChange=function(t){return this.updateSubscribers.add(t)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},e.prototype.attach=function(t){this.passiveEffect=t},e.prototype.set=function(t,n){n===void 0&&(n=!0),!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?y5(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(t){var n=this;return this.stop(),new Promise(function(r){n.hasAnimated=!0,n.stopAnimation=t(r)}).then(function(){return n.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 ms(e){return new cj(e)}var A5=function(e){return function(t){return t.test(e)}},fj={test:function(e){return e==="auto"},parse:function(e){return e}},$5=[lo,ae,zn,$r,KL,XL,fj],na=function(e){return $5.find(A5(e))},dj=Rn(Rn([],st($5),!1),[Pt,gr],!1),pj=function(e){return dj.find(A5(e))};function hj(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ms(n))}function vj(e,t){var n=Pd(e,t),r=n?e.makeTargetAnimatable(n,!1):{},i=r.transitionEnd,o=i===void 0?{}:i;r.transition;var s=zt(r,["transitionEnd","transition"]);s=j(j({},s),o);for(var a in s){var l=WA(s[a]);hj(e,a,l)}}function mj(e,t,n){var r,i,o,s,a=Object.keys(t).filter(function(p){return!e.hasValue(p)}),l=a.length;if(!!l)for(var u=0;u<l;u++){var c=a[u],f=t[c],d=null;Array.isArray(f)&&(d=f[0]),d===null&&(d=(i=(r=n[c])!==null&&r!==void 0?r:e.readValue(c))!==null&&i!==void 0?i:t[c]),d!=null&&(typeof d=="string"&&(aj(d)||lj(d))?d=parseFloat(d):!pj(d)&&gr.test(f)&&(d=N1(c,f)),e.addValue(c,ms(d)),(o=(s=n)[c])!==null&&o!==void 0||(s[c]=d),e.setBaseTarget(c,d))}}function gj(e,t){if(!!t){var n=t[e]||t.default||t;return n.from}}function yj(e,t,n){var r,i,o={};for(var s in e)o[s]=(r=gj(s,t))!==null&&r!==void 0?r:(i=n.getValue(s))===null||i===void 0?void 0:i.get();return o}function _j(e,t,n){n===void 0&&(n={}),e.notifyAnimationStart(t);var r;if(Array.isArray(t)){var i=t.map(function(s){return t0(e,s,n)});r=Promise.all(i)}else if(typeof t=="string")r=t0(e,t,n);else{var o=typeof t=="function"?Pd(e,t,n.custom):t;r=T5(e,o,n)}return r.then(function(){return e.notifyAnimationComplete(t)})}function t0(e,t,n){var r;n===void 0&&(n={});var i=Pd(e,t,n.custom),o=(i||{}).transition,s=o===void 0?e.getDefaultTransition()||{}:o;n.transitionOverride&&(s=n.transitionOverride);var a=i?function(){return T5(e,i,n)}:function(){return Promise.resolve()},l=!((r=e.variantChildren)===null||r===void 0)&&r.size?function(p){p===void 0&&(p=0);var v=s.delayChildren,m=v===void 0?0:v,w=s.staggerChildren,_=s.staggerDirection;return xj(e,t,m+p,w,_,n)}:function(){return Promise.resolve()},u=s.when;if(u){var c=st(u==="beforeChildren"?[a,l]:[l,a],2),f=c[0],d=c[1];return f().then(d)}else return Promise.all([a(),l(n.delay)])}function T5(e,t,n){var r,i=n===void 0?{}:n,o=i.delay,s=o===void 0?0:o,a=i.transitionOverride,l=i.type,u=e.makeTargetAnimatable(t),c=u.transition,f=c===void 0?e.getDefaultTransition():c,d=u.transitionEnd,p=zt(u,["transition","transitionEnd"]);a&&(f=a);var v=[],m=l&&((r=e.animationState)===null||r===void 0?void 0:r.getState()[l]);for(var w in p){var _=e.getValue(w),x=p[w];if(!(!_||x===void 0||m&&bj(m,w))){var y=j({delay:s},f);e.shouldReduceMotion&&Dl(w)&&(y=j(j({},y),{type:!1,delay:0}));var E=M1(w,_,x,y);v.push(E)}}return Promise.all(v).then(function(){d&&vj(e,d)})}function xj(e,t,n,r,i,o){n===void 0&&(n=0),r===void 0&&(r=0),i===void 0&&(i=1);var s=[],a=(e.variantChildren.size-1)*r,l=i===1?function(u){return u===void 0&&(u=0),u*r}:function(u){return u===void 0&&(u=0),a-u*r};return Array.from(e.variantChildren).sort(wj).forEach(function(u,c){s.push(t0(u,t,j(j({},o),{delay:n+l(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(s)}function wj(e,t){return e.sortNodePosition(t)}function bj(e,t){var n=e.protectedKeys,r=e.needsAnimating,i=n.hasOwnProperty(t)&&r[t]!==!0;return r[t]=!1,i}var I1=[De.Animate,De.InView,De.Focus,De.Hover,De.Tap,De.Drag,De.Exit],Ej=Rn([],st(I1),!1).reverse(),Sj=I1.length;function Cj(e){return function(t){return Promise.all(t.map(function(n){var r=n.animation,i=n.options;return _j(e,r,i)}))}}function Aj(e){var t=Cj(e),n=Tj(),r={},i=!0,o=function(c,f){var d=Pd(e,f);if(d){d.transition;var p=d.transitionEnd,v=zt(d,["transition","transitionEnd"]);c=j(j(j({},c),v),p)}return c};function s(c){return r[c]!==void 0}function a(c){t=c(e)}function l(c,f){for(var d,p=e.getProps(),v=e.getVariantContext(!0)||{},m=[],w=new Set,_={},x=1/0,y=function($){var T=Ej[$],O=n[T],M=(d=p[T])!==null&&d!==void 0?d:v[T],Y=Sn(M),H=T===f?O.isActive:null;H===!1&&(x=$);var X=M===v[T]&&M!==p[T]&&Y;if(X&&i&&e.manuallyAnimateOnMount&&(X=!1),O.protectedKeys=j({},_),!O.isActive&&H===null||!M&&!O.prevProp||S1(M)||typeof M=="boolean")return"continue";var G=$j(O.prevProp,M),le=G||T===f&&O.isActive&&!X&&Y||$>x&&Y,Ee=Array.isArray(M)?M:[M],he=Ee.reduce(o,{});H===!1&&(he={});var B=O.prevResolvedValues,Q=B===void 0?{}:B,Z=j(j({},Q),he),de=function(L){le=!0,w.delete(L),O.needsAnimating[L]=!0};for(var I in Z){var R=he[I],k=Q[I];_.hasOwnProperty(I)||(R!==k?vl(R)&&vl(k)?!C5(R,k)||G?de(I):O.protectedKeys[I]=!0:R!==void 0?de(I):w.add(I):R!==void 0&&w.has(I)?de(I):O.protectedKeys[I]=!0)}O.prevProp=M,O.prevResolvedValues=he,O.isActive&&(_=j(j({},_),he)),i&&e.blockInitialAnimation&&(le=!1),le&&!X&&m.push.apply(m,Rn([],st(Ee.map(function(L){return{animation:L,options:j({type:T},c)}})),!1))},E=0;E<Sj;E++)y(E);if(r=j({},_),w.size){var S={};w.forEach(function($){var T=e.getBaseTarget($);T!==void 0&&(S[$]=T)}),m.push({animation:S})}var A=Boolean(m.length);return i&&p.initial===!1&&!e.manuallyAnimateOnMount&&(A=!1),i=!1,A?t(m):Promise.resolve()}function u(c,f,d){var p;if(n[c].isActive===f)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(function(w){var _;return(_=w.animationState)===null||_===void 0?void 0:_.setActive(c,f)}),n[c].isActive=f;var v=l(d,c);for(var m in n)n[m].protectedKeys={};return v}return{isAnimated:s,animateChanges:l,setActive:u,setAnimateFunction:a,getState:function(){return n}}}function $j(e,t){return typeof t=="string"?t!==e:EA(t)?!C5(t,e):!1}function Ri(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Tj(){var e;return e={},e[De.Animate]=Ri(!0),e[De.InView]=Ri(),e[De.Hover]=Ri(),e[De.Tap]=Ri(),e[De.Drag]=Ri(),e[De.Focus]=Ri(),e[De.Exit]=Ri(),e}var Pj={animation:Vr(function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=Aj(t)),S1(n)&&g.exports.useEffect(function(){return n.subscribe(t)},[n])}),exit:Vr(function(e){var t=e.custom,n=e.visualElement,r=st(S5(),2),i=r[0],o=r[1],s=g.exports.useContext(Td);g.exports.useEffect(function(){var a,l;n.isPresent=i;var u=(a=n.animationState)===null||a===void 0?void 0:a.setActive(De.Exit,!i,{custom:(l=s==null?void 0:s.custom)!==null&&l!==void 0?l:t});!i&&(u==null||u.then(o))},[i])})},P5=function(){function e(t,n,r){var i=this,o=r===void 0?{}:r,s=o.transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(!!(i.lastMoveEvent&&i.lastMoveEventInfo)){var d=Kh(i.lastMoveEventInfo,i.history),p=i.startEvent!==null,v=_5(d.offset,{x:0,y:0})>=3;if(!(!p&&!v)){var m=d.point,w=lf().timestamp;i.history.push(j(j({},m),{timestamp:w}));var _=i.handlers,x=_.onStart,y=_.onMove;p||(x&&x(i.lastMoveEvent,d),i.startEvent=i.lastMoveEvent),y&&y(i.lastMoveEvent,d)}}},this.handlePointerMove=function(d,p){if(i.lastMoveEvent=d,i.lastMoveEventInfo=Xh(p,i.transformPagePoint),XA(d)&&d.buttons===0){i.handlePointerUp(d,p);return}Hn.update(i.updatePoint,!0)},this.handlePointerUp=function(d,p){i.end();var v=i.handlers,m=v.onEnd,w=v.onSessionEnd,_=Kh(Xh(p,i.transformPagePoint),i.history);i.startEvent&&m&&m(d,_),w&&w(d,_)},!(KA(t)&&t.touches.length>1)){this.handlers=n,this.transformPagePoint=s;var a=C1(t),l=Xh(a,this.transformPagePoint),u=l.point,c=lf().timestamp;this.history=[j(j({},u),{timestamp:c})];var f=n.onSessionStart;f&&f(t,Kh(l,this.history)),this.removeListeners=Nd(Qo(window,"pointermove",this.handlePointerMove),Qo(window,"pointerup",this.handlePointerUp),Qo(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),vs.update(this.updatePoint)},e}();function Xh(e,t){return t?{point:t(e.point)}:e}function Aw(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Kh(e,t){var n=e.point;return{point:n,delta:Aw(n,R5(t)),offset:Aw(n,Rj(t)),velocity:Oj(t,.1)}}function Rj(e){return e[0]}function R5(e){return e[e.length-1]}function Oj(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,i=R5(e);n>=0&&(r=e[n],!(i.timestamp-r.timestamp>cf(t)));)n--;if(!r)return{x:0,y:0};var o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};var s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function yr(e){return e.max-e.min}function $w(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=.01),_5(e,t)<n}function Tw(e,t,n,r){r===void 0&&(r=.5),e.origin=r,e.originPoint=qe(t.min,t.max,e.origin),e.scale=yr(n)/yr(t),($w(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=qe(n.min,n.max,e.origin)-e.originPoint,($w(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Ra(e,t,n,r){Tw(e.x,t.x,n.x,r==null?void 0:r.originX),Tw(e.y,t.y,n.y,r==null?void 0:r.originY)}function Pw(e,t,n){e.min=n.min+t.min,e.max=e.min+yr(t)}function kj(e,t,n){Pw(e.x,t.x,n.x),Pw(e.y,t.y,n.y)}function Rw(e,t,n){e.min=t.min-n.min,e.max=e.min+yr(t)}function Oa(e,t,n){Rw(e.x,t.x,n.x),Rw(e.y,t.y,n.y)}function Nj(e,t,n){var r=t.min,i=t.max;return r!==void 0&&e<r?e=n?qe(r,e,n.min):Math.max(e,r):i!==void 0&&e>i&&(e=n?qe(i,e,n.max):Math.min(e,i)),e}function Ow(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Dj(e,t){var n=t.top,r=t.left,i=t.bottom,o=t.right;return{x:Ow(e.x,r,o),y:Ow(e.y,n,i)}}function kw(e,t){var n,r=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(n=st([i,r],2),r=n[0],i=n[1]),{min:r,max:i}}function Mj(e,t){return{x:kw(e.x,t.x),y:kw(e.y,t.y)}}function Lj(e,t){var n=.5,r=yr(e),i=yr(t);return i>r?n=ml(t.min,t.max-r,e.min):r>i&&(n=ml(e.min,e.max-i,t.min)),sf(0,1,n)}function Fj(e,t){var n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var n0=.35;function Ij(e){return e===void 0&&(e=n0),e===!1?e=0:e===!0&&(e=n0),{x:Nw(e,"left","right"),y:Nw(e,"top","bottom")}}function Nw(e,t,n){return{min:Dw(e,t),max:Dw(e,n)}}function Dw(e,t){var n;return typeof e=="number"?e:(n=e[t])!==null&&n!==void 0?n:0}var Mw=function(){return{translate:0,scale:1,origin:0,originPoint:0}},ka=function(){return{x:Mw(),y:Mw()}},Lw=function(){return{min:0,max:0}},yt=function(){return{x:Lw(),y:Lw()}};function Ln(e){return[e("x"),e("y")]}function O5(e){var t=e.top,n=e.left,r=e.right,i=e.bottom;return{x:{min:n,max:r},y:{min:t,max:i}}}function jj(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function Uj(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}}function Qh(e){return e===void 0||e===1}function k5(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!Qh(t)||!Qh(n)||!Qh(r)}function Tr(e){return k5(e)||Fw(e.x)||Fw(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function Fw(e){return e&&e!=="0%"}function ff(e,t,n){var r=e-n,i=t*r;return n+i}function Iw(e,t,n,r,i){return i!==void 0&&(e=ff(e,i,r)),ff(e,n,r)+t}function r0(e,t,n,r,i){t===void 0&&(t=0),n===void 0&&(n=1),e.min=Iw(e.min,t,n,r,i),e.max=Iw(e.max,t,n,r,i)}function N5(e,t){var n=t.x,r=t.y;r0(e.x,n.translate,n.scale,n.originPoint),r0(e.y,r.translate,r.scale,r.originPoint)}function Bj(e,t,n,r){var i,o;r===void 0&&(r=!1);var s=n.length;if(!!s){t.x=t.y=1;for(var a,l,u=0;u<s;u++)a=n[u],l=a.projectionDelta,((o=(i=a.instance)===null||i===void 0?void 0:i.style)===null||o===void 0?void 0:o.display)!=="contents"&&(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&jo(e,{x:-a.scroll.x,y:-a.scroll.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,N5(e,l)),r&&Tr(a.latestValues)&&jo(e,a.latestValues))}}function Nr(e,t){e.min=e.min+t,e.max=e.max+t}function jw(e,t,n){var r=st(n,3),i=r[0],o=r[1],s=r[2],a=t[s]!==void 0?t[s]:.5,l=qe(e.min,e.max,a);r0(e,t[i],t[o],l,t.scale)}var Vj=["x","scaleX","originX"],zj=["y","scaleY","originY"];function jo(e,t){jw(e.x,t,Vj),jw(e.y,t,zj)}function D5(e,t){return O5(Uj(e.getBoundingClientRect(),t))}function Hj(e,t,n){var r=D5(e,n),i=t.scroll;return i&&(Nr(r.x,i.x),Nr(r.y,i.y)),r}var Gj=new WeakMap,Yj=function(){function e(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=yt(),this.visualElement=t}return e.prototype.start=function(t,n){var r=this,i=n===void 0?{}:n,o=i.snapToCursor,s=o===void 0?!1:o;if(this.visualElement.isPresent!==!1){var a=function(f){r.stopAnimation(),s&&r.snapToCursor(C1(f,"page").point)},l=function(f,d){var p,v=r.getProps(),m=v.drag,w=v.dragPropagation,_=v.onDragStart;m&&!w&&(r.openGlobalLock&&r.openGlobalLock(),r.openGlobalLock=e5(m),!r.openGlobalLock)||(r.isDragging=!0,r.currentDirection=null,r.resolveConstraints(),r.visualElement.projection&&(r.visualElement.projection.isAnimationBlocked=!0,r.visualElement.projection.target=void 0),Ln(function(x){var y,E,S=r.getAxisMotionValue(x).get()||0;if(zn.test(S)){var A=(E=(y=r.visualElement.projection)===null||y===void 0?void 0:y.layout)===null||E===void 0?void 0:E.actual[x];if(A){var $=yr(A);S=$*(parseFloat(S)/100)}}r.originPoint[x]=S}),_==null||_(f,d),(p=r.visualElement.animationState)===null||p===void 0||p.setActive(De.Drag,!0))},u=function(f,d){var p=r.getProps(),v=p.dragPropagation,m=p.dragDirectionLock,w=p.onDirectionLock,_=p.onDrag;if(!(!v&&!r.openGlobalLock)){var x=d.offset;if(m&&r.currentDirection===null){r.currentDirection=Wj(x),r.currentDirection!==null&&(w==null||w(r.currentDirection));return}r.updateAxis("x",d.point,x),r.updateAxis("y",d.point,x),r.visualElement.syncRender(),_==null||_(f,d)}},c=function(f,d){return r.stop(f,d)};this.panSession=new P5(t,{onSessionStart:a,onStart:l,onMove:u,onSessionEnd:c},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(t,n){var r=this.isDragging;if(this.cancel(),!!r){var i=n.velocity;this.startAnimation(i);var o=this.getProps().onDragEnd;o==null||o(t,n)}},e.prototype.cancel=function(){var t,n;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;var r=this.getProps().dragPropagation;!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(n=this.visualElement.animationState)===null||n===void 0||n.setActive(De.Drag,!1)},e.prototype.updateAxis=function(t,n,r){var i=this.getProps().drag;if(!(!r||!Tu(t,i,this.currentDirection))){var o=this.getAxisMotionValue(t),s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=Nj(s,this.constraints[t],this.elastic[t])),o.set(s)}},e.prototype.resolveConstraints=function(){var t=this,n=this.getProps(),r=n.dragConstraints,i=n.dragElastic,o=(this.visualElement.projection||{}).layout,s=this.constraints;r&&Io(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=Dj(o.actual,r):this.constraints=!1,this.elastic=Ij(i),s!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Ln(function(a){t.getAxisMotionValue(a)&&(t.constraints[a]=Fj(o.actual[a],t.constraints[a]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),n=t.dragConstraints,r=t.onMeasureDragConstraints;if(!n||!Io(n))return!1;var i=n.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var s=Hj(i,o.root,this.visualElement.getTransformPagePoint()),a=Mj(o.layout.actual,s);if(r){var l=r(jj(a));this.hasMutatedConstraints=!!l,l&&(a=O5(l))}return a},e.prototype.startAnimation=function(t){var n=this,r=this.getProps(),i=r.drag,o=r.dragMomentum,s=r.dragElastic,a=r.dragTransition,l=r.dragSnapToOrigin,u=r.onDragTransitionEnd,c=this.constraints||{},f=Ln(function(d){var p;if(!!Tu(d,i,n.currentDirection)){var v=(p=c==null?void 0:c[d])!==null&&p!==void 0?p:{};l&&(v={min:0,max:0});var m=s?200:1e6,w=s?40:1e7,_=j(j({type:"inertia",velocity:o?t[d]:0,bounceStiffness:m,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10},a),v);return n.startAxisValueAnimation(d,_)}});return Promise.all(f).then(u)},e.prototype.startAxisValueAnimation=function(t,n){var r=this.getAxisMotionValue(t);return M1(t,r,0,n)},e.prototype.stopAnimation=function(){var t=this;Ln(function(n){return t.getAxisMotionValue(n).stop()})},e.prototype.getAxisMotionValue=function(t){var n,r,i="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[i];return o||this.visualElement.getValue(t,(r=(n=this.visualElement.getProps().initial)===null||n===void 0?void 0:n[t])!==null&&r!==void 0?r:0)},e.prototype.snapToCursor=function(t){var n=this;Ln(function(r){var i=n.getProps().drag;if(!!Tu(r,i,n.currentDirection)){var o=n.visualElement.projection,s=n.getAxisMotionValue(r);if(o&&o.layout){var a=o.layout.actual[r],l=a.min,u=a.max;s.set(t[r]-qe(l,u,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var t=this,n,r=this.getProps(),i=r.drag,o=r.dragConstraints,s=this.visualElement.projection;if(!(!Io(o)||!s||!this.constraints)){this.stopAnimation();var a={x:0,y:0};Ln(function(u){var c=t.getAxisMotionValue(u);if(c){var f=c.get();a[u]=Lj({min:f,max:f},t.constraints[u])}});var l=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=l?l({},""):"none",(n=s.root)===null||n===void 0||n.updateScroll(),s.updateLayout(),this.resolveConstraints(),Ln(function(u){if(!!Tu(u,i,null)){var c=t.getAxisMotionValue(u),f=t.constraints[u],d=f.min,p=f.max;c.set(qe(d,p,a[u]))}})}},e.prototype.addListeners=function(){var t=this,n;Gj.set(this.visualElement,this);var r=this.visualElement.getInstance(),i=Qo(r,"pointerdown",function(u){var c=t.getProps(),f=c.drag,d=c.dragListener,p=d===void 0?!0:d;f&&p&&t.start(u)}),o=function(){var u=t.getProps().dragConstraints;Io(u)&&(t.constraints=t.resolveRefConstraints())},s=this.visualElement.projection,a=s.addEventListener("measure",o);s&&!s.layout&&((n=s.root)===null||n===void 0||n.updateScroll(),s.updateLayout()),o();var l=kd(window,"resize",function(){return t.scalePositionWithinConstraints()});return s.addEventListener("didUpdate",function(u){var c=u.delta,f=u.hasLayoutChanged;t.isDragging&&f&&(Ln(function(d){var p=t.getAxisMotionValue(d);!p||(t.originPoint[d]+=c[d].translate,p.set(p.get()+c[d].translate))}),t.visualElement.syncRender())}),function(){l(),i(),a()}},e.prototype.getProps=function(){var t=this.visualElement.getProps(),n=t.drag,r=n===void 0?!1:n,i=t.dragDirectionLock,o=i===void 0?!1:i,s=t.dragPropagation,a=s===void 0?!1:s,l=t.dragConstraints,u=l===void 0?!1:l,c=t.dragElastic,f=c===void 0?n0:c,d=t.dragMomentum,p=d===void 0?!0:d;return j(j({},t),{drag:r,dragDirectionLock:o,dragPropagation:a,dragConstraints:u,dragElastic:f,dragMomentum:p})},e}();function Tu(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Wj(e,t){t===void 0&&(t=10);var n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}function qj(e){var t=e.dragControls,n=e.visualElement,r=Od(function(){return new Yj(n)});g.exports.useEffect(function(){return t&&t.subscribe(r)},[r,t]),g.exports.useEffect(function(){return r.addListeners()},[r])}function Xj(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,i=e.onPanSessionStart,o=e.visualElement,s=t||n||r||i,a=g.exports.useRef(null),l=g.exports.useContext(g1).transformPagePoint,u={onSessionStart:i,onStart:n,onMove:t,onEnd:function(f,d){a.current=null,r&&r(f,d)}};g.exports.useEffect(function(){a.current!==null&&a.current.updateHandlers(u)});function c(f){a.current=new P5(f,u,{transformPagePoint:l})}of(o,"pointerdown",s&&c),r5(function(){return a.current&&a.current.end()})}var Kj={pan:Vr(Xj),drag:Vr(qj)},Pu=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];function Qj(){var e=Pu.map(function(){return new Pa}),t={},n={clearAllListeners:function(){return e.forEach(function(r){return r.clear()})},updatePropListeners:function(r){Pu.forEach(function(i){var o,s="on"+i,a=r[s];(o=t[i])===null||o===void 0||o.call(t),a&&(t[i]=n[s](a))})}};return e.forEach(function(r,i){n["on"+Pu[i]]=function(o){return r.add(o)},n["notify"+Pu[i]]=function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return r.notify.apply(r,Rn([],st(o),!1))}}),n}function Zj(e,t,n){var r;for(var i in t){var o=t[i],s=n[i];if(mr(o))e.addValue(i,o);else if(mr(s))e.addValue(i,ms(o));else if(s!==o)if(e.hasValue(i)){var a=e.getValue(i);!a.hasAnimated&&a.set(o)}else e.addValue(i,ms((r=e.getStaticValue(i))!==null&&r!==void 0?r:o))}for(var i in n)t[i]===void 0&&e.removeValue(i);return t}var M5=function(e){var t=e.treeType,n=t===void 0?"":t,r=e.build,i=e.getBaseTarget,o=e.makeTargetAnimatable,s=e.measureViewportBox,a=e.render,l=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,f=e.scrapeMotionValuesFromProps;return function(d,p){var v=d.parent,m=d.props,w=d.presenceId,_=d.blockInitialAnimation,x=d.visualState,y=d.shouldReduceMotion;p===void 0&&(p={});var E=!1,S=x.latestValues,A=x.renderState,$,T=Qj(),O=new Map,M=new Map,Y={},H=j({},S),X;function G(){!$||!E||(le(),a($,A,m.style,R.projection))}function le(){r(R,A,S,p,m)}function Ee(){T.notifyUpdate(S)}function he(k,L){var P=L.onChange(function(F){S[k]=F,m.onUpdate&&Hn.update(Ee,!1,!0)}),te=L.onRenderRequest(R.scheduleRender);M.set(k,function(){P(),te()})}var B=f(m);for(var Q in B){var Z=B[Q];S[Q]!==void 0&&mr(Z)&&Z.set(S[Q],!1)}var de=Rd(m),I=CA(m),R=j(j({treeType:n,current:null,depth:v?v.depth+1:0,parent:v,children:new Set,presenceId:w,shouldReduceMotion:y,variantChildren:I?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(v==null?void 0:v.isMounted()),blockInitialAnimation:_,isMounted:function(){return Boolean($)},mount:function(k){E=!0,$=R.current=k,R.projection&&R.projection.mount(k),I&&v&&!de&&(X=v==null?void 0:v.addVariantChild(R)),O.forEach(function(L,P){return he(P,L)}),v==null||v.children.add(R),R.setProps(m)},unmount:function(){var k;(k=R.projection)===null||k===void 0||k.unmount(),vs.update(Ee),vs.render(G),M.forEach(function(L){return L()}),X==null||X(),v==null||v.children.delete(R),T.clearAllListeners(),$=void 0,E=!1},addVariantChild:function(k){var L,P=R.getClosestVariantNode();if(P)return(L=P.variantChildren)===null||L===void 0||L.add(k),function(){return P.variantChildren.delete(k)}},sortNodePosition:function(k){return!c||n!==k.treeType?0:c(R.getInstance(),k.getInstance())},getClosestVariantNode:function(){return I?R:v==null?void 0:v.getClosestVariantNode()},getLayoutId:function(){return m.layoutId},getInstance:function(){return $},getStaticValue:function(k){return S[k]},setStaticValue:function(k,L){return S[k]=L},getLatestValues:function(){return S},setVisibility:function(k){R.isVisible!==k&&(R.isVisible=k,R.scheduleRender())},makeTargetAnimatable:function(k,L){return L===void 0&&(L=!0),o(R,k,m,L)},measureViewportBox:function(){return s($,m)},addValue:function(k,L){R.hasValue(k)&&R.removeValue(k),O.set(k,L),S[k]=L.get(),he(k,L)},removeValue:function(k){var L;O.delete(k),(L=M.get(k))===null||L===void 0||L(),M.delete(k),delete S[k],u(k,A)},hasValue:function(k){return O.has(k)},getValue:function(k,L){var P=O.get(k);return P===void 0&&L!==void 0&&(P=ms(L),R.addValue(k,P)),P},forEachValue:function(k){return O.forEach(k)},readValue:function(k){var L;return(L=S[k])!==null&&L!==void 0?L:l($,k,p)},setBaseTarget:function(k,L){H[k]=L},getBaseTarget:function(k){if(i){var L=i(m,k);if(L!==void 0&&!mr(L))return L}return H[k]}},T),{build:function(){return le(),A},scheduleRender:function(){Hn.render(G,!1,!0)},syncRender:G,setProps:function(k){(k.transformTemplate||m.transformTemplate)&&R.scheduleRender(),m=k,T.updatePropListeners(k),Y=Zj(R,f(m),Y)},getProps:function(){return m},getVariant:function(k){var L;return(L=m.variants)===null||L===void 0?void 0:L[k]},getDefaultTransition:function(){return m.transition},getTransformPagePoint:function(){return m.transformPagePoint},getVariantContext:function(k){if(k===void 0&&(k=!1),k)return v==null?void 0:v.getVariantContext();if(!de){var L=(v==null?void 0:v.getVariantContext())||{};return m.initial!==void 0&&(L.initial=m.initial),L}for(var P={},te=0;te<Jj;te++){var F=L5[te],ge=m[F];(Sn(ge)||ge===!1)&&(P[F]=ge)}return P}});return R}},L5=Rn(["initial"],st(I1),!1),Jj=L5.length;function i0(e){return typeof e=="string"&&e.startsWith("var(--")}var F5=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function eU(e){var t=F5.exec(e);if(!t)return[,];var n=st(t,3),r=n[1],i=n[2];return[r,i]}function o0(e,t,n){var r=st(eU(e),2),i=r[0],o=r[1];if(!!i){var s=window.getComputedStyle(t).getPropertyValue(i);return s?s.trim():i0(o)?o0(o,t):o}}function tU(e,t,n){var r,i=zt(t,[]),o=e.getInstance();if(!(o instanceof Element))return{target:i,transitionEnd:n};n&&(n=j({},n)),e.forEachValue(function(u){var c=u.get();if(!!i0(c)){var f=o0(c,o);f&&u.set(f)}});for(var s in i){var a=i[s];if(!!i0(a)){var l=o0(a,o);!l||(i[s]=l,n&&((r=n[s])!==null&&r!==void 0||(n[s]=a)))}}return{target:i,transitionEnd:n}}var nU=new Set(["width","height","top","left","right","bottom","x","y"]),I5=function(e){return nU.has(e)},rU=function(e){return Object.keys(e).some(I5)},j5=function(e,t){e.set(t,!1),e.set(t)},Uw=function(e){return e===lo||e===ae},Bw;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(Bw||(Bw={}));var Vw=function(e,t){return parseFloat(e.split(", ")[t])},zw=function(e,t){return function(n,r){var i=r.transform;if(i==="none"||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return Vw(o[1],t);var s=i.match(/^matrix\((.+)\)$/);return s?Vw(s[1],e):0}},iU=new Set(["x","y","z"]),oU=pl.filter(function(e){return!iU.has(e)});function sU(e){var t=[];return oU.forEach(function(n){var r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}var Hw={width:function(e,t){var n=e.x,r=t.paddingLeft,i=r===void 0?"0":r,o=t.paddingRight,s=o===void 0?"0":o;return n.max-n.min-parseFloat(i)-parseFloat(s)},height:function(e,t){var n=e.y,r=t.paddingTop,i=r===void 0?"0":r,o=t.paddingBottom,s=o===void 0?"0":o;return n.max-n.min-parseFloat(i)-parseFloat(s)},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:zw(4,13),y:zw(5,14)},aU=function(e,t,n){var r=t.measureViewportBox(),i=t.getInstance(),o=getComputedStyle(i),s=o.display,a={};s==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(function(u){a[u]=Hw[u](r,o)}),t.syncRender();var l=t.measureViewportBox();return n.forEach(function(u){var c=t.getValue(u);j5(c,a[u]),e[u]=Hw[u](l,o)}),e},lU=function(e,t,n,r){n===void 0&&(n={}),r===void 0&&(r={}),t=j({},t),r=j({},r);var i=Object.keys(t).filter(I5),o=[],s=!1,a=[];if(i.forEach(function(c){var f=e.getValue(c);if(!!e.hasValue(c)){var d=n[c],p=na(d),v=t[c],m;if(vl(v)){var w=v.length,_=v[0]===null?1:0;d=v[_],p=na(d);for(var x=_;x<w;x++)m?tf(na(v[x])===m):m=na(v[x])}else m=na(v);if(p!==m)if(Uw(p)&&Uw(m)){var y=f.get();typeof y=="string"&&f.set(parseFloat(y)),typeof v=="string"?t[c]=parseFloat(v):Array.isArray(v)&&m===ae&&(t[c]=v.map(parseFloat))}else(p==null?void 0:p.transform)&&(m==null?void 0:m.transform)&&(d===0||v===0)?d===0?f.set(m.transform(d)):t[c]=p.transform(v):(s||(o=sU(e),s=!0),a.push(c),r[c]=r[c]!==void 0?r[c]:t[c],j5(f,v))}}),a.length){var l=a.indexOf("height")>=0?window.pageYOffset:null,u=aU(t,e,a);return o.length&&o.forEach(function(c){var f=st(c,2),d=f[0],p=f[1];e.getValue(d).set(p)}),e.syncRender(),l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function uU(e,t,n,r){return rU(t)?lU(e,t,n,r):{target:t,transitionEnd:r}}var cU=function(e,t,n,r){var i=tU(e,t,r);return t=i.target,r=i.transitionEnd,uU(e,t,n,r)};function fU(e){return window.getComputedStyle(e)}var U5={treeType:"dom",readValueFromInstance:function(e,t){if(Dl(t)){var n=k1(t);return n&&n.default||0}else{var r=fU(e);return(RA(t)?r.getPropertyValue(t):r[t])||0}},sortNodePosition:function(e,t){return e.compareDocumentPosition(t)&2?1:-1},getBaseTarget:function(e,t){var n;return(n=e.style)===null||n===void 0?void 0:n[t]},measureViewportBox:function(e,t){var n=t.transformPagePoint;return D5(e,n)},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 i=n.transformValues;r===void 0&&(r=!0);var o=t.transition,s=t.transitionEnd,a=zt(t,["transition","transitionEnd"]),l=yj(a,o||{},e);if(i&&(s&&(s=i(s)),a&&(a=i(a)),l&&(l=i(l))),r){mj(e,a,l);var u=cU(e,a,l,s);s=u.transitionEnd,a=u.target}return j({transition:o,transitionEnd:s},a)},scrapeMotionValuesFromProps:E1,build:function(e,t,n,r,i){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),x1(t,n,r,i.transformTemplate)},render:zA},dU=M5(U5),pU=M5(j(j({},U5),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return Dl(t)?((n=k1(t))===null||n===void 0?void 0:n.default)||0:(t=HA.has(t)?t:VA(t),e.getAttribute(t))},scrapeMotionValuesFromProps:YA,build:function(e,t,n,r,i){b1(t,n,r,i.transformTemplate)},render:GA})),hU=function(e,t){return y1(e)?pU(t,{enableHardwareAcceleration:!1}):dU(t,{enableHardwareAcceleration:!0})};function Gw(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ra={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(ae.test(e))e=parseFloat(e);else return e;var n=Gw(e,t.target.x),r=Gw(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},Yw="_$css",vU={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,i=e,o=e.includes("var("),s=[];o&&(e=e.replace(F5,function(m){return s.push(m),Yw}));var a=gr.parse(e);if(a.length>5)return i;var l=gr.createTransformer(e),u=typeof a[0]!="number"?1:0,c=r.x.scale*n.x,f=r.y.scale*n.y;a[0+u]/=c,a[1+u]/=f;var d=qe(c,f,.5);typeof a[2+u]=="number"&&(a[2+u]/=d),typeof a[3+u]=="number"&&(a[3+u]/=d);var p=l(a);if(o){var v=0;p=p.replace(Yw,function(){var m=s[v];return v++,m})}return p}},mU=function(e){tC(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var n=this,r=this.props,i=r.visualElement,o=r.layoutGroup,s=r.switchLayoutGroup,a=r.layoutId,l=i.projection;jL(yU),l&&(o!=null&&o.group&&o.group.add(l),(s==null?void 0:s.register)&&a&&s.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",function(){n.safeToRemove()}),l.setOptions(j(j({},l.options),{onExitComplete:function(){return n.safeToRemove()}}))),Aa.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(n){var r=this,i=this.props,o=i.layoutDependency,s=i.visualElement,a=i.drag,l=i.isPresent,u=s.projection;return u&&(u.isPresent=l,a||n.layoutDependency!==o||o===void 0?u.willUpdate():this.safeToRemove(),n.isPresent!==l&&(l?u.promote():u.relegate()||Hn.postRender(function(){var c;!((c=u.getStack())===null||c===void 0)&&c.members.length||r.safeToRemove()}))),null},t.prototype.componentDidUpdate=function(){var n=this.props.visualElement.projection;n&&(n.root.didUpdate(),!n.currentAnimation&&n.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var n=this.props,r=n.visualElement,i=n.layoutGroup,o=n.switchLayoutGroup,s=r.projection;s&&(s.scheduleCheckAfterUnmount(),i!=null&&i.group&&i.group.remove(s),o!=null&&o.deregister&&o.deregister(s))},t.prototype.safeToRemove=function(){var n=this.props.safeToRemove;n==null||n()},t.prototype.render=function(){return null},t}(ce.Component);function gU(e){var t=st(S5(),2),n=t[0],r=t[1],i=g.exports.useContext(AA);return D(mU,{...j({},e,{layoutGroup:i,switchLayoutGroup:g.exports.useContext($A),isPresent:n,safeToRemove:r})})}var yU={borderRadius:j(j({},ra),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ra,borderTopRightRadius:ra,borderBottomLeftRadius:ra,borderBottomRightRadius:ra,boxShadow:vU},_U={measureLayout:gU};function xU(e,t,n){n===void 0&&(n={});var r=mr(e)?e:ms(e);return M1("",r,t,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}var B5=["TopLeft","TopRight","BottomLeft","BottomRight"],wU=B5.length,Ww=function(e){return typeof e=="string"?parseFloat(e):e},qw=function(e){return typeof e=="number"||ae.test(e)};function bU(e,t,n,r,i,o){var s,a,l,u;i?(e.opacity=qe(0,(s=n.opacity)!==null&&s!==void 0?s:1,EU(r)),e.opacityExit=qe((a=t.opacity)!==null&&a!==void 0?a:1,0,SU(r))):o&&(e.opacity=qe((l=t.opacity)!==null&&l!==void 0?l:1,(u=n.opacity)!==null&&u!==void 0?u:1,r));for(var c=0;c<wU;c++){var f="border".concat(B5[c],"Radius"),d=Xw(t,f),p=Xw(n,f);if(!(d===void 0&&p===void 0)){d||(d=0),p||(p=0);var v=d===0||p===0||qw(d)===qw(p);v?(e[f]=Math.max(qe(Ww(d),Ww(p),r),0),(zn.test(p)||zn.test(d))&&(e[f]+="%")):e[f]=p}}(t.rotate||n.rotate)&&(e.rotate=qe(t.rotate||0,n.rotate||0,r))}function Xw(e,t){var n;return(n=e[t])!==null&&n!==void 0?n:e.borderRadius}var EU=V5(0,.5,R1),SU=V5(.5,.95,T1);function V5(e,t,n){return function(r){return r<e?0:r>t?1:n(ml(e,t,r))}}function Kw(e,t){e.min=t.min,e.max=t.max}function xn(e,t){Kw(e.x,t.x),Kw(e.y,t.y)}function Qw(e,t,n,r,i){return e-=t,e=ff(e,1/n,r),i!==void 0&&(e=ff(e,1/i,r)),e}function CU(e,t,n,r,i,o,s){if(t===void 0&&(t=0),n===void 0&&(n=1),r===void 0&&(r=.5),o===void 0&&(o=e),s===void 0&&(s=e),zn.test(t)){t=parseFloat(t);var a=qe(s.min,s.max,t/100);t=a-s.min}if(typeof t=="number"){var l=qe(o.min,o.max,r);e===o&&(l-=t),e.min=Qw(e.min,t,n,l,i),e.max=Qw(e.max,t,n,l,i)}}function Zw(e,t,n,r,i){var o=st(n,3),s=o[0],a=o[1],l=o[2];CU(e,t[s],t[a],t[l],t.scale,r,i)}var AU=["x","scaleX","originX"],$U=["y","scaleY","originY"];function Jw(e,t,n,r){Zw(e.x,t,AU,n==null?void 0:n.x,r==null?void 0:r.x),Zw(e.y,t,$U,n==null?void 0:n.y,r==null?void 0:r.y)}function e2(e){return e.translate===0&&e.scale===1}function z5(e){return e2(e.x)&&e2(e.y)}function H5(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 TU=function(){function e(){this.members=[]}return e.prototype.add=function(t){L1(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(F1(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var n=this.members[this.members.length-1];n&&this.promote(n)}},e.prototype.relegate=function(t){var n=this.members.findIndex(function(s){return t===s});if(n===0)return!1;for(var r,i=n;i>=0;i--){var o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1},e.prototype.promote=function(t,n){var r,i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues,t.snapshot.isShared=!0),!((r=t.root)===null||r===void 0)&&r.isUpdating&&(t.isLayoutDirty=!0);var o=t.options.crossfade;o===!1&&i.hide()}},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var n,r,i,o,s;(r=(n=t.options).onExitComplete)===null||r===void 0||r.call(n),(s=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||s===void 0||s.call(o)})},e.prototype.scheduleRender=function(){this.members.forEach(function(t){t.instance&&t.scheduleRender(!1)})},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),PU="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function t2(e,t,n){var r=e.x.translate/t.x,i=e.y.translate/t.y,o="translate3d(".concat(r,"px, ").concat(i,"px, 0) ");if(o+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),n){var s=n.rotate,a=n.rotateX,l=n.rotateY;s&&(o+="rotate(".concat(s,"deg) ")),a&&(o+="rotateX(".concat(a,"deg) ")),l&&(o+="rotateY(".concat(l,"deg) "))}var u=e.x.scale*t.x,c=e.y.scale*t.y;return o+="scale(".concat(u,", ").concat(c,")"),o===PU?"none":o}var RU=function(e,t){return e.depth-t.depth},OU=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){L1(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){F1(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(RU),this.isDirty=!1,this.children.forEach(t)},e}(),n2=1e3;function G5(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,i=e.checkIsScrollRoot,o=e.resetTransform;return function(){function s(a,l,u){var c=this;l===void 0&&(l={}),u===void 0&&(u=n==null?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(){c.isUpdating&&(c.isUpdating=!1,c.clearAllSnapshots())},this.updateProjection=function(){c.nodes.forEach(FU),c.nodes.forEach(IU)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=a,this.latestValues=l,this.root=u?u.root||u:this,this.path=u?Rn(Rn([],st(u.path),!1),[u],!1):[],this.parent=u,this.depth=u?u.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(var f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new OU)}return s.prototype.addEventListener=function(a,l){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Pa),this.eventHandlers.get(a).add(l)},s.prototype.notifyListeners=function(a){for(var l=[],u=1;u<arguments.length;u++)l[u-1]=arguments[u];var c=this.eventHandlers.get(a);c==null||c.notify.apply(c,Rn([],st(l),!1))},s.prototype.hasListeners=function(a){return this.eventHandlers.has(a)},s.prototype.registerPotentialNode=function(a,l){this.potentialNodes.set(a,l)},s.prototype.mount=function(a,l){var u=this,c;if(l===void 0&&(l=!1),!this.instance){this.isSVG=a instanceof SVGElement&&a.tagName!=="svg",this.instance=a;var f=this.options,d=f.layoutId,p=f.layout,v=f.visualElement;if(v&&!v.getInstance()&&v.mount(a),this.root.nodes.add(this),(c=this.parent)===null||c===void 0||c.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),l&&(p||d)&&(this.isLayoutDirty=!0),t){var m,w=function(){return u.root.updateBlockedByResize=!1};t(a,function(){u.root.updateBlockedByResize=!0,clearTimeout(m),m=window.setTimeout(w,250),Aa.hasAnimatedSinceResize&&(Aa.hasAnimatedSinceResize=!1,u.nodes.forEach(LU))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&v&&(d||p)&&this.addEventListener("didUpdate",function(_){var x,y,E,S,A,$=_.delta,T=_.hasLayoutChanged,O=_.hasRelativeTargetChanged,M=_.layout;if(u.isTreeAnimationBlocked()){u.target=void 0,u.relativeTarget=void 0;return}var Y=(y=(x=u.options.transition)!==null&&x!==void 0?x:v.getDefaultTransition())!==null&&y!==void 0?y:zU,H=v.getProps(),X=H.onLayoutAnimationStart,G=H.onLayoutAnimationComplete,le=!u.targetLayout||!H5(u.targetLayout,M)||O,Ee=!T&&O;if(((E=u.resumeFrom)===null||E===void 0?void 0:E.instance)||Ee||T&&(le||!u.currentAnimation)){u.resumeFrom&&(u.resumingFrom=u.resumeFrom,u.resumingFrom.resumingFrom=void 0),u.setAnimationOrigin($,Ee);var he=j(j({},D1(Y,"layout")),{onPlay:X,onComplete:G});v.shouldReduceMotion&&(he.delay=0,he.type=!1),u.startAnimation(he)}else!T&&u.animationProgress===0&&u.finishAnimation(),u.isLead()&&((A=(S=u.options).onExitComplete)===null||A===void 0||A.call(S));u.targetLayout=M})}},s.prototype.unmount=function(){var a,l;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(l=this.parent)===null||l===void 0||l.children.delete(this),this.instance=void 0,vs.preRender(this.updateProjection)},s.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},s.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},s.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},s.prototype.isTreeAnimationBlocked=function(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1},s.prototype.startUpdate=function(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(jU))},s.prototype.willUpdate=function(a){var l,u,c;if(a===void 0&&(a=!0),this.root.isUpdateBlocked()){(u=(l=this.options).onExitComplete)===null||u===void 0||u.call(l);return}if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var f=0;f<this.path.length;f++){var d=this.path[f];d.shouldResetTransform=!0,d.updateScroll()}var p=this.options,v=p.layoutId,m=p.layout;if(!(v===void 0&&!m)){var w=(c=this.options.visualElement)===null||c===void 0?void 0:c.getProps().transformTemplate;this.prevTransformTemplateValue=w==null?void 0:w(this.latestValues,""),this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}}},s.prototype.didUpdate=function(){var a=this.isUpdateBlocked();if(a){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(r2);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(HU),this.potentialNodes.clear()),this.nodes.forEach(MU),this.nodes.forEach(kU),this.nodes.forEach(NU),this.clearAllSnapshots(),Yh.update(),Yh.preRender(),Yh.render())},s.prototype.clearAllSnapshots=function(){this.nodes.forEach(DU),this.sharedNodes.forEach(UU)},s.prototype.scheduleUpdateProjection=function(){Hn.preRender(this.updateProjection,!1,!0)},s.prototype.scheduleCheckAfterUnmount=function(){var a=this;Hn.postRender(function(){a.isLayoutDirty?a.root.didUpdate():a.root.checkUpdateFailed()})},s.prototype.updateSnapshot=function(){if(!(this.snapshot||!this.instance)){var a=this.measure(),l=this.removeTransform(this.removeElementScroll(a));a2(l),this.snapshot={measured:a,layout:l,latestValues:{}}}},s.prototype.updateLayout=function(){var a;if(!!this.instance&&(this.updateScroll(),!(!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))){if(this.resumeFrom&&!this.resumeFrom.instance)for(var l=0;l<this.path.length;l++){var u=this.path[l];u.updateScroll()}var c=this.measure();a2(c);var f=this.layout;this.layout={measured:c,actual:this.removeElementScroll(c)},this.layoutCorrected=yt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),(a=this.options.visualElement)===null||a===void 0||a.notifyLayoutMeasure(this.layout.actual,f==null?void 0:f.actual)}},s.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=i(this.instance),this.scroll=r(this.instance))},s.prototype.resetTransform=function(){var a;if(!!o){var l=this.isLayoutDirty||this.shouldResetTransform,u=this.projectionDelta&&!z5(this.projectionDelta),c=(a=this.options.visualElement)===null||a===void 0?void 0:a.getProps().transformTemplate,f=c==null?void 0:c(this.latestValues,""),d=f!==this.prevTransformTemplateValue;l&&(u||Tr(this.latestValues)||d)&&(o(this.instance,f),this.shouldResetTransform=!1,this.scheduleRender())}},s.prototype.measure=function(){var a=this.options.visualElement;if(!a)return yt();var l=a.measureViewportBox(),u=this.root.scroll;return u&&(Nr(l.x,u.x),Nr(l.y,u.y)),l},s.prototype.removeElementScroll=function(a){var l=yt();xn(l,a);for(var u=0;u<this.path.length;u++){var c=this.path[u],f=c.scroll,d=c.options,p=c.isScrollRoot;if(c!==this.root&&f&&d.layoutScroll){if(p){xn(l,a);var v=this.root.scroll;v&&(Nr(l.x,-v.x),Nr(l.y,-v.y))}Nr(l.x,f.x),Nr(l.y,f.y)}}return l},s.prototype.applyTransform=function(a,l){l===void 0&&(l=!1);var u=yt();xn(u,a);for(var c=0;c<this.path.length;c++){var f=this.path[c];!l&&f.options.layoutScroll&&f.scroll&&f!==f.root&&jo(u,{x:-f.scroll.x,y:-f.scroll.y}),Tr(f.latestValues)&&jo(u,f.latestValues)}return Tr(this.latestValues)&&jo(u,this.latestValues),u},s.prototype.removeTransform=function(a){var l,u=yt();xn(u,a);for(var c=0;c<this.path.length;c++){var f=this.path[c];if(!!f.instance&&!!Tr(f.latestValues)){k5(f.latestValues)&&f.updateSnapshot();var d=yt(),p=f.measure();xn(d,p),Jw(u,f.latestValues,(l=f.snapshot)===null||l===void 0?void 0:l.layout,d)}}return Tr(this.latestValues)&&Jw(u,this.latestValues),u},s.prototype.setTargetDelta=function(a){this.targetDelta=a,this.root.scheduleUpdateProjection()},s.prototype.setOptions=function(a){var l;this.options=j(j(j({},this.options),a),{crossfade:(l=a.crossfade)!==null&&l!==void 0?l:!0})},s.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},s.prototype.resolveTargetDelta=function(){var a,l=this.options,u=l.layout,c=l.layoutId;!this.layout||!(u||c)||(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=yt(),this.relativeTargetOrigin=yt(),Oa(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),xn(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=yt(),this.targetWithTransforms=yt()),this.relativeTarget&&this.relativeTargetOrigin&&((a=this.relativeParent)===null||a===void 0?void 0:a.target)?kj(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):xn(this.target,this.layout.actual),N5(this.target,this.targetDelta)):xn(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=yt(),this.relativeTargetOrigin=yt(),Oa(this.relativeTargetOrigin,this.target,this.relativeParent.target),xn(this.relativeTarget,this.relativeTargetOrigin)))))},s.prototype.getClosestProjectingParent=function(){if(!(!this.parent||Tr(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},s.prototype.calcProjection=function(){var a,l=this.options,u=l.layout,c=l.layoutId;if(this.isTreeAnimating=Boolean(((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!(!this.layout||!(u||c))){var f=this.getLead();xn(this.layoutCorrected,this.layout.actual),Bj(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==f);var d=f.target;if(!!d){this.projectionDelta||(this.projectionDelta=ka(),this.projectionDeltaWithTransform=ka());var p=this.treeScale.x,v=this.treeScale.y,m=this.projectionTransform;Ra(this.projectionDelta,this.layoutCorrected,d,this.latestValues),this.projectionTransform=t2(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||this.treeScale.x!==p||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",d))}}},s.prototype.hide=function(){this.isVisible=!1},s.prototype.show=function(){this.isVisible=!0},s.prototype.scheduleRender=function(a){var l,u,c;a===void 0&&(a=!0),(u=(l=this.options).scheduleRender)===null||u===void 0||u.call(l),a&&((c=this.getStack())===null||c===void 0||c.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},s.prototype.setAnimationOrigin=function(a,l){var u=this,c;l===void 0&&(l=!1);var f=this.snapshot,d=(f==null?void 0:f.latestValues)||{},p=j({},this.latestValues),v=ka();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var m=yt(),w=f==null?void 0:f.isShared,_=(((c=this.getStack())===null||c===void 0?void 0:c.members.length)||0)<=1,x=Boolean(w&&!_&&this.options.crossfade===!0&&!this.path.some(VU));this.animationProgress=0,this.mixTargetDelta=function(y){var E,S=y/1e3;i2(v.x,a.x,S),i2(v.y,a.y,S),u.setTargetDelta(v),u.relativeTarget&&u.relativeTargetOrigin&&u.layout&&((E=u.relativeParent)===null||E===void 0?void 0:E.layout)&&(Oa(m,u.layout.actual,u.relativeParent.layout.actual),BU(u.relativeTarget,u.relativeTargetOrigin,m,S)),w&&(u.animationValues=p,bU(p,d,u.latestValues,S,x,_)),u.root.scheduleUpdateProjection(),u.scheduleRender(),u.animationProgress=S},this.mixTargetDelta(0)},s.prototype.startAnimation=function(a){var l=this,u,c;this.notifyListeners("animationStart"),(u=this.currentAnimation)===null||u===void 0||u.stop(),this.resumingFrom&&((c=this.resumingFrom.currentAnimation)===null||c===void 0||c.stop()),this.pendingAnimation&&(vs.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Hn.update(function(){Aa.hasAnimatedSinceResize=!0,l.currentAnimation=xU(0,n2,j(j({},a),{onUpdate:function(f){var d;l.mixTargetDelta(f),(d=a.onUpdate)===null||d===void 0||d.call(a,f)},onComplete:function(){var f;(f=a.onComplete)===null||f===void 0||f.call(a),l.completeAnimation()}})),l.resumingFrom&&(l.resumingFrom.currentAnimation=l.currentAnimation),l.pendingAnimation=void 0})},s.prototype.completeAnimation=function(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},s.prototype.finishAnimation=function(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,n2),this.currentAnimation.stop()),this.completeAnimation()},s.prototype.applyTransformsToTarget=function(){var a=this.getLead(),l=a.targetWithTransforms,u=a.target,c=a.layout,f=a.latestValues;!l||!u||!c||(xn(l,u),jo(l,f),Ra(this.projectionDeltaWithTransform,this.layoutCorrected,l,f))},s.prototype.registerSharedNode=function(a,l){var u,c,f;this.sharedNodes.has(a)||this.sharedNodes.set(a,new TU);var d=this.sharedNodes.get(a);d.add(l),l.promote({transition:(u=l.options.initialPromotionConfig)===null||u===void 0?void 0:u.transition,preserveFollowOpacity:(f=(c=l.options.initialPromotionConfig)===null||c===void 0?void 0:c.shouldPreserveFollowOpacity)===null||f===void 0?void 0:f.call(c,l)})},s.prototype.isLead=function(){var a=this.getStack();return a?a.lead===this:!0},s.prototype.getLead=function(){var a,l=this.options.layoutId;return l?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this},s.prototype.getPrevLead=function(){var a,l=this.options.layoutId;return l?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0},s.prototype.getStack=function(){var a=this.options.layoutId;if(a)return this.root.sharedNodes.get(a)},s.prototype.promote=function(a){var l=a===void 0?{}:a,u=l.needsReset,c=l.transition,f=l.preserveFollowOpacity,d=this.getStack();d&&d.promote(this,f),u&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})},s.prototype.relegate=function(){var a=this.getStack();return a?a.relegate(this):!1},s.prototype.resetRotation=function(){var a=this.options.visualElement;if(!!a){for(var l=!1,u={},c=0;c<Hm.length;c++){var f=Hm[c],d="rotate"+f;!a.getStaticValue(d)||(l=!0,u[d]=a.getStaticValue(d),a.setStaticValue(d,0))}if(!!l){a==null||a.syncRender();for(var d in u)a.setStaticValue(d,u[d]);a.scheduleRender()}}},s.prototype.getProjectionStyles=function(a){var l,u,c,f,d,p;a===void 0&&(a={});var v={};if(!this.instance||this.isSVG)return v;if(this.isVisible)v.visibility="";else return{visibility:"hidden"};var m=(l=this.options.visualElement)===null||l===void 0?void 0:l.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,v.opacity="",v.pointerEvents=ic(a.pointerEvents)||"",v.transform=m?m(this.latestValues,""):"none",v;var w=this.getLead();if(!this.projectionDelta||!this.layout||!w.target){var _={};return this.options.layoutId&&(_.opacity=(u=this.latestValues.opacity)!==null&&u!==void 0?u:1,_.pointerEvents=ic(a.pointerEvents)||""),this.hasProjected&&!Tr(this.latestValues)&&(_.transform=m?m({},""):"none",this.hasProjected=!1),_}var x=w.animationValues||w.latestValues;this.applyTransformsToTarget(),v.transform=t2(this.projectionDeltaWithTransform,this.treeScale,x),m&&(v.transform=m(x,v.transform));var y=this.projectionDelta,E=y.x,S=y.y;v.transformOrigin="".concat(E.origin*100,"% ").concat(S.origin*100,"% 0"),w.animationValues?v.opacity=w===this?(f=(c=x.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&f!==void 0?f:1:this.preserveOpacity?this.latestValues.opacity:x.opacityExit:v.opacity=w===this?(d=x.opacity)!==null&&d!==void 0?d:"":(p=x.opacityExit)!==null&&p!==void 0?p:0;for(var A in nf)if(x[A]!==void 0){var $=nf[A],T=$.correct,O=$.applyTo,M=T(x[A],w);if(O)for(var Y=O.length,H=0;H<Y;H++)v[O[H]]=M;else v[A]=M}return this.options.layoutId&&(v.pointerEvents=w===this?ic(a.pointerEvents)||"":"none"),v},s.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},s.prototype.resetTree=function(){this.root.nodes.forEach(function(a){var l;return(l=a.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(r2),this.root.sharedNodes.clear()},s}()}function kU(e){e.updateLayout()}function NU(e){var t,n,r,i,o=(n=(t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)!==null&&n!==void 0?n:e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){var s=e.layout,a=s.actual,l=s.measured;e.options.animationType==="size"?Ln(function(x){var y=o.isShared?o.measured[x]:o.layout[x],E=yr(y);y.min=a[x].min,y.max=y.min+E}):e.options.animationType==="position"&&Ln(function(x){var y=o.isShared?o.measured[x]:o.layout[x],E=yr(a[x]);y.max=y.min+E});var u=ka();Ra(u,a,o.layout);var c=ka();o.isShared?Ra(c,e.applyTransform(l,!0),o.measured):Ra(c,a,o.layout);var f=!z5(u),d=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var p=e.relativeParent,v=p.snapshot,m=p.layout;if(v&&m){var w=yt();Oa(w,o.layout,v.layout);var _=yt();Oa(_,a,m.actual),H5(w,_)||(d=!0)}}e.notifyListeners("didUpdate",{layout:a,snapshot:o,delta:c,layoutDelta:u,hasLayoutChanged:f,hasRelativeTargetChanged:d})}else e.isLead()&&((i=(r=e.options).onExitComplete)===null||i===void 0||i.call(r));e.options.transition=void 0}function DU(e){e.clearSnapshot()}function r2(e){e.clearMeasurements()}function MU(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function LU(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function FU(e){e.resolveTargetDelta()}function IU(e){e.calcProjection()}function jU(e){e.resetRotation()}function UU(e){e.removeLeadSnapshot()}function i2(e,t,n){e.translate=qe(t.translate,0,n),e.scale=qe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function o2(e,t,n,r){e.min=qe(t.min,n.min,r),e.max=qe(t.max,n.max,r)}function BU(e,t,n,r){o2(e.x,t.x,n.x,r),o2(e.y,t.y,n.y,r)}function VU(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var zU={duration:.45,ease:[.4,0,.1,1]};function HU(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 i=n&&n!==e.root?n.instance:document,o=i.querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function s2(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function a2(e){s2(e.x),s2(e.y)}var GU=G5({attachResizeListener:function(e,t){return kd(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),Zh={current:void 0},YU=G5({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Zh.current){var e=new GU(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Zh.current=e}return Zh.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"},checkIsScrollRoot:function(e){return Boolean(window.getComputedStyle(e).position==="fixed")}}),WU=j(j(j(j({},Pj),GI),Kj),_U),Y5=FL(function(e,t){return EF(e,t,WU,hU,YU)});function Ne(){return Ne=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},Ne.apply(this,arguments)}function bt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function qU(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function W5(...e){return t=>e.forEach(n=>qU(n,t))}function Yn(...e){return g.exports.useCallback(W5(...e),e)}function Il(e,t=[]){let n=[];function r(o,s){const a=g.exports.createContext(s),l=n.length;n=[...n,s];function u(f){const{scope:d,children:p,...v}=f,m=(d==null?void 0:d[e][l])||a,w=g.exports.useMemo(()=>v,Object.values(v));return g.exports.createElement(m.Provider,{value:w},p)}function c(f,d){const p=(d==null?void 0:d[e][l])||a,v=g.exports.useContext(p);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,c]}const i=()=>{const o=n.map(s=>g.exports.createContext(s));return function(a){const l=(a==null?void 0:a[e])||o;return g.exports.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,XU(i,...t)]}function XU(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const f=l(o)[`__scope${u}`];return{...a,...f}},{});return g.exports.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}const yl=g.exports.forwardRef((e,t)=>{const{children:n,...r}=e,i=g.exports.Children.toArray(n),o=i.find(QU);if(o){const s=o.props.children,a=i.map(l=>l===o?g.exports.Children.count(s)>1?g.exports.Children.only(null):g.exports.isValidElement(s)?s.props.children:null:l);return g.exports.createElement(s0,Ne({},r,{ref:t}),g.exports.isValidElement(s)?g.exports.cloneElement(s,void 0,a):null)}return g.exports.createElement(s0,Ne({},r,{ref:t}),n)});yl.displayName="Slot";const s0=g.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return g.exports.isValidElement(n)?g.exports.cloneElement(n,{...ZU(r,n.props),ref:W5(t,n.ref)}):g.exports.Children.count(n)>1?g.exports.Children.only(null):null});s0.displayName="SlotClone";const KU=({children:e})=>g.exports.createElement(g.exports.Fragment,null,e);function QU(e){return g.exports.isValidElement(e)&&e.type===KU}function ZU(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?n[r]=(...a)=>{o==null||o(...a),i==null||i(...a)}:r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const JU=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],tn=JU.reduce((e,t)=>{const n=g.exports.forwardRef((r,i)=>{const{asChild:o,...s}=r,a=o?yl:t;return g.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),g.exports.createElement(a,Ne({},s,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function eB(e,t){e&&ui.exports.flushSync(()=>e.dispatchEvent(t))}function ai(e){const t=g.exports.useRef(e);return g.exports.useEffect(()=>{t.current=e}),g.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function tB(e){const t=ai(e);g.exports.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const a0="dismissableLayer.update",nB="dismissableLayer.pointerDownOutside",rB="dismissableLayer.focusOutside";let l2;const iB=g.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),oB=g.exports.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,u=g.exports.useContext(iB),[c,f]=g.exports.useState(null),[,d]=g.exports.useState({}),p=Yn(t,A=>f(A)),v=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),w=v.indexOf(m),_=c?v.indexOf(c):-1,x=u.layersWithOutsidePointerEventsDisabled.size>0,y=_>=w,E=sB(A=>{const $=A.target,T=[...u.branches].some(O=>O.contains($));!y||T||(i==null||i(A),s==null||s(A),A.defaultPrevented||a==null||a())}),S=aB(A=>{const $=A.target;[...u.branches].some(O=>O.contains($))||(o==null||o(A),s==null||s(A),A.defaultPrevented||a==null||a())});return tB(A=>{_===u.layers.size-1&&(r==null||r(A),!A.defaultPrevented&&a&&(A.preventDefault(),a()))}),g.exports.useEffect(()=>{if(!!c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(l2=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),u2(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=l2)}},[c,n,u]),g.exports.useEffect(()=>()=>{!c||(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),u2())},[c,u]),g.exports.useEffect(()=>{const A=()=>d({});return document.addEventListener(a0,A),()=>document.removeEventListener(a0,A)},[]),g.exports.createElement(tn.div,Ne({},l,{ref:p,style:{pointerEvents:x?y?"auto":"none":void 0,...e.style},onFocusCapture:bt(e.onFocusCapture,S.onFocusCapture),onBlurCapture:bt(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:bt(e.onPointerDownCapture,E.onPointerDownCapture)}))});function sB(e){const t=ai(e),n=g.exports.useRef(!1),r=g.exports.useRef(()=>{});return g.exports.useEffect(()=>{const i=s=>{if(s.target&&!n.current){let a=function(){q5(nB,t,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(document.removeEventListener("click",r.current),r.current=a,document.addEventListener("click",r.current,{once:!0})):a()}n.current=!1},o=window.setTimeout(()=>{document.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),document.removeEventListener("pointerdown",i),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}function aB(e){const t=ai(e),n=g.exports.useRef(!1);return g.exports.useEffect(()=>{const r=i=>{i.target&&!n.current&&q5(rB,t,{originalEvent:i},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function u2(){const e=new CustomEvent(a0);document.dispatchEvent(e)}function q5(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?eB(i,o):i.dispatchEvent(o)}let Jh=0;function lB(){g.exports.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:c2()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:c2()),Jh++,()=>{Jh===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Jh--}},[])}function c2(){const 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}const ev="focusScope.autoFocusOnMount",tv="focusScope.autoFocusOnUnmount",f2={bubbles:!1,cancelable:!0},uB=g.exports.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...s}=e,[a,l]=g.exports.useState(null),u=ai(i),c=ai(o),f=g.exports.useRef(null),d=Yn(t,m=>l(m)),p=g.exports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.exports.useEffect(()=>{if(r){let m=function(_){if(p.paused||!a)return;const x=_.target;a.contains(x)?f.current=x:Mi(f.current,{select:!0})},w=function(_){p.paused||!a||a.contains(_.relatedTarget)||Mi(f.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",w),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",w)}}},[r,a,p.paused]),g.exports.useEffect(()=>{if(a){p2.add(p);const m=document.activeElement;if(!a.contains(m)){const _=new CustomEvent(ev,f2);a.addEventListener(ev,u),a.dispatchEvent(_),_.defaultPrevented||(cB(vB(X5(a)),{select:!0}),document.activeElement===m&&Mi(a))}return()=>{a.removeEventListener(ev,u),setTimeout(()=>{const _=new CustomEvent(tv,f2);a.addEventListener(tv,c),a.dispatchEvent(_),_.defaultPrevented||Mi(m!=null?m:document.body,{select:!0}),a.removeEventListener(tv,c),p2.remove(p)},0)}}},[a,u,c,p]);const v=g.exports.useCallback(m=>{if(!n&&!r||p.paused)return;const w=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,_=document.activeElement;if(w&&_){const x=m.currentTarget,[y,E]=fB(x);y&&E?!m.shiftKey&&_===E?(m.preventDefault(),n&&Mi(y,{select:!0})):m.shiftKey&&_===y&&(m.preventDefault(),n&&Mi(E,{select:!0})):_===x&&m.preventDefault()}},[n,r,p.paused]);return g.exports.createElement(tn.div,Ne({tabIndex:-1},s,{ref:d,onKeyDown:v}))});function cB(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Mi(r,{select:t}),document.activeElement!==n)return}function fB(e){const t=X5(e),n=d2(t,e),r=d2(t.reverse(),e);return[n,r]}function X5(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function d2(e,t){for(const n of e)if(!dB(n,{upTo:t}))return n}function dB(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function pB(e){return e instanceof HTMLInputElement&&"select"in e}function Mi(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&pB(e)&&t&&e.select()}}const p2=hB();function hB(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=h2(e,t),e.unshift(t)},remove(t){var n;e=h2(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function h2(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function vB(e){return e.filter(t=>t.tagName!=="A")}const gs=Boolean(globalThis==null?void 0:globalThis.document)?g.exports.useLayoutEffect:()=>{},mB=AT["useId".toString()]||(()=>{});let gB=0;function j1(e){const[t,n]=g.exports.useState(mB());return gs(()=>{e||n(r=>r!=null?r:String(gB++))},[e]),e||(t?`radix-${t}`:"")}function Ts(e){return e.split("-")[0]}function Ld(e){return e.split("-")[1]}function Ps(e){return["top","bottom"].includes(Ts(e))?"x":"y"}function U1(e){return e==="y"?"height":"width"}function v2(e,t,n){let{reference:r,floating:i}=e;const o=r.x+r.width/2-i.width/2,s=r.y+r.height/2-i.height/2,a=Ps(t),l=U1(a),u=r[l]/2-i[l]/2,c=Ts(t),f=a==="x";let d;switch(c){case"top":d={x:o,y:r.y-i.height};break;case"bottom":d={x:o,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:s};break;case"left":d={x:r.x-i.width,y:s};break;default:d={x:r.x,y:r.y}}switch(Ld(t)){case"start":d[a]-=u*(n&&f?-1:1);break;case"end":d[a]+=u*(n&&f?-1:1);break}return d}const yB=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=await(s.isRTL==null?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=v2(l,r,a),f=r,d={},p=0;for(let v=0;v<o.length;v++){const{name:m,fn:w}=o[v],{x:_,y:x,data:y,reset:E}=await w({x:u,y:c,initialPlacement:r,placement:f,strategy:i,middlewareData:d,rects:l,platform:s,elements:{reference:e,floating:t}});if(u=_!=null?_:u,c=x!=null?x:c,d={...d,[m]:{...d[m],...y}},E&&p<=50){p++,typeof E=="object"&&(E.placement&&(f=E.placement),E.rects&&(l=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):E.rects),{x:u,y:c}=v2(l,f,a)),v=-1;continue}}return{x:u,y:c,placement:f,strategy:i,middlewareData:d}};function _B(e){return{top:0,right:0,bottom:0,left:0,...e}}function K5(e){return typeof e!="number"?_B(e):{top:e,right:e,bottom:e,left:e}}function df(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function pf(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=t,v=K5(p),w=a[d?f==="floating"?"reference":"floating":f],_=df(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(w)))==null||n?w:w.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),x=df(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...s.floating,x:r,y:i}:s.reference,offsetParent:await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),strategy:l}):s[f]);return{top:_.top-x.top+v.top,bottom:x.bottom-_.bottom+v.bottom,left:_.left-x.left+v.left,right:x.right-_.right+v.right}}const xB=Math.min,wB=Math.max;function l0(e,t,n){return wB(e,xB(t,n))}const m2=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e!=null?e:{},{x:i,y:o,placement:s,rects:a,platform:l}=t;if(n==null)return{};const u=K5(r),c={x:i,y:o},f=Ps(s),d=Ld(s),p=U1(f),v=await l.getDimensions(n),m=f==="y"?"top":"left",w=f==="y"?"bottom":"right",_=a.reference[p]+a.reference[f]-c[f]-a.floating[p],x=c[f]-a.reference[f],y=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let E=y?f==="y"?y.clientHeight||0:y.clientWidth||0:0;E===0&&(E=a.floating[p]);const S=_/2-x/2,A=u[m],$=E-v[p]-u[w],T=E/2-v[p]/2+S,O=l0(A,T,$),H=(d==="start"?u[m]:u[w])>0&&T!==O&&a.reference[p]<=a.floating[p]?T<A?A-T:$-T:0;return{[f]:c[f]-H,data:{[f]:O,centerOffset:T-O}}}}),bB={left:"right",right:"left",bottom:"top",top:"bottom"};function hf(e){return e.replace(/left|right|bottom|top/g,t=>bB[t])}function EB(e,t,n){n===void 0&&(n=!1);const r=Ld(e),i=Ps(e),o=U1(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=hf(s)),{main:s,cross:hf(s)}}const SB={start:"end",end:"start"};function g2(e){return e.replace(/start|end/g,t=>SB[t])}const CB=["top","right","bottom","left"];function AB(e){const t=hf(e);return[g2(e),t,g2(t)]}const $B=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:o,initialPlacement:s,platform:a,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...v}=e,m=Ts(r),_=f||(m===s||!p?[hf(s)]:AB(s)),x=[s,..._],y=await pf(t,v),E=[];let S=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&E.push(y[m]),c){const{main:O,cross:M}=EB(r,o,await(a.isRTL==null?void 0:a.isRTL(l.floating)));E.push(y[O],y[M])}if(S=[...S,{placement:r,overflows:E}],!E.every(O=>O<=0)){var A,$;const O=((A=($=i.flip)==null?void 0:$.index)!=null?A:0)+1,M=x[O];if(M)return{data:{index:O,overflows:S},reset:{placement:M}};let Y="bottom";switch(d){case"bestFit":{var T;const H=(T=S.map(X=>[X,X.overflows.filter(G=>G>0).reduce((G,le)=>G+le,0)]).sort((X,G)=>X[1]-G[1])[0])==null?void 0:T[0].placement;H&&(Y=H);break}case"initialPlacement":Y=s;break}if(r!==Y)return{reset:{placement:Y}}}return{}}}};function y2(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function _2(e){return CB.some(t=>e[t]>=0)}const TB=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:i}=r;switch(t){case"referenceHidden":{const o=await pf(r,{...n,elementContext:"reference"}),s=y2(o,i.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:_2(s)}}}case"escaped":{const o=await pf(r,{...n,altBoundary:!0}),s=y2(o,i.floating);return{data:{escapedOffsets:s,escaped:_2(s)}}}default:return{}}}}};async function PB(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=Ts(n),a=Ld(n),l=Ps(n)==="x",u=["left","top"].includes(s)?-1:1,c=o&&l?-1:1,f=typeof t=="function"?t(e):t;let{mainAxis:d,crossAxis:p,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof v=="number"&&(p=a==="end"?v*-1:v),l?{x:p*c,y:d*u}:{x:d*u,y:p*c}}const RB=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await PB(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function Q5(e){return e==="x"?"y":"x"}const OB=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:w=>{let{x:_,y:x}=w;return{x:_,y:x}}},...l}=e,u={x:n,y:r},c=await pf(t,l),f=Ps(Ts(i)),d=Q5(f);let p=u[f],v=u[d];if(o){const w=f==="y"?"top":"left",_=f==="y"?"bottom":"right",x=p+c[w],y=p-c[_];p=l0(x,p,y)}if(s){const w=d==="y"?"top":"left",_=d==="y"?"bottom":"right",x=v+c[w],y=v-c[_];v=l0(x,v,y)}const m=a.fn({...t,[f]:p,[d]:v});return{...m,data:{x:m.x-n,y:m.y-r}}}}},kB=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=e,c={x:n,y:r},f=Ps(i),d=Q5(f);let p=c[f],v=c[d];const m=typeof a=="function"?a({...o,placement:i}):a,w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const S=f==="y"?"height":"width",A=o.reference[f]-o.floating[S]+w.mainAxis,$=o.reference[f]+o.reference[S]-w.mainAxis;p<A?p=A:p>$&&(p=$)}if(u){var _,x,y,E;const S=f==="y"?"width":"height",A=["top","left"].includes(Ts(i)),$=o.reference[d]-o.floating[S]+(A&&(_=(x=s.offset)==null?void 0:x[d])!=null?_:0)+(A?0:w.crossAxis),T=o.reference[d]+o.reference[S]+(A?0:(y=(E=s.offset)==null?void 0:E[d])!=null?y:0)-(A?w.crossAxis:0);v<$?v=$:v>T&&(v=T)}return{[f]:p,[d]:v}}}};function Z5(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Sr(e){if(e==null)return window;if(!Z5(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function jl(e){return Sr(e).getComputedStyle(e)}function _r(e){return Z5(e)?"":e?(e.nodeName||"").toLowerCase():""}function J5(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Wn(e){return e instanceof Sr(e).HTMLElement}function li(e){return e instanceof Sr(e).Element}function NB(e){return e instanceof Sr(e).Node}function B1(e){if(typeof ShadowRoot=="undefined")return!1;const t=Sr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Fd(e){const{overflow:t,overflowX:n,overflowY:r}=jl(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function DB(e){return["table","td","th"].includes(_r(e))}function e$(e){const t=/firefox/i.test(J5()),n=jl(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)}function t$(){return!/^((?!chrome|android).)*safari/i.test(J5())}const x2=Math.min,Na=Math.max,vf=Math.round;function xr(e,t,n){var r,i,o,s;t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect();let l=1,u=1;t&&Wn(e)&&(l=e.offsetWidth>0&&vf(a.width)/e.offsetWidth||1,u=e.offsetHeight>0&&vf(a.height)/e.offsetHeight||1);const c=li(e)?Sr(e):window,f=!t$()&&n,d=(a.left+(f&&(r=(i=c.visualViewport)==null?void 0:i.offsetLeft)!=null?r:0))/l,p=(a.top+(f&&(o=(s=c.visualViewport)==null?void 0:s.offsetTop)!=null?o:0))/u,v=a.width/l,m=a.height/u;return{width:v,height:m,top:p,right:d+v,bottom:p+m,left:d,x:d,y:p}}function vi(e){return((NB(e)?e.ownerDocument:e.document)||window.document).documentElement}function Id(e){return li(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function n$(e){return xr(vi(e)).left+Id(e).scrollLeft}function MB(e){const t=xr(e);return vf(t.width)!==e.offsetWidth||vf(t.height)!==e.offsetHeight}function LB(e,t,n){const r=Wn(t),i=vi(t),o=xr(e,r&&MB(t),n==="fixed");let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((_r(t)!=="body"||Fd(i))&&(s=Id(t)),Wn(t)){const l=xr(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else i&&(a.x=n$(i));return{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}function r$(e){return _r(e)==="html"?e:e.assignedSlot||e.parentNode||(B1(e)?e.host:null)||vi(e)}function w2(e){return!Wn(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function FB(e){let t=r$(e);for(B1(t)&&(t=t.host);Wn(t)&&!["html","body"].includes(_r(t));){if(e$(t))return t;t=t.parentNode}return null}function u0(e){const t=Sr(e);let n=w2(e);for(;n&&DB(n)&&getComputedStyle(n).position==="static";)n=w2(n);return n&&(_r(n)==="html"||_r(n)==="body"&&getComputedStyle(n).position==="static"&&!e$(n))?t:n||FB(e)||t}function b2(e){if(Wn(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=xr(e);return{width:t.width,height:t.height}}function IB(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=Wn(n),o=vi(n);if(n===o)return t;let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((i||!i&&r!=="fixed")&&((_r(n)!=="body"||Fd(o))&&(s=Id(n)),Wn(n))){const l=xr(n,!0);a.x=l.x+n.clientLeft,a.y=l.y+n.clientTop}return{...t,x:t.x-s.scrollLeft+a.x,y:t.y-s.scrollTop+a.y}}function jB(e,t){const n=Sr(e),r=vi(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const u=t$();(u||!u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}function UB(e){var t;const n=vi(e),r=Id(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Na(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Na(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);let a=-r.scrollLeft+n$(e);const l=-r.scrollTop;return jl(i||n).direction==="rtl"&&(a+=Na(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function i$(e){const t=r$(e);return["html","body","#document"].includes(_r(t))?e.ownerDocument.body:Wn(t)&&Fd(t)?t:i$(t)}function mf(e,t){var n;t===void 0&&(t=[]);const r=i$(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Sr(r),s=i?[o].concat(o.visualViewport||[],Fd(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(mf(s))}function BB(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&B1(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function VB(e,t){const n=xr(e,!1,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft;return{top:r,left:i,x:i,y:r,right:i+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function E2(e,t,n){return t==="viewport"?df(jB(e,n)):li(t)?VB(t,n):df(UB(vi(e)))}function zB(e){const t=mf(e),r=["absolute","fixed"].includes(jl(e).position)&&Wn(e)?u0(e):e;return li(r)?t.filter(i=>li(i)&&BB(i,r)&&_r(i)!=="body"):[]}function HB(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[...n==="clippingAncestors"?zB(t):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const f=E2(t,c,i);return u.top=Na(f.top,u.top),u.right=x2(f.right,u.right),u.bottom=x2(f.bottom,u.bottom),u.left=Na(f.left,u.left),u},E2(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}const GB={getClippingRect:HB,convertOffsetParentRelativeRectToViewportRelativeRect:IB,isElement:li,getDimensions:b2,getOffsetParent:u0,getDocumentElement:vi,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:LB(t,u0(n),r),floating:{...b2(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>jl(e).direction==="rtl"};function YB(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=!0,animationFrame:a=!1}=r,l=i&&!a,u=o&&!a,c=l||u?[...li(e)?mf(e):[],...mf(t)]:[];c.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),u&&m.addEventListener("resize",n)});let f=null;if(s){let m=!0;f=new ResizeObserver(()=>{m||n(),m=!1}),li(e)&&!a&&f.observe(e),f.observe(t)}let d,p=a?xr(e):null;a&&v();function v(){const m=xr(e);p&&(m.x!==p.x||m.y!==p.y||m.width!==p.width||m.height!==p.height)&&n(),p=m,d=requestAnimationFrame(v)}return n(),()=>{var m;c.forEach(w=>{l&&w.removeEventListener("scroll",n),u&&w.removeEventListener("resize",n)}),(m=f)==null||m.disconnect(),f=null,a&&cancelAnimationFrame(d)}}const WB=(e,t,n)=>yB(e,t,{platform:GB,...n});var c0=typeof document!="undefined"?g.exports.useLayoutEffect:g.exports.useEffect;function f0(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!f0(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!f0(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function qB(e){const t=g.exports.useRef(e);return c0(()=>{t.current=e}),t}function XB(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:i}=e===void 0?{}:e;const o=g.exports.useRef(null),s=g.exports.useRef(null),a=qB(i),l=g.exports.useRef(null),[u,c]=g.exports.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[f,d]=g.exports.useState(t);f0(f==null?void 0:f.map(y=>{let{options:E}=y;return E}),t==null?void 0:t.map(y=>{let{options:E}=y;return E}))||d(t);const p=g.exports.useCallback(()=>{!o.current||!s.current||WB(o.current,s.current,{middleware:f,placement:n,strategy:r}).then(y=>{v.current&&ui.exports.flushSync(()=>{c(y)})})},[f,n,r]);c0(()=>{v.current&&p()},[p]);const v=g.exports.useRef(!1);c0(()=>(v.current=!0,()=>{v.current=!1}),[]);const m=g.exports.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),o.current&&s.current)if(a.current){const y=a.current(o.current,s.current,p);l.current=y}else p()},[p,a]),w=g.exports.useCallback(y=>{o.current=y,m()},[m]),_=g.exports.useCallback(y=>{s.current=y,m()},[m]),x=g.exports.useMemo(()=>({reference:o,floating:s}),[]);return g.exports.useMemo(()=>({...u,update:p,refs:x,reference:w,floating:_}),[u,p,x,w,_])}const KB=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?m2({element:t.current,padding:n}).fn(i):{}:t?m2({element:t,padding:n}).fn(i):{}}}},QB=g.exports.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return g.exports.createElement(tn.svg,Ne({},o,{ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:g.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))}),ZB=QB;function JB(e){const[t,n]=g.exports.useState(void 0);return gs(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let s,a;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const o$="Popper",[V1,s$]=Il(o$),[eV,a$]=V1(o$),tV=e=>{const{__scopePopper:t,children:n}=e,[r,i]=g.exports.useState(null);return g.exports.createElement(eV,{scope:t,anchor:r,onAnchorChange:i},n)},nV="PopperAnchor",rV=g.exports.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=a$(nV,n),s=g.exports.useRef(null),a=Yn(t,s);return g.exports.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:g.exports.createElement(tn.div,Ne({},i,{ref:a}))}),gf="PopperContent",[iV,oV]=V1(gf),[sV,aV]=V1(gf,{hasParent:!1,positionUpdateFns:new Set}),lV=g.exports.forwardRef((e,t)=>{var n,r,i,o,s,a,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:d=0,align:p="center",alignOffset:v=0,arrowPadding:m=0,collisionBoundary:w=[],collisionPadding:_=0,sticky:x="partial",hideWhenDetached:y=!1,avoidCollisions:E=!0,...S}=e,A=a$(gf,c),[$,T]=g.exports.useState(null),O=Yn(t,_e=>T(_e)),[M,Y]=g.exports.useState(null),H=JB(M),X=(n=H==null?void 0:H.width)!==null&&n!==void 0?n:0,G=(r=H==null?void 0:H.height)!==null&&r!==void 0?r:0,le=f+(p!=="center"?"-"+p:""),Ee=typeof _=="number"?_:{top:0,right:0,bottom:0,left:0,..._},he=Array.isArray(w)?w:[w],B=he.length>0,Q={padding:Ee,boundary:he.filter(pV),altBoundary:B},{reference:Z,floating:de,strategy:I,x:R,y:k,placement:L,middlewareData:P,update:te}=XB({strategy:"fixed",placement:le,whileElementsMounted:YB,middleware:[RB({mainAxis:d+G,alignmentAxis:v}),E?OB({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?kB():void 0,...Q}):void 0,M?KB({element:M,padding:m}):void 0,E?$B({...Q}):void 0,hV({arrowWidth:X,arrowHeight:G}),y?TB({strategy:"referenceHidden"}):void 0].filter(dV)});gs(()=>{Z(A.anchor)},[Z,A.anchor]);const F=R!==null&&k!==null,[ge,pe]=l$(L),me=(i=P.arrow)===null||i===void 0?void 0:i.x,re=(o=P.arrow)===null||o===void 0?void 0:o.y,Le=((s=P.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[Ye,ve]=g.exports.useState();gs(()=>{$&&ve(window.getComputedStyle($).zIndex)},[$]);const{hasParent:Ue,positionUpdateFns:ue}=aV(gf,c),xe=!Ue;g.exports.useLayoutEffect(()=>{if(!xe)return ue.add(te),()=>{ue.delete(te)}},[xe,ue,te]),g.exports.useLayoutEffect(()=>{xe&&F&&Array.from(ue).reverse().forEach(_e=>requestAnimationFrame(_e))},[xe,F,ue]);const St={"data-side":ge,"data-align":pe,...S,ref:O,style:{...S.style,animation:F?void 0:"none",opacity:(a=P.hide)!==null&&a!==void 0&&a.referenceHidden?0:void 0}};return g.exports.createElement("div",{ref:de,"data-radix-popper-content-wrapper":"",style:{position:I,left:0,top:0,transform:F?`translate3d(${Math.round(R)}px, ${Math.round(k)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Ye,["--radix-popper-transform-origin"]:[(l=P.transformOrigin)===null||l===void 0?void 0:l.x,(u=P.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},g.exports.createElement(iV,{scope:c,placedSide:ge,onArrowChange:Y,arrowX:me,arrowY:re,shouldHideArrow:Le},xe?g.exports.createElement(sV,{scope:c,hasParent:!0,positionUpdateFns:ue},g.exports.createElement(tn.div,St)):g.exports.createElement(tn.div,St)))}),uV="PopperArrow",cV={top:"bottom",right:"left",bottom:"top",left:"right"},fV=g.exports.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=oV(uV,r),s=cV[o.placedSide];return g.exports.createElement("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},g.exports.createElement(ZB,Ne({},i,{ref:n,style:{...i.style,display:"block"}})))});function dV(e){return e!==void 0}function pV(e){return e!==null}const hV=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,s;const{placement:a,rects:l,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=f?0:e.arrowWidth,p=f?0:e.arrowHeight,[v,m]=l$(a),w={start:"0%",center:"50%",end:"100%"}[m],_=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+d/2,x=((o=(s=u.arrow)===null||s===void 0?void 0:s.y)!==null&&o!==void 0?o:0)+p/2;let y="",E="";return v==="bottom"?(y=f?w:`${_}px`,E=`${-p}px`):v==="top"?(y=f?w:`${_}px`,E=`${l.floating.height+p}px`):v==="right"?(y=`${-p}px`,E=f?w:`${x}px`):v==="left"&&(y=`${l.floating.width+p}px`,E=f?w:`${x}px`),{data:{x:y,y:E}}}});function l$(e){const[t,n="center"]=e.split("-");return[t,n]}const vV=tV,mV=rV,gV=lV,yV=fV;function _V(e,t){return g.exports.useReducer((n,r)=>{const i=t[n][r];return i!=null?i:n},e)}const z1=e=>{const{present:t,children:n}=e,r=xV(t),i=typeof n=="function"?n({present:r.isPresent}):g.exports.Children.only(n),o=Yn(r.ref,i.ref);return typeof n=="function"||r.isPresent?g.exports.cloneElement(i,{ref:o}):null};z1.displayName="Presence";function xV(e){const[t,n]=g.exports.useState(),r=g.exports.useRef({}),i=g.exports.useRef(e),o=g.exports.useRef("none"),s=e?"mounted":"unmounted",[a,l]=_V(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.exports.useEffect(()=>{const u=Ru(r.current);o.current=a==="mounted"?u:"none"},[a]),gs(()=>{const u=r.current,c=i.current;if(c!==e){const d=o.current,p=Ru(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&d!==p?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),gs(()=>{if(t){const u=f=>{const p=Ru(r.current).includes(f.animationName);f.target===t&&p&&ui.exports.flushSync(()=>l("ANIMATION_END"))},c=f=>{f.target===t&&(o.current=Ru(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:g.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Ru(e){return(e==null?void 0:e.animationName)||"none"}function H1({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=wV({defaultProp:t,onChange:n}),o=e!==void 0,s=o?e:r,a=ai(n),l=g.exports.useCallback(u=>{if(o){const f=typeof u=="function"?u(e):u;f!==e&&a(f)}else i(u)},[o,e,i,a]);return[s,l]}function wV({defaultProp:e,onChange:t}){const n=g.exports.useState(e),[r]=n,i=g.exports.useRef(r),o=ai(t);return g.exports.useEffect(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}var bV=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},yo=new WeakMap,Ou=new WeakMap,ku={},nv=0,EV=function(e,t,n,r){var i=Array.isArray(e)?e:[e];ku[n]||(ku[n]=new WeakMap);var o=ku[n],s=[],a=new Set,l=new Set(i),u=function(f){!f||a.has(f)||(a.add(f),u(f.parentNode))};i.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(d){if(a.has(d))c(d);else{var p=d.getAttribute(r),v=p!==null&&p!=="false",m=(yo.get(d)||0)+1,w=(o.get(d)||0)+1;yo.set(d,m),o.set(d,w),s.push(d),m===1&&v&&Ou.set(d,!0),w===1&&d.setAttribute(n,"true"),v||d.setAttribute(r,"true")}})};return c(t),a.clear(),nv++,function(){s.forEach(function(f){var d=yo.get(f)-1,p=o.get(f)-1;yo.set(f,d),o.set(f,p),d||(Ou.has(f)||f.removeAttribute(r),Ou.delete(f)),p||f.removeAttribute(n)}),nv--,nv||(yo=new WeakMap,yo=new WeakMap,Ou=new WeakMap,ku={})}},SV=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||bV(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),EV(r,i,n,"aria-hidden")):function(){return null}},In=function(){return In=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},In.apply(this,arguments)};function u$(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function CV(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var ac="right-scroll-bar-position",lc="width-before-scroll-bar",AV="with-scroll-bars-hidden",$V="--removed-body-scroll-bar-size";function TV(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function PV(e,t){var n=g.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}function RV(e,t){return PV(t||null,function(n){return e.forEach(function(r){return TV(r,n)})})}function OV(e){return e}function kV(e,t){t===void 0&&(t=OV);var n=[],r=!1,i={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(o){var s=t(o,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(o){for(r=!0;n.length;){var s=n;n=[],s.forEach(o)}n={push:function(a){return o(a)},filter:function(){return n}}},assignMedium:function(o){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(o),s=n}var l=function(){var c=s;s=[],c.forEach(o)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){s.push(c),u()},filter:function(c){return s=s.filter(c),n}}}};return i}function NV(e){e===void 0&&(e={});var t=kV(null);return t.options=In({async:!0,ssr:!1},e),t}var c$=function(e){var t=e.sideCar,n=u$(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 D(r,{...In({},n)})};c$.isSideCarExport=!0;function DV(e,t){return e.useMedium(t),c$}var f$=NV(),rv=function(){},jd=g.exports.forwardRef(function(e,t){var n=g.exports.useRef(null),r=g.exports.useState({onScrollCapture:rv,onWheelCapture:rv,onTouchMoveCapture:rv}),i=r[0],o=r[1],s=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,p=e.noIsolation,v=e.inert,m=e.allowPinchZoom,w=e.as,_=w===void 0?"div":w,x=u$(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=d,E=RV([n,t]),S=In(In({},x),i);return tt(yd,{children:[c&&D(y,{sideCar:f$,removeScrollBar:u,shards:f,noIsolation:p,inert:v,setCallbacks:o,allowPinchZoom:!!m,lockRef:n}),s?g.exports.cloneElement(g.exports.Children.only(a),In(In({},S),{ref:E})):D(_,{...In({},S,{className:l,ref:E}),children:a})]})});jd.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};jd.classNames={fullWidth:lc,zeroRight:ac};var MV=function(){if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function LV(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=MV();return t&&e.setAttribute("nonce",t),e}function FV(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function IV(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var jV=function(){var e=0,t=null;return{add:function(n){e==0&&(t=LV())&&(FV(t,n),IV(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},UV=function(){var e=jV();return function(t,n){g.exports.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},d$=function(){var e=UV(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},BV={left:0,top:0,right:0,gap:0},iv=function(e){return parseInt(e||"",10)||0},VV=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[iv(n),iv(r),iv(i)]},zV=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return BV;var t=VV(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])}},HV=d$(),GV=function(e,t,n,r){var i=e.left,o=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
|
|
331
|
-
.`.concat(AV,` {
|
|
332
|
-
overflow: hidden `).concat(r,`;
|
|
333
|
-
padding-right: `).concat(a,"px ").concat(r,`;
|
|
334
|
-
}
|
|
335
|
-
body {
|
|
336
|
-
overflow: hidden `).concat(r,`;
|
|
337
|
-
overscroll-behavior: contain;
|
|
338
|
-
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
339
|
-
padding-left: `.concat(i,`px;
|
|
340
|
-
padding-top: `).concat(o,`px;
|
|
341
|
-
padding-right: `).concat(s,`px;
|
|
342
|
-
margin-left:0;
|
|
343
|
-
margin-top:0;
|
|
344
|
-
margin-right: `).concat(a,"px ").concat(r,`;
|
|
345
|
-
`),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
.`).concat(ac,` {
|
|
349
|
-
right: `).concat(a,"px ").concat(r,`;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
.`).concat(lc,` {
|
|
353
|
-
margin-right: `).concat(a,"px ").concat(r,`;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
.`).concat(ac," .").concat(ac,` {
|
|
357
|
-
right: 0 `).concat(r,`;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.`).concat(lc," .").concat(lc,` {
|
|
361
|
-
margin-right: 0 `).concat(r,`;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
body {
|
|
365
|
-
`).concat($V,": ").concat(a,`px;
|
|
366
|
-
}
|
|
367
|
-
`)},YV=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r,o=g.exports.useMemo(function(){return zV(i)},[i]);return D(HV,{styles:GV(o,!t,i,n?"":"!important")})},d0=!1;if(typeof window!="undefined")try{var Nu=Object.defineProperty({},"passive",{get:function(){return d0=!0,!0}});window.addEventListener("test",Nu,Nu),window.removeEventListener("test",Nu,Nu)}catch{d0=!1}var _o=d0?{passive:!1}:!1,WV=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},qV=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},S2=function(e,t){var n=t;do{typeof ShadowRoot!="undefined"&&n instanceof ShadowRoot&&(n=n.host);var r=p$(e,n);if(r){var i=h$(e,n),o=i[1],s=i[2];if(o>s)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},XV=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},KV=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},p$=function(e,t){return e==="v"?WV(t):qV(t)},h$=function(e,t){return e==="v"?XV(t):KV(t)},QV=function(e,t){return e==="h"&&t==="rtl"?-1:1},ZV=function(e,t,n,r,i){var o=QV(e,window.getComputedStyle(t).direction),s=o*r,a=n.target,l=t.contains(a),u=!1,c=s>0,f=0,d=0;do{var p=h$(e,a),v=p[0],m=p[1],w=p[2],_=m-w-o*v;(v||_)&&p$(e,a)&&(f+=_,d+=v),a=a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(c&&(i&&f===0||!i&&s>f)||!c&&(i&&d===0||!i&&-s>d))&&(u=!0),u},Du=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},C2=function(e){return[e.deltaX,e.deltaY]},A2=function(e){return e&&"current"in e?e.current:e},JV=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ez=function(e){return`
|
|
368
|
-
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
369
|
-
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
370
|
-
`)},tz=0,xo=[];function nz(e){var t=g.exports.useRef([]),n=g.exports.useRef([0,0]),r=g.exports.useRef(),i=g.exports.useState(tz++)[0],o=g.exports.useState(function(){return d$()})[0],s=g.exports.useRef(e);g.exports.useEffect(function(){s.current=e},[e]),g.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var m=CV([e.lockRef.current],(e.shards||[]).map(A2),!0).filter(Boolean);return m.forEach(function(w){return w.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),m.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=g.exports.useCallback(function(m,w){if("touches"in m&&m.touches.length===2)return!s.current.allowPinchZoom;var _=Du(m),x=n.current,y="deltaX"in m?m.deltaX:x[0]-_[0],E="deltaY"in m?m.deltaY:x[1]-_[1],S,A=m.target,$=Math.abs(y)>Math.abs(E)?"h":"v";if("touches"in m&&$==="h"&&A.type==="range")return!1;var T=S2($,A);if(!T)return!0;if(T?S=$:(S=$==="v"?"h":"v",T=S2($,A)),!T)return!1;if(!r.current&&"changedTouches"in m&&(y||E)&&(r.current=S),!S)return!0;var O=r.current||S;return ZV(O,w,m,O==="h"?y:E,!0)},[]),l=g.exports.useCallback(function(m){var w=m;if(!(!xo.length||xo[xo.length-1]!==o)){var _="deltaY"in w?C2(w):Du(w),x=t.current.filter(function(S){return S.name===w.type&&S.target===w.target&&JV(S.delta,_)})[0];if(x&&x.should){w.preventDefault();return}if(!x){var y=(s.current.shards||[]).map(A2).filter(Boolean).filter(function(S){return S.contains(w.target)}),E=y.length>0?a(w,y[0]):!s.current.noIsolation;E&&w.preventDefault()}}},[]),u=g.exports.useCallback(function(m,w,_,x){var y={name:m,delta:w,target:_,should:x};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(E){return E!==y})},1)},[]),c=g.exports.useCallback(function(m){n.current=Du(m),r.current=void 0},[]),f=g.exports.useCallback(function(m){u(m.type,C2(m),m.target,a(m,e.lockRef.current))},[]),d=g.exports.useCallback(function(m){u(m.type,Du(m),m.target,a(m,e.lockRef.current))},[]);g.exports.useEffect(function(){return xo.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",l,_o),document.addEventListener("touchmove",l,_o),document.addEventListener("touchstart",c,_o),function(){xo=xo.filter(function(m){return m!==o}),document.removeEventListener("wheel",l,_o),document.removeEventListener("touchmove",l,_o),document.removeEventListener("touchstart",c,_o)}},[]);var p=e.removeScrollBar,v=e.inert;return tt(yd,{children:[v?D(o,{styles:ez(i)}):null,p?D(YV,{gapMode:"margin"}):null]})}var rz=DV(f$,nz),v$=g.exports.forwardRef(function(e,t){return D(jd,{...In({},e,{ref:t,sideCar:rz})})});v$.classNames=jd.classNames;var iz=v$;const m$="Popover",[g$,wY]=Il(m$,[s$]),Ud=s$(),[oz,Ul]=g$(m$),sz=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:s=!1}=e,a=Ud(t),l=g.exports.useRef(null),[u,c]=g.exports.useState(!1),[f=!1,d]=H1({prop:r,defaultProp:i,onChange:o});return g.exports.createElement(vV,a,g.exports.createElement(oz,{scope:t,contentId:j1(),triggerRef:l,open:f,onOpenChange:d,onOpenToggle:g.exports.useCallback(()=>d(p=>!p),[d]),hasCustomAnchor:u,onCustomAnchorAdd:g.exports.useCallback(()=>c(!0),[]),onCustomAnchorRemove:g.exports.useCallback(()=>c(!1),[]),modal:s},n))},az="PopoverTrigger",lz=g.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Ul(az,n),o=Ud(n),s=Yn(t,i.triggerRef),a=g.exports.createElement(tn.button,Ne({type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":_$(i.open)},r,{ref:s,onClick:bt(e.onClick,i.onOpenToggle)}));return i.hasCustomAnchor?a:g.exports.createElement(mV,Ne({asChild:!0},o),a)}),uz="PopoverPortal",[bY,cz]=g$(uz,{forceMount:void 0}),_l="PopoverContent",fz=g.exports.forwardRef((e,t)=>{const n=cz(_l,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,o=Ul(_l,e.__scopePopover);return g.exports.createElement(z1,{present:r||o.open},o.modal?g.exports.createElement(dz,Ne({},i,{ref:t})):g.exports.createElement(pz,Ne({},i,{ref:t})))}),dz=g.exports.forwardRef((e,t)=>{const n=Ul(_l,e.__scopePopover),r=g.exports.useRef(null),i=Yn(t,r),o=g.exports.useRef(!1);return g.exports.useEffect(()=>{const s=r.current;if(s)return SV(s)},[]),g.exports.createElement(iz,{as:yl,allowPinchZoom:!0},g.exports.createElement(y$,Ne({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:bt(e.onCloseAutoFocus,s=>{var a;s.preventDefault(),o.current||(a=n.triggerRef.current)===null||a===void 0||a.focus()}),onPointerDownOutside:bt(e.onPointerDownOutside,s=>{const a=s.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0,u=a.button===2||l;o.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:bt(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})))}),pz=g.exports.forwardRef((e,t)=>{const n=Ul(_l,e.__scopePopover),r=g.exports.useRef(!1);return g.exports.createElement(y$,Ne({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o;if((o=e.onCloseAutoFocus)===null||o===void 0||o.call(e,i),!i.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),i.preventDefault()}r.current=!1},onInteractOutside:i=>{var o,s;(o=e.onInteractOutside)===null||o===void 0||o.call(e,i),i.defaultPrevented||(r.current=!0);const a=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(a))&&i.preventDefault()}}))}),y$=g.exports.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...f}=e,d=Ul(_l,n),p=Ud(n);return lB(),g.exports.createElement(uB,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o},g.exports.createElement(oB,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:c,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>d.onOpenChange(!1)},g.exports.createElement(gV,Ne({"data-state":_$(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:{...f.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),hz=g.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Ud(n);return g.exports.createElement(yV,Ne({},i,r,{ref:t}))});function _$(e){return e?"open":"closed"}const x$=sz,G1=lz,Y1=fz,W1=hz;var vz=Object.defineProperty,q1=(e,t)=>{for(var n in t)vz(e,n,{get:t[n],enumerable:!0})},w$={};q1(w$,{neutralColors:()=>Se,primaryColors:()=>xl});var xl={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"},Se={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"},Nt=4,mz={"--ll-color-primary":xl.colorPrimary50,"--ll-color-primary-variant1":xl.colorPrimary40,"--ll-color-background":Se.colorNeutral100,"--ll-color-surface":Se.colorNeutral95,"--ll-color-surface-variant1":Se.colorNeutral90,"--ll-color-surface-variant2":Se.colorNeutral80,"--ll-color-on-primary":Se.colorNeutral100,"--ll-color-on-primary-variant1":Se.colorNeutral90,"--ll-color-on-background":Se.colorNeutral10,"--ll-color-on-background-variant1":Se.colorNeutral30,"--ll-color-on-surface":Se.colorNeutral10,"--ll-color-on-surface-variant1":Se.colorNeutral30,"--ll-color-placeholder":Se.colorNeutral60,"--ll-color-disabled":Se.colorNeutral60,"--ll-color-border":Se.colorNeutral90},gz={"--ll-border-radius-small":`${Nt}px`,"--ll-border-radius-medium":`${2*Nt}px`},yz={"--ll-shadow-small":"0px 1px 3px 0px rgba(0,0,0,0.2)","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"},_z={"--ll-spacing-auto":"auto","--ll-spacing-base-unit":`${Nt}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)"},xz={"--ll-font-family":"Inter, sans-serif"},wz={"--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)"},bz={"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"},X1={...mz,...gz,...yz,..._z,...xz,...wz,...bz},Ez={...X1,"--ll-color-primary":xl.colorPrimary60,"--ll-color-primary-variant1":xl.colorPrimary50,"--ll-color-background":Se.colorNeutral10,"--ll-color-surface":Se.colorNeutral20,"--ll-color-surface-variant1":Se.colorNeutral30,"--ll-color-surface-variant2":Se.colorNeutral40,"--ll-color-on-primary":Se.colorNeutral100,"--ll-color-on-primary-variant1":Se.colorNeutral90,"--ll-color-on-background":Se.colorNeutral99,"--ll-color-on-background-variant1":Se.colorNeutral60,"--ll-color-on-surface":Se.colorNeutral60,"--ll-color-on-surface-variant1":Se.colorNeutral70,"--ll-color-placeholder":Se.colorNeutral70,"--ll-color-disabled":Se.colorNeutral70,"--ll-color-border":Se.colorNeutral30},Sz=Object.keys(X1),z=Sz.reduce((e,t)=>({...e,[t]:`var(${t})`}),{}),Cz={day:X1,night:Ez},Az=LS`
|
|
371
|
-
:root {
|
|
372
|
-
${({themeName:e,overrides:t})=>({...Cz[e||"day"],...t})};
|
|
373
|
-
}
|
|
374
|
-
`,b$={};q1(b$,{transitions:()=>Tz});var $z=e=>e,Tz=$z({default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}}),E$={};q1(E$,{screenSizes:()=>Pz});var Pz={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560},S$={colors:w$,...b$,...E$},Rz=ee.span`
|
|
375
|
-
display: inline-flex;
|
|
376
|
-
color: ${({textColor:e})=>e};
|
|
377
|
-
background-color: ${({backgroundColor:e})=>e};
|
|
378
|
-
border-radius: ${z["--ll-border-radius-small"]};
|
|
379
|
-
padding: ${({size:e})=>e==="small"?`calc(${z["--ll-spacing-xx-small"]} / 2)
|
|
380
|
-
${z["--ll-spacing-xx-small"]};`:`${z["--ll-spacing-xx-small"]} ${z["--ll-spacing-x-small"]}`};
|
|
381
|
-
line-height: 1;
|
|
382
|
-
font-family: ${z["--ll-font-family"]};
|
|
383
|
-
font-size: ${z["--ll-font-size-caption-1"]};
|
|
384
|
-
`,Oz=({text:e,size:t="small",className:n,textColor:r=Se.colorNeutral100,backgroundColor:i=Se.colorNeutral60})=>D(Rz,{size:t,className:n,textColor:r,backgroundColor:i,children:e}),kz=ee.div`
|
|
385
|
-
height: ${({height:e})=>e}px;
|
|
386
|
-
width: ${({width:e})=>e}px;
|
|
387
|
-
fill: ${({fill:e})=>e};
|
|
388
|
-
display: flex;
|
|
389
|
-
|
|
390
|
-
& > svg {
|
|
391
|
-
fill: inherit;
|
|
392
|
-
height: 100%;
|
|
393
|
-
width: 100%;
|
|
394
|
-
}
|
|
395
|
-
`,Bd=({SVGElement:e,fill:t="--ll-color-on-background",height:n=24,width:r=24})=>D(kz,{fill:t,height:n,width:r,children:D(e,{})}),$2=({variant:e})=>e==="h1"?z["--ll-font-size-h1"]:e==="h2"?z["--ll-font-size-h2"]:e==="h3"?z["--ll-font-size-h3"]:e==="h4"?z["--ll-font-size-h4"]:e==="h5"?z["--ll-font-size-h5"]:e==="h6"?z["--ll-font-size-h6"]:e==="p"?z["--ll-font-size-p"]:e==="caption1"?z["--ll-font-size-caption-1"]:e==="caption2"?z["--ll-font-size-caption-2"]:z["--ll-font-size-h2"],C$=ee.span`
|
|
396
|
-
overflow: hidden;
|
|
397
|
-
display: inline-block;
|
|
398
|
-
width: 100%;
|
|
399
|
-
line-height: 1.45;
|
|
400
|
-
margin: 0 0 ${({noMargin:e})=>e?"0":"0.5em"} 0;
|
|
401
|
-
font-size: inherit;
|
|
402
|
-
font-weight: inherit;
|
|
403
|
-
`,Nz=ee.div`
|
|
404
|
-
${e=>Ze`
|
|
405
|
-
text-align: ${e.align};
|
|
406
|
-
font-size: ${$2(e)};
|
|
407
|
-
font-family: ${z["--ll-font-family"]};
|
|
408
|
-
color: ${z[e.color]};
|
|
409
|
-
font-weight: ${z[e.weight]};
|
|
410
|
-
overflow: hidden;
|
|
411
|
-
display: flex;
|
|
412
|
-
|
|
413
|
-
svg {
|
|
414
|
-
height: ${$2(e)};
|
|
415
|
-
fill: ${z[e.color]};
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
${C$} {
|
|
419
|
-
${e.noWrap&&Ze`
|
|
420
|
-
text-overflow: ellipsis;
|
|
421
|
-
white-space: nowrap;
|
|
422
|
-
`}
|
|
423
|
-
}
|
|
424
|
-
`}
|
|
425
|
-
`,Qt=({children:e,variant:t="p",align:n,color:r="--ll-color-on-background",noWrap:i,noMargin:o,weight:s="--ll-font-weight-normal",className:a})=>{const l=["caption1","caption2","p"].includes(t)?"p":t;return D(Nz,{variant:t,align:n,color:r,noWrap:i,weight:s,children:D(C$,{as:l,noMargin:o,className:a,children:e})})},Dz=ld`
|
|
426
|
-
0% {
|
|
427
|
-
transform: rotate(0deg);
|
|
428
|
-
}
|
|
429
|
-
100% {
|
|
430
|
-
transform: rotate(360deg);
|
|
431
|
-
}
|
|
432
|
-
`,ov={small:Nt*4,medium:Nt*6,large:Nt*8},Mz=ee.div`
|
|
433
|
-
height: ${({size:e})=>ov[e]}px;
|
|
434
|
-
width: ${({size:e})=>ov[e]}px;
|
|
435
|
-
border: ${({size:e})=>ov[e]/6}px solid ${z["--ll-color-on-surface-variant1"]};
|
|
436
|
-
border-bottom-color: transparent;
|
|
437
|
-
border-radius: 50%;
|
|
438
|
-
display: inline-block;
|
|
439
|
-
box-sizing: border-box;
|
|
440
|
-
animation: ${Dz} 1s linear infinite;
|
|
441
|
-
`,Lz=({size:e="medium"})=>D(Mz,{size:e}),Da={primary:{background:z["--ll-color-primary"],onBackground:z["--ll-color-on-primary"],hover:z["--ll-color-primary-variant1"]}},Fz=({size:e})=>e==="small"?`font-size: ${z["--ll-font-size-caption-1"]}`:`font-size: ${z["--ll-font-size-p"]}`,K1=({size:e})=>e==="small"?`${Nt*8}px`:e==="large"?`${Nt*12}px`:`${Nt*10}px`,Q1=({size:e})=>e==="small"?`padding: 0 ${z["--ll-spacing-x-small"]}`:e==="large"?`padding: 0 ${z["--ll-spacing-medium"]}`:`padding: 0 ${z["--ll-spacing-small"]}`,Iz=({size:e})=>e==="large"?"svg { height: 24px; }":e==="small"?"svg { height: 12px }":"svg { height: 20px; }",jz=Ze`
|
|
442
|
-
${({color:e="primary"})=>Ze`
|
|
443
|
-
color: ${z["--ll-color-on-background"]};
|
|
444
|
-
|
|
445
|
-
&:disabled {
|
|
446
|
-
cursor: default;
|
|
447
|
-
}
|
|
448
|
-
`};
|
|
449
|
-
|
|
450
|
-
height: ${K1};
|
|
451
|
-
${Q1};
|
|
452
|
-
`,Uz=Ze`
|
|
453
|
-
${({color:e="primary"})=>Ze`
|
|
454
|
-
background-color: ${Da[e].background};
|
|
455
|
-
color: ${Da[e].onBackground};
|
|
456
|
-
|
|
457
|
-
&:hover {
|
|
458
|
-
background-color: ${Da[e].hover};
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
&:disabled {
|
|
462
|
-
cursor: default;
|
|
463
|
-
}
|
|
464
|
-
`};
|
|
465
|
-
height: ${K1};
|
|
466
|
-
${Q1};
|
|
467
|
-
`,Bz=Ze`
|
|
468
|
-
${({color:e="primary"})=>Ze`
|
|
469
|
-
border-color: ${Da[e].background};
|
|
470
|
-
border-width: 1px;
|
|
471
|
-
border-style: solid;
|
|
472
|
-
color: ${Da[e].background};
|
|
473
|
-
`};
|
|
474
|
-
|
|
475
|
-
&:hover {
|
|
476
|
-
background-color: rgba(0, 0, 0, 0.03);
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
height: ${K1};
|
|
480
|
-
${Q1};
|
|
481
|
-
`,Vz=e=>({contained:Uz,outlined:Bz,text:jz})[e.variant],zz=ee.div`
|
|
482
|
-
display: flex;
|
|
483
|
-
align-items: center;
|
|
484
|
-
margin-right: ${z["--ll-spacing-x-small"]};
|
|
485
|
-
margin-left: calc(-1 * ${z["--ll-spacing-xx-small"]});
|
|
486
|
-
`,Hz=ee.button`
|
|
487
|
-
font-weight: ${z["--ll-font-weight-normal"]};
|
|
488
|
-
border-radius: ${z["--ll-border-radius-small"]};
|
|
489
|
-
align-items: center;
|
|
490
|
-
cursor: pointer;
|
|
491
|
-
display: inline-flex;
|
|
492
|
-
background: none;
|
|
493
|
-
border: none;
|
|
494
|
-
|
|
495
|
-
svg {
|
|
496
|
-
fill: currentColor;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
${Vz};
|
|
500
|
-
${Iz};
|
|
501
|
-
${Fz};
|
|
502
|
-
`,A$=ce.forwardRef(({children:e,disabled:t=!1,onClick:n,variant:r="contained",startAdornment:i,size:o="medium",type:s="button",color:a,isLoading:l,className:u},c)=>D(Hz,{variant:r,size:o,onClick:d=>{t||!n||l||n(d)},disabled:t||l,className:u,color:a,type:s,ref:c,children:l?D(Lz,{}):tt(yd,{children:[i&&D(zz,{children:i}),e]})}));A$.displayName="Button";var Gz=({vertical:e,spacing:t})=>{const n=z[t];return e?`${n} 0 0 0`:`0 ${n} 0 0`},Yz=ee.div`
|
|
503
|
-
margin: ${e=>Gz(e)};
|
|
504
|
-
flex-shrink: 0;
|
|
505
|
-
`,sv=({vertical:e=!1,spacing:t="--ll-spacing-auto"})=>D(Yz,{vertical:e,spacing:t});ee(G1)`
|
|
506
|
-
background: none;
|
|
507
|
-
border: none;
|
|
508
|
-
padding: 0;
|
|
509
|
-
`;ee(Y1)`
|
|
510
|
-
border-radius: ${z["--ll-border-radius-small"]};
|
|
511
|
-
box-shadow: ${z["--ll-shadow-small"]};
|
|
512
|
-
padding: ${z["--ll-spacing-medium"]};
|
|
513
|
-
`;ee(W1)`
|
|
514
|
-
fill: ${z["--ll-color-background"]};
|
|
515
|
-
`;function Wz({height:e,width:t}){return Ze`
|
|
516
|
-
height: ${e};
|
|
517
|
-
width: ${t};
|
|
518
|
-
`}var qz=ld`
|
|
519
|
-
from {
|
|
520
|
-
background-position: -800px 0;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
to {
|
|
524
|
-
background-position: 800px 0;
|
|
525
|
-
}
|
|
526
|
-
`;ee.div`
|
|
527
|
-
border-radius: ${z["--ll-border-radius-medium"]};
|
|
528
|
-
animation: ${qz} 2s linear infinite;
|
|
529
|
-
background: linear-gradient(
|
|
530
|
-
to right,
|
|
531
|
-
/* NOTE: 99.9% of the time we should use colours from theme, since these are
|
|
532
|
-
CSS vars that can be overriden. */
|
|
533
|
-
${z["--ll-color-surface-variant1"]} 4%,
|
|
534
|
-
${z["--ll-color-surface-variant2"]} 25%,
|
|
535
|
-
${z["--ll-color-surface-variant1"]} 36%
|
|
536
|
-
);
|
|
537
|
-
background-size: 800px 100%;
|
|
538
|
-
${Wz}
|
|
539
|
-
`;ee.div`
|
|
540
|
-
flex: 1;
|
|
541
|
-
height: 100%;
|
|
542
|
-
width: 100%;
|
|
543
|
-
display: flex;
|
|
544
|
-
align-items: center;
|
|
545
|
-
justify-content: center;
|
|
546
|
-
`;ee.div`
|
|
547
|
-
display: flex;
|
|
548
|
-
flex-direction: column;
|
|
549
|
-
align-items: center;
|
|
550
|
-
`;var Mu=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Vd={exports:{}},zd={};/**
|
|
551
|
-
* @license React
|
|
552
|
-
* react-jsx-runtime.production.min.js
|
|
553
|
-
*
|
|
554
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
555
|
-
*
|
|
556
|
-
* This source code is licensed under the MIT license found in the
|
|
557
|
-
* LICENSE file in the root directory of this source tree.
|
|
558
|
-
*/var Xz=ce,Kz=Symbol.for("react.element"),Qz=Symbol.for("react.fragment"),Zz=Object.prototype.hasOwnProperty,Jz=Xz.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,eH={key:!0,ref:!0,__self:!0,__source:!0};function $$(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Zz.call(t,r)&&!eH.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Kz,type:e,key:o,ref:s,props:i,_owner:Jz.current}}zd.Fragment=Qz;zd.jsx=$$;zd.jsxs=$$;Vd.exports=zd;const J=Vd.exports.jsx,It=Vd.exports.jsxs,uc=Vd.exports.Fragment,T$=ce.createContext({}),tH=()=>g.exports.useContext(T$),nH=({client:e,options:t,children:n})=>{var r,i;return J(T$.Provider,{value:{client:e,options:t},children:J(jR,{target:document.head,children:It(uc,{children:[J(Az,{themeName:(r=t==null?void 0:t.appearance)==null?void 0:r.theme,overrides:(i=t==null?void 0:t.appearance)==null?void 0:i.variables}),n]})})})},av=(e,t=!1)=>{if(!e)return null;const r=parseFloat(e)*2;return t?Math.round(r):Math.round(r*10)/10},Bl=({data:e,score:t,round:n=!1})=>{const r=g.exports.useMemo(()=>{var a,l;const u=(l=(a=e==null?void 0:e.location)==null?void 0:a[t])==null?void 0:l.value;return av(u,n)},[e,t,n]),i=g.exports.useMemo(()=>{var a,l;return(l=(a=e==null?void 0:e.location)==null?void 0:a[t])==null?void 0:l.text},[e,t]),o=g.exports.useMemo(()=>{var a,l;const u=(l=(a=e==null?void 0:e.geographies)==null?void 0:a.find(c=>c.geog_level_type==="municipality"))==null?void 0:l.scores[t].value;return av(u,n)},[e,t,n]),s=g.exports.useMemo(()=>{var a,l;const u=(l=(a=e==null?void 0:e.geographies)==null?void 0:a.find(c=>c.geog_level_type==="neighbourhood"))==null?void 0:l.scores[t].value;return av(u,n)},[e,t,n]);return{textVal:i,scoreVal:r,cityScoreVal:o,neighbourhoodScoreVal:s}},P$=ce.createContext({}),Vl=()=>g.exports.useContext(P$),rH=ee.div`
|
|
559
|
-
background: linear-gradient(
|
|
560
|
-
to top,
|
|
561
|
-
${z["--ll-color-primary-variant1"]},
|
|
562
|
-
${z["--ll-color-primary"]}
|
|
563
|
-
);
|
|
564
|
-
color: ${z["--ll-color-on-primary"]};
|
|
565
|
-
height: 32px;
|
|
566
|
-
width: 32px;
|
|
567
|
-
border-radius: ${z["--ll-border-radius-small"]};
|
|
568
|
-
display: flex;
|
|
569
|
-
justify-content: center;
|
|
570
|
-
align-items: center;
|
|
571
|
-
line-height: 1;
|
|
572
|
-
font-family: ${z["--ll-font-family"]};
|
|
573
|
-
font-size: ${z["--ll-font-size-p"]};
|
|
574
|
-
`,iH=()=>{const{options:{data:e,score:t}}=Vl(),{scoreVal:n}=Bl({data:e,score:t});return J(rH,{children:n})};var p0={exports:{}};(function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,o=16,s=9007199254740991,a="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",f="[object Date]",d="[object Error]",p="[object Function]",v="[object GeneratorFunction]",m="[object Map]",w="[object Number]",_="[object Null]",x="[object Object]",y="[object Proxy]",E="[object RegExp]",S="[object Set]",A="[object String]",$="[object Undefined]",T="[object WeakMap]",O="[object ArrayBuffer]",M="[object DataView]",Y="[object Float32Array]",H="[object Float64Array]",X="[object Int8Array]",G="[object Int16Array]",le="[object Int32Array]",Ee="[object Uint8Array]",he="[object Uint8ClampedArray]",B="[object Uint16Array]",Q="[object Uint32Array]",Z=/[\\^$.*+?()[\]{}|]/g,de=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,R={};R[Y]=R[H]=R[X]=R[G]=R[le]=R[Ee]=R[he]=R[B]=R[Q]=!0,R[a]=R[l]=R[O]=R[c]=R[M]=R[f]=R[d]=R[p]=R[m]=R[w]=R[x]=R[E]=R[S]=R[A]=R[T]=!1;var k=typeof Mu=="object"&&Mu&&Mu.Object===Object&&Mu,L=typeof self=="object"&&self&&self.Object===Object&&self,P=k||L||Function("return this")(),te=t&&!t.nodeType&&t,F=te&&!0&&e&&!e.nodeType&&e,ge=F&&F.exports===te,pe=ge&&k.process,me=function(){try{var h=F&&F.require&&F.require("util").types;return h||pe&&pe.binding&&pe.binding("util")}catch{}}(),re=me&&me.isTypedArray;function Le(h,b,C){switch(C.length){case 0:return h.call(b);case 1:return h.call(b,C[0]);case 2:return h.call(b,C[0],C[1]);case 3:return h.call(b,C[0],C[1],C[2])}return h.apply(b,C)}function Ye(h,b){for(var C=-1,N=Array(h);++C<h;)N[C]=b(C);return N}function ve(h){return function(b){return h(b)}}function Ue(h,b){return h==null?void 0:h[b]}function ue(h,b){return function(C){return h(b(C))}}var xe=Array.prototype,St=Function.prototype,_e=Object.prototype,sn=P["__core-js_shared__"],Ct=St.toString,be=_e.hasOwnProperty,ie=function(){var h=/[^.]+$/.exec(sn&&sn.keys&&sn.keys.IE_PROTO||"");return h?"Symbol(src)_1."+h:""}(),Pe=_e.toString,mi=Ct.call(Object),gi=RegExp("^"+Ct.call(be).replace(Z,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),at=ge?P.Buffer:void 0,Rs=P.Symbol,Os=P.Uint8Array,ks=at?at.allocUnsafe:void 0,Ns=ue(Object.getPrototypeOf,Object),Ds=Object.create,Hd=_e.propertyIsEnumerable,Gd=xe.splice,At=Rs?Rs.toStringTag:void 0,Xn=function(){try{var h=xi(Object,"defineProperty");return h({},"",{}),h}catch{}}(),Yd=at?at.isBuffer:void 0,Ms=Math.max,Wd=Date.now,Ls=xi(P,"Map"),mn=xi(Object,"create"),qd=function(){function h(){}return function(b){if(!Tt(b))return{};if(Ds)return Ds(b);h.prototype=b;var C=new h;return h.prototype=void 0,C}}();function $t(h){var b=-1,C=h==null?0:h.length;for(this.clear();++b<C;){var N=h[b];this.set(N[0],N[1])}}function Xd(){this.__data__=mn?mn(null):{},this.size=0}function Kd(h){var b=this.has(h)&&delete this.__data__[h];return this.size-=b?1:0,b}function Qd(h){var b=this.__data__;if(mn){var C=b[h];return C===r?void 0:C}return be.call(b,h)?b[h]:void 0}function Zd(h){var b=this.__data__;return mn?b[h]!==void 0:be.call(b,h)}function Jd(h,b){var C=this.__data__;return this.size+=this.has(h)?0:1,C[h]=mn&&b===void 0?r:b,this}$t.prototype.clear=Xd,$t.prototype.delete=Kd,$t.prototype.get=Qd,$t.prototype.has=Zd,$t.prototype.set=Jd;function nt(h){var b=-1,C=h==null?0:h.length;for(this.clear();++b<C;){var N=h[b];this.set(N[0],N[1])}}function ep(){this.__data__=[],this.size=0}function tp(h){var b=this.__data__,C=Kn(b,h);if(C<0)return!1;var N=b.length-1;return C==N?b.pop():Gd.call(b,C,1),--this.size,!0}function np(h){var b=this.__data__,C=Kn(b,h);return C<0?void 0:b[C][1]}function rp(h){return Kn(this.__data__,h)>-1}function ip(h,b){var C=this.__data__,N=Kn(C,h);return N<0?(++this.size,C.push([h,b])):C[N][1]=b,this}nt.prototype.clear=ep,nt.prototype.delete=tp,nt.prototype.get=np,nt.prototype.has=rp,nt.prototype.set=ip;function Gt(h){var b=-1,C=h==null?0:h.length;for(this.clear();++b<C;){var N=h[b];this.set(N[0],N[1])}}function op(){this.size=0,this.__data__={hash:new $t,map:new(Ls||nt),string:new $t}}function sp(h){var b=Zn(this,h).delete(h);return this.size-=b?1:0,b}function ap(h){return Zn(this,h).get(h)}function lp(h){return Zn(this,h).has(h)}function up(h,b){var C=Zn(this,h),N=C.size;return C.set(h,b),this.size+=C.size==N?0:1,this}Gt.prototype.clear=op,Gt.prototype.delete=sp,Gt.prototype.get=ap,Gt.prototype.has=lp,Gt.prototype.set=up;function Yt(h){var b=this.__data__=new nt(h);this.size=b.size}function cp(){this.__data__=new nt,this.size=0}function fp(h){var b=this.__data__,C=b.delete(h);return this.size=b.size,C}function dp(h){return this.__data__.get(h)}function pp(h){return this.__data__.has(h)}function hp(h,b){var C=this.__data__;if(C instanceof nt){var N=C.__data__;if(!Ls||N.length<n-1)return N.push([h,b]),this.size=++C.size,this;C=this.__data__=new Gt(N)}return C.set(h,b),this.size=C.size,this}Yt.prototype.clear=cp,Yt.prototype.delete=fp,Yt.prototype.get=dp,Yt.prototype.has=pp,Yt.prototype.set=hp;function vp(h,b){var C=Ei(h),N=!C&&bi(h),q=!C&&!N&&Bs(h),ne=!C&&!N&&!q&&zs(h),oe=C||N||q||ne,W=oe?Ye(h.length,String):[],se=W.length;for(var Fe in h)(b||be.call(h,Fe))&&!(oe&&(Fe=="length"||q&&(Fe=="offset"||Fe=="parent")||ne&&(Fe=="buffer"||Fe=="byteLength"||Fe=="byteOffset")||js(Fe,se)))&&W.push(Fe);return W}function yi(h,b,C){(C!==void 0&&!Jn(h[b],C)||C===void 0&&!(b in h))&&_i(h,b,C)}function mp(h,b,C){var N=h[b];(!(be.call(h,b)&&Jn(N,C))||C===void 0&&!(b in h))&&_i(h,b,C)}function Kn(h,b){for(var C=h.length;C--;)if(Jn(h[C][0],b))return C;return-1}function _i(h,b,C){b=="__proto__"&&Xn?Xn(h,b,{configurable:!0,enumerable:!0,value:C,writable:!0}):h[b]=C}var gp=Rp();function Qn(h){return h==null?h===void 0?$:_:At&&At in Object(h)?Op(h):Fp(h)}function Fs(h){return gn(h)&&Qn(h)==a}function yp(h){if(!Tt(h)||Mp(h))return!1;var b=Ci(h)?gi:de;return b.test(Bp(h))}function _p(h){return gn(h)&&Vs(h.length)&&!!R[Qn(h)]}function xp(h){if(!Tt(h))return Lp(h);var b=Us(h),C=[];for(var N in h)N=="constructor"&&(b||!be.call(h,N))||C.push(N);return C}function Is(h,b,C,N,q){h!==b&&gp(b,function(ne,oe){if(q||(q=new Yt),Tt(ne))wp(h,b,oe,C,Is,N,q);else{var W=N?N(wi(h,oe),ne,oe+"",h,b,q):void 0;W===void 0&&(W=ne),yi(h,oe,W)}},Hs)}function wp(h,b,C,N,q,ne,oe){var W=wi(h,C),se=wi(b,C),Fe=oe.get(se);if(Fe){yi(h,C,Fe);return}var Re=ne?ne(W,se,C+"",h,b,oe):void 0,yn=Re===void 0;if(yn){var Ai=Ei(se),$i=!Ai&&Bs(se),Ys=!Ai&&!$i&&zs(se);Re=se,Ai||$i||Ys?Ei(W)?Re=W:Vp(W)?Re=$p(W):$i?(yn=!1,Re=Sp(se,!0)):Ys?(yn=!1,Re=Ap(se,!0)):Re=[]:zp(se)||bi(se)?(Re=W,bi(W)?Re=Hp(W):(!Tt(W)||Ci(W))&&(Re=kp(se))):yn=!1}yn&&(oe.set(se,Re),q(Re,se,N,ne,oe),oe.delete(se)),yi(h,C,Re)}function bp(h,b){return jp(Ip(h,b,Gs),h+"")}var Ep=Xn?function(h,b){return Xn(h,"toString",{configurable:!0,enumerable:!1,value:Yp(b),writable:!0})}:Gs;function Sp(h,b){if(b)return h.slice();var C=h.length,N=ks?ks(C):new h.constructor(C);return h.copy(N),N}function Cp(h){var b=new h.constructor(h.byteLength);return new Os(b).set(new Os(h)),b}function Ap(h,b){var C=b?Cp(h.buffer):h.buffer;return new h.constructor(C,h.byteOffset,h.length)}function $p(h,b){var C=-1,N=h.length;for(b||(b=Array(N));++C<N;)b[C]=h[C];return b}function Tp(h,b,C,N){var q=!C;C||(C={});for(var ne=-1,oe=b.length;++ne<oe;){var W=b[ne],se=N?N(C[W],h[W],W,C,h):void 0;se===void 0&&(se=h[W]),q?_i(C,W,se):mp(C,W,se)}return C}function Pp(h){return bp(function(b,C){var N=-1,q=C.length,ne=q>1?C[q-1]:void 0,oe=q>2?C[2]:void 0;for(ne=h.length>3&&typeof ne=="function"?(q--,ne):void 0,oe&&Np(C[0],C[1],oe)&&(ne=q<3?void 0:ne,q=1),b=Object(b);++N<q;){var W=C[N];W&&h(b,W,N,ne)}return b})}function Rp(h){return function(b,C,N){for(var q=-1,ne=Object(b),oe=N(b),W=oe.length;W--;){var se=oe[h?W:++q];if(C(ne[se],se,ne)===!1)break}return b}}function Zn(h,b){var C=h.__data__;return Dp(b)?C[typeof b=="string"?"string":"hash"]:C.map}function xi(h,b){var C=Ue(h,b);return yp(C)?C:void 0}function Op(h){var b=be.call(h,At),C=h[At];try{h[At]=void 0;var N=!0}catch{}var q=Pe.call(h);return N&&(b?h[At]=C:delete h[At]),q}function kp(h){return typeof h.constructor=="function"&&!Us(h)?qd(Ns(h)):{}}function js(h,b){var C=typeof h;return b=b==null?s:b,!!b&&(C=="number"||C!="symbol"&&I.test(h))&&h>-1&&h%1==0&&h<b}function Np(h,b,C){if(!Tt(C))return!1;var N=typeof b;return(N=="number"?Si(C)&&js(b,C.length):N=="string"&&b in C)?Jn(C[b],h):!1}function Dp(h){var b=typeof h;return b=="string"||b=="number"||b=="symbol"||b=="boolean"?h!=="__proto__":h===null}function Mp(h){return!!ie&&ie in h}function Us(h){var b=h&&h.constructor,C=typeof b=="function"&&b.prototype||_e;return h===C}function Lp(h){var b=[];if(h!=null)for(var C in Object(h))b.push(C);return b}function Fp(h){return Pe.call(h)}function Ip(h,b,C){return b=Ms(b===void 0?h.length-1:b,0),function(){for(var N=arguments,q=-1,ne=Ms(N.length-b,0),oe=Array(ne);++q<ne;)oe[q]=N[b+q];q=-1;for(var W=Array(b+1);++q<b;)W[q]=N[q];return W[b]=C(oe),Le(h,this,W)}}function wi(h,b){if(!(b==="constructor"&&typeof h[b]=="function")&&b!="__proto__")return h[b]}var jp=Up(Ep);function Up(h){var b=0,C=0;return function(){var N=Wd(),q=o-(N-C);if(C=N,q>0){if(++b>=i)return arguments[0]}else b=0;return h.apply(void 0,arguments)}}function Bp(h){if(h!=null){try{return Ct.call(h)}catch{}try{return h+""}catch{}}return""}function Jn(h,b){return h===b||h!==h&&b!==b}var bi=Fs(function(){return arguments}())?Fs:function(h){return gn(h)&&be.call(h,"callee")&&!Hd.call(h,"callee")},Ei=Array.isArray;function Si(h){return h!=null&&Vs(h.length)&&!Ci(h)}function Vp(h){return gn(h)&&Si(h)}var Bs=Yd||Wp;function Ci(h){if(!Tt(h))return!1;var b=Qn(h);return b==p||b==v||b==u||b==y}function Vs(h){return typeof h=="number"&&h>-1&&h%1==0&&h<=s}function Tt(h){var b=typeof h;return h!=null&&(b=="object"||b=="function")}function gn(h){return h!=null&&typeof h=="object"}function zp(h){if(!gn(h)||Qn(h)!=x)return!1;var b=Ns(h);if(b===null)return!0;var C=be.call(b,"constructor")&&b.constructor;return typeof C=="function"&&C instanceof C&&Ct.call(C)==mi}var zs=re?ve(re):_p;function Hp(h){return Tp(h,Hs(h))}function Hs(h){return Si(h)?vp(h,!0):xp(h)}var Gp=Pp(function(h,b,C){Is(h,b,C)});function Yp(h){return function(){return h}}function Gs(h){return h}function Wp(){return!1}e.exports=Gp})(p0,p0.exports);var oH=p0.exports;const uo=e=>{const{client:t}=tH(),{locale:n="en"}=t.options;return g.exports.useMemo(()=>oH({},...e)[n],[n,e])},R$={en:{cafes:"Coffee shops",car_friendly:"Car friendly",cycling_friendly:"Cycling friendly",daycares:"Daycares",greenery:"Greenery",groceries:"Grocery stores",high_schools:"High schools",historic:"Historic",nightlife:"Nightlife",parks:"Parks",pedestrian_friendly:"Pedestrian friendly",primary_schools:"Primary schools",quiet:"Quiet",restaurants:"Restaurants",shopping:"Shopping",transit_friendly:"Transit friendly",vibrant:"Vibrancy",wellness:"Wellness"},fr:{cafes:"Caf\xE9s",car_friendly:"Convivial en automobile",cycling_friendly:"Convivial en v\xE9lo",daycares:"Garderies",greenery:"Verdure",groceries:"\xC9piceries",high_schools:"\xC9coles secondaires",historic:"Historique",nightlife:"Vie nocturne",parks:"Parcs",pedestrian_friendly:"Pratique pour les pi\xE9tons",primary_schools:"\xC9coles primaires",quiet:"Silencieux",restaurants:"Restaurants",shopping:"Magasinage",transit_friendly:"Transport en commun",vibrant:"Dynamique",wellness:"Wellness"}},O$={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\xE9 et de la diversit\xE9 des caf\xE9s \xE0 proximit\xE9.","car_friendly-description":"Repr\xE9sente la fluidit\xE9 de la circulation et la facilit\xE9 de stationnement.","cycling_friendly-description":"Repr\xE9sente \xE0 quel point la zone est adapt\xE9e au cyclisme en termes d'infrastructure cyclable \xE0 proximit\xE9 et de rues calmes, ainsi que le nombre de destinations pouvant \xEAtre atteintes \xE0 v\xE9lo.","daycares-description":"Repr\xE9sente la distance \xE0 la garderie la plus proche.","greenery-description":"Quantit\xE9 d'espaces verts \xE0 proximit\xE9 et couverture de la canop\xE9e des arbres.","groceries-description":"Une mesure de la quantit\xE9 d'\xE9piceries \xE0 proximit\xE9.","high_schools-description":"Repr\xE9sente la distance \xE0 l'\xE9cole secondaire la plus proche.","historic-description":"Une mesure de la quantit\xE9 et de la taille des b\xE2timents patrimoniaux, et de l'\xE2ge moyen des b\xE2timents dans la r\xE9gion.","nightlife-description":"Repr\xE9sente la quantit\xE9 et la diversit\xE9 des bars \xE0 proximit\xE9.","parks-description":"Une mesure de la quantit\xE9 et de la taille des parcs \xE0 proximit\xE9.","pedestrian_friendly-description":"Une mesure de la proximit\xE9 des services de base et de l'agr\xE9ment d'y aller \xE0 pied.","primary_schools-description":"Une mesure de la distance \xE0 l'\xE9cole primaire la plus proche.","quiet-description":"Une mesure des niveaux moyens de bruit \xE0 proximit\xE9.","restaurants-description":"Repr\xE9sente la quantit\xE9 et la diversit\xE9 des restaurants \xE0 proximit\xE9.","shopping-description":"Une mesure de la quantit\xE9 et de la diversit\xE9 de magasins de mode et de grands magasins \xE0 proximit\xE9.","transit_friendly-description":"Une mesure de la fr\xE9quence et du niveau de service de transport en commun.","vibrant-description":"Repr\xE9sente le niveau d'activit\xE9 de la rue \xE0 proximit\xE9.","wellness-description":"Repr\xE9sente \xE0 quel point un emplacement est propice au bien-\xEAtre des individus."}},k$=e=>{const{options:{data:t,score:n}}=Vl(),{textVal:r}=Bl({data:t,score:n}),i=uo([O$,R$]);return r?J(Qt,{...e.options,children:i[n]}):null};k$.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1"}};const N$=e=>tt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[D("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"}),D("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"}),D("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"})]}),sH=e=>tt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[D("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"}),D("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"}),D("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"})]}),aH=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),lH=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),uH=e=>tt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[D("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"}),D("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"}),D("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"}),D("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"}),D("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"})]}),cH=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),D$=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),M$=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),L$=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),h0=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),v0=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),fH=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),F$=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),I$=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),j$=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),Z1=e=>D("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),U$=e=>tt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[D("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"}),D("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"}),D("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"})]}),dH=e=>tt("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e,children:[D("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"}),D("path",{d:"M9.16671 7.5H7.50004V10H9.16671V7.5Z"}),D("path",{d:"M12.5 7.5H10.8334V10H12.5V7.5Z"})]}),pH={pedestrian_friendly:aH,transit_friendly:N$,cycling_friendly:lH,car_friendly:sH,groceries:v0,restaurants:h0,cafes:D$,shopping:M$,wellness:j$,parks:fH,greenery:F$,vibrant:uH,nightlife:L$,quiet:cH,historic:dH,high_schools:Z1,primary_schools:U$,daycares:I$},B$=({options:e})=>{const{options:{score:t}}=Vl();return J(Bd,{SVGElement:pH[t],fill:`var(${e==null?void 0:e.color})`,height:e==null?void 0:e.height,width:e==null?void 0:e.width})};B$.defaultProps={options:{color:"--ll-color-on-background-variant1"}};const hH={en:{CITY:"City",NEIGHBOURHOOD:"Neighbourhood"},fr:{CITY:"Ville",NEIGHBOURHOOD:"Quartier"}},vH=ee.div`
|
|
575
|
-
position: relative;
|
|
576
|
-
padding: ${Nt}px 0;
|
|
577
|
-
margin: ${z["--ll-spacing-large"]} 0;
|
|
578
|
-
`,mH=ee.div`
|
|
579
|
-
height: ${Nt*3}px;
|
|
580
|
-
width: 100%;
|
|
581
|
-
border-radius: ${Nt}px;
|
|
582
|
-
background-color: ${z["--ll-color-surface-variant1"]};
|
|
583
|
-
position: relative;
|
|
584
|
-
overflow: hidden;
|
|
585
|
-
`,gH=ee(Y5.div)`
|
|
586
|
-
position: absolute;
|
|
587
|
-
height: 100%;
|
|
588
|
-
border-radius: ${Nt}px;
|
|
589
|
-
background: linear-gradient(
|
|
590
|
-
to right,
|
|
591
|
-
${z["--ll-color-primary-variant1"]},
|
|
592
|
-
${z["--ll-color-primary"]}
|
|
593
|
-
);
|
|
594
|
-
`,T2=ee.div`
|
|
595
|
-
position: absolute;
|
|
596
|
-
height: 100%;
|
|
597
|
-
top: 0;
|
|
598
|
-
left: ${({val:e})=>e*10}%;
|
|
599
|
-
transform: translateX(-1px);
|
|
600
|
-
border-right: ${({markerType:e})=>`4px ${e==="city"?"solid":"dotted"} ${z["--ll-color-on-background"]}`};
|
|
601
|
-
`,P2=ee.div`
|
|
602
|
-
position: absolute;
|
|
603
|
-
top: ${({position:e})=>e==="top"&&"-18px"};
|
|
604
|
-
bottom: ${({position:e})=>e==="bottom"&&"-18px"};
|
|
605
|
-
transform: translateX(calc(-50% + 2px));
|
|
606
|
-
left: 0;
|
|
607
|
-
`,yH=ee.div`
|
|
608
|
-
display: flex;
|
|
609
|
-
justify-content: center;
|
|
610
|
-
align-items: center;
|
|
611
|
-
`,_H=ee.div`
|
|
612
|
-
width: 20px;
|
|
613
|
-
border-top: 4px solid ${z["--ll-color-on-background"]};
|
|
614
|
-
`,xH=ee.div`
|
|
615
|
-
width: 20px;
|
|
616
|
-
border-top: 4px dotted ${z["--ll-color-on-background"]};
|
|
617
|
-
`,wH=()=>{const{options:{data:e,score:t}}=Vl(),{scoreVal:n,cityScoreVal:r,neighbourhoodScoreVal:i}=Bl({data:e,score:t}),o=uo([hH]);return n?It(uc,{children:[It(vH,{children:[J(mH,{children:J(gH,{animate:{width:`${n/10*100}%`},transition:{delay:.3,...S$.transitions.spring}})}),r&&J(T2,{val:r,markerType:"city",children:J(P2,{position:"top",children:J(Qt,{noMargin:!0,variant:"caption1",weight:"--ll-font-weight-medium",children:r})})}),i&&J(T2,{val:i,markerType:"neighbourhood",children:J(P2,{position:"bottom",children:J(Qt,{noMargin:!0,variant:"caption1",weight:"--ll-font-weight-medium",children:i})})})]}),It(yH,{children:[r&&It(uc,{children:[J(_H,{}),J(sv,{spacing:"--ll-spacing-x-small"}),J(Qt,{variant:"caption1",noMargin:!0,children:o.CITY})]}),i&&It(uc,{children:[J(sv,{spacing:"--ll-spacing-medium"}),J(xH,{}),J(sv,{spacing:"--ll-spacing-x-small"}),J(Qt,{variant:"caption1",noMargin:!0,children:o.NEIGHBOURHOOD})]})]})]}):null},bH=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),EH=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),SH=ee(G1)`
|
|
618
|
-
background: none;
|
|
619
|
-
border: none;
|
|
620
|
-
padding: 2px;
|
|
621
|
-
margin: 0 0 0 ${z["--ll-spacing-x-small"]};
|
|
622
|
-
flex-shrink: 0;
|
|
623
|
-
box-sizing: content-box;
|
|
624
|
-
`,CH=ee(Y1)`
|
|
625
|
-
background-color: ${z["--ll-color-background"]};
|
|
626
|
-
padding: ${z["--ll-spacing-small"]};
|
|
627
|
-
border-radius: ${z["--ll-border-radius-small"]};
|
|
628
|
-
box-shadow: ${z["--ll-shadow-small"]};
|
|
629
|
-
z-index: 1;
|
|
630
|
-
width: 240px;
|
|
631
|
-
max-width: 100vw;
|
|
632
|
-
`,AH=ee.div`
|
|
633
|
-
display: flex;
|
|
634
|
-
align-items: flex-start;
|
|
635
|
-
justify-content: space-between;
|
|
636
|
-
`,$H=ee(W1)`
|
|
637
|
-
fill: ${z["--ll-color-background"]};
|
|
638
|
-
`,TH=()=>{const{options:{data:e,score:t}}=Vl(),{textVal:n}=Bl({data:e,score:t}),[r,i]=g.exports.useState(!1),o=uo([O$,R$]);return n?It(AH,{children:[It(Qt,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:[n,"."]}),It(x$,{open:r,onOpenChange:i,children:[J(SH,{children:J(Bd,{SVGElement:r?bH:EH,fill:z["--ll-color-primary"],height:20,width:20})}),It(CH,{collisionPadding:Nt*2,children:[J($H,{}),J(Qt,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:o[`${t}-description`]})]})]})]}):null},PH=e=>{const{data:t,score:n}=e.options,{scoreVal:r}=Bl({data:t,score:n});return!t||r===null?null:J(P$.Provider,{value:{...e},children:e.children})};var EY=Object.freeze(Object.defineProperty({__proto__:null,Badge:iH,Title:k$,Icon:B$,BarChart:wH,Description:TH,Root:PH},Symbol.toStringTag,{value:"Module"}));const RH={en:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Powered by"},fr:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Propuls\xE9 par"}};var OH="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=";const kH=ee.a`
|
|
639
|
-
display: flex;
|
|
640
|
-
align-items: center;
|
|
641
|
-
justify-content: center;
|
|
642
|
-
text-decoration: none;
|
|
643
|
-
margin-top: 1px;
|
|
644
|
-
width: 100%;
|
|
645
|
-
`,NH=ee.img`
|
|
646
|
-
height: 20px;
|
|
647
|
-
margin-left: ${z["--ll-spacing-base-unit"]};
|
|
648
|
-
`,DH=ee(Qt)`
|
|
649
|
-
line-height: initial;
|
|
650
|
-
`,MH=()=>{const e=uo([RH]);return It(kH,{href:"https://locallogic.co/",target:"_blank",rel:"noreferrer",children:[J(DH,{variant:"caption1",weight:"--ll-font-weight-medium",noMargin:!0,noWrap:!0,color:"--ll-color-on-background-variant1",children:e.POWERED_BY}),J(NH,{src:OH})]})};var LH=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),SY=Object.freeze(Object.defineProperty({__proto__:null,Root:MH,Types:LH},Symbol.toStringTag,{value:"Module"}));const yf={small:20,medium:32,large:40},FH=ee(Y5.div)`
|
|
651
|
-
background: linear-gradient(
|
|
652
|
-
to top,
|
|
653
|
-
${({backgroundColorHighlight:e})=>e},
|
|
654
|
-
${({backgroundColor:e})=>e}
|
|
655
|
-
);
|
|
656
|
-
border-radius: 50%;
|
|
657
|
-
border: 2px solid #fff;
|
|
658
|
-
height: ${({size:e})=>yf[e]}px;
|
|
659
|
-
width: ${({size:e})=>yf[e]}px;
|
|
660
|
-
display: flex;
|
|
661
|
-
justify-content: center;
|
|
662
|
-
align-items: center;
|
|
663
|
-
box-shadow: ${z["--ll-shadow-small"]};
|
|
664
|
-
`,V$=({fill:e="#fff",backgroundColor:t=z["--ll-color-primary"],backgroundColorHighlight:n=t,SVGElement:r,size:i="small",expandMarker:o})=>J(FH,{backgroundColor:t,backgroundColorHighlight:n,size:i,variants:{default:{scale:1},hovered:{scale:1.2}},animate:o?"hovered":"default",whileHover:{scale:1.2},transition:S$.transitions.default,children:J(Bd,{SVGElement:r,fill:e,height:yf[i]/1.5,width:yf[i]/1.5})}),IH=e=>D("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:D("path",{d:"M10 20V14H14V20H19V12H22L12 3L2 12H5V20H10Z"})}),jH=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),UH=({options:e})=>J(V$,{SVGElement:e.style==="house"?IH:jH,size:"large",backgroundColor:z["--ll-color-primary"],backgroundColorHighlight:z["--ll-color-primary-variant1"]});var BH=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),CY=Object.freeze(Object.defineProperty({__proto__:null,Root:UH,Types:BH},Symbol.toStringTag,{value:"Module"}));const z$=ce.createContext({}),H$=()=>g.exports.useContext(z$),VH=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),zH=e=>D("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),HH=e=>tt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[D("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"}),D("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"})]}),GH=e=>tt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[D("path",{d:"M0 0h24v24H0z",fill:"none"}),D("circle",{cx:4.5,cy:9.5,r:2.5}),D("circle",{cx:9,cy:5.5,r:2.5}),D("circle",{cx:15,cy:5.5,r:2.5}),D("circle",{cx:19.5,cy:9.5,r:2.5}),D("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"})]}),YH=e=>tt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[D("path",{d:"M0 0h24v24H0z",fill:"none"}),D("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"})]}),WH=e=>tt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[D("path",{d:"M0 0h24v24H0z",fill:"none"}),D("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"})]}),qH=e=>tt("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24",...e,children:[D("g",{children:D("rect",{fill:"none",height:24,width:24})}),D("g",{children:tt("g",{children:[D("g",{children:D("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"})}),D("g",{children:D("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"})})]})})]}),XH=e=>tt("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24",...e,children:[D("g",{children:D("rect",{fill:"none",height:24,width:24})}),D("g",{children:D("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"})})]}),KH=e=>tt("svg",{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:[D("rect",{fill:"none",height:24,width:24}),D("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"})]}),QH={groceries:v0,groceries_specialized:v0,shopping:M$,nightlife:L$,restaurants:h0,healthy_restaurants:h0,cafes:D$,daycares:I$,bus_stops:N$,rapid_transit_stations:VH,train_stations:zH,parks:F$,fitness:WH,personal_care:j$,pet_care:GH,car_fueling_stations:YH,health_care:KH,sport_facilities:HH,art_culture_science:XH,home_improvement:qH,primary_schools:U$,high_schools:Z1},ZH=ee(G1)`
|
|
665
|
-
background: none;
|
|
666
|
-
border: none;
|
|
667
|
-
padding: 0;
|
|
668
|
-
`,JH=()=>{const{options:{type:e,isOpen:t,isHovered:n}}=H$();return J(ZH,{children:J(V$,{SVGElement:QH[e],expandMarker:t||n,backgroundColor:z["--ll-color-primary"],backgroundColorHighlight:z["--ll-color-primary-variant1"]})})},eG=ee(Y1)`
|
|
669
|
-
padding: ${z["--ll-spacing-small"]};
|
|
670
|
-
background-color: ${z["--ll-color-background"]};
|
|
671
|
-
box-shadow: ${z["--ll-shadow-small"]};
|
|
672
|
-
border-radius: ${z["--ll-border-radius-small"]};
|
|
673
|
-
width: 240px;
|
|
674
|
-
`,tG=ee(W1)`
|
|
675
|
-
fill: ${z["--ll-color-background"]};
|
|
676
|
-
`,nG=()=>{const{options:{poi:e,side:t,collisionPadding:n}}=H$();return It(eG,{side:t,collisionPadding:n,sideOffset:Nt*2,children:[J(tG,{}),J(Qt,{variant:"h4",children:e.name}),e.address&&J(Qt,{variant:"p",children:e.address})]})},rG=e=>J(x$,{open:e.options.isOpen,onOpenChange:t=>e.onChange&&e.onChange({type:"open-change",data:t}),children:J(z$.Provider,{value:{...e},children:e.children})});var iG=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),AY=Object.freeze(Object.defineProperty({__proto__:null,Types:iG,Marker:JH,Content:nG,Root:rG},Symbol.toStringTag,{value:"Module"}));const oG=(e,t)=>t==="school",sG=ee.ul`
|
|
677
|
-
list-style: none;
|
|
678
|
-
padding: 0;
|
|
679
|
-
margin-bottom: 0;
|
|
680
|
-
`,aG=ee.li`
|
|
681
|
-
padding: ${z["--ll-spacing-x-small"]};
|
|
682
|
-
margin-bottom: ${z["--ll-spacing-xx-small"]};
|
|
683
|
-
border-radius: ${z["--ll-border-radius-small"]};
|
|
684
|
-
background-color: ${({isActive:e})=>e&&z["--ll-color-surface-variant1"]};
|
|
685
|
-
background-color: ${({isHovered:e})=>e&&z["--ll-color-surface-variant1"]};
|
|
686
|
-
`,R2=ee.div`
|
|
687
|
-
display: flex;
|
|
688
|
-
flex-wrap: wrap;
|
|
689
|
-
`,O2=ee(Oz)`
|
|
690
|
-
margin-right: 2px;
|
|
691
|
-
margin-bottom: 2px;
|
|
692
|
-
`,lG=({options:{data:e,type:t,activePOI:n,hoveredPOI:r},onChange:i})=>J(sG,{children:e.map((o,s)=>{var a,l;return It(aG,{isActive:n===o,isHovered:r===o,onClick:()=>i&&i({type:"poi-click",data:o}),onMouseOver:()=>i&&i({type:"poi-hover",data:o}),onMouseLeave:()=>i&&i({type:"poi-hover",data:void 0}),children:[J(Qt,{variant:"p",color:"--ll-color-on-surface-variant1",noMargin:!0,children:o.name}),oG(o,t)?J(R2,{children:(a=o.school_attributes.types)==null?void 0:a.map((u,c)=>J(O2,{text:u},u))}):J(R2,{children:(l=o.routes)==null?void 0:l.map((u,c)=>J(O2,{text:u.short_name,backgroundColor:u.route_color,textColor:u.text_color},u.short_name+c))})]},`${o.name}-${o.lat}-${o.lng}-${s}`)})});var uG=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),$Y=Object.freeze(Object.defineProperty({__proto__:null,Root:lG,Types:uG},Symbol.toStringTag,{value:"Module"}));const G$=e=>{const t=g.exports.useRef(e);return g.exports.useEffect(()=>{t.current=e}),g.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])},cG=({defaultValue:e,onChange:t})=>{const n=g.exports.useState(e),[r]=n,i=g.exports.useRef(r),o=G$(t==null?void 0:t.func);return g.exports.useEffect(()=>{i.current!==r&&t&&(o({type:t.key,data:r}),i.current=r)},[r,i,o]),n},fG=({controlledValue:e,onChange:t,defaultValue:n})=>{const[r,i]=cG({defaultValue:n,onChange:t}),o=e!==void 0,s=o?e:r,a=G$(t==null?void 0:t.func),l=g.exports.useCallback(u=>{if(o){const f=typeof u=="function"?u(e):u;f!==e&&t&&a({type:t.key,data:f})}else i(u)},[o,s,i,a]);return[s,l]};function dG(e){const t=e+"CollectionProvider",[n,r]=Il(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=p=>{const{scope:v,children:m}=p,w=ce.useRef(null),_=ce.useRef(new Map).current;return D(i,{scope:v,itemMap:_,collectionRef:w,children:m})},a=e+"CollectionSlot",l=ce.forwardRef((p,v)=>{const{scope:m,children:w}=p,_=o(a,m),x=Yn(v,_.collectionRef);return ce.createElement(yl,{ref:x},w)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",f=ce.forwardRef((p,v)=>{const{scope:m,children:w,..._}=p,x=ce.useRef(null),y=Yn(v,x),E=o(u,m);return ce.useEffect(()=>(E.itemMap.set(x,{ref:x,..._}),()=>void E.itemMap.delete(x))),ce.createElement(yl,{[c]:"",ref:y},w)});function d(p){const v=o(e+"CollectionConsumer",p);return ce.useCallback(()=>{const w=v.collectionRef.current;if(!w)return[];const _=Array.from(w.querySelectorAll(`[${c}]`));return Array.from(v.itemMap.values()).sort((E,S)=>_.indexOf(E.ref.current)-_.indexOf(S.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:s,Slot:l,ItemSlot:f},d,r]}const pG=g.exports.createContext(void 0);function Y$(e){const t=g.exports.useContext(pG);return e||t||"ltr"}const lv="rovingFocusGroup.onEntryFocus",hG={bubbles:!1,cancelable:!0},J1="RovingFocusGroup",[m0,W$,vG]=dG(J1),[mG,q$]=Il(J1,[vG]),[gG,yG]=mG(J1),_G=g.exports.forwardRef((e,t)=>g.exports.createElement(m0.Provider,{scope:e.__scopeRovingFocusGroup},g.exports.createElement(m0.Slot,{scope:e.__scopeRovingFocusGroup},g.exports.createElement(xG,Ne({},e,{ref:t}))))),xG=g.exports.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:s,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:u,...c}=e,f=g.exports.useRef(null),d=Yn(t,f),p=Y$(o),[v=null,m]=H1({prop:s,defaultProp:a,onChange:l}),[w,_]=g.exports.useState(!1),x=ai(u),y=W$(n),E=g.exports.useRef(!1);return g.exports.useEffect(()=>{const S=f.current;if(S)return S.addEventListener(lv,x),()=>S.removeEventListener(lv,x)},[x]),g.exports.createElement(gG,{scope:n,orientation:r,dir:p,loop:i,currentTabStopId:v,onItemFocus:g.exports.useCallback(S=>m(S),[m]),onItemShiftTab:g.exports.useCallback(()=>_(!0),[])},g.exports.createElement(tn.div,Ne({tabIndex:w?-1:0,"data-orientation":r},c,{ref:d,style:{outline:"none",...e.style},onMouseDown:bt(e.onMouseDown,()=>{E.current=!0}),onFocus:bt(e.onFocus,S=>{const A=!E.current;if(S.target===S.currentTarget&&A&&!w){const $=new CustomEvent(lv,hG);if(S.currentTarget.dispatchEvent($),!$.defaultPrevented){const T=y().filter(X=>X.focusable),O=T.find(X=>X.active),M=T.find(X=>X.id===v),H=[O,M,...T].filter(Boolean).map(X=>X.ref.current);X$(H)}}E.current=!1}),onBlur:bt(e.onBlur,()=>_(!1))})))}),wG="RovingFocusGroupItem",bG=g.exports.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,...o}=e,s=j1(),a=yG(wG,n),l=a.currentTabStopId===s,u=W$(n);return g.exports.createElement(m0.ItemSlot,{scope:n,id:s,focusable:r,active:i},g.exports.createElement(tn.span,Ne({tabIndex:l?0:-1,"data-orientation":a.orientation},o,{ref:t,onMouseDown:bt(e.onMouseDown,c=>{r?a.onItemFocus(s):c.preventDefault()}),onFocus:bt(e.onFocus,()=>a.onItemFocus(s)),onKeyDown:bt(e.onKeyDown,c=>{if(c.key==="Tab"&&c.shiftKey){a.onItemShiftTab();return}if(c.target!==c.currentTarget)return;const f=CG(c,a.orientation,a.dir);if(f!==void 0){c.preventDefault();let p=u().filter(v=>v.focusable).map(v=>v.ref.current);if(f==="last")p.reverse();else if(f==="prev"||f==="next"){f==="prev"&&p.reverse();const v=p.indexOf(c.currentTarget);p=a.loop?AG(p,v+1):p.slice(v+1)}setTimeout(()=>X$(p))}})})))}),EG={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function SG(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function CG(e,t,n){const r=SG(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return EG[r]}function X$(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function AG(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const $G=_G,TG=bG,K$="Tabs",[PG,TY]=Il(K$,[q$]),Q$=q$(),[RG,ey]=PG(K$),OG=g.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:i,defaultValue:o,orientation:s="horizontal",dir:a,activationMode:l="automatic",...u}=e,c=Y$(a),[f,d]=H1({prop:r,onChange:i,defaultProp:o});return g.exports.createElement(RG,{scope:n,baseId:j1(),value:f,onValueChange:d,orientation:s,dir:c,activationMode:l},g.exports.createElement(tn.div,Ne({dir:c,"data-orientation":s},u,{ref:t})))}),kG="TabsList",NG=g.exports.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...i}=e,o=ey(kG,n),s=Q$(n);return g.exports.createElement($G,Ne({asChild:!0},s,{orientation:o.orientation,dir:o.dir,loop:r}),g.exports.createElement(tn.div,Ne({role:"tablist","aria-orientation":o.orientation},i,{ref:t})))}),DG="TabsTrigger",MG=g.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:i=!1,...o}=e,s=ey(DG,n),a=Q$(n),l=Z$(s.baseId,r),u=J$(s.baseId,r),c=r===s.value;return g.exports.createElement(TG,Ne({asChild:!0},a,{focusable:!i,active:c}),g.exports.createElement(tn.button,Ne({type:"button",role:"tab","aria-selected":c,"aria-controls":u,"data-state":c?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:l},o,{ref:t,onMouseDown:bt(e.onMouseDown,f=>{!i&&f.button===0&&f.ctrlKey===!1?s.onValueChange(r):f.preventDefault()}),onKeyDown:bt(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&s.onValueChange(r)}),onFocus:bt(e.onFocus,()=>{const f=s.activationMode!=="manual";!c&&!i&&f&&s.onValueChange(r)})})))}),LG="TabsContent",FG=g.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:i,children:o,...s}=e,a=ey(LG,n),l=Z$(a.baseId,r),u=J$(a.baseId,r),c=r===a.value,f=g.exports.useRef(c);return g.exports.useEffect(()=>{const d=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(d)},[]),g.exports.createElement(z1,{present:i||c},({present:d})=>g.exports.createElement(tn.div,Ne({"data-state":c?"active":"inactive","data-orientation":a.orientation,role:"tabpanel","aria-labelledby":l,hidden:!d,id:u,tabIndex:0},s,{ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0}}),d&&o))});function Z$(e,t){return`${e}-trigger-${t}`}function J$(e,t){return`${e}-content-${t}`}const eT=OG,tT=NG,nT=MG,rT=FG,iT=ce.createContext({}),IG=()=>g.exports.useContext(iT),oT=ce.createContext({}),jG=()=>g.exports.useContext(oT),sT={en:{commute:"Transport",amenities:"Amenities",character:"Character",nature:"Nature",education:"Education",about:"About"},fr:{commute:"Transport",amenities:"Am\xE9nit\xE9s",character:"Caract\xE8re",nature:"Nature",education:"\xC9ducation",about:"Info"}},UG=e=>{const{value:t}=jG(),n=uo([sT]);return J(Qt,{...e,children:n[t]})},BG=({children:e,options:{value:t}})=>J(rT,{value:t,children:J(oT.Provider,{value:{value:t},children:e})},t),VG=e=>D("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),zG=e=>tt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[D("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"}),D("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"}),D("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"}),D("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"}),D("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"})]}),HG=e=>tt("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[D("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"}),D("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"})]}),GG=e=>D("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:D("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"})}),aT=[{value:"commute",icon:VG,scores:["pedestrian_friendly","cycling_friendly","transit_friendly","car_friendly"]},{value:"amenities",icon:GG,scores:["groceries","cafes","restaurants","shopping","wellness"]},{value:"character",icon:zG,scores:["vibrant","quiet","nightlife","historic"]},{value:"nature",icon:HG,scores:["parks","greenery"]},{value:"education",icon:Z1,scores:["high_schools","primary_schools","daycares"]}];var YG=Object.freeze(Object.defineProperty({__proto__:null,tabsContent:aT},Symbol.toStringTag,{value:"Module"}));const WG=ee(tT)`
|
|
693
|
-
display: grid;
|
|
694
|
-
grid-auto-columns: minmax(0, 1fr);
|
|
695
|
-
grid-auto-flow: column;
|
|
696
|
-
background-color: ${z["--ll-color-background"]};
|
|
697
|
-
`,qG=ee(nT)`
|
|
698
|
-
background: none;
|
|
699
|
-
border: none;
|
|
700
|
-
padding: 0;
|
|
701
|
-
display: flex;
|
|
702
|
-
flex-direction: column;
|
|
703
|
-
align-items: center;
|
|
704
|
-
`,XG=()=>{const{currentTab:e}=IG(),t=uo([sT]);return J(WG,{"aria-label":"Score tabs",children:aT.map(n=>{const i=n.value===e?"--ll-color-primary":"--ll-color-disabled";return J(g.exports.Fragment,{children:It(qG,{value:n.value,children:[J(Bd,{SVGElement:n.icon,fill:z[i]}),J(Qt,{noMargin:!0,variant:"caption1",color:i,weight:"--ll-font-weight-medium",children:t[n.value]})]})},n.value)})})},KG=({options:e,onChange:t,children:n})=>{const[r,i]=fG({controlledValue:e.currentTab,onChange:{func:t,key:"tabs"},defaultValue:e.defaultTab||"commute"});return J(iT.Provider,{value:{...e,currentTab:r},children:J(eT,{value:r,orientation:"vertical",defaultValue:r,onValueChange:o=>i(o),children:n})})};var QG=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),PY=Object.freeze(Object.defineProperty({__proto__:null,Root:KG,Tabs:XG,Content:BG,Title:UG,Types:QG,Constants:YG},Symbol.toStringTag,{value:"Module"}));const lT=ce.createContext({}),ZG=()=>g.exports.useContext(lT),JG={en:{groceries:"Grocery",groceries_specialized:"Speciality",shopping:"Shopping",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Coffee shops",daycares:"Daycares",bus_stops:"Bus",rapid_transit_stations:"Metro",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\xE9n\xE9rales",groceries_specialized:"Sp\xE9cialis\xE9es",shopping:"Magasinage",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Caf\xE9s",daycares:"Garderies",bus_stops:"Autobus",rapid_transit_stations:"M\xE9tro",train_stations:"Train",parks:"Parcs",healthy_restaurants:"Restaurants sains",fitness:"Fitness",sport_facilities:"Installations sportives",health_care:"Soins de sant\xE9",pet_care:"Soins pour animaux",car_fueling_stations:"Stations-service",art_culture_science:"Art, Culture, Science",home_improvement:"Am\xE9lioration de l'habitat",personal_care:"Soins personnels"}},eY=ee(nT)`
|
|
705
|
-
margin-right: ${z["--ll-spacing-xx-small"]};
|
|
706
|
-
margin-bottom: ${z["--ll-spacing-xx-small"]};
|
|
707
|
-
`,tY=()=>{const{include:e,activeTab:t,setActiveTab:n}=ZG(),r=uo([JG]);return e.length<=1?null:J(tT,{"aria-label":"tabs example",children:e.map(i=>J(eY,{value:i,asChild:!0,children:J(A$,{size:"small",variant:i===t?"contained":"outlined",onClick:()=>n(i),children:r[i]})},i))})},nY=({children:e,options:{value:t}})=>J(rT,{value:t,children:e},t),rY=({options:e,children:t})=>{const[n,r]=g.exports.useState(e.include[0]);return J(lT.Provider,{value:{...e,activeTab:n,setActiveTab:r},children:J(eT,{value:n,children:t})})},iY={pedestrian_friendly:[],transit_friendly:["rapid_transit_stations","train_stations","bus_stops"],cycling_friendly:[],car_friendly:["car_fueling_stations"],groceries:["groceries","groceries_specialized"],restaurants:["restaurants"],cafes:["cafes"],shopping:["shopping"],wellness:["fitness","healthy_restaurants","health_care","sport_facilities"],parks:["parks"],greenery:[],vibrant:["art_culture_science"],nightlife:[],quiet:[],historic:[],high_schools:[],primary_schools:[],daycares:["daycares"]};var oY=Object.freeze(Object.defineProperty({__proto__:null,scorePois:iY},Symbol.toStringTag,{value:"Module"})),RY=Object.freeze(Object.defineProperty({__proto__:null,Root:rY,Tabs:tY,Content:nY,Constants:oY},Symbol.toStringTag,{value:"Module"}));const sY=({children:e})=>{var r,i;const{sdkState:t}=IN();if(!(t!=null&&t.apiKey))throw Error("A valid apiKey must be provided.");const n=vL(t.apiKey,{locale:(r=t==null?void 0:t.globalOptions)==null?void 0:r.locale});return D(nH,{client:n,options:{appearance:(i=t==null?void 0:t.globalOptions)==null?void 0:i.appearance},children:e})},aY=ee.div`
|
|
708
|
-
height: 100%;
|
|
709
|
-
width: 100%;
|
|
710
|
-
display: flex;
|
|
711
|
-
align-items: center;
|
|
712
|
-
justify-content: center;
|
|
713
|
-
flex-direction: column;
|
|
714
|
-
`,lY=({error:e})=>tt(aY,{children:[D(hx,{variant:"h4",children:"An error occurred"}),D(hx,{variant:"p",color:"--ll-color-on-background-variant1",children:e.message})]}),uY=new Bk({defaultOptions:{queries:{retry:2,staleTime:1/0,keepPreviousData:!0}}}),cY=()=>tt(yd,{children:[D(w7,{}),D(gk,{FallbackComponent:lY,children:D(uN,{children:D(Gk,{client:uY,children:D(jN,{children:D(sY,{children:D(t1,{})})})})})})]});p6({dsn:"https://19707ff4ff7f420b9369a3e15041c787@o227377.ingest.sentry.io/6677584",integrations:[new Dg],tracesSampleRate:1,environment:"production",enabled:!0});uv.createRoot(document.getElementById("root")).render(D(ce.StrictMode,{children:D(cY,{})}));export{al as $,tH as A,IN as B,MN as C,xY as D,_Y as E,yd as F,$Y as G,RY as H,tt as I,EY as J,yY as K,AA as L,PY as M,P7 as N,SY as O,Td as P,CY as Q,AT as R,gY as S,hx as T,ld as U,AY as V,lr as W,st as _,sl as a,Od as b,qI as c,dY as d,r5 as e,Rn as f,_A as g,ce as h,eN as i,D as j,ui as k,zl as l,mY as m,ee as n,Y5 as o,IS as p,io as q,g as r,Hn as s,fe as t,rw as u,Gg as v,to as w,Xe as x,Gi as y,eC as z};
|