@getcredify/credify-insurance-widget 1.43.0 → 1.44.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/README.md +4 -4
  2. package/dist/{address-BEVwov8q-Cgvd-ydq.js → address-BEVwov8q-DDhbGo15.js} +1 -1
  3. package/dist/{api-BGeBevot.js → api-CWMwIjKu.js} +1 -1
  4. package/dist/{car-BQXTRajZ.js → car-B83tx4O2.js} +1 -1
  5. package/dist/{check-04Hiu_0S.js → check-Bu17NqRV.js} +1 -1
  6. package/dist/{copy-applicant-offer-CqzfNhkJ-CXzGxES4.js → copy-applicant-offer-CqzfNhkJ-DLXjbOLT.js} +3 -3
  7. package/dist/{copy-from-record-BNP6CFFR-Ea4bf4lq.js → copy-from-record-BNP6CFFR-6SC1msxp.js} +4 -4
  8. package/dist/{core-CrEw_I-E-B6agkb7g.js → core-CrEw_I-E-CsRUhlZy.js} +1 -1
  9. package/dist/{coverageDerivation-CV2ORogj-B42UJhMa.js → coverageDerivation-CV2ORogj-De8x_Bpm.js} +1 -1
  10. package/dist/{fixtures-ijbZ16Zg-Bmt9N4zO.js → fixtures-ijbZ16Zg-9n-90hL2.js} +1 -1
  11. package/dist/{household-prefill-CmtB9R3R-DaQcDYh7.js → household-prefill-CmtB9R3R-Bw0M1Q50.js} +4 -4
  12. package/dist/{householdPrefill-DLm3pxFH-CqqJoa0N.js → householdPrefill-DLm3pxFH-BQibTi9l.js} +1 -1
  13. package/dist/iframe/assets/{address-BEVwov8q-Bqt4jr_e.js → address-BEVwov8q-BiiIpq2c.js} +1 -1
  14. package/dist/iframe/assets/{car-B0PQzDYj.js → car-cifgdWXX.js} +1 -1
  15. package/dist/iframe/assets/{check-bC0Zibyh.js → check-TbHiw7rw.js} +1 -1
  16. package/dist/iframe/assets/{copy-applicant-offer-CqzfNhkJ-D6mTQGjz.js → copy-applicant-offer-CqzfNhkJ-CVahKn8I.js} +1 -1
  17. package/dist/iframe/assets/{copy-from-record-BNP6CFFR-D3zdAXXN.js → copy-from-record-BNP6CFFR-Cn7Nr7XT.js} +1 -1
  18. package/dist/iframe/assets/{core-CrEw_I-E-ecektrnv.js → core-CrEw_I-E-DJNj5Zzo.js} +1 -1
  19. package/dist/iframe/assets/{coverageDerivation-CV2ORogj-CA4KQiLs.js → coverageDerivation-CV2ORogj-B7aNPljp.js} +1 -1
  20. package/dist/iframe/assets/{dob-calendar-RIJ5S6YU-1oIu3-0M.js → dob-calendar-RIJ5S6YU-CdxMGaLz.js} +1 -1
  21. package/dist/iframe/assets/{fixtures-ijbZ16Zg-Dif2LDkg.js → fixtures-ijbZ16Zg-NuD06-4v.js} +1 -1
  22. package/dist/iframe/assets/{household-prefill-CmtB9R3R-CrgN1qav.js → household-prefill-CmtB9R3R-0b9HYzDA.js} +1 -1
  23. package/dist/iframe/assets/{householdPrefill-DLm3pxFH-B3K_XX2k.js → householdPrefill-DLm3pxFH-DzyOYQr_.js} +1 -1
  24. package/dist/iframe/assets/{iframe-BsUmazO0.js → iframe-Be9NY0jq.js} +30 -30
  25. package/dist/iframe/assets/{index-BipROEB3.js → index-BknEWAR5.js} +1 -1
  26. package/dist/iframe/assets/{intake-review-panel-D27t8CZO-UOfbb2gR.js → intake-review-panel-D27t8CZO-QuAzDm1O.js} +1 -1
  27. package/dist/iframe/assets/{mockJump-hNzgzUmO-Dd1MY0fT.js → mockJump-hNzgzUmO-CQ7eZ354.js} +1 -1
  28. package/dist/iframe/assets/{payload-DrGFAxms-DeQGFkZt.js → payload-DrGFAxms-DIGXNw5l.js} +1 -1
  29. package/dist/iframe/assets/{question-list-DFjWa8ZA--GTrxgeK.js → question-list-DFjWa8ZA-DbabOwyP.js} +3 -3
  30. package/dist/iframe/assets/{rates-panel-BSFiWEZX-Bw7hcmIi.js → rates-panel-BSFiWEZX-GsRBXu7R.js} +3 -3
  31. package/dist/iframe/assets/{review-panel-C_WxX33U-BxLq8fbL.js → review-panel-C_WxX33U-CxzpQutt.js} +1 -1
  32. package/dist/iframe/assets/{stage-knShj71W-BctzWtx2.js → stage-knShj71W-CEkRTdvw.js} +1 -1
  33. package/dist/iframe/assets/{validation-D42QXxck-CI1J_zUB.js → validation-D42QXxck-DrIBn9be.js} +1 -1
  34. package/dist/iframe/assets/{vehicleCoverage-CBWORI1l-D_NVJvjm.js → vehicleCoverage-CBWORI1l-BqOK33e3.js} +1 -1
  35. package/dist/iframe/assets/{visibility-CKRGC3Il-CzwGG4Rt.js → visibility-CKRGC3Il-CLpoN3cd.js} +1 -1
  36. package/dist/iframe/iframe.html +1 -1
  37. package/dist/{index-C9szcdxC.js → index-CY0roJE_.js} +1 -1
  38. package/dist/index.es.js +1 -1
  39. package/dist/index.umd.js +55 -55
  40. package/dist/{intake-review-panel-D27t8CZO-BprNqAxn.js → intake-review-panel-D27t8CZO-CxiXytFS.js} +5 -5
  41. package/dist/{mockJump-hNzgzUmO-DdKPcdjz.js → mockJump-hNzgzUmO-CsTzthio.js} +1 -1
  42. package/dist/{payload-DrGFAxms-4aJBixaL.js → payload-DrGFAxms-DmfWvvu_.js} +2 -2
  43. package/dist/{question-list-DFjWa8ZA-DqUPEU4a.js → question-list-DFjWa8ZA-B8f7Jf6J.js} +13 -13
  44. package/dist/{rates-panel-BSFiWEZX-poz1p0rK.js → rates-panel-BSFiWEZX-DdETQZ83.js} +5 -5
  45. package/dist/{review-panel-C_WxX33U-DAqsW53a.js → review-panel-C_WxX33U-CZu6We48.js} +3 -3
  46. package/dist/{stage-knShj71W-DkbEgye4.js → stage-knShj71W-XIJ7bUoN.js} +4 -4
  47. package/dist/utils/branding.d.ts +1 -1
  48. package/dist/utils/placesAuthFailure.d.ts +10 -0
  49. package/dist/{validation-D42QXxck-6HA5X_Ql.js → validation-D42QXxck-BPUVtzkv.js} +1 -1
  50. package/dist/{vehicleCoverage-CBWORI1l-Cy7XD_03.js → vehicleCoverage-CBWORI1l-DZmjvVjU.js} +3 -3
  51. package/dist/{visibility-CKRGC3Il-v2xplFmb.js → visibility-CKRGC3Il-_72Koc98.js} +1 -1
  52. package/dist/{widget-wgT55Lu5.js → widget-CP6ApixH.js} +1523 -1504
  53. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/stage-knShj71W-BctzWtx2.js","assets/types-LUGvo5ic-CB-wcgK3.js","assets/visibility-CKRGC3Il-CzwGG4Rt.js","assets/validation-D42QXxck-CI1J_zUB.js","assets/vehicleCoverage-CBWORI1l-D_NVJvjm.js","assets/payload-DrGFAxms-DeQGFkZt.js","assets/address-BEVwov8q-Bqt4jr_e.js","assets/question-list-DFjWa8ZA--GTrxgeK.js","assets/core-CrEw_I-E-ecektrnv.js","assets/householdPrefill-DLm3pxFH-B3K_XX2k.js","assets/copy-from-record-BNP6CFFR-D3zdAXXN.js","assets/check-bC0Zibyh.js","assets/coverageDerivation-CV2ORogj-CA4KQiLs.js","assets/index-BipROEB3.js","assets/car-B0PQzDYj.js","assets/household-prefill-CmtB9R3R-CrgN1qav.js","assets/copy-applicant-offer-CqzfNhkJ-D6mTQGjz.js","assets/review-panel-C_WxX33U-BxLq8fbL.js","assets/intake-review-panel-D27t8CZO-UOfbb2gR.js","assets/rates-panel-BSFiWEZX-Bw7hcmIi.js"])))=>i.map(i=>d[i]);
2
- function b_(a,r){for(var l=0;l<r.length;l++){const s=r[l];if(typeof s!="string"&&!Array.isArray(s)){for(const c in s)if(c!=="default"&&!(c in a)){const f=Object.getOwnPropertyDescriptor(s,c);f&&Object.defineProperty(a,c,f.get?f:{enumerable:!0,get:()=>s[c]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))s(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const p of f.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&s(p)}).observe(document,{childList:!0,subtree:!0});function l(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function s(c){if(c.ep)return;c.ep=!0;const f=l(c);fetch(c.href,f)}})();function S_(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Vc={exports:{}},cl={};/**
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/stage-knShj71W-CEkRTdvw.js","assets/types-LUGvo5ic-CB-wcgK3.js","assets/visibility-CKRGC3Il-CLpoN3cd.js","assets/validation-D42QXxck-DrIBn9be.js","assets/vehicleCoverage-CBWORI1l-BqOK33e3.js","assets/payload-DrGFAxms-DIGXNw5l.js","assets/address-BEVwov8q-BiiIpq2c.js","assets/question-list-DFjWa8ZA-DbabOwyP.js","assets/core-CrEw_I-E-DJNj5Zzo.js","assets/householdPrefill-DLm3pxFH-DzyOYQr_.js","assets/copy-from-record-BNP6CFFR-Cn7Nr7XT.js","assets/check-TbHiw7rw.js","assets/coverageDerivation-CV2ORogj-B7aNPljp.js","assets/index-BknEWAR5.js","assets/car-cifgdWXX.js","assets/household-prefill-CmtB9R3R-0b9HYzDA.js","assets/copy-applicant-offer-CqzfNhkJ-CVahKn8I.js","assets/review-panel-C_WxX33U-CxzpQutt.js","assets/intake-review-panel-D27t8CZO-QuAzDm1O.js","assets/rates-panel-BSFiWEZX-GsRBXu7R.js"])))=>i.map(i=>d[i]);
2
+ function __(a,r){for(var l=0;l<r.length;l++){const s=r[l];if(typeof s!="string"&&!Array.isArray(s)){for(const c in s)if(c!=="default"&&!(c in a)){const f=Object.getOwnPropertyDescriptor(s,c);f&&Object.defineProperty(a,c,f.get?f:{enumerable:!0,get:()=>s[c]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))s(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const p of f.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&s(p)}).observe(document,{childList:!0,subtree:!0});function l(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function s(c){if(c.ep)return;c.ep=!0;const f=l(c);fetch(c.href,f)}})();function E_(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Yc={exports:{}},cl={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.js
5
5
  *
@@ -7,7 +7,7 @@ function b_(a,r){for(var l=0;l<r.length;l++){const s=r[l];if(typeof s!="string"&
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var Sy;function __(){if(Sy)return cl;Sy=1;var a=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function l(s,c,f){var p=null;if(f!==void 0&&(p=""+f),c.key!==void 0&&(p=""+c.key),"key"in c){f={};for(var h in c)h!=="key"&&(f[h]=c[h])}else f=c;return c=f.ref,{$$typeof:a,type:s,key:p,ref:c!==void 0?c:null,props:f}}return cl.Fragment=r,cl.jsx=l,cl.jsxs=l,cl}var _y;function E_(){return _y||(_y=1,Vc.exports=__()),Vc.exports}var A=E_(),Yc={exports:{}},ce={};/**
10
+ */var Sy;function C_(){if(Sy)return cl;Sy=1;var a=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function l(s,c,f){var p=null;if(f!==void 0&&(p=""+f),c.key!==void 0&&(p=""+c.key),"key"in c){f={};for(var h in c)h!=="key"&&(f[h]=c[h])}else f=c;return c=f.ref,{$$typeof:a,type:s,key:p,ref:c!==void 0?c:null,props:f}}return cl.Fragment=r,cl.jsx=l,cl.jsxs=l,cl}var _y;function A_(){return _y||(_y=1,Yc.exports=C_()),Yc.exports}var A=A_(),$c={exports:{}},ce={};/**
11
11
  * @license React
12
12
  * react.production.js
13
13
  *
@@ -15,7 +15,7 @@ function b_(a,r){for(var l=0;l<r.length;l++){const s=r[l];if(typeof s!="string"&
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */var Ey;function C_(){if(Ey)return ce;Ey=1;var a=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),p=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),_=Symbol.for("react.activity"),z=Symbol.iterator;function G(b){return b===null||typeof b!="object"?null:(b=z&&b[z]||b["@@iterator"],typeof b=="function"?b:null)}var q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Q=Object.assign,Y={};function ae(b,L,P){this.props=b,this.context=L,this.refs=Y,this.updater=P||q}ae.prototype.isReactComponent={},ae.prototype.setState=function(b,L){if(typeof b!="object"&&typeof b!="function"&&b!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,b,L,"setState")},ae.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};function le(){}le.prototype=ae.prototype;function J(b,L,P){this.props=b,this.context=L,this.refs=Y,this.updater=P||q}var Se=J.prototype=new le;Se.constructor=J,Q(Se,ae.prototype),Se.isPureReactComponent=!0;var j=Array.isArray;function ye(){}var ee={H:null,A:null,T:null,S:null},Ve=Object.prototype.hasOwnProperty;function Pe(b,L,P){var k=P.ref;return{$$typeof:a,type:b,key:L,ref:k!==void 0?k:null,props:P}}function Je(b,L){return Pe(b.type,L,b.props)}function oe(b){return typeof b=="object"&&b!==null&&b.$$typeof===a}function X(b){var L={"=":"=0",":":"=2"};return"$"+b.replace(/[=:]/g,function(P){return L[P]})}var Ne=/\/+/g;function De(b,L){return typeof b=="object"&&b!==null&&b.key!=null?X(""+b.key):L.toString(36)}function Ye(b){switch(b.status){case"fulfilled":return b.value;case"rejected":throw b.reason;default:switch(typeof b.status=="string"?b.then(ye,ye):(b.status="pending",b.then(function(L){b.status==="pending"&&(b.status="fulfilled",b.value=L)},function(L){b.status==="pending"&&(b.status="rejected",b.reason=L)})),b.status){case"fulfilled":return b.value;case"rejected":throw b.reason}}throw b}function R(b,L,P,k,Z){var se=typeof b;(se==="undefined"||se==="boolean")&&(b=null);var pe=!1;if(b===null)pe=!0;else switch(se){case"bigint":case"string":case"number":pe=!0;break;case"object":switch(b.$$typeof){case a:case r:pe=!0;break;case E:return pe=b._init,R(pe(b._payload),L,P,k,Z)}}if(pe)return Z=Z(b),pe=k===""?"."+De(b,0):k,j(Z)?(P="",pe!=null&&(P=pe.replace(Ne,"$&/")+"/"),R(Z,L,P,"",function(Kn){return Kn})):Z!=null&&(oe(Z)&&(Z=Je(Z,P+(Z.key==null||b&&b.key===Z.key?"":(""+Z.key).replace(Ne,"$&/")+"/")+pe)),L.push(Z)),1;pe=0;var Ze=k===""?".":k+":";if(j(b))for(var Ge=0;Ge<b.length;Ge++)k=b[Ge],se=Ze+De(k,Ge),pe+=R(k,L,P,se,Z);else if(Ge=G(b),typeof Ge=="function")for(b=Ge.call(b),Ge=0;!(k=b.next()).done;)k=k.value,se=Ze+De(k,Ge++),pe+=R(k,L,P,se,Z);else if(se==="object"){if(typeof b.then=="function")return R(Ye(b),L,P,k,Z);throw L=String(b),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return pe}function B(b,L,P){if(b==null)return b;var k=[],Z=0;return R(b,k,"","",function(se){return L.call(P,se,Z++)}),k}function te(b){if(b._status===-1){var L=b._result;L=L(),L.then(function(P){(b._status===0||b._status===-1)&&(b._status=1,b._result=P)},function(P){(b._status===0||b._status===-1)&&(b._status=2,b._result=P)}),b._status===-1&&(b._status=0,b._result=L)}if(b._status===1)return b._result.default;throw b._result}var ge=typeof reportError=="function"?reportError:function(b){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof b=="object"&&b!==null&&typeof b.message=="string"?String(b.message):String(b),error:b});if(!window.dispatchEvent(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",b);return}console.error(b)},ve={map:B,forEach:function(b,L,P){B(b,function(){L.apply(this,arguments)},P)},count:function(b){var L=0;return B(b,function(){L++}),L},toArray:function(b){return B(b,function(L){return L})||[]},only:function(b){if(!oe(b))throw Error("React.Children.only expected to receive a single React element child.");return b}};return ce.Activity=_,ce.Children=ve,ce.Component=ae,ce.Fragment=l,ce.Profiler=c,ce.PureComponent=J,ce.StrictMode=s,ce.Suspense=g,ce.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ee,ce.__COMPILER_RUNTIME={__proto__:null,c:function(b){return ee.H.useMemoCache(b)}},ce.cache=function(b){return function(){return b.apply(null,arguments)}},ce.cacheSignal=function(){return null},ce.cloneElement=function(b,L,P){if(b==null)throw Error("The argument must be a React element, but you passed "+b+".");var k=Q({},b.props),Z=b.key;if(L!=null)for(se in L.key!==void 0&&(Z=""+L.key),L)!Ve.call(L,se)||se==="key"||se==="__self"||se==="__source"||se==="ref"&&L.ref===void 0||(k[se]=L[se]);var se=arguments.length-2;if(se===1)k.children=P;else if(1<se){for(var pe=Array(se),Ze=0;Ze<se;Ze++)pe[Ze]=arguments[Ze+2];k.children=pe}return Pe(b.type,Z,k)},ce.createContext=function(b){return b={$$typeof:p,_currentValue:b,_currentValue2:b,_threadCount:0,Provider:null,Consumer:null},b.Provider=b,b.Consumer={$$typeof:f,_context:b},b},ce.createElement=function(b,L,P){var k,Z={},se=null;if(L!=null)for(k in L.key!==void 0&&(se=""+L.key),L)Ve.call(L,k)&&k!=="key"&&k!=="__self"&&k!=="__source"&&(Z[k]=L[k]);var pe=arguments.length-2;if(pe===1)Z.children=P;else if(1<pe){for(var Ze=Array(pe),Ge=0;Ge<pe;Ge++)Ze[Ge]=arguments[Ge+2];Z.children=Ze}if(b&&b.defaultProps)for(k in pe=b.defaultProps,pe)Z[k]===void 0&&(Z[k]=pe[k]);return Pe(b,se,Z)},ce.createRef=function(){return{current:null}},ce.forwardRef=function(b){return{$$typeof:h,render:b}},ce.isValidElement=oe,ce.lazy=function(b){return{$$typeof:E,_payload:{_status:-1,_result:b},_init:te}},ce.memo=function(b,L){return{$$typeof:y,type:b,compare:L===void 0?null:L}},ce.startTransition=function(b){var L=ee.T,P={};ee.T=P;try{var k=b(),Z=ee.S;Z!==null&&Z(P,k),typeof k=="object"&&k!==null&&typeof k.then=="function"&&k.then(ye,ge)}catch(se){ge(se)}finally{L!==null&&P.types!==null&&(L.types=P.types),ee.T=L}},ce.unstable_useCacheRefresh=function(){return ee.H.useCacheRefresh()},ce.use=function(b){return ee.H.use(b)},ce.useActionState=function(b,L,P){return ee.H.useActionState(b,L,P)},ce.useCallback=function(b,L){return ee.H.useCallback(b,L)},ce.useContext=function(b){return ee.H.useContext(b)},ce.useDebugValue=function(){},ce.useDeferredValue=function(b,L){return ee.H.useDeferredValue(b,L)},ce.useEffect=function(b,L){return ee.H.useEffect(b,L)},ce.useEffectEvent=function(b){return ee.H.useEffectEvent(b)},ce.useId=function(){return ee.H.useId()},ce.useImperativeHandle=function(b,L,P){return ee.H.useImperativeHandle(b,L,P)},ce.useInsertionEffect=function(b,L){return ee.H.useInsertionEffect(b,L)},ce.useLayoutEffect=function(b,L){return ee.H.useLayoutEffect(b,L)},ce.useMemo=function(b,L){return ee.H.useMemo(b,L)},ce.useOptimistic=function(b,L){return ee.H.useOptimistic(b,L)},ce.useReducer=function(b,L,P){return ee.H.useReducer(b,L,P)},ce.useRef=function(b){return ee.H.useRef(b)},ce.useState=function(b){return ee.H.useState(b)},ce.useSyncExternalStore=function(b,L,P){return ee.H.useSyncExternalStore(b,L,P)},ce.useTransition=function(){return ee.H.useTransition()},ce.version="19.2.7",ce}var Cy;function Wf(){return Cy||(Cy=1,Yc.exports=C_()),Yc.exports}var T=Wf();const A_=S_(T),T_=b_({__proto__:null,default:A_},[T]);var $c={exports:{}},fl={},Qc={exports:{}},Xc={};/**
18
+ */var Ey;function T_(){if(Ey)return ce;Ey=1;var a=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),p=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),_=Symbol.for("react.activity"),z=Symbol.iterator;function G(b){return b===null||typeof b!="object"?null:(b=z&&b[z]||b["@@iterator"],typeof b=="function"?b:null)}var q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Q=Object.assign,Y={};function ae(b,L,P){this.props=b,this.context=L,this.refs=Y,this.updater=P||q}ae.prototype.isReactComponent={},ae.prototype.setState=function(b,L){if(typeof b!="object"&&typeof b!="function"&&b!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,b,L,"setState")},ae.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};function le(){}le.prototype=ae.prototype;function J(b,L,P){this.props=b,this.context=L,this.refs=Y,this.updater=P||q}var Se=J.prototype=new le;Se.constructor=J,Q(Se,ae.prototype),Se.isPureReactComponent=!0;var j=Array.isArray;function ye(){}var ee={H:null,A:null,T:null,S:null},Ve=Object.prototype.hasOwnProperty;function Pe(b,L,P){var k=P.ref;return{$$typeof:a,type:b,key:L,ref:k!==void 0?k:null,props:P}}function Je(b,L){return Pe(b.type,L,b.props)}function oe(b){return typeof b=="object"&&b!==null&&b.$$typeof===a}function X(b){var L={"=":"=0",":":"=2"};return"$"+b.replace(/[=:]/g,function(P){return L[P]})}var Ne=/\/+/g;function De(b,L){return typeof b=="object"&&b!==null&&b.key!=null?X(""+b.key):L.toString(36)}function Ye(b){switch(b.status){case"fulfilled":return b.value;case"rejected":throw b.reason;default:switch(typeof b.status=="string"?b.then(ye,ye):(b.status="pending",b.then(function(L){b.status==="pending"&&(b.status="fulfilled",b.value=L)},function(L){b.status==="pending"&&(b.status="rejected",b.reason=L)})),b.status){case"fulfilled":return b.value;case"rejected":throw b.reason}}throw b}function R(b,L,P,k,Z){var se=typeof b;(se==="undefined"||se==="boolean")&&(b=null);var pe=!1;if(b===null)pe=!0;else switch(se){case"bigint":case"string":case"number":pe=!0;break;case"object":switch(b.$$typeof){case a:case r:pe=!0;break;case E:return pe=b._init,R(pe(b._payload),L,P,k,Z)}}if(pe)return Z=Z(b),pe=k===""?"."+De(b,0):k,j(Z)?(P="",pe!=null&&(P=pe.replace(Ne,"$&/")+"/"),R(Z,L,P,"",function(Kn){return Kn})):Z!=null&&(oe(Z)&&(Z=Je(Z,P+(Z.key==null||b&&b.key===Z.key?"":(""+Z.key).replace(Ne,"$&/")+"/")+pe)),L.push(Z)),1;pe=0;var Ze=k===""?".":k+":";if(j(b))for(var Ge=0;Ge<b.length;Ge++)k=b[Ge],se=Ze+De(k,Ge),pe+=R(k,L,P,se,Z);else if(Ge=G(b),typeof Ge=="function")for(b=Ge.call(b),Ge=0;!(k=b.next()).done;)k=k.value,se=Ze+De(k,Ge++),pe+=R(k,L,P,se,Z);else if(se==="object"){if(typeof b.then=="function")return R(Ye(b),L,P,k,Z);throw L=String(b),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return pe}function B(b,L,P){if(b==null)return b;var k=[],Z=0;return R(b,k,"","",function(se){return L.call(P,se,Z++)}),k}function te(b){if(b._status===-1){var L=b._result;L=L(),L.then(function(P){(b._status===0||b._status===-1)&&(b._status=1,b._result=P)},function(P){(b._status===0||b._status===-1)&&(b._status=2,b._result=P)}),b._status===-1&&(b._status=0,b._result=L)}if(b._status===1)return b._result.default;throw b._result}var ge=typeof reportError=="function"?reportError:function(b){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof b=="object"&&b!==null&&typeof b.message=="string"?String(b.message):String(b),error:b});if(!window.dispatchEvent(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",b);return}console.error(b)},ve={map:B,forEach:function(b,L,P){B(b,function(){L.apply(this,arguments)},P)},count:function(b){var L=0;return B(b,function(){L++}),L},toArray:function(b){return B(b,function(L){return L})||[]},only:function(b){if(!oe(b))throw Error("React.Children.only expected to receive a single React element child.");return b}};return ce.Activity=_,ce.Children=ve,ce.Component=ae,ce.Fragment=l,ce.Profiler=c,ce.PureComponent=J,ce.StrictMode=s,ce.Suspense=g,ce.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ee,ce.__COMPILER_RUNTIME={__proto__:null,c:function(b){return ee.H.useMemoCache(b)}},ce.cache=function(b){return function(){return b.apply(null,arguments)}},ce.cacheSignal=function(){return null},ce.cloneElement=function(b,L,P){if(b==null)throw Error("The argument must be a React element, but you passed "+b+".");var k=Q({},b.props),Z=b.key;if(L!=null)for(se in L.key!==void 0&&(Z=""+L.key),L)!Ve.call(L,se)||se==="key"||se==="__self"||se==="__source"||se==="ref"&&L.ref===void 0||(k[se]=L[se]);var se=arguments.length-2;if(se===1)k.children=P;else if(1<se){for(var pe=Array(se),Ze=0;Ze<se;Ze++)pe[Ze]=arguments[Ze+2];k.children=pe}return Pe(b.type,Z,k)},ce.createContext=function(b){return b={$$typeof:p,_currentValue:b,_currentValue2:b,_threadCount:0,Provider:null,Consumer:null},b.Provider=b,b.Consumer={$$typeof:f,_context:b},b},ce.createElement=function(b,L,P){var k,Z={},se=null;if(L!=null)for(k in L.key!==void 0&&(se=""+L.key),L)Ve.call(L,k)&&k!=="key"&&k!=="__self"&&k!=="__source"&&(Z[k]=L[k]);var pe=arguments.length-2;if(pe===1)Z.children=P;else if(1<pe){for(var Ze=Array(pe),Ge=0;Ge<pe;Ge++)Ze[Ge]=arguments[Ge+2];Z.children=Ze}if(b&&b.defaultProps)for(k in pe=b.defaultProps,pe)Z[k]===void 0&&(Z[k]=pe[k]);return Pe(b,se,Z)},ce.createRef=function(){return{current:null}},ce.forwardRef=function(b){return{$$typeof:h,render:b}},ce.isValidElement=oe,ce.lazy=function(b){return{$$typeof:E,_payload:{_status:-1,_result:b},_init:te}},ce.memo=function(b,L){return{$$typeof:y,type:b,compare:L===void 0?null:L}},ce.startTransition=function(b){var L=ee.T,P={};ee.T=P;try{var k=b(),Z=ee.S;Z!==null&&Z(P,k),typeof k=="object"&&k!==null&&typeof k.then=="function"&&k.then(ye,ge)}catch(se){ge(se)}finally{L!==null&&P.types!==null&&(L.types=P.types),ee.T=L}},ce.unstable_useCacheRefresh=function(){return ee.H.useCacheRefresh()},ce.use=function(b){return ee.H.use(b)},ce.useActionState=function(b,L,P){return ee.H.useActionState(b,L,P)},ce.useCallback=function(b,L){return ee.H.useCallback(b,L)},ce.useContext=function(b){return ee.H.useContext(b)},ce.useDebugValue=function(){},ce.useDeferredValue=function(b,L){return ee.H.useDeferredValue(b,L)},ce.useEffect=function(b,L){return ee.H.useEffect(b,L)},ce.useEffectEvent=function(b){return ee.H.useEffectEvent(b)},ce.useId=function(){return ee.H.useId()},ce.useImperativeHandle=function(b,L,P){return ee.H.useImperativeHandle(b,L,P)},ce.useInsertionEffect=function(b,L){return ee.H.useInsertionEffect(b,L)},ce.useLayoutEffect=function(b,L){return ee.H.useLayoutEffect(b,L)},ce.useMemo=function(b,L){return ee.H.useMemo(b,L)},ce.useOptimistic=function(b,L){return ee.H.useOptimistic(b,L)},ce.useReducer=function(b,L,P){return ee.H.useReducer(b,L,P)},ce.useRef=function(b){return ee.H.useRef(b)},ce.useState=function(b){return ee.H.useState(b)},ce.useSyncExternalStore=function(b,L,P){return ee.H.useSyncExternalStore(b,L,P)},ce.useTransition=function(){return ee.H.useTransition()},ce.version="19.2.7",ce}var Cy;function Kf(){return Cy||(Cy=1,$c.exports=T_()),$c.exports}var T=Kf();const M_=E_(T),w_=__({__proto__:null,default:M_},[T]);var Qc={exports:{}},fl={},Xc={exports:{}},Zc={};/**
19
19
  * @license React
20
20
  * scheduler.production.js
21
21
  *
@@ -23,7 +23,7 @@ function b_(a,r){for(var l=0;l<r.length;l++){const s=r[l];if(typeof s!="string"&
23
23
  *
24
24
  * This source code is licensed under the MIT license found in the
25
25
  * LICENSE file in the root directory of this source tree.
26
- */var Ay;function M_(){return Ay||(Ay=1,(function(a){function r(R,B){var te=R.length;R.push(B);e:for(;0<te;){var ge=te-1>>>1,ve=R[ge];if(0<c(ve,B))R[ge]=B,R[te]=ve,te=ge;else break e}}function l(R){return R.length===0?null:R[0]}function s(R){if(R.length===0)return null;var B=R[0],te=R.pop();if(te!==B){R[0]=te;e:for(var ge=0,ve=R.length,b=ve>>>1;ge<b;){var L=2*(ge+1)-1,P=R[L],k=L+1,Z=R[k];if(0>c(P,te))k<ve&&0>c(Z,P)?(R[ge]=Z,R[k]=te,ge=k):(R[ge]=P,R[L]=te,ge=L);else if(k<ve&&0>c(Z,te))R[ge]=Z,R[k]=te,ge=k;else break e}}return B}function c(R,B){var te=R.sortIndex-B.sortIndex;return te!==0?te:R.id-B.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;a.unstable_now=function(){return f.now()}}else{var p=Date,h=p.now();a.unstable_now=function(){return p.now()-h}}var g=[],y=[],E=1,_=null,z=3,G=!1,q=!1,Q=!1,Y=!1,ae=typeof setTimeout=="function"?setTimeout:null,le=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null;function Se(R){for(var B=l(y);B!==null;){if(B.callback===null)s(y);else if(B.startTime<=R)s(y),B.sortIndex=B.expirationTime,r(g,B);else break;B=l(y)}}function j(R){if(Q=!1,Se(R),!q)if(l(g)!==null)q=!0,ye||(ye=!0,X());else{var B=l(y);B!==null&&Ye(j,B.startTime-R)}}var ye=!1,ee=-1,Ve=5,Pe=-1;function Je(){return Y?!0:!(a.unstable_now()-Pe<Ve)}function oe(){if(Y=!1,ye){var R=a.unstable_now();Pe=R;var B=!0;try{e:{q=!1,Q&&(Q=!1,le(ee),ee=-1),G=!0;var te=z;try{t:{for(Se(R),_=l(g);_!==null&&!(_.expirationTime>R&&Je());){var ge=_.callback;if(typeof ge=="function"){_.callback=null,z=_.priorityLevel;var ve=ge(_.expirationTime<=R);if(R=a.unstable_now(),typeof ve=="function"){_.callback=ve,Se(R),B=!0;break t}_===l(g)&&s(g),Se(R)}else s(g);_=l(g)}if(_!==null)B=!0;else{var b=l(y);b!==null&&Ye(j,b.startTime-R),B=!1}}break e}finally{_=null,z=te,G=!1}B=void 0}}finally{B?X():ye=!1}}}var X;if(typeof J=="function")X=function(){J(oe)};else if(typeof MessageChannel<"u"){var Ne=new MessageChannel,De=Ne.port2;Ne.port1.onmessage=oe,X=function(){De.postMessage(null)}}else X=function(){ae(oe,0)};function Ye(R,B){ee=ae(function(){R(a.unstable_now())},B)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(R){R.callback=null},a.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ve=0<R?Math.floor(1e3/R):5},a.unstable_getCurrentPriorityLevel=function(){return z},a.unstable_next=function(R){switch(z){case 1:case 2:case 3:var B=3;break;default:B=z}var te=z;z=B;try{return R()}finally{z=te}},a.unstable_requestPaint=function(){Y=!0},a.unstable_runWithPriority=function(R,B){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var te=z;z=R;try{return B()}finally{z=te}},a.unstable_scheduleCallback=function(R,B,te){var ge=a.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?ge+te:ge):te=ge,R){case 1:var ve=-1;break;case 2:ve=250;break;case 5:ve=1073741823;break;case 4:ve=1e4;break;default:ve=5e3}return ve=te+ve,R={id:E++,callback:B,priorityLevel:R,startTime:te,expirationTime:ve,sortIndex:-1},te>ge?(R.sortIndex=te,r(y,R),l(g)===null&&R===l(y)&&(Q?(le(ee),ee=-1):Q=!0,Ye(j,te-ge))):(R.sortIndex=ve,r(g,R),q||G||(q=!0,ye||(ye=!0,X()))),R},a.unstable_shouldYield=Je,a.unstable_wrapCallback=function(R){var B=z;return function(){var te=z;z=B;try{return R.apply(this,arguments)}finally{z=te}}}})(Xc)),Xc}var Ty;function w_(){return Ty||(Ty=1,Qc.exports=M_()),Qc.exports}var Zc={exports:{}},Tt={};/**
26
+ */var Ay;function O_(){return Ay||(Ay=1,(function(a){function r(R,B){var te=R.length;R.push(B);e:for(;0<te;){var ge=te-1>>>1,ve=R[ge];if(0<c(ve,B))R[ge]=B,R[te]=ve,te=ge;else break e}}function l(R){return R.length===0?null:R[0]}function s(R){if(R.length===0)return null;var B=R[0],te=R.pop();if(te!==B){R[0]=te;e:for(var ge=0,ve=R.length,b=ve>>>1;ge<b;){var L=2*(ge+1)-1,P=R[L],k=L+1,Z=R[k];if(0>c(P,te))k<ve&&0>c(Z,P)?(R[ge]=Z,R[k]=te,ge=k):(R[ge]=P,R[L]=te,ge=L);else if(k<ve&&0>c(Z,te))R[ge]=Z,R[k]=te,ge=k;else break e}}return B}function c(R,B){var te=R.sortIndex-B.sortIndex;return te!==0?te:R.id-B.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;a.unstable_now=function(){return f.now()}}else{var p=Date,h=p.now();a.unstable_now=function(){return p.now()-h}}var g=[],y=[],E=1,_=null,z=3,G=!1,q=!1,Q=!1,Y=!1,ae=typeof setTimeout=="function"?setTimeout:null,le=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null;function Se(R){for(var B=l(y);B!==null;){if(B.callback===null)s(y);else if(B.startTime<=R)s(y),B.sortIndex=B.expirationTime,r(g,B);else break;B=l(y)}}function j(R){if(Q=!1,Se(R),!q)if(l(g)!==null)q=!0,ye||(ye=!0,X());else{var B=l(y);B!==null&&Ye(j,B.startTime-R)}}var ye=!1,ee=-1,Ve=5,Pe=-1;function Je(){return Y?!0:!(a.unstable_now()-Pe<Ve)}function oe(){if(Y=!1,ye){var R=a.unstable_now();Pe=R;var B=!0;try{e:{q=!1,Q&&(Q=!1,le(ee),ee=-1),G=!0;var te=z;try{t:{for(Se(R),_=l(g);_!==null&&!(_.expirationTime>R&&Je());){var ge=_.callback;if(typeof ge=="function"){_.callback=null,z=_.priorityLevel;var ve=ge(_.expirationTime<=R);if(R=a.unstable_now(),typeof ve=="function"){_.callback=ve,Se(R),B=!0;break t}_===l(g)&&s(g),Se(R)}else s(g);_=l(g)}if(_!==null)B=!0;else{var b=l(y);b!==null&&Ye(j,b.startTime-R),B=!1}}break e}finally{_=null,z=te,G=!1}B=void 0}}finally{B?X():ye=!1}}}var X;if(typeof J=="function")X=function(){J(oe)};else if(typeof MessageChannel<"u"){var Ne=new MessageChannel,De=Ne.port2;Ne.port1.onmessage=oe,X=function(){De.postMessage(null)}}else X=function(){ae(oe,0)};function Ye(R,B){ee=ae(function(){R(a.unstable_now())},B)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(R){R.callback=null},a.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ve=0<R?Math.floor(1e3/R):5},a.unstable_getCurrentPriorityLevel=function(){return z},a.unstable_next=function(R){switch(z){case 1:case 2:case 3:var B=3;break;default:B=z}var te=z;z=B;try{return R()}finally{z=te}},a.unstable_requestPaint=function(){Y=!0},a.unstable_runWithPriority=function(R,B){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var te=z;z=R;try{return B()}finally{z=te}},a.unstable_scheduleCallback=function(R,B,te){var ge=a.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?ge+te:ge):te=ge,R){case 1:var ve=-1;break;case 2:ve=250;break;case 5:ve=1073741823;break;case 4:ve=1e4;break;default:ve=5e3}return ve=te+ve,R={id:E++,callback:B,priorityLevel:R,startTime:te,expirationTime:ve,sortIndex:-1},te>ge?(R.sortIndex=te,r(y,R),l(g)===null&&R===l(y)&&(Q?(le(ee),ee=-1):Q=!0,Ye(j,te-ge))):(R.sortIndex=ve,r(g,R),q||G||(q=!0,ye||(ye=!0,X()))),R},a.unstable_shouldYield=Je,a.unstable_wrapCallback=function(R){var B=z;return function(){var te=z;z=B;try{return R.apply(this,arguments)}finally{z=te}}}})(Zc)),Zc}var Ty;function R_(){return Ty||(Ty=1,Xc.exports=O_()),Xc.exports}var Wc={exports:{}},Tt={};/**
27
27
  * @license React
28
28
  * react-dom.production.js
29
29
  *
@@ -31,7 +31,7 @@ function b_(a,r){for(var l=0;l<r.length;l++){const s=r[l];if(typeof s!="string"&
31
31
  *
32
32
  * This source code is licensed under the MIT license found in the
33
33
  * LICENSE file in the root directory of this source tree.
34
- */var My;function O_(){if(My)return Tt;My=1;var a=Wf();function r(g){var y="https://react.dev/errors/"+g;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var E=2;E<arguments.length;E++)y+="&args[]="+encodeURIComponent(arguments[E])}return"Minified React error #"+g+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var s={d:{f:l,r:function(){throw Error(r(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(g,y,E){var _=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:_==null?null:""+_,children:g,containerInfo:y,implementation:E}}var p=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(g,y){if(g==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return Tt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Tt.createPortal=function(g,y){var E=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(r(299));return f(g,y,null,E)},Tt.flushSync=function(g){var y=p.T,E=s.p;try{if(p.T=null,s.p=2,g)return g()}finally{p.T=y,s.p=E,s.d.f()}},Tt.preconnect=function(g,y){typeof g=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,s.d.C(g,y))},Tt.prefetchDNS=function(g){typeof g=="string"&&s.d.D(g)},Tt.preinit=function(g,y){if(typeof g=="string"&&y&&typeof y.as=="string"){var E=y.as,_=h(E,y.crossOrigin),z=typeof y.integrity=="string"?y.integrity:void 0,G=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;E==="style"?s.d.S(g,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:_,integrity:z,fetchPriority:G}):E==="script"&&s.d.X(g,{crossOrigin:_,integrity:z,fetchPriority:G,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},Tt.preinitModule=function(g,y){if(typeof g=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var E=h(y.as,y.crossOrigin);s.d.M(g,{crossOrigin:E,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&s.d.M(g)},Tt.preload=function(g,y){if(typeof g=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var E=y.as,_=h(E,y.crossOrigin);s.d.L(g,E,{crossOrigin:_,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},Tt.preloadModule=function(g,y){if(typeof g=="string")if(y){var E=h(y.as,y.crossOrigin);s.d.m(g,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:E,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else s.d.m(g)},Tt.requestFormReset=function(g){s.d.r(g)},Tt.unstable_batchedUpdates=function(g,y){return g(y)},Tt.useFormState=function(g,y,E){return p.H.useFormState(g,y,E)},Tt.useFormStatus=function(){return p.H.useHostTransitionStatus()},Tt.version="19.2.7",Tt}var wy;function R_(){if(wy)return Zc.exports;wy=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(r){console.error(r)}}return a(),Zc.exports=O_(),Zc.exports}/**
34
+ */var My;function D_(){if(My)return Tt;My=1;var a=Kf();function r(g){var y="https://react.dev/errors/"+g;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var E=2;E<arguments.length;E++)y+="&args[]="+encodeURIComponent(arguments[E])}return"Minified React error #"+g+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var s={d:{f:l,r:function(){throw Error(r(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(g,y,E){var _=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:_==null?null:""+_,children:g,containerInfo:y,implementation:E}}var p=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(g,y){if(g==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return Tt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Tt.createPortal=function(g,y){var E=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(r(299));return f(g,y,null,E)},Tt.flushSync=function(g){var y=p.T,E=s.p;try{if(p.T=null,s.p=2,g)return g()}finally{p.T=y,s.p=E,s.d.f()}},Tt.preconnect=function(g,y){typeof g=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,s.d.C(g,y))},Tt.prefetchDNS=function(g){typeof g=="string"&&s.d.D(g)},Tt.preinit=function(g,y){if(typeof g=="string"&&y&&typeof y.as=="string"){var E=y.as,_=h(E,y.crossOrigin),z=typeof y.integrity=="string"?y.integrity:void 0,G=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;E==="style"?s.d.S(g,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:_,integrity:z,fetchPriority:G}):E==="script"&&s.d.X(g,{crossOrigin:_,integrity:z,fetchPriority:G,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},Tt.preinitModule=function(g,y){if(typeof g=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var E=h(y.as,y.crossOrigin);s.d.M(g,{crossOrigin:E,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&s.d.M(g)},Tt.preload=function(g,y){if(typeof g=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var E=y.as,_=h(E,y.crossOrigin);s.d.L(g,E,{crossOrigin:_,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},Tt.preloadModule=function(g,y){if(typeof g=="string")if(y){var E=h(y.as,y.crossOrigin);s.d.m(g,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:E,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else s.d.m(g)},Tt.requestFormReset=function(g){s.d.r(g)},Tt.unstable_batchedUpdates=function(g,y){return g(y)},Tt.useFormState=function(g,y,E){return p.H.useFormState(g,y,E)},Tt.useFormStatus=function(){return p.H.useHostTransitionStatus()},Tt.version="19.2.7",Tt}var wy;function x_(){if(wy)return Wc.exports;wy=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(r){console.error(r)}}return a(),Wc.exports=D_(),Wc.exports}/**
35
35
  * @license React
36
36
  * react-dom-client.production.js
37
37
  *
@@ -39,69 +39,69 @@ function b_(a,r){for(var l=0;l<r.length;l++){const s=r[l];if(typeof s!="string"&
39
39
  *
40
40
  * This source code is licensed under the MIT license found in the
41
41
  * LICENSE file in the root directory of this source tree.
42
- */var Oy;function D_(){if(Oy)return fl;Oy=1;var a=w_(),r=Wf(),l=R_();function s(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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."}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(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 p(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 h(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(f(e)!==e)throw Error(s(188))}function y(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(s(188));return t!==e?null:e}for(var n=e,i=t;;){var o=n.return;if(o===null)break;var u=o.alternate;if(u===null){if(i=o.return,i!==null){n=i;continue}break}if(o.child===u.child){for(u=o.child;u;){if(u===n)return g(o),e;if(u===i)return g(o),t;u=u.sibling}throw Error(s(188))}if(n.return!==i.return)n=o,i=u;else{for(var d=!1,m=o.child;m;){if(m===n){d=!0,n=o,i=u;break}if(m===i){d=!0,i=o,n=u;break}m=m.sibling}if(!d){for(m=u.child;m;){if(m===n){d=!0,n=u,i=o;break}if(m===i){d=!0,i=u,n=o;break}m=m.sibling}if(!d)throw Error(s(189))}}if(n.alternate!==i)throw Error(s(190))}if(n.tag!==3)throw Error(s(188));return n.stateNode.current===n?e:t}function E(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=E(e),t!==null)return t;e=e.sibling}return null}var _=Object.assign,z=Symbol.for("react.element"),G=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),Q=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),ae=Symbol.for("react.profiler"),le=Symbol.for("react.consumer"),J=Symbol.for("react.context"),Se=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),ye=Symbol.for("react.suspense_list"),ee=Symbol.for("react.memo"),Ve=Symbol.for("react.lazy"),Pe=Symbol.for("react.activity"),Je=Symbol.for("react.memo_cache_sentinel"),oe=Symbol.iterator;function X(e){return e===null||typeof e!="object"?null:(e=oe&&e[oe]||e["@@iterator"],typeof e=="function"?e:null)}var Ne=Symbol.for("react.client.reference");function De(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ne?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Q:return"Fragment";case ae:return"Profiler";case Y:return"StrictMode";case j:return"Suspense";case ye:return"SuspenseList";case Pe:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case q:return"Portal";case J:return e.displayName||"Context";case le:return(e._context.displayName||"Context")+".Consumer";case Se:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ee:return t=e.displayName||null,t!==null?t:De(e.type)||"Memo";case Ve:t=e._payload,e=e._init;try{return De(e(t))}catch{}}return null}var Ye=Array.isArray,R=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},ge=[],ve=-1;function b(e){return{current:e}}function L(e){0>ve||(e.current=ge[ve],ge[ve]=null,ve--)}function P(e,t){ve++,ge[ve]=e.current,e.current=t}var k=b(null),Z=b(null),se=b(null),pe=b(null);function Ze(e,t){switch(P(se,t),P(Z,e),P(k,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Gh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Gh(t),e=Fh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}L(k),P(k,e)}function Ge(){L(k),L(Z),L(se)}function Kn(e){e.memoizedState!==null&&P(pe,e);var t=k.current,n=Fh(t,e.type);t!==n&&(P(Z,e),P(k,n))}function Ba(e){Z.current===e&&(L(k),L(Z)),pe.current===e&&(L(pe),ll._currentValue=te)}var yi,Ct;function wn(e){if(yi===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);yi=t&&t[1]||"",Ct=-1<n.stack.indexOf(`
42
+ */var Oy;function k_(){if(Oy)return fl;Oy=1;var a=R_(),r=Kf(),l=x_();function s(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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."}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(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 p(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 h(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(f(e)!==e)throw Error(s(188))}function y(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(s(188));return t!==e?null:e}for(var n=e,i=t;;){var o=n.return;if(o===null)break;var u=o.alternate;if(u===null){if(i=o.return,i!==null){n=i;continue}break}if(o.child===u.child){for(u=o.child;u;){if(u===n)return g(o),e;if(u===i)return g(o),t;u=u.sibling}throw Error(s(188))}if(n.return!==i.return)n=o,i=u;else{for(var d=!1,m=o.child;m;){if(m===n){d=!0,n=o,i=u;break}if(m===i){d=!0,i=o,n=u;break}m=m.sibling}if(!d){for(m=u.child;m;){if(m===n){d=!0,n=u,i=o;break}if(m===i){d=!0,i=u,n=o;break}m=m.sibling}if(!d)throw Error(s(189))}}if(n.alternate!==i)throw Error(s(190))}if(n.tag!==3)throw Error(s(188));return n.stateNode.current===n?e:t}function E(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=E(e),t!==null)return t;e=e.sibling}return null}var _=Object.assign,z=Symbol.for("react.element"),G=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),Q=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),ae=Symbol.for("react.profiler"),le=Symbol.for("react.consumer"),J=Symbol.for("react.context"),Se=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),ye=Symbol.for("react.suspense_list"),ee=Symbol.for("react.memo"),Ve=Symbol.for("react.lazy"),Pe=Symbol.for("react.activity"),Je=Symbol.for("react.memo_cache_sentinel"),oe=Symbol.iterator;function X(e){return e===null||typeof e!="object"?null:(e=oe&&e[oe]||e["@@iterator"],typeof e=="function"?e:null)}var Ne=Symbol.for("react.client.reference");function De(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ne?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Q:return"Fragment";case ae:return"Profiler";case Y:return"StrictMode";case j:return"Suspense";case ye:return"SuspenseList";case Pe:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case q:return"Portal";case J:return e.displayName||"Context";case le:return(e._context.displayName||"Context")+".Consumer";case Se:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ee:return t=e.displayName||null,t!==null?t:De(e.type)||"Memo";case Ve:t=e._payload,e=e._init;try{return De(e(t))}catch{}}return null}var Ye=Array.isArray,R=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},ge=[],ve=-1;function b(e){return{current:e}}function L(e){0>ve||(e.current=ge[ve],ge[ve]=null,ve--)}function P(e,t){ve++,ge[ve]=e.current,e.current=t}var k=b(null),Z=b(null),se=b(null),pe=b(null);function Ze(e,t){switch(P(se,t),P(Z,e),P(k,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Gh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Gh(t),e=Fh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}L(k),P(k,e)}function Ge(){L(k),L(Z),L(se)}function Kn(e){e.memoizedState!==null&&P(pe,e);var t=k.current,n=Fh(t,e.type);t!==n&&(P(Z,e),P(k,n))}function Ba(e){Z.current===e&&(L(k),L(Z)),pe.current===e&&(L(pe),ll._currentValue=te)}var yi,Ct;function wn(e){if(yi===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);yi=t&&t[1]||"",Ct=-1<n.stack.indexOf(`
43
43
  at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
44
44
  `+yi+e+Ct}var On=!1;function on(e,t){if(!e||On)return"";On=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(D){var O=D}Reflect.construct(e,[],H)}else{try{H.call()}catch(D){O=D}e.call(H.prototype)}}else{try{throw Error()}catch(D){O=D}(H=e())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(D){if(D&&O&&typeof D.stack=="string")return[D.stack,O.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=i.DetermineComponentFrameRoot(),d=u[0],m=u[1];if(d&&m){var v=d.split(`
45
45
  `),w=m.split(`
46
46
  `);for(o=i=0;i<v.length&&!v[i].includes("DetermineComponentFrameRoot");)i++;for(;o<w.length&&!w[o].includes("DetermineComponentFrameRoot");)o++;if(i===v.length||o===w.length)for(i=v.length-1,o=w.length-1;1<=i&&0<=o&&v[i]!==w[o];)o--;for(;1<=i&&0<=o;i--,o--)if(v[i]!==w[o]){if(i!==1||o!==1)do if(i--,o--,0>o||v[i]!==w[o]){var x=`
47
47
  `+v[i].replace(" at new "," at ");return e.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",e.displayName)),x}while(1<=i&&0<=o);break}}}finally{On=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?wn(n):""}function Tl(e,t){switch(e.tag){case 26:case 27:case 5:return wn(e.type);case 16:return wn("Lazy");case 13:return e.child!==t&&t!==null?wn("Suspense Fallback"):wn("Suspense");case 19:return wn("SuspenseList");case 0:case 15:return on(e.type,!1);case 11:return on(e.type.render,!1);case 1:return on(e.type,!0);case 31:return wn("Activity");default:return""}}function gi(e){try{var t="",n=null;do t+=Tl(e,n),n=e,e=e.return;while(e);return t}catch(i){return`
48
48
  Error generating stack: `+i.message+`
49
- `+i.stack}}var it=Object.prototype.hasOwnProperty,yn=a.unstable_scheduleCallback,gn=a.unstable_cancelCallback,Ml=a.unstable_shouldYield,wl=a.unstable_requestPaint,At=a.unstable_now,Ol=a.unstable_getCurrentPriorityLevel,vi=a.unstable_ImmediatePriority,hr=a.unstable_UserBlockingPriority,yr=a.unstable_NormalPriority,Ns=a.unstable_LowPriority,gr=a.unstable_IdlePriority,ja=a.log,Ls=a.unstable_setDisableYieldValue,Ia=null,pt=null;function vn(e){if(typeof ja=="function"&&Ls(e),pt&&typeof pt.setStrictMode=="function")try{pt.setStrictMode(Ia,e)}catch{}}var yt=Math.clz32?Math.clz32:bi,Rl=Math.log,Hs=Math.LN2;function bi(e){return e>>>=0,e===0?32:31-(Rl(e)/Hs|0)|0}var vr=256,Jn=262144,bn=4194304;function U(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function I(e,t,n){var i=e.pendingLanes;if(i===0)return 0;var o=0,u=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var m=i&134217727;return m!==0?(i=m&~u,i!==0?o=U(i):(d&=m,d!==0?o=U(d):n||(n=m&~e,n!==0&&(o=U(n))))):(m=i&~u,m!==0?o=U(m):d!==0?o=U(d):n||(n=i&~e,n!==0&&(o=U(n)))),o===0?0:t!==0&&t!==o&&(t&u)===0&&(u=o&-o,n=t&-t,u>=n||u===32&&(n&4194048)!==0)?t:o}function F(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function V(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function W(){var e=bn;return bn<<=1,(bn&62914560)===0&&(bn=4194304),e}function ue(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Te(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Le(e,t,n,i,o,u){var d=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var m=e.entanglements,v=e.expirationTimes,w=e.hiddenUpdates;for(n=d&~n;0<n;){var x=31-yt(n),H=1<<x;m[x]=0,v[x]=-1;var O=w[x];if(O!==null)for(w[x]=null,x=0;x<O.length;x++){var D=O[x];D!==null&&(D.lane&=-536870913)}n&=~H}i!==0&&we(e,i,0),u!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=u&~(d&~t))}function we(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-yt(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|n&261930}function lt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-yt(n),o=1<<i;o&t|e[i]&t&&(e[i]|=t),n&=~o}}function Dt(e,t){var n=t&-t;return n=(n&42)!==0?1:We(n),(n&(e.suspendedLanes|t))!==0?0:n}function We(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Mt(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function sn(){var e=B.p;return e!==0?e:(e=window.event,e===void 0?32:py(e.type))}function Si(e,t){var n=B.p;try{return B.p=e,t()}finally{B.p=n}}var un=Math.random().toString(36).slice(2),gt="__reactFiber$"+un,xt="__reactProps$"+un,br="__reactContainer$"+un,Us="__reactEvents$"+un,sb="__reactListeners$"+un,ub="__reactHandles$"+un,Dd="__reactResources$"+un,_i="__reactMarker$"+un;function zs(e){delete e[gt],delete e[xt],delete e[Us],delete e[sb],delete e[ub]}function Sr(e){var t=e[gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[br]||n[gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Wh(e);e!==null;){if(n=e[gt])return n;e=Wh(e)}return t}e=n,n=e.parentNode}return null}function _r(e){if(e=e[gt]||e[br]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ei(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(s(33))}function Er(e){var t=e[Dd];return t||(t=e[Dd]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function mt(e){e[_i]=!0}var xd=new Set,kd={};function qa(e,t){Cr(e,t),Cr(e+"Capture",t)}function Cr(e,t){for(kd[e]=t,e=0;e<t.length;e++)xd.add(t[e])}var cb=RegExp("^[: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]*$"),Nd={},Ld={};function fb(e){return it.call(Ld,e)?!0:it.call(Nd,e)?!1:cb.test(e)?Ld[e]=!0:(Nd[e]=!0,!1)}function Dl(e,t,n){if(fb(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function xl(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function Rn(e,t,n,i){if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+i)}}function Yt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Hd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function db(e,t,n){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var o=i.get,u=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(d){n=""+d,u.call(this,d)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return n},setValue:function(d){n=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Bs(e){if(!e._valueTracker){var t=Hd(e)?"checked":"value";e._valueTracker=db(e,t,""+e[t])}}function Ud(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=Hd(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function kl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var pb=/[\n"\\]/g;function $t(e){return e.replace(pb,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function js(e,t,n,i,o,u,d,m){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.type=d:e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Yt(t)):e.value!==""+Yt(t)&&(e.value=""+Yt(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?Is(e,d,Yt(t)):n!=null?Is(e,d,Yt(n)):i!=null&&e.removeAttribute("value"),o==null&&u!=null&&(e.defaultChecked=!!u),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.name=""+Yt(m):e.removeAttribute("name")}function zd(e,t,n,i,o,u,d,m){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||n!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){Bs(e);return}n=n!=null?""+Yt(n):"",t=t!=null?""+Yt(t):n,m||t===e.value||(e.value=t),e.defaultValue=t}i=i??o,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=m?e.checked:!!i,e.defaultChecked=!!i,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d),Bs(e)}function Is(e,t,n){t==="number"&&kl(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Ar(e,t,n,i){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&i&&(e[n].defaultSelected=!0)}else{for(n=""+Yt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,i&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Bd(e,t,n){if(t!=null&&(t=""+Yt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Yt(n):""}function jd(e,t,n,i){if(t==null){if(i!=null){if(n!=null)throw Error(s(92));if(Ye(i)){if(1<i.length)throw Error(s(93));i=i[0]}n=i}n==null&&(n=""),t=n}n=Yt(t),e.defaultValue=n,i=e.textContent,i===n&&i!==""&&i!==null&&(e.value=i),Bs(e)}function Tr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var mb=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Id(e,t,n){var i=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,n):typeof n!="number"||n===0||mb.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function qd(e,t,n){if(t!=null&&typeof t!="object")throw Error(s(62));if(e=e.style,n!=null){for(var i in n)!n.hasOwnProperty(i)||t!=null&&t.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="");for(var o in t)i=t[o],t.hasOwnProperty(o)&&n[o]!==i&&Id(e,o,i)}else for(var u in t)t.hasOwnProperty(u)&&Id(e,u,t[u])}function qs(e){if(e.indexOf("-")===-1)return!1;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 hb=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),yb=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Nl(e){return yb.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Dn(){}var Ps=null;function Gs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Mr=null,wr=null;function Pd(e){var t=_r(e);if(t&&(e=t.stateNode)){var n=e[xt]||null;e:switch(e=t.stateNode,t.type){case"input":if(js(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+$t(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var o=i[xt]||null;if(!o)throw Error(s(90));js(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)i=n[t],i.form===e.form&&Ud(i)}break e;case"textarea":Bd(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Ar(e,!!n.multiple,t,!1)}}}var Fs=!1;function Gd(e,t,n){if(Fs)return e(t,n);Fs=!0;try{var i=e(t);return i}finally{if(Fs=!1,(Mr!==null||wr!==null)&&(_o(),Mr&&(t=Mr,e=wr,wr=Mr=null,Pd(t),e)))for(t=0;t<e.length;t++)Pd(e[t])}}function Ci(e,t){var n=e.stateNode;if(n===null)return null;var i=n[xt]||null;if(i===null)return null;n=i[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":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(s(231,t,typeof n));return n}var xn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Vs=!1;if(xn)try{var Ai={};Object.defineProperty(Ai,"passive",{get:function(){Vs=!0}}),window.addEventListener("test",Ai,Ai),window.removeEventListener("test",Ai,Ai)}catch{Vs=!1}var ea=null,Ys=null,Ll=null;function Fd(){if(Ll)return Ll;var e,t=Ys,n=t.length,i,o="value"in ea?ea.value:ea.textContent,u=o.length;for(e=0;e<n&&t[e]===o[e];e++);var d=n-e;for(i=1;i<=d&&t[n-i]===o[u-i];i++);return Ll=o.slice(e,1<i?1-i:void 0)}function Hl(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 Ul(){return!0}function Vd(){return!1}function kt(e){function t(n,i,o,u,d){this._reactName=n,this._targetInst=o,this.type=i,this.nativeEvent=u,this.target=d,this.currentTarget=null;for(var m in e)e.hasOwnProperty(m)&&(n=e[m],this[m]=n?n(u):u[m]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Ul:Vd,this.isPropagationStopped=Vd,this}return _(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=Ul)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ul)},persist:function(){},isPersistent:Ul}),t}var Pa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zl=kt(Pa),Ti=_({},Pa,{view:0,detail:0}),gb=kt(Ti),$s,Qs,Mi,Bl=_({},Ti,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zs,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!==Mi&&(Mi&&e.type==="mousemove"?($s=e.screenX-Mi.screenX,Qs=e.screenY-Mi.screenY):Qs=$s=0,Mi=e),$s)},movementY:function(e){return"movementY"in e?e.movementY:Qs}}),Yd=kt(Bl),vb=_({},Bl,{dataTransfer:0}),bb=kt(vb),Sb=_({},Ti,{relatedTarget:0}),Xs=kt(Sb),_b=_({},Pa,{animationName:0,elapsedTime:0,pseudoElement:0}),Eb=kt(_b),Cb=_({},Pa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ab=kt(Cb),Tb=_({},Pa,{data:0}),$d=kt(Tb),Mb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wb={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"},Ob={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Rb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ob[e])?!!t[e]:!1}function Zs(){return Rb}var Db=_({},Ti,{key:function(e){if(e.key){var t=Mb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Hl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?wb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zs,charCode:function(e){return e.type==="keypress"?Hl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Hl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xb=kt(Db),kb=_({},Bl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qd=kt(kb),Nb=_({},Ti,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zs}),Lb=kt(Nb),Hb=_({},Pa,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ub=kt(Hb),zb=_({},Bl,{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}),Bb=kt(zb),jb=_({},Pa,{newState:0,oldState:0}),Ib=kt(jb),qb=[9,13,27,32],Ws=xn&&"CompositionEvent"in window,wi=null;xn&&"documentMode"in document&&(wi=document.documentMode);var Pb=xn&&"TextEvent"in window&&!wi,Xd=xn&&(!Ws||wi&&8<wi&&11>=wi),Zd=" ",Wd=!1;function Kd(e,t){switch(e){case"keyup":return qb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Or=!1;function Gb(e,t){switch(e){case"compositionend":return Jd(t);case"keypress":return t.which!==32?null:(Wd=!0,Zd);case"textInput":return e=t.data,e===Zd&&Wd?null:e;default:return null}}function Fb(e,t){if(Or)return e==="compositionend"||!Ws&&Kd(e,t)?(e=Fd(),Ll=Ys=ea=null,Or=!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 Xd&&t.locale!=="ko"?null:t.data;default:return null}}var Vb={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 ep(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Vb[e.type]:t==="textarea"}function tp(e,t,n,i){Mr?wr?wr.push(i):wr=[i]:Mr=i,t=Oo(t,"onChange"),0<t.length&&(n=new zl("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var Oi=null,Ri=null;function Yb(e){zh(e,0)}function jl(e){var t=Ei(e);if(Ud(t))return e}function np(e,t){if(e==="change")return t}var ap=!1;if(xn){var Ks;if(xn){var Js="oninput"in document;if(!Js){var rp=document.createElement("div");rp.setAttribute("oninput","return;"),Js=typeof rp.oninput=="function"}Ks=Js}else Ks=!1;ap=Ks&&(!document.documentMode||9<document.documentMode)}function ip(){Oi&&(Oi.detachEvent("onpropertychange",lp),Ri=Oi=null)}function lp(e){if(e.propertyName==="value"&&jl(Ri)){var t=[];tp(t,Ri,e,Gs(e)),Gd(Yb,t)}}function $b(e,t,n){e==="focusin"?(ip(),Oi=t,Ri=n,Oi.attachEvent("onpropertychange",lp)):e==="focusout"&&ip()}function Qb(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return jl(Ri)}function Xb(e,t){if(e==="click")return jl(t)}function Zb(e,t){if(e==="input"||e==="change")return jl(t)}function Wb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bt=typeof Object.is=="function"?Object.is:Wb;function Di(e,t){if(Bt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var o=n[i];if(!it.call(t,o)||!Bt(e[o],t[o]))return!1}return!0}function op(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function sp(e,t){var n=op(e);e=0;for(var i;n;){if(n.nodeType===3){if(i=e+n.textContent.length,e<=t&&i>=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=op(n)}}function up(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?up(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function cp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=kl(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=kl(e.document)}return t}function eu(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")}var Kb=xn&&"documentMode"in document&&11>=document.documentMode,Rr=null,tu=null,xi=null,nu=!1;function fp(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;nu||Rr==null||Rr!==kl(i)||(i=Rr,"selectionStart"in i&&eu(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),xi&&Di(xi,i)||(xi=i,i=Oo(tu,"onSelect"),0<i.length&&(t=new zl("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=Rr)))}function Ga(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Dr={animationend:Ga("Animation","AnimationEnd"),animationiteration:Ga("Animation","AnimationIteration"),animationstart:Ga("Animation","AnimationStart"),transitionrun:Ga("Transition","TransitionRun"),transitionstart:Ga("Transition","TransitionStart"),transitioncancel:Ga("Transition","TransitionCancel"),transitionend:Ga("Transition","TransitionEnd")},au={},dp={};xn&&(dp=document.createElement("div").style,"AnimationEvent"in window||(delete Dr.animationend.animation,delete Dr.animationiteration.animation,delete Dr.animationstart.animation),"TransitionEvent"in window||delete Dr.transitionend.transition);function Fa(e){if(au[e])return au[e];if(!Dr[e])return e;var t=Dr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in dp)return au[e]=t[n];return e}var pp=Fa("animationend"),mp=Fa("animationiteration"),hp=Fa("animationstart"),Jb=Fa("transitionrun"),eS=Fa("transitionstart"),tS=Fa("transitioncancel"),yp=Fa("transitionend"),gp=new Map,ru="abort auxClick beforeToggle 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(" ");ru.push("scrollEnd");function cn(e,t){gp.set(e,t),qa(t,[e])}var Il=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Qt=[],xr=0,iu=0;function ql(){for(var e=xr,t=iu=xr=0;t<e;){var n=Qt[t];Qt[t++]=null;var i=Qt[t];Qt[t++]=null;var o=Qt[t];Qt[t++]=null;var u=Qt[t];if(Qt[t++]=null,i!==null&&o!==null){var d=i.pending;d===null?o.next=o:(o.next=d.next,d.next=o),i.pending=o}u!==0&&vp(n,o,u)}}function Pl(e,t,n,i){Qt[xr++]=e,Qt[xr++]=t,Qt[xr++]=n,Qt[xr++]=i,iu|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function lu(e,t,n,i){return Pl(e,t,n,i),Gl(e)}function Va(e,t){return Pl(e,null,null,t),Gl(e)}function vp(e,t,n){e.lanes|=n;var i=e.alternate;i!==null&&(i.lanes|=n);for(var o=!1,u=e.return;u!==null;)u.childLanes|=n,i=u.alternate,i!==null&&(i.childLanes|=n),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(o=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,o&&t!==null&&(o=31-yt(n),e=u.hiddenUpdates,i=e[o],i===null?e[o]=[t]:i.push(t),t.lane=n|536870912),u):null}function Gl(e){if(50<Ji)throw Ji=0,hc=null,Error(s(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var kr={};function nS(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function jt(e,t,n,i){return new nS(e,t,n,i)}function ou(e){return e=e.prototype,!(!e||!e.isReactComponent)}function kn(e,t){var n=e.alternate;return n===null?(n=jt(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&65011712,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.refCleanup=e.refCleanup,n}function bp(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Fl(e,t,n,i,o,u){var d=0;if(i=e,typeof e=="function")ou(e)&&(d=1);else if(typeof e=="string")d=o_(e,n,k.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Pe:return e=jt(31,n,t,o),e.elementType=Pe,e.lanes=u,e;case Q:return Ya(n.children,o,u,t);case Y:d=8,o|=24;break;case ae:return e=jt(12,n,t,o|2),e.elementType=ae,e.lanes=u,e;case j:return e=jt(13,n,t,o),e.elementType=j,e.lanes=u,e;case ye:return e=jt(19,n,t,o),e.elementType=ye,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case J:d=10;break e;case le:d=9;break e;case Se:d=11;break e;case ee:d=14;break e;case Ve:d=16,i=null;break e}d=29,n=Error(s(130,e===null?"null":typeof e,"")),i=null}return t=jt(d,n,t,o),t.elementType=e,t.type=i,t.lanes=u,t}function Ya(e,t,n,i){return e=jt(7,e,i,t),e.lanes=n,e}function su(e,t,n){return e=jt(6,e,null,t),e.lanes=n,e}function Sp(e){var t=jt(18,null,null,0);return t.stateNode=e,t}function uu(e,t,n){return t=jt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var _p=new WeakMap;function Xt(e,t){if(typeof e=="object"&&e!==null){var n=_p.get(e);return n!==void 0?n:(t={value:e,source:t,stack:gi(t)},_p.set(e,t),t)}return{value:e,source:t,stack:gi(t)}}var Nr=[],Lr=0,Vl=null,ki=0,Zt=[],Wt=0,ta=null,Sn=1,_n="";function Nn(e,t){Nr[Lr++]=ki,Nr[Lr++]=Vl,Vl=e,ki=t}function Ep(e,t,n){Zt[Wt++]=Sn,Zt[Wt++]=_n,Zt[Wt++]=ta,ta=e;var i=Sn;e=_n;var o=32-yt(i)-1;i&=~(1<<o),n+=1;var u=32-yt(t)+o;if(30<u){var d=o-o%5;u=(i&(1<<d)-1).toString(32),i>>=d,o-=d,Sn=1<<32-yt(t)+o|n<<o|i,_n=u+e}else Sn=1<<u|n<<o|i,_n=e}function cu(e){e.return!==null&&(Nn(e,1),Ep(e,1,0))}function fu(e){for(;e===Vl;)Vl=Nr[--Lr],Nr[Lr]=null,ki=Nr[--Lr],Nr[Lr]=null;for(;e===ta;)ta=Zt[--Wt],Zt[Wt]=null,_n=Zt[--Wt],Zt[Wt]=null,Sn=Zt[--Wt],Zt[Wt]=null}function Cp(e,t){Zt[Wt++]=Sn,Zt[Wt++]=_n,Zt[Wt++]=ta,Sn=t.id,_n=t.overflow,ta=e}var vt=null,$e=null,Me=!1,na=null,Kt=!1,du=Error(s(519));function aa(e){var t=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ni(Xt(t,e)),du}function Ap(e){var t=e.stateNode,n=e.type,i=e.memoizedProps;switch(t[gt]=e,t[xt]=i,n){case"dialog":Ee("cancel",t),Ee("close",t);break;case"iframe":case"object":case"embed":Ee("load",t);break;case"video":case"audio":for(n=0;n<tl.length;n++)Ee(tl[n],t);break;case"source":Ee("error",t);break;case"img":case"image":case"link":Ee("error",t),Ee("load",t);break;case"details":Ee("toggle",t);break;case"input":Ee("invalid",t),zd(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":Ee("invalid",t);break;case"textarea":Ee("invalid",t),jd(t,i.value,i.defaultValue,i.children)}n=i.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||i.suppressHydrationWarning===!0||qh(t.textContent,n)?(i.popover!=null&&(Ee("beforetoggle",t),Ee("toggle",t)),i.onScroll!=null&&Ee("scroll",t),i.onScrollEnd!=null&&Ee("scrollend",t),i.onClick!=null&&(t.onclick=Dn),t=!0):t=!1,t||aa(e,!0)}function Tp(e){for(vt=e.return;vt;)switch(vt.tag){case 5:case 31:case 13:Kt=!1;return;case 27:case 3:Kt=!0;return;default:vt=vt.return}}function Hr(e){if(e!==vt)return!1;if(!Me)return Tp(e),Me=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Dc(e.type,e.memoizedProps)),n=!n),n&&$e&&aa(e),Tp(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));$e=Zh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));$e=Zh(e)}else t===27?(t=$e,ga(e.type)?(e=Hc,Hc=null,$e=e):$e=t):$e=vt?en(e.stateNode.nextSibling):null;return!0}function $a(){$e=vt=null,Me=!1}function pu(){var e=na;return e!==null&&(Ut===null?Ut=e:Ut.push.apply(Ut,e),na=null),e}function Ni(e){na===null?na=[e]:na.push(e)}var mu=b(null),Qa=null,Ln=null;function ra(e,t,n){P(mu,t._currentValue),t._currentValue=n}function Hn(e){e._currentValue=mu.current,L(mu)}function hu(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function yu(e,t,n,i){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var u=o.dependencies;if(u!==null){var d=o.child;u=u.firstContext;e:for(;u!==null;){var m=u;u=o;for(var v=0;v<t.length;v++)if(m.context===t[v]){u.lanes|=n,m=u.alternate,m!==null&&(m.lanes|=n),hu(u.return,n,e),i||(d=null);break e}u=m.next}}else if(o.tag===18){if(d=o.return,d===null)throw Error(s(341));d.lanes|=n,u=d.alternate,u!==null&&(u.lanes|=n),hu(d,n,e),d=null}else d=o.child;if(d!==null)d.return=o;else for(d=o;d!==null;){if(d===e){d=null;break}if(o=d.sibling,o!==null){o.return=d.return,d=o;break}d=d.return}o=d}}function Ur(e,t,n,i){e=null;for(var o=t,u=!1;o!==null;){if(!u){if((o.flags&524288)!==0)u=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var d=o.alternate;if(d===null)throw Error(s(387));if(d=d.memoizedProps,d!==null){var m=o.type;Bt(o.pendingProps.value,d.value)||(e!==null?e.push(m):e=[m])}}else if(o===pe.current){if(d=o.alternate,d===null)throw Error(s(387));d.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(ll):e=[ll])}o=o.return}e!==null&&yu(t,e,n,i),t.flags|=262144}function Yl(e){for(e=e.firstContext;e!==null;){if(!Bt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Xa(e){Qa=e,Ln=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function bt(e){return Mp(Qa,e)}function $l(e,t){return Qa===null&&Xa(e),Mp(e,t)}function Mp(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Ln===null){if(e===null)throw Error(s(308));Ln=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ln=Ln.next=t;return n}var aS=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},rS=a.unstable_scheduleCallback,iS=a.unstable_NormalPriority,ot={$$typeof:J,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function gu(){return{controller:new aS,data:new Map,refCount:0}}function Li(e){e.refCount--,e.refCount===0&&rS(iS,function(){e.controller.abort()})}var Hi=null,vu=0,zr=0,Br=null;function lS(e,t){if(Hi===null){var n=Hi=[];vu=0,zr=_c(),Br={status:"pending",value:void 0,then:function(i){n.push(i)}}}return vu++,t.then(wp,wp),t}function wp(){if(--vu===0&&Hi!==null){Br!==null&&(Br.status="fulfilled");var e=Hi;Hi=null,zr=0,Br=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function oS(e,t){var n=[],i={status:"pending",value:null,reason:null,then:function(o){n.push(o)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var o=0;o<n.length;o++)(0,n[o])(t)},function(o){for(i.status="rejected",i.reason=o,o=0;o<n.length;o++)(0,n[o])(void 0)}),i}var Op=R.S;R.S=function(e,t){fh=At(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&lS(e,t),Op!==null&&Op(e,t)};var Za=b(null);function bu(){var e=Za.current;return e!==null?e:Fe.pooledCache}function Ql(e,t){t===null?P(Za,Za.current):P(Za,t.pool)}function Rp(){var e=bu();return e===null?null:{parent:ot._currentValue,pool:e}}var jr=Error(s(460)),Su=Error(s(474)),Xl=Error(s(542)),Zl={then:function(){}};function Dp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function xp(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Dn,Dn),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Np(e),e;default:if(typeof t.status=="string")t.then(Dn,Dn);else{if(e=Fe,e!==null&&100<e.shellSuspendCounter)throw Error(s(482));e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=i}},function(i){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Np(e),e}throw Ka=t,jr}}function Wa(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Ka=n,jr):n}}var Ka=null;function kp(){if(Ka===null)throw Error(s(459));var e=Ka;return Ka=null,e}function Np(e){if(e===jr||e===Xl)throw Error(s(483))}var Ir=null,Ui=0;function Wl(e){var t=Ui;return Ui+=1,Ir===null&&(Ir=[]),xp(Ir,e,t)}function zi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Kl(e,t){throw t.$$typeof===z?Error(s(525)):(e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Lp(e){function t(C,S){if(e){var M=C.deletions;M===null?(C.deletions=[S],C.flags|=16):M.push(S)}}function n(C,S){if(!e)return null;for(;S!==null;)t(C,S),S=S.sibling;return null}function i(C){for(var S=new Map;C!==null;)C.key!==null?S.set(C.key,C):S.set(C.index,C),C=C.sibling;return S}function o(C,S){return C=kn(C,S),C.index=0,C.sibling=null,C}function u(C,S,M){return C.index=M,e?(M=C.alternate,M!==null?(M=M.index,M<S?(C.flags|=67108866,S):M):(C.flags|=67108866,S)):(C.flags|=1048576,S)}function d(C){return e&&C.alternate===null&&(C.flags|=67108866),C}function m(C,S,M,N){return S===null||S.tag!==6?(S=su(M,C.mode,N),S.return=C,S):(S=o(S,M),S.return=C,S)}function v(C,S,M,N){var ne=M.type;return ne===Q?x(C,S,M.props.children,N,M.key):S!==null&&(S.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===Ve&&Wa(ne)===S.type)?(S=o(S,M.props),zi(S,M),S.return=C,S):(S=Fl(M.type,M.key,M.props,null,C.mode,N),zi(S,M),S.return=C,S)}function w(C,S,M,N){return S===null||S.tag!==4||S.stateNode.containerInfo!==M.containerInfo||S.stateNode.implementation!==M.implementation?(S=uu(M,C.mode,N),S.return=C,S):(S=o(S,M.children||[]),S.return=C,S)}function x(C,S,M,N,ne){return S===null||S.tag!==7?(S=Ya(M,C.mode,N,ne),S.return=C,S):(S=o(S,M),S.return=C,S)}function H(C,S,M){if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return S=su(""+S,C.mode,M),S.return=C,S;if(typeof S=="object"&&S!==null){switch(S.$$typeof){case G:return M=Fl(S.type,S.key,S.props,null,C.mode,M),zi(M,S),M.return=C,M;case q:return S=uu(S,C.mode,M),S.return=C,S;case Ve:return S=Wa(S),H(C,S,M)}if(Ye(S)||X(S))return S=Ya(S,C.mode,M,null),S.return=C,S;if(typeof S.then=="function")return H(C,Wl(S),M);if(S.$$typeof===J)return H(C,$l(C,S),M);Kl(C,S)}return null}function O(C,S,M,N){var ne=S!==null?S.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return ne!==null?null:m(C,S,""+M,N);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case G:return M.key===ne?v(C,S,M,N):null;case q:return M.key===ne?w(C,S,M,N):null;case Ve:return M=Wa(M),O(C,S,M,N)}if(Ye(M)||X(M))return ne!==null?null:x(C,S,M,N,null);if(typeof M.then=="function")return O(C,S,Wl(M),N);if(M.$$typeof===J)return O(C,S,$l(C,M),N);Kl(C,M)}return null}function D(C,S,M,N,ne){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return C=C.get(M)||null,m(S,C,""+N,ne);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case G:return C=C.get(N.key===null?M:N.key)||null,v(S,C,N,ne);case q:return C=C.get(N.key===null?M:N.key)||null,w(S,C,N,ne);case Ve:return N=Wa(N),D(C,S,M,N,ne)}if(Ye(N)||X(N))return C=C.get(M)||null,x(S,C,N,ne,null);if(typeof N.then=="function")return D(C,S,M,Wl(N),ne);if(N.$$typeof===J)return D(C,S,M,$l(S,N),ne);Kl(S,N)}return null}function $(C,S,M,N){for(var ne=null,Oe=null,K=S,me=S=0,Ae=null;K!==null&&me<M.length;me++){K.index>me?(Ae=K,K=null):Ae=K.sibling;var Re=O(C,K,M[me],N);if(Re===null){K===null&&(K=Ae);break}e&&K&&Re.alternate===null&&t(C,K),S=u(Re,S,me),Oe===null?ne=Re:Oe.sibling=Re,Oe=Re,K=Ae}if(me===M.length)return n(C,K),Me&&Nn(C,me),ne;if(K===null){for(;me<M.length;me++)K=H(C,M[me],N),K!==null&&(S=u(K,S,me),Oe===null?ne=K:Oe.sibling=K,Oe=K);return Me&&Nn(C,me),ne}for(K=i(K);me<M.length;me++)Ae=D(K,C,me,M[me],N),Ae!==null&&(e&&Ae.alternate!==null&&K.delete(Ae.key===null?me:Ae.key),S=u(Ae,S,me),Oe===null?ne=Ae:Oe.sibling=Ae,Oe=Ae);return e&&K.forEach(function(Ea){return t(C,Ea)}),Me&&Nn(C,me),ne}function re(C,S,M,N){if(M==null)throw Error(s(151));for(var ne=null,Oe=null,K=S,me=S=0,Ae=null,Re=M.next();K!==null&&!Re.done;me++,Re=M.next()){K.index>me?(Ae=K,K=null):Ae=K.sibling;var Ea=O(C,K,Re.value,N);if(Ea===null){K===null&&(K=Ae);break}e&&K&&Ea.alternate===null&&t(C,K),S=u(Ea,S,me),Oe===null?ne=Ea:Oe.sibling=Ea,Oe=Ea,K=Ae}if(Re.done)return n(C,K),Me&&Nn(C,me),ne;if(K===null){for(;!Re.done;me++,Re=M.next())Re=H(C,Re.value,N),Re!==null&&(S=u(Re,S,me),Oe===null?ne=Re:Oe.sibling=Re,Oe=Re);return Me&&Nn(C,me),ne}for(K=i(K);!Re.done;me++,Re=M.next())Re=D(K,C,me,Re.value,N),Re!==null&&(e&&Re.alternate!==null&&K.delete(Re.key===null?me:Re.key),S=u(Re,S,me),Oe===null?ne=Re:Oe.sibling=Re,Oe=Re);return e&&K.forEach(function(v_){return t(C,v_)}),Me&&Nn(C,me),ne}function Ie(C,S,M,N){if(typeof M=="object"&&M!==null&&M.type===Q&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case G:e:{for(var ne=M.key;S!==null;){if(S.key===ne){if(ne=M.type,ne===Q){if(S.tag===7){n(C,S.sibling),N=o(S,M.props.children),N.return=C,C=N;break e}}else if(S.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===Ve&&Wa(ne)===S.type){n(C,S.sibling),N=o(S,M.props),zi(N,M),N.return=C,C=N;break e}n(C,S);break}else t(C,S);S=S.sibling}M.type===Q?(N=Ya(M.props.children,C.mode,N,M.key),N.return=C,C=N):(N=Fl(M.type,M.key,M.props,null,C.mode,N),zi(N,M),N.return=C,C=N)}return d(C);case q:e:{for(ne=M.key;S!==null;){if(S.key===ne)if(S.tag===4&&S.stateNode.containerInfo===M.containerInfo&&S.stateNode.implementation===M.implementation){n(C,S.sibling),N=o(S,M.children||[]),N.return=C,C=N;break e}else{n(C,S);break}else t(C,S);S=S.sibling}N=uu(M,C.mode,N),N.return=C,C=N}return d(C);case Ve:return M=Wa(M),Ie(C,S,M,N)}if(Ye(M))return $(C,S,M,N);if(X(M)){if(ne=X(M),typeof ne!="function")throw Error(s(150));return M=ne.call(M),re(C,S,M,N)}if(typeof M.then=="function")return Ie(C,S,Wl(M),N);if(M.$$typeof===J)return Ie(C,S,$l(C,M),N);Kl(C,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,S!==null&&S.tag===6?(n(C,S.sibling),N=o(S,M),N.return=C,C=N):(n(C,S),N=su(M,C.mode,N),N.return=C,C=N),d(C)):n(C,S)}return function(C,S,M,N){try{Ui=0;var ne=Ie(C,S,M,N);return Ir=null,ne}catch(K){if(K===jr||K===Xl)throw K;var Oe=jt(29,K,null,C.mode);return Oe.lanes=N,Oe.return=C,Oe}finally{}}}var Ja=Lp(!0),Hp=Lp(!1),ia=!1;function _u(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Eu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function la(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function oa(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(xe&2)!==0){var o=i.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),i.pending=t,t=Gl(e),vp(e,null,n),t}return Pl(e,i,t,n),Gl(e)}function Bi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,lt(e,n)}}function Cu(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var o=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var d={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};u===null?o=u=d:u=u.next=d,n=n.next}while(n!==null);u===null?o=u=t:u=u.next=t}else o=u=t;n={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:u,shared:i.shared,callbacks:i.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Au=!1;function ji(){if(Au){var e=Br;if(e!==null)throw e}}function Ii(e,t,n,i){Au=!1;var o=e.updateQueue;ia=!1;var u=o.firstBaseUpdate,d=o.lastBaseUpdate,m=o.shared.pending;if(m!==null){o.shared.pending=null;var v=m,w=v.next;v.next=null,d===null?u=w:d.next=w,d=v;var x=e.alternate;x!==null&&(x=x.updateQueue,m=x.lastBaseUpdate,m!==d&&(m===null?x.firstBaseUpdate=w:m.next=w,x.lastBaseUpdate=v))}if(u!==null){var H=o.baseState;d=0,x=w=v=null,m=u;do{var O=m.lane&-536870913,D=O!==m.lane;if(D?(Ce&O)===O:(i&O)===O){O!==0&&O===zr&&(Au=!0),x!==null&&(x=x.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var $=e,re=m;O=t;var Ie=n;switch(re.tag){case 1:if($=re.payload,typeof $=="function"){H=$.call(Ie,H,O);break e}H=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=re.payload,O=typeof $=="function"?$.call(Ie,H,O):$,O==null)break e;H=_({},H,O);break e;case 2:ia=!0}}O=m.callback,O!==null&&(e.flags|=64,D&&(e.flags|=8192),D=o.callbacks,D===null?o.callbacks=[O]:D.push(O))}else D={lane:O,tag:m.tag,payload:m.payload,callback:m.callback,next:null},x===null?(w=x=D,v=H):x=x.next=D,d|=O;if(m=m.next,m===null){if(m=o.shared.pending,m===null)break;D=m,m=D.next,D.next=null,o.lastBaseUpdate=D,o.shared.pending=null}}while(!0);x===null&&(v=H),o.baseState=v,o.firstBaseUpdate=w,o.lastBaseUpdate=x,u===null&&(o.shared.lanes=0),da|=d,e.lanes=d,e.memoizedState=H}}function Up(e,t){if(typeof e!="function")throw Error(s(191,e));e.call(t)}function zp(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Up(n[e],t)}var qr=b(null),Jl=b(0);function Bp(e,t){e=Fn,P(Jl,e),P(qr,t),Fn=e|t.baseLanes}function Tu(){P(Jl,Fn),P(qr,qr.current)}function Mu(){Fn=Jl.current,L(qr),L(Jl)}var It=b(null),Jt=null;function sa(e){var t=e.alternate;P(at,at.current&1),P(It,e),Jt===null&&(t===null||qr.current!==null||t.memoizedState!==null)&&(Jt=e)}function wu(e){P(at,at.current),P(It,e),Jt===null&&(Jt=e)}function jp(e){e.tag===22?(P(at,at.current),P(It,e),Jt===null&&(Jt=e)):ua()}function ua(){P(at,at.current),P(It,It.current)}function qt(e){L(It),Jt===e&&(Jt=null),L(at)}var at=b(0);function eo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Nc(n)||Lc(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){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 Un=0,de=null,Be=null,st=null,to=!1,Pr=!1,er=!1,no=0,qi=0,Gr=null,sS=0;function et(){throw Error(s(321))}function Ou(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Bt(e[n],t[n]))return!1;return!0}function Ru(e,t,n,i,o,u){return Un=u,de=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,R.H=e===null||e.memoizedState===null?Em:Fu,er=!1,u=n(i,o),er=!1,Pr&&(u=qp(t,n,i,o)),Ip(e),u}function Ip(e){R.H=Fi;var t=Be!==null&&Be.next!==null;if(Un=0,st=Be=de=null,to=!1,qi=0,Gr=null,t)throw Error(s(300));e===null||ut||(e=e.dependencies,e!==null&&Yl(e)&&(ut=!0))}function qp(e,t,n,i){de=e;var o=0;do{if(Pr&&(Gr=null),qi=0,Pr=!1,25<=o)throw Error(s(301));if(o+=1,st=Be=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}R.H=Cm,u=t(n,i)}while(Pr);return u}function uS(){var e=R.H,t=e.useState()[0];return t=typeof t.then=="function"?Pi(t):t,e=e.useState()[0],(Be!==null?Be.memoizedState:null)!==e&&(de.flags|=1024),t}function Du(){var e=no!==0;return no=0,e}function xu(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ku(e){if(to){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}to=!1}Un=0,st=Be=de=null,Pr=!1,qi=no=0,Gr=null}function wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return st===null?de.memoizedState=st=e:st=st.next=e,st}function rt(){if(Be===null){var e=de.alternate;e=e!==null?e.memoizedState:null}else e=Be.next;var t=st===null?de.memoizedState:st.next;if(t!==null)st=t,Be=e;else{if(e===null)throw de.alternate===null?Error(s(467)):Error(s(310));Be=e,e={memoizedState:Be.memoizedState,baseState:Be.baseState,baseQueue:Be.baseQueue,queue:Be.queue,next:null},st===null?de.memoizedState=st=e:st=st.next=e}return st}function ao(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Pi(e){var t=qi;return qi+=1,Gr===null&&(Gr=[]),e=xp(Gr,e,t),t=de,(st===null?t.memoizedState:st.next)===null&&(t=t.alternate,R.H=t===null||t.memoizedState===null?Em:Fu),e}function ro(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Pi(e);if(e.$$typeof===J)return bt(e)}throw Error(s(438,String(e)))}function Nu(e){var t=null,n=de.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var i=de.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=ao(),de.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),i=0;i<e;i++)n[i]=Je;return t.index++,n}function zn(e,t){return typeof t=="function"?t(e):t}function io(e){var t=rt();return Lu(t,Be,e)}function Lu(e,t,n){var i=e.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=n;var o=e.baseQueue,u=i.pending;if(u!==null){if(o!==null){var d=o.next;o.next=u.next,u.next=d}t.baseQueue=o=u,i.pending=null}if(u=e.baseState,o===null)e.memoizedState=u;else{t=o.next;var m=d=null,v=null,w=t,x=!1;do{var H=w.lane&-536870913;if(H!==w.lane?(Ce&H)===H:(Un&H)===H){var O=w.revertLane;if(O===0)v!==null&&(v=v.next={lane:0,revertLane:0,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null}),H===zr&&(x=!0);else if((Un&O)===O){w=w.next,O===zr&&(x=!0);continue}else H={lane:0,revertLane:w.revertLane,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},v===null?(m=v=H,d=u):v=v.next=H,de.lanes|=O,da|=O;H=w.action,er&&n(u,H),u=w.hasEagerState?w.eagerState:n(u,H)}else O={lane:H,revertLane:w.revertLane,gesture:w.gesture,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},v===null?(m=v=O,d=u):v=v.next=O,de.lanes|=H,da|=H;w=w.next}while(w!==null&&w!==t);if(v===null?d=u:v.next=m,!Bt(u,e.memoizedState)&&(ut=!0,x&&(n=Br,n!==null)))throw n;e.memoizedState=u,e.baseState=d,e.baseQueue=v,i.lastRenderedState=u}return o===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function Hu(e){var t=rt(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var i=n.dispatch,o=n.pending,u=t.memoizedState;if(o!==null){n.pending=null;var d=o=o.next;do u=e(u,d.action),d=d.next;while(d!==o);Bt(u,t.memoizedState)||(ut=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),n.lastRenderedState=u}return[u,i]}function Pp(e,t,n){var i=de,o=rt(),u=Me;if(u){if(n===void 0)throw Error(s(407));n=n()}else n=t();var d=!Bt((Be||o).memoizedState,n);if(d&&(o.memoizedState=n,ut=!0),o=o.queue,Bu(Vp.bind(null,i,o,e),[e]),o.getSnapshot!==t||d||st!==null&&st.memoizedState.tag&1){if(i.flags|=2048,Fr(9,{destroy:void 0},Fp.bind(null,i,o,n,t),null),Fe===null)throw Error(s(349));u||(Un&127)!==0||Gp(i,t,n)}return n}function Gp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=de.updateQueue,t===null?(t=ao(),de.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Fp(e,t,n,i){t.value=n,t.getSnapshot=i,Yp(t)&&$p(e)}function Vp(e,t,n){return n(function(){Yp(t)&&$p(e)})}function Yp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Bt(e,n)}catch{return!0}}function $p(e){var t=Va(e,2);t!==null&&zt(t,e,2)}function Uu(e){var t=wt();if(typeof e=="function"){var n=e;if(e=n(),er){vn(!0);try{n()}finally{vn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:e},t}function Qp(e,t,n,i){return e.baseState=n,Lu(e,Be,typeof i=="function"?i:zn)}function cS(e,t,n,i,o){if(so(e))throw Error(s(485));if(e=t.action,e!==null){var u={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){u.listeners.push(d)}};R.T!==null?n(!0):u.isTransition=!1,i(u),n=t.pending,n===null?(u.next=t.pending=u,Xp(t,u)):(u.next=n.next,t.pending=n.next=u)}}function Xp(e,t){var n=t.action,i=t.payload,o=e.state;if(t.isTransition){var u=R.T,d={};R.T=d;try{var m=n(o,i),v=R.S;v!==null&&v(d,m),Zp(e,t,m)}catch(w){zu(e,t,w)}finally{u!==null&&d.types!==null&&(u.types=d.types),R.T=u}}else try{u=n(o,i),Zp(e,t,u)}catch(w){zu(e,t,w)}}function Zp(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){Wp(e,t,i)},function(i){return zu(e,t,i)}):Wp(e,t,n)}function Wp(e,t,n){t.status="fulfilled",t.value=n,Kp(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Xp(e,n)))}function zu(e,t,n){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=n,Kp(t),t=t.next;while(t!==i)}e.action=null}function Kp(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Jp(e,t){return t}function em(e,t){if(Me){var n=Fe.formState;if(n!==null){e:{var i=de;if(Me){if($e){t:{for(var o=$e,u=Kt;o.nodeType!==8;){if(!u){o=null;break t}if(o=en(o.nextSibling),o===null){o=null;break t}}u=o.data,o=u==="F!"||u==="F"?o:null}if(o){$e=en(o.nextSibling),i=o.data==="F!";break e}}aa(i)}i=!1}i&&(t=n[0])}}return n=wt(),n.memoizedState=n.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jp,lastRenderedState:t},n.queue=i,n=bm.bind(null,de,i),i.dispatch=n,i=Uu(!1),u=Gu.bind(null,de,!1,i.queue),i=wt(),o={state:t,dispatch:null,action:e,pending:null},i.queue=o,n=cS.bind(null,de,o,u,n),o.dispatch=n,i.memoizedState=e,[t,n,!1]}function tm(e){var t=rt();return nm(t,Be,e)}function nm(e,t,n){if(t=Lu(e,t,Jp)[0],e=io(zn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=Pi(t)}catch(d){throw d===jr?Xl:d}else i=t;t=rt();var o=t.queue,u=o.dispatch;return n!==t.memoizedState&&(de.flags|=2048,Fr(9,{destroy:void 0},fS.bind(null,o,n),null)),[i,u,e]}function fS(e,t){e.action=t}function am(e){var t=rt(),n=Be;if(n!==null)return nm(t,n,e);rt(),t=t.memoizedState,n=rt();var i=n.queue.dispatch;return n.memoizedState=e,[t,i,!1]}function Fr(e,t,n,i){return e={tag:e,create:n,deps:i,inst:t,next:null},t=de.updateQueue,t===null&&(t=ao(),de.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e),e}function rm(){return rt().memoizedState}function lo(e,t,n,i){var o=wt();de.flags|=e,o.memoizedState=Fr(1|t,{destroy:void 0},n,i===void 0?null:i)}function oo(e,t,n,i){var o=rt();i=i===void 0?null:i;var u=o.memoizedState.inst;Be!==null&&i!==null&&Ou(i,Be.memoizedState.deps)?o.memoizedState=Fr(t,u,n,i):(de.flags|=e,o.memoizedState=Fr(1|t,u,n,i))}function im(e,t){lo(8390656,8,e,t)}function Bu(e,t){oo(2048,8,e,t)}function dS(e){de.flags|=4;var t=de.updateQueue;if(t===null)t=ao(),de.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function lm(e){var t=rt().memoizedState;return dS({ref:t,nextImpl:e}),function(){if((xe&2)!==0)throw Error(s(440));return t.impl.apply(void 0,arguments)}}function om(e,t){return oo(4,2,e,t)}function sm(e,t){return oo(4,4,e,t)}function um(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function cm(e,t,n){n=n!=null?n.concat([e]):null,oo(4,4,um.bind(null,t,e),n)}function ju(){}function fm(e,t){var n=rt();t=t===void 0?null:t;var i=n.memoizedState;return t!==null&&Ou(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function dm(e,t){var n=rt();t=t===void 0?null:t;var i=n.memoizedState;if(t!==null&&Ou(t,i[1]))return i[0];if(i=e(),er){vn(!0);try{e()}finally{vn(!1)}}return n.memoizedState=[i,t],i}function Iu(e,t,n){return n===void 0||(Un&1073741824)!==0&&(Ce&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=ph(),de.lanes|=e,da|=e,n)}function pm(e,t,n,i){return Bt(n,t)?n:qr.current!==null?(e=Iu(e,n,i),Bt(e,t)||(ut=!0),e):(Un&42)===0||(Un&1073741824)!==0&&(Ce&261930)===0?(ut=!0,e.memoizedState=n):(e=ph(),de.lanes|=e,da|=e,t)}function mm(e,t,n,i,o){var u=B.p;B.p=u!==0&&8>u?u:8;var d=R.T,m={};R.T=m,Gu(e,!1,t,n);try{var v=o(),w=R.S;if(w!==null&&w(m,v),v!==null&&typeof v=="object"&&typeof v.then=="function"){var x=oS(v,i);Gi(e,t,x,Ft(e))}else Gi(e,t,i,Ft(e))}catch(H){Gi(e,t,{then:function(){},status:"rejected",reason:H},Ft())}finally{B.p=u,d!==null&&m.types!==null&&(d.types=m.types),R.T=d}}function pS(){}function qu(e,t,n,i){if(e.tag!==5)throw Error(s(476));var o=hm(e).queue;mm(e,o,t,te,n===null?pS:function(){return ym(e),n(i)})}function hm(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:te},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ym(e){var t=hm(e);t.next===null&&(t=e.alternate.memoizedState),Gi(e,t.next.queue,{},Ft())}function Pu(){return bt(ll)}function gm(){return rt().memoizedState}function vm(){return rt().memoizedState}function mS(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Ft();e=la(n);var i=oa(t,e,n);i!==null&&(zt(i,t,n),Bi(i,t,n)),t={cache:gu()},e.payload=t;return}t=t.return}}function hS(e,t,n){var i=Ft();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},so(e)?Sm(t,n):(n=lu(e,t,n,i),n!==null&&(zt(n,e,i),_m(n,t,i)))}function bm(e,t,n){var i=Ft();Gi(e,t,n,i)}function Gi(e,t,n,i){var o={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(so(e))Sm(t,o);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var d=t.lastRenderedState,m=u(d,n);if(o.hasEagerState=!0,o.eagerState=m,Bt(m,d))return Pl(e,t,o,0),Fe===null&&ql(),!1}catch{}finally{}if(n=lu(e,t,o,i),n!==null)return zt(n,e,i),_m(n,t,i),!0}return!1}function Gu(e,t,n,i){if(i={lane:2,revertLane:_c(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},so(e)){if(t)throw Error(s(479))}else t=lu(e,n,i,2),t!==null&&zt(t,e,2)}function so(e){var t=e.alternate;return e===de||t!==null&&t===de}function Sm(e,t){Pr=to=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _m(e,t,n){if((n&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,lt(e,n)}}var Fi={readContext:bt,use:ro,useCallback:et,useContext:et,useEffect:et,useImperativeHandle:et,useLayoutEffect:et,useInsertionEffect:et,useMemo:et,useReducer:et,useRef:et,useState:et,useDebugValue:et,useDeferredValue:et,useTransition:et,useSyncExternalStore:et,useId:et,useHostTransitionStatus:et,useFormState:et,useActionState:et,useOptimistic:et,useMemoCache:et,useCacheRefresh:et};Fi.useEffectEvent=et;var Em={readContext:bt,use:ro,useCallback:function(e,t){return wt().memoizedState=[e,t===void 0?null:t],e},useContext:bt,useEffect:im,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,lo(4194308,4,um.bind(null,t,e),n)},useLayoutEffect:function(e,t){return lo(4194308,4,e,t)},useInsertionEffect:function(e,t){lo(4,2,e,t)},useMemo:function(e,t){var n=wt();t=t===void 0?null:t;var i=e();if(er){vn(!0);try{e()}finally{vn(!1)}}return n.memoizedState=[i,t],i},useReducer:function(e,t,n){var i=wt();if(n!==void 0){var o=n(t);if(er){vn(!0);try{n(t)}finally{vn(!1)}}}else o=t;return i.memoizedState=i.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},i.queue=e,e=e.dispatch=hS.bind(null,de,e),[i.memoizedState,e]},useRef:function(e){var t=wt();return e={current:e},t.memoizedState=e},useState:function(e){e=Uu(e);var t=e.queue,n=bm.bind(null,de,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ju,useDeferredValue:function(e,t){var n=wt();return Iu(n,e,t)},useTransition:function(){var e=Uu(!1);return e=mm.bind(null,de,e.queue,!0,!1),wt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var i=de,o=wt();if(Me){if(n===void 0)throw Error(s(407));n=n()}else{if(n=t(),Fe===null)throw Error(s(349));(Ce&127)!==0||Gp(i,t,n)}o.memoizedState=n;var u={value:n,getSnapshot:t};return o.queue=u,im(Vp.bind(null,i,u,e),[e]),i.flags|=2048,Fr(9,{destroy:void 0},Fp.bind(null,i,u,n,t),null),n},useId:function(){var e=wt(),t=Fe.identifierPrefix;if(Me){var n=_n,i=Sn;n=(i&~(1<<32-yt(i)-1)).toString(32)+n,t="_"+t+"R_"+n,n=no++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=sS++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Pu,useFormState:em,useActionState:em,useOptimistic:function(e){var t=wt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Gu.bind(null,de,!0,n),n.dispatch=t,[e,t]},useMemoCache:Nu,useCacheRefresh:function(){return wt().memoizedState=mS.bind(null,de)},useEffectEvent:function(e){var t=wt(),n={impl:e};return t.memoizedState=n,function(){if((xe&2)!==0)throw Error(s(440));return n.impl.apply(void 0,arguments)}}},Fu={readContext:bt,use:ro,useCallback:fm,useContext:bt,useEffect:Bu,useImperativeHandle:cm,useInsertionEffect:om,useLayoutEffect:sm,useMemo:dm,useReducer:io,useRef:rm,useState:function(){return io(zn)},useDebugValue:ju,useDeferredValue:function(e,t){var n=rt();return pm(n,Be.memoizedState,e,t)},useTransition:function(){var e=io(zn)[0],t=rt().memoizedState;return[typeof e=="boolean"?e:Pi(e),t]},useSyncExternalStore:Pp,useId:gm,useHostTransitionStatus:Pu,useFormState:tm,useActionState:tm,useOptimistic:function(e,t){var n=rt();return Qp(n,Be,e,t)},useMemoCache:Nu,useCacheRefresh:vm};Fu.useEffectEvent=lm;var Cm={readContext:bt,use:ro,useCallback:fm,useContext:bt,useEffect:Bu,useImperativeHandle:cm,useInsertionEffect:om,useLayoutEffect:sm,useMemo:dm,useReducer:Hu,useRef:rm,useState:function(){return Hu(zn)},useDebugValue:ju,useDeferredValue:function(e,t){var n=rt();return Be===null?Iu(n,e,t):pm(n,Be.memoizedState,e,t)},useTransition:function(){var e=Hu(zn)[0],t=rt().memoizedState;return[typeof e=="boolean"?e:Pi(e),t]},useSyncExternalStore:Pp,useId:gm,useHostTransitionStatus:Pu,useFormState:am,useActionState:am,useOptimistic:function(e,t){var n=rt();return Be!==null?Qp(n,Be,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Nu,useCacheRefresh:vm};Cm.useEffectEvent=lm;function Vu(e,t,n,i){t=e.memoizedState,n=n(i,t),n=n==null?t:_({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Yu={enqueueSetState:function(e,t,n){e=e._reactInternals;var i=Ft(),o=la(i);o.payload=t,n!=null&&(o.callback=n),t=oa(e,o,i),t!==null&&(zt(t,e,i),Bi(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=Ft(),o=la(i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=oa(e,o,i),t!==null&&(zt(t,e,i),Bi(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ft(),i=la(n);i.tag=2,t!=null&&(i.callback=t),t=oa(e,i,n),t!==null&&(zt(t,e,n),Bi(t,e,n))}};function Am(e,t,n,i,o,u,d){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,u,d):t.prototype&&t.prototype.isPureReactComponent?!Di(n,i)||!Di(o,u):!0}function Tm(e,t,n,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&Yu.enqueueReplaceState(t,t.state,null)}function tr(e,t){var n=t;if("ref"in t){n={};for(var i in t)i!=="ref"&&(n[i]=t[i])}if(e=e.defaultProps){n===t&&(n=_({},n));for(var o in e)n[o]===void 0&&(n[o]=e[o])}return n}function Mm(e){Il(e)}function wm(e){console.error(e)}function Om(e){Il(e)}function uo(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function Rm(e,t,n){try{var i=e.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function $u(e,t,n){return n=la(n),n.tag=3,n.payload={element:null},n.callback=function(){uo(e,t)},n}function Dm(e){return e=la(e),e.tag=3,e}function xm(e,t,n,i){var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var u=i.value;e.payload=function(){return o(u)},e.callback=function(){Rm(t,n,i)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){Rm(t,n,i),typeof o!="function"&&(pa===null?pa=new Set([this]):pa.add(this));var m=i.stack;this.componentDidCatch(i.value,{componentStack:m!==null?m:""})})}function yS(e,t,n,i,o){if(n.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=n.alternate,t!==null&&Ur(t,n,o,!0),n=It.current,n!==null){switch(n.tag){case 31:case 13:return Jt===null?Eo():n.alternate===null&&tt===0&&(tt=3),n.flags&=-257,n.flags|=65536,n.lanes=o,i===Zl?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([i]):t.add(i),vc(e,i,o)),!1;case 22:return n.flags|=65536,i===Zl?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([i]):n.add(i)),vc(e,i,o)),!1}throw Error(s(435,n.tag))}return vc(e,i,o),Eo(),!1}if(Me)return t=It.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==du&&(e=Error(s(422),{cause:i}),Ni(Xt(e,n)))):(i!==du&&(t=Error(s(423),{cause:i}),Ni(Xt(t,n))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,i=Xt(i,n),o=$u(e.stateNode,i,o),Cu(e,o),tt!==4&&(tt=2)),!1;var u=Error(s(520),{cause:i});if(u=Xt(u,n),Ki===null?Ki=[u]:Ki.push(u),tt!==4&&(tt=2),t===null)return!0;i=Xt(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,e=$u(n.stateNode,i,e),Cu(n,e),!1;case 1:if(t=n.type,u=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(pa===null||!pa.has(u))))return n.flags|=65536,o&=-o,n.lanes|=o,o=Dm(o),xm(o,e,n,i),Cu(n,o),!1}n=n.return}while(n!==null);return!1}var Qu=Error(s(461)),ut=!1;function St(e,t,n,i){t.child=e===null?Hp(t,null,n,i):Ja(t,e.child,n,i)}function km(e,t,n,i,o){n=n.render;var u=t.ref;if("ref"in i){var d={};for(var m in i)m!=="ref"&&(d[m]=i[m])}else d=i;return Xa(t),i=Ru(e,t,n,d,u,o),m=Du(),e!==null&&!ut?(xu(e,t,o),Bn(e,t,o)):(Me&&m&&cu(t),t.flags|=1,St(e,t,i,o),t.child)}function Nm(e,t,n,i,o){if(e===null){var u=n.type;return typeof u=="function"&&!ou(u)&&u.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=u,Lm(e,t,u,i,o)):(e=Fl(n.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!nc(e,o)){var d=u.memoizedProps;if(n=n.compare,n=n!==null?n:Di,n(d,i)&&e.ref===t.ref)return Bn(e,t,o)}return t.flags|=1,e=kn(u,i),e.ref=t.ref,e.return=t,t.child=e}function Lm(e,t,n,i,o){if(e!==null){var u=e.memoizedProps;if(Di(u,i)&&e.ref===t.ref)if(ut=!1,t.pendingProps=i=u,nc(e,o))(e.flags&131072)!==0&&(ut=!0);else return t.lanes=e.lanes,Bn(e,t,o)}return Xu(e,t,n,i,o)}function Hm(e,t,n,i){var o=i.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|n:n,e!==null){for(i=t.child=e.child,o=0;i!==null;)o=o|i.lanes|i.childLanes,i=i.sibling;i=o&~u}else i=0,t.child=null;return Um(e,t,u,n,i)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ql(t,u!==null?u.cachePool:null),u!==null?Bp(t,u):Tu(),jp(t);else return i=t.lanes=536870912,Um(e,t,u!==null?u.baseLanes|n:n,n,i)}else u!==null?(Ql(t,u.cachePool),Bp(t,u),ua(),t.memoizedState=null):(e!==null&&Ql(t,null),Tu(),ua());return St(e,t,o,n),t.child}function Vi(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Um(e,t,n,i,o){var u=bu();return u=u===null?null:{parent:ot._currentValue,pool:u},t.memoizedState={baseLanes:n,cachePool:u},e!==null&&Ql(t,null),Tu(),jp(t),e!==null&&Ur(e,t,i,!0),t.childLanes=o,null}function co(e,t){return t=po({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function zm(e,t,n){return Ja(t,e.child,null,n),e=co(t,t.pendingProps),e.flags|=2,qt(t),t.memoizedState=null,e}function gS(e,t,n){var i=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Me){if(i.mode==="hidden")return e=co(t,i),t.lanes=536870912,Vi(null,e);if(wu(t),(e=$e)?(e=Xh(e,Kt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ta!==null?{id:Sn,overflow:_n}:null,retryLane:536870912,hydrationErrors:null},n=Sp(e),n.return=t,t.child=n,vt=t,$e=null)):e=null,e===null)throw aa(t);return t.lanes=536870912,null}return co(t,i)}var u=e.memoizedState;if(u!==null){var d=u.dehydrated;if(wu(t),o)if(t.flags&256)t.flags&=-257,t=zm(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(s(558));else if(ut||Ur(e,t,n,!1),o=(n&e.childLanes)!==0,ut||o){if(i=Fe,i!==null&&(d=Dt(i,n),d!==0&&d!==u.retryLane))throw u.retryLane=d,Va(e,d),zt(i,e,d),Qu;Eo(),t=zm(e,t,n)}else e=u.treeContext,$e=en(d.nextSibling),vt=t,Me=!0,na=null,Kt=!1,e!==null&&Cp(t,e),t=co(t,i),t.flags|=4096;return t}return e=kn(e.child,{mode:i.mode,children:i.children}),e.ref=t.ref,t.child=e,e.return=t,e}function fo(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(s(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Xu(e,t,n,i,o){return Xa(t),n=Ru(e,t,n,i,void 0,o),i=Du(),e!==null&&!ut?(xu(e,t,o),Bn(e,t,o)):(Me&&i&&cu(t),t.flags|=1,St(e,t,n,o),t.child)}function Bm(e,t,n,i,o,u){return Xa(t),t.updateQueue=null,n=qp(t,i,n,o),Ip(e),i=Du(),e!==null&&!ut?(xu(e,t,u),Bn(e,t,u)):(Me&&i&&cu(t),t.flags|=1,St(e,t,n,u),t.child)}function jm(e,t,n,i,o){if(Xa(t),t.stateNode===null){var u=kr,d=n.contextType;typeof d=="object"&&d!==null&&(u=bt(d)),u=new n(i,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Yu,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=i,u.state=t.memoizedState,u.refs={},_u(t),d=n.contextType,u.context=typeof d=="object"&&d!==null?bt(d):kr,u.state=t.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(Vu(t,n,d,i),u.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(d=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),d!==u.state&&Yu.enqueueReplaceState(u,u.state,null),Ii(t,i,u,o),ji(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){u=t.stateNode;var m=t.memoizedProps,v=tr(n,m);u.props=v;var w=u.context,x=n.contextType;d=kr,typeof x=="object"&&x!==null&&(d=bt(x));var H=n.getDerivedStateFromProps;x=typeof H=="function"||typeof u.getSnapshotBeforeUpdate=="function",m=t.pendingProps!==m,x||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(m||w!==d)&&Tm(t,u,i,d),ia=!1;var O=t.memoizedState;u.state=O,Ii(t,i,u,o),ji(),w=t.memoizedState,m||O!==w||ia?(typeof H=="function"&&(Vu(t,n,H,i),w=t.memoizedState),(v=ia||Am(t,n,v,i,O,w,d))?(x||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=w),u.props=i,u.state=w,u.context=d,i=v):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{u=t.stateNode,Eu(e,t),d=t.memoizedProps,x=tr(n,d),u.props=x,H=t.pendingProps,O=u.context,w=n.contextType,v=kr,typeof w=="object"&&w!==null&&(v=bt(w)),m=n.getDerivedStateFromProps,(w=typeof m=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(d!==H||O!==v)&&Tm(t,u,i,v),ia=!1,O=t.memoizedState,u.state=O,Ii(t,i,u,o),ji();var D=t.memoizedState;d!==H||O!==D||ia||e!==null&&e.dependencies!==null&&Yl(e.dependencies)?(typeof m=="function"&&(Vu(t,n,m,i),D=t.memoizedState),(x=ia||Am(t,n,x,i,O,D,v)||e!==null&&e.dependencies!==null&&Yl(e.dependencies))?(w||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(i,D,v),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(i,D,v)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=D),u.props=i,u.state=D,u.context=v,i=x):(typeof u.componentDidUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),i=!1)}return u=i,fo(e,t),i=(t.flags&128)!==0,u||i?(u=t.stateNode,n=i&&typeof n.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&i?(t.child=Ja(t,e.child,null,o),t.child=Ja(t,null,n,o)):St(e,t,n,o),t.memoizedState=u.state,e=t.child):e=Bn(e,t,o),e}function Im(e,t,n,i){return $a(),t.flags|=256,St(e,t,n,i),t.child}var Zu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Wu(e){return{baseLanes:e,cachePool:Rp()}}function Ku(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Gt),e}function qm(e,t,n){var i=t.pendingProps,o=!1,u=(t.flags&128)!==0,d;if((d=u)||(d=e!==null&&e.memoizedState===null?!1:(at.current&2)!==0),d&&(o=!0,t.flags&=-129),d=(t.flags&32)!==0,t.flags&=-33,e===null){if(Me){if(o?sa(t):ua(),(e=$e)?(e=Xh(e,Kt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ta!==null?{id:Sn,overflow:_n}:null,retryLane:536870912,hydrationErrors:null},n=Sp(e),n.return=t,t.child=n,vt=t,$e=null)):e=null,e===null)throw aa(t);return Lc(e)?t.lanes=32:t.lanes=536870912,null}var m=i.children;return i=i.fallback,o?(ua(),o=t.mode,m=po({mode:"hidden",children:m},o),i=Ya(i,o,n,null),m.return=t,i.return=t,m.sibling=i,t.child=m,i=t.child,i.memoizedState=Wu(n),i.childLanes=Ku(e,d,n),t.memoizedState=Zu,Vi(null,i)):(sa(t),Ju(t,m))}var v=e.memoizedState;if(v!==null&&(m=v.dehydrated,m!==null)){if(u)t.flags&256?(sa(t),t.flags&=-257,t=ec(e,t,n)):t.memoizedState!==null?(ua(),t.child=e.child,t.flags|=128,t=null):(ua(),m=i.fallback,o=t.mode,i=po({mode:"visible",children:i.children},o),m=Ya(m,o,n,null),m.flags|=2,i.return=t,m.return=t,i.sibling=m,t.child=i,Ja(t,e.child,null,n),i=t.child,i.memoizedState=Wu(n),i.childLanes=Ku(e,d,n),t.memoizedState=Zu,t=Vi(null,i));else if(sa(t),Lc(m)){if(d=m.nextSibling&&m.nextSibling.dataset,d)var w=d.dgst;d=w,i=Error(s(419)),i.stack="",i.digest=d,Ni({value:i,source:null,stack:null}),t=ec(e,t,n)}else if(ut||Ur(e,t,n,!1),d=(n&e.childLanes)!==0,ut||d){if(d=Fe,d!==null&&(i=Dt(d,n),i!==0&&i!==v.retryLane))throw v.retryLane=i,Va(e,i),zt(d,e,i),Qu;Nc(m)||Eo(),t=ec(e,t,n)}else Nc(m)?(t.flags|=192,t.child=e.child,t=null):(e=v.treeContext,$e=en(m.nextSibling),vt=t,Me=!0,na=null,Kt=!1,e!==null&&Cp(t,e),t=Ju(t,i.children),t.flags|=4096);return t}return o?(ua(),m=i.fallback,o=t.mode,v=e.child,w=v.sibling,i=kn(v,{mode:"hidden",children:i.children}),i.subtreeFlags=v.subtreeFlags&65011712,w!==null?m=kn(w,m):(m=Ya(m,o,n,null),m.flags|=2),m.return=t,i.return=t,i.sibling=m,t.child=i,Vi(null,i),i=t.child,m=e.child.memoizedState,m===null?m=Wu(n):(o=m.cachePool,o!==null?(v=ot._currentValue,o=o.parent!==v?{parent:v,pool:v}:o):o=Rp(),m={baseLanes:m.baseLanes|n,cachePool:o}),i.memoizedState=m,i.childLanes=Ku(e,d,n),t.memoizedState=Zu,Vi(e.child,i)):(sa(t),n=e.child,e=n.sibling,n=kn(n,{mode:"visible",children:i.children}),n.return=t,n.sibling=null,e!==null&&(d=t.deletions,d===null?(t.deletions=[e],t.flags|=16):d.push(e)),t.child=n,t.memoizedState=null,n)}function Ju(e,t){return t=po({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function po(e,t){return e=jt(22,e,null,t),e.lanes=0,e}function ec(e,t,n){return Ja(t,e.child,null,n),e=Ju(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Pm(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),hu(e.return,t,n)}function tc(e,t,n,i,o,u){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:o,treeForkCount:u}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=n,d.tailMode=o,d.treeForkCount=u)}function Gm(e,t,n){var i=t.pendingProps,o=i.revealOrder,u=i.tail;i=i.children;var d=at.current,m=(d&2)!==0;if(m?(d=d&1|2,t.flags|=128):d&=1,P(at,d),St(e,t,i,n),i=Me?ki:0,!m&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Pm(e,n,t);else if(e.tag===19)Pm(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}switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&eo(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),tc(t,!1,o,n,u,i);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&eo(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}tc(t,!0,n,null,u,i);break;case"together":tc(t,!1,null,null,void 0,i);break;default:t.memoizedState=null}return t.child}function Bn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),da|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ur(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,n=kn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=kn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function nc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Yl(e)))}function vS(e,t,n){switch(t.tag){case 3:Ze(t,t.stateNode.containerInfo),ra(t,ot,e.memoizedState.cache),$a();break;case 27:case 5:Kn(t);break;case 4:Ze(t,t.stateNode.containerInfo);break;case 10:ra(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,wu(t),null;break;case 13:var i=t.memoizedState;if(i!==null)return i.dehydrated!==null?(sa(t),t.flags|=128,null):(n&t.child.childLanes)!==0?qm(e,t,n):(sa(t),e=Bn(e,t,n),e!==null?e.sibling:null);sa(t);break;case 19:var o=(e.flags&128)!==0;if(i=(n&t.childLanes)!==0,i||(Ur(e,t,n,!1),i=(n&t.childLanes)!==0),o){if(i)return Gm(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),P(at,at.current),i)break;return null;case 22:return t.lanes=0,Hm(e,t,n,t.pendingProps);case 24:ra(t,ot,e.memoizedState.cache)}return Bn(e,t,n)}function Fm(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ut=!0;else{if(!nc(e,n)&&(t.flags&128)===0)return ut=!1,vS(e,t,n);ut=(e.flags&131072)!==0}else ut=!1,Me&&(t.flags&1048576)!==0&&Ep(t,ki,t.index);switch(t.lanes=0,t.tag){case 16:e:{var i=t.pendingProps;if(e=Wa(t.elementType),t.type=e,typeof e=="function")ou(e)?(i=tr(e,i),t.tag=1,t=jm(null,t,e,i,n)):(t.tag=0,t=Xu(null,t,e,i,n));else{if(e!=null){var o=e.$$typeof;if(o===Se){t.tag=11,t=km(null,t,e,i,n);break e}else if(o===ee){t.tag=14,t=Nm(null,t,e,i,n);break e}}throw t=De(e)||e,Error(s(306,t,""))}}return t;case 0:return Xu(e,t,t.type,t.pendingProps,n);case 1:return i=t.type,o=tr(i,t.pendingProps),jm(e,t,i,o,n);case 3:e:{if(Ze(t,t.stateNode.containerInfo),e===null)throw Error(s(387));i=t.pendingProps;var u=t.memoizedState;o=u.element,Eu(e,t),Ii(t,i,null,n);var d=t.memoizedState;if(i=d.cache,ra(t,ot,i),i!==u.cache&&yu(t,[ot],n,!0),ji(),i=d.element,u.isDehydrated)if(u={element:i,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=Im(e,t,i,n);break e}else if(i!==o){o=Xt(Error(s(424)),t),Ni(o),t=Im(e,t,i,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for($e=en(e.firstChild),vt=t,Me=!0,na=null,Kt=!0,n=Hp(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if($a(),i===o){t=Bn(e,t,n);break e}St(e,t,i,n)}t=t.child}return t;case 26:return fo(e,t),e===null?(n=ty(t.type,null,t.pendingProps,null))?t.memoizedState=n:Me||(n=t.type,e=t.pendingProps,i=Ro(se.current).createElement(n),i[gt]=t,i[xt]=e,_t(i,n,e),mt(i),t.stateNode=i):t.memoizedState=ty(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Kn(t),e===null&&Me&&(i=t.stateNode=Kh(t.type,t.pendingProps,se.current),vt=t,Kt=!0,o=$e,ga(t.type)?(Hc=o,$e=en(i.firstChild)):$e=o),St(e,t,t.pendingProps.children,n),fo(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Me&&((o=i=$e)&&(i=QS(i,t.type,t.pendingProps,Kt),i!==null?(t.stateNode=i,vt=t,$e=en(i.firstChild),Kt=!1,o=!0):o=!1),o||aa(t)),Kn(t),o=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,i=u.children,Dc(o,u)?i=null:d!==null&&Dc(o,d)&&(t.flags|=32),t.memoizedState!==null&&(o=Ru(e,t,uS,null,null,n),ll._currentValue=o),fo(e,t),St(e,t,i,n),t.child;case 6:return e===null&&Me&&((e=n=$e)&&(n=XS(n,t.pendingProps,Kt),n!==null?(t.stateNode=n,vt=t,$e=null,e=!0):e=!1),e||aa(t)),null;case 13:return qm(e,t,n);case 4:return Ze(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Ja(t,null,i,n):St(e,t,i,n),t.child;case 11:return km(e,t,t.type,t.pendingProps,n);case 7:return St(e,t,t.pendingProps,n),t.child;case 8:return St(e,t,t.pendingProps.children,n),t.child;case 12:return St(e,t,t.pendingProps.children,n),t.child;case 10:return i=t.pendingProps,ra(t,t.type,i.value),St(e,t,i.children,n),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,Xa(t),o=bt(o),i=i(o),t.flags|=1,St(e,t,i,n),t.child;case 14:return Nm(e,t,t.type,t.pendingProps,n);case 15:return Lm(e,t,t.type,t.pendingProps,n);case 19:return Gm(e,t,n);case 31:return gS(e,t,n);case 22:return Hm(e,t,n,t.pendingProps);case 24:return Xa(t),i=bt(ot),e===null?(o=bu(),o===null&&(o=Fe,u=gu(),o.pooledCache=u,u.refCount++,u!==null&&(o.pooledCacheLanes|=n),o=u),t.memoizedState={parent:i,cache:o},_u(t),ra(t,ot,o)):((e.lanes&n)!==0&&(Eu(e,t),Ii(t,null,null,n),ji()),o=e.memoizedState,u=t.memoizedState,o.parent!==i?(o={parent:i,cache:i},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),ra(t,ot,i)):(i=u.cache,ra(t,ot,i),i!==o.cache&&yu(t,[ot],n,!0))),St(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function jn(e){e.flags|=4}function ac(e,t,n,i,o){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(gh())e.flags|=8192;else throw Ka=Zl,Su}else e.flags&=-16777217}function Vm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!ly(t))if(gh())e.flags|=8192;else throw Ka=Zl,Su}function mo(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?W():536870912,e.lanes|=t,Qr|=t)}function Yi(e,t){if(!Me)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 i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Qe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags&65011712,i|=o.flags&65011712,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function bS(e,t,n){var i=t.pendingProps;switch(fu(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qe(t),null;case 1:return Qe(t),null;case 3:return n=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Hn(ot),Ge(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Hr(t)?jn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,pu())),Qe(t),null;case 26:var o=t.type,u=t.memoizedState;return e===null?(jn(t),u!==null?(Qe(t),Vm(t,u)):(Qe(t),ac(t,o,null,i,n))):u?u!==e.memoizedState?(jn(t),Qe(t),Vm(t,u)):(Qe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&jn(t),Qe(t),ac(t,o,e,i,n)),null;case 27:if(Ba(t),n=se.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&jn(t);else{if(!i){if(t.stateNode===null)throw Error(s(166));return Qe(t),null}e=k.current,Hr(t)?Ap(t):(e=Kh(o,i,n),t.stateNode=e,jn(t))}return Qe(t),null;case 5:if(Ba(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&jn(t);else{if(!i){if(t.stateNode===null)throw Error(s(166));return Qe(t),null}if(u=k.current,Hr(t))Ap(t);else{var d=Ro(se.current);switch(u){case 1:u=d.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:u=d.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":u=d.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":u=d.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":u=d.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof i.is=="string"?d.createElement("select",{is:i.is}):d.createElement("select"),i.multiple?u.multiple=!0:i.size&&(u.size=i.size);break;default:u=typeof i.is=="string"?d.createElement(o,{is:i.is}):d.createElement(o)}}u[gt]=t,u[xt]=i;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)u.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=u;e:switch(_t(u,o,i),o){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&jn(t)}}return Qe(t),ac(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&jn(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(s(166));if(e=se.current,Hr(t)){if(e=t.stateNode,n=t.memoizedProps,i=null,o=vt,o!==null)switch(o.tag){case 27:case 5:i=o.memoizedProps}e[gt]=t,e=!!(e.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||qh(e.nodeValue,n)),e||aa(t,!0)}else e=Ro(e).createTextNode(i),e[gt]=t,t.stateNode=e}return Qe(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(i=Hr(t),n!==null){if(e===null){if(!i)throw Error(s(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(557));e[gt]=t}else $a(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Qe(t),e=!1}else n=pu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(qt(t),t):(qt(t),null);if((t.flags&128)!==0)throw Error(s(558))}return Qe(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=Hr(t),i!==null&&i.dehydrated!==null){if(e===null){if(!o)throw Error(s(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(s(317));o[gt]=t}else $a(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Qe(t),o=!1}else o=pu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(qt(t),t):(qt(t),null)}return qt(t),(t.flags&128)!==0?(t.lanes=n,t):(n=i!==null,e=e!==null&&e.memoizedState!==null,n&&(i=t.child,o=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(o=i.alternate.memoizedState.cachePool.pool),u=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(u=i.memoizedState.cachePool.pool),u!==o&&(i.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),mo(t,t.updateQueue),Qe(t),null);case 4:return Ge(),e===null&&Tc(t.stateNode.containerInfo),Qe(t),null;case 10:return Hn(t.type),Qe(t),null;case 19:if(L(at),i=t.memoizedState,i===null)return Qe(t),null;if(o=(t.flags&128)!==0,u=i.rendering,u===null)if(o)Yi(i,!1);else{if(tt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=eo(e),u!==null){for(t.flags|=128,Yi(i,!1),e=u.updateQueue,t.updateQueue=e,mo(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)bp(n,e),n=n.sibling;return P(at,at.current&1|2),Me&&Nn(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&At()>bo&&(t.flags|=128,o=!0,Yi(i,!1),t.lanes=4194304)}else{if(!o)if(e=eo(u),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,mo(t,e),Yi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!Me)return Qe(t),null}else 2*At()-i.renderingStartTime>bo&&n!==536870912&&(t.flags|=128,o=!0,Yi(i,!1),t.lanes=4194304);i.isBackwards?(u.sibling=t.child,t.child=u):(e=i.last,e!==null?e.sibling=u:t.child=u,i.last=u)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=At(),e.sibling=null,n=at.current,P(at,o?n&1|2:n&1),Me&&Nn(t,i.treeForkCount),e):(Qe(t),null);case 22:case 23:return qt(t),Mu(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(n&536870912)!==0&&(t.flags&128)===0&&(Qe(t),t.subtreeFlags&6&&(t.flags|=8192)):Qe(t),n=t.updateQueue,n!==null&&mo(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==n&&(t.flags|=2048),e!==null&&L(Za),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Hn(ot),Qe(t),null;case 25:return null;case 30:return null}throw Error(s(156,t.tag))}function SS(e,t){switch(fu(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Hn(ot),Ge(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ba(t),null;case 31:if(t.memoizedState!==null){if(qt(t),t.alternate===null)throw Error(s(340));$a()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(qt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));$a()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return L(at),null;case 4:return Ge(),null;case 10:return Hn(t.type),null;case 22:case 23:return qt(t),Mu(),e!==null&&L(Za),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Hn(ot),null;case 25:return null;default:return null}}function Ym(e,t){switch(fu(t),t.tag){case 3:Hn(ot),Ge();break;case 26:case 27:case 5:Ba(t);break;case 4:Ge();break;case 31:t.memoizedState!==null&&qt(t);break;case 13:qt(t);break;case 19:L(at);break;case 10:Hn(t.type);break;case 22:case 23:qt(t),Mu(),e!==null&&L(Za);break;case 24:Hn(ot)}}function $i(e,t){try{var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var o=i.next;n=o;do{if((n.tag&e)===e){i=void 0;var u=n.create,d=n.inst;i=u(),d.destroy=i}n=n.next}while(n!==o)}}catch(m){ze(t,t.return,m)}}function ca(e,t,n){try{var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var u=o.next;i=u;do{if((i.tag&e)===e){var d=i.inst,m=d.destroy;if(m!==void 0){d.destroy=void 0,o=t;var v=n,w=m;try{w()}catch(x){ze(o,v,x)}}}i=i.next}while(i!==u)}}catch(x){ze(t,t.return,x)}}function $m(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{zp(t,n)}catch(i){ze(e,e.return,i)}}}function Qm(e,t,n){n.props=tr(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(i){ze(e,t,i)}}function Qi(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof n=="function"?e.refCleanup=n(i):n.current=i}}catch(o){ze(e,t,o)}}function En(e,t){var n=e.ref,i=e.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(o){ze(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(o){ze(e,t,o)}else n.current=null}function Xm(e){var t=e.type,n=e.memoizedProps,i=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break e;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(o){ze(e,e.return,o)}}function rc(e,t,n){try{var i=e.stateNode;PS(i,e.type,n,t),i[xt]=t}catch(o){ze(e,e.return,o)}}function Zm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ga(e.type)||e.tag===4}function ic(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Zm(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.tag===27&&ga(e.type)||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 lc(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Dn));else if(i!==4&&(i===27&&ga(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(lc(e,t,n),e=e.sibling;e!==null;)lc(e,t,n),e=e.sibling}function ho(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(i===27&&ga(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(ho(e,t,n),e=e.sibling;e!==null;)ho(e,t,n),e=e.sibling}function Wm(e){var t=e.stateNode,n=e.memoizedProps;try{for(var i=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);_t(t,i,n),t[gt]=e,t[xt]=n}catch(u){ze(e,e.return,u)}}var In=!1,ct=!1,oc=!1,Km=typeof WeakSet=="function"?WeakSet:Set,ht=null;function _S(e,t){if(e=e.containerInfo,Oc=Uo,e=cp(e),eu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var o=i.anchorOffset,u=i.focusNode;i=i.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var d=0,m=-1,v=-1,w=0,x=0,H=e,O=null;t:for(;;){for(var D;H!==n||o!==0&&H.nodeType!==3||(m=d+o),H!==u||i!==0&&H.nodeType!==3||(v=d+i),H.nodeType===3&&(d+=H.nodeValue.length),(D=H.firstChild)!==null;)O=H,H=D;for(;;){if(H===e)break t;if(O===n&&++w===o&&(m=d),O===u&&++x===i&&(v=d),(D=H.nextSibling)!==null)break;H=O,O=H.parentNode}H=D}n=m===-1||v===-1?null:{start:m,end:v}}else n=null}n=n||{start:0,end:0}}else n=null;for(Rc={focusedElem:e,selectionRange:n},Uo=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){switch(t=ht,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)o=e[n],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,n=t,o=u.memoizedProps,u=u.memoizedState,i=n.stateNode;try{var $=tr(n.type,o);e=i.getSnapshotBeforeUpdate($,u),i.__reactInternalSnapshotBeforeUpdate=e}catch(re){ze(n,n.return,re)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)kc(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":kc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(s(163))}if(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}}function Jm(e,t,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:Pn(e,n),i&4&&$i(5,n);break;case 1:if(Pn(e,n),i&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(d){ze(n,n.return,d)}else{var o=tr(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(d){ze(n,n.return,d)}}i&64&&$m(n),i&512&&Qi(n,n.return);break;case 3:if(Pn(e,n),i&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{zp(e,t)}catch(d){ze(n,n.return,d)}}break;case 27:t===null&&i&4&&Wm(n);case 26:case 5:Pn(e,n),t===null&&i&4&&Xm(n),i&512&&Qi(n,n.return);break;case 12:Pn(e,n);break;case 31:Pn(e,n),i&4&&nh(e,n);break;case 13:Pn(e,n),i&4&&ah(e,n),i&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=DS.bind(null,n),ZS(e,n))));break;case 22:if(i=n.memoizedState!==null||In,!i){t=t!==null&&t.memoizedState!==null||ct,o=In;var u=ct;In=i,(ct=t)&&!u?Gn(e,n,(n.subtreeFlags&8772)!==0):Pn(e,n),In=o,ct=u}break;case 30:break;default:Pn(e,n)}}function eh(e){var t=e.alternate;t!==null&&(e.alternate=null,eh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&zs(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ke=null,Nt=!1;function qn(e,t,n){for(n=n.child;n!==null;)th(e,t,n),n=n.sibling}function th(e,t,n){if(pt&&typeof pt.onCommitFiberUnmount=="function")try{pt.onCommitFiberUnmount(Ia,n)}catch{}switch(n.tag){case 26:ct||En(n,t),qn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:ct||En(n,t);var i=Ke,o=Nt;ga(n.type)&&(Ke=n.stateNode,Nt=!1),qn(e,t,n),al(n.stateNode),Ke=i,Nt=o;break;case 5:ct||En(n,t);case 6:if(i=Ke,o=Nt,Ke=null,qn(e,t,n),Ke=i,Nt=o,Ke!==null)if(Nt)try{(Ke.nodeType===9?Ke.body:Ke.nodeName==="HTML"?Ke.ownerDocument.body:Ke).removeChild(n.stateNode)}catch(u){ze(n,t,u)}else try{Ke.removeChild(n.stateNode)}catch(u){ze(n,t,u)}break;case 18:Ke!==null&&(Nt?(e=Ke,$h(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),ni(e)):$h(Ke,n.stateNode));break;case 4:i=Ke,o=Nt,Ke=n.stateNode.containerInfo,Nt=!0,qn(e,t,n),Ke=i,Nt=o;break;case 0:case 11:case 14:case 15:ca(2,n,t),ct||ca(4,n,t),qn(e,t,n);break;case 1:ct||(En(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"&&Qm(n,t,i)),qn(e,t,n);break;case 21:qn(e,t,n);break;case 22:ct=(i=ct)||n.memoizedState!==null,qn(e,t,n),ct=i;break;default:qn(e,t,n)}}function nh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ni(e)}catch(n){ze(t,t.return,n)}}}function ah(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ni(e)}catch(n){ze(t,t.return,n)}}function ES(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Km),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Km),t;default:throw Error(s(435,e.tag))}}function yo(e,t){var n=ES(e);t.forEach(function(i){if(!n.has(i)){n.add(i);var o=xS.bind(null,e,i);i.then(o,o)}})}function Lt(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var o=n[i],u=e,d=t,m=d;e:for(;m!==null;){switch(m.tag){case 27:if(ga(m.type)){Ke=m.stateNode,Nt=!1;break e}break;case 5:Ke=m.stateNode,Nt=!1;break e;case 3:case 4:Ke=m.stateNode.containerInfo,Nt=!0;break e}m=m.return}if(Ke===null)throw Error(s(160));th(u,d,o),Ke=null,Nt=!1,u=o.alternate,u!==null&&(u.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)rh(t,e),t=t.sibling}var fn=null;function rh(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Lt(t,e),Ht(e),i&4&&(ca(3,e,e.return),$i(3,e),ca(5,e,e.return));break;case 1:Lt(t,e),Ht(e),i&512&&(ct||n===null||En(n,n.return)),i&64&&In&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?i:n.concat(i))));break;case 26:var o=fn;if(Lt(t,e),Ht(e),i&512&&(ct||n===null||En(n,n.return)),i&4){var u=n!==null?n.memoizedState:null;if(i=e.memoizedState,n===null)if(i===null)if(e.stateNode===null){e:{i=e.type,n=e.memoizedProps,o=o.ownerDocument||o;t:switch(i){case"title":u=o.getElementsByTagName("title")[0],(!u||u[_i]||u[gt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=o.createElement(i),o.head.insertBefore(u,o.querySelector("head > title"))),_t(u,i,n),u[gt]=e,mt(u),i=u;break e;case"link":var d=ry("link","href",o).get(i+(n.href||""));if(d){for(var m=0;m<d.length;m++)if(u=d[m],u.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&u.getAttribute("rel")===(n.rel==null?null:n.rel)&&u.getAttribute("title")===(n.title==null?null:n.title)&&u.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){d.splice(m,1);break t}}u=o.createElement(i),_t(u,i,n),o.head.appendChild(u);break;case"meta":if(d=ry("meta","content",o).get(i+(n.content||""))){for(m=0;m<d.length;m++)if(u=d[m],u.getAttribute("content")===(n.content==null?null:""+n.content)&&u.getAttribute("name")===(n.name==null?null:n.name)&&u.getAttribute("property")===(n.property==null?null:n.property)&&u.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&u.getAttribute("charset")===(n.charSet==null?null:n.charSet)){d.splice(m,1);break t}}u=o.createElement(i),_t(u,i,n),o.head.appendChild(u);break;default:throw Error(s(468,i))}u[gt]=e,mt(u),i=u}e.stateNode=i}else iy(o,e.type,e.stateNode);else e.stateNode=ay(o,i,e.memoizedProps);else u!==i?(u===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):u.count--,i===null?iy(o,e.type,e.stateNode):ay(o,i,e.memoizedProps)):i===null&&e.stateNode!==null&&rc(e,e.memoizedProps,n.memoizedProps)}break;case 27:Lt(t,e),Ht(e),i&512&&(ct||n===null||En(n,n.return)),n!==null&&i&4&&rc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Lt(t,e),Ht(e),i&512&&(ct||n===null||En(n,n.return)),e.flags&32){o=e.stateNode;try{Tr(o,"")}catch($){ze(e,e.return,$)}}i&4&&e.stateNode!=null&&(o=e.memoizedProps,rc(e,o,n!==null?n.memoizedProps:o)),i&1024&&(oc=!0);break;case 6:if(Lt(t,e),Ht(e),i&4){if(e.stateNode===null)throw Error(s(162));i=e.memoizedProps,n=e.stateNode;try{n.nodeValue=i}catch($){ze(e,e.return,$)}}break;case 3:if(ko=null,o=fn,fn=Do(t.containerInfo),Lt(t,e),fn=o,Ht(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{ni(t.containerInfo)}catch($){ze(e,e.return,$)}oc&&(oc=!1,ih(e));break;case 4:i=fn,fn=Do(e.stateNode.containerInfo),Lt(t,e),Ht(e),fn=i;break;case 12:Lt(t,e),Ht(e);break;case 31:Lt(t,e),Ht(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,yo(e,i)));break;case 13:Lt(t,e),Ht(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(vo=At()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,yo(e,i)));break;case 22:o=e.memoizedState!==null;var v=n!==null&&n.memoizedState!==null,w=In,x=ct;if(In=w||o,ct=x||v,Lt(t,e),ct=x,In=w,Ht(e),i&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(n===null||v||In||ct||nr(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){v=n=t;try{if(u=v.stateNode,o)d=u.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{m=v.stateNode;var H=v.memoizedProps.style,O=H!=null&&H.hasOwnProperty("display")?H.display:null;m.style.display=O==null||typeof O=="boolean"?"":(""+O).trim()}}catch($){ze(v,v.return,$)}}}else if(t.tag===6){if(n===null){v=t;try{v.stateNode.nodeValue=o?"":v.memoizedProps}catch($){ze(v,v.return,$)}}}else if(t.tag===18){if(n===null){v=t;try{var D=v.stateNode;o?Qh(D,!0):Qh(v.stateNode,!1)}catch($){ze(v,v.return,$)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}i&4&&(i=e.updateQueue,i!==null&&(n=i.retryQueue,n!==null&&(i.retryQueue=null,yo(e,n))));break;case 19:Lt(t,e),Ht(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,yo(e,i)));break;case 30:break;case 21:break;default:Lt(t,e),Ht(e)}}function Ht(e){var t=e.flags;if(t&2){try{for(var n,i=e.return;i!==null;){if(Zm(i)){n=i;break}i=i.return}if(n==null)throw Error(s(160));switch(n.tag){case 27:var o=n.stateNode,u=ic(e);ho(e,u,o);break;case 5:var d=n.stateNode;n.flags&32&&(Tr(d,""),n.flags&=-33);var m=ic(e);ho(e,m,d);break;case 3:case 4:var v=n.stateNode.containerInfo,w=ic(e);lc(e,w,v);break;default:throw Error(s(161))}}catch(x){ze(e,e.return,x)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ih(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;ih(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Pn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Jm(e,t.alternate,t),t=t.sibling}function nr(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ca(4,t,t.return),nr(t);break;case 1:En(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&Qm(t,t.return,n),nr(t);break;case 27:al(t.stateNode);case 26:case 5:En(t,t.return),nr(t);break;case 22:t.memoizedState===null&&nr(t);break;case 30:nr(t);break;default:nr(t)}e=e.sibling}}function Gn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var i=t.alternate,o=e,u=t,d=u.flags;switch(u.tag){case 0:case 11:case 15:Gn(o,u,n),$i(4,u);break;case 1:if(Gn(o,u,n),i=u,o=i.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(w){ze(i,i.return,w)}if(i=u,o=i.updateQueue,o!==null){var m=i.stateNode;try{var v=o.shared.hiddenCallbacks;if(v!==null)for(o.shared.hiddenCallbacks=null,o=0;o<v.length;o++)Up(v[o],m)}catch(w){ze(i,i.return,w)}}n&&d&64&&$m(u),Qi(u,u.return);break;case 27:Wm(u);case 26:case 5:Gn(o,u,n),n&&i===null&&d&4&&Xm(u),Qi(u,u.return);break;case 12:Gn(o,u,n);break;case 31:Gn(o,u,n),n&&d&4&&nh(o,u);break;case 13:Gn(o,u,n),n&&d&4&&ah(o,u);break;case 22:u.memoizedState===null&&Gn(o,u,n),Qi(u,u.return);break;case 30:break;default:Gn(o,u,n)}t=t.sibling}}function sc(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Li(n))}function uc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Li(e))}function dn(e,t,n,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)lh(e,t,n,i),t=t.sibling}function lh(e,t,n,i){var o=t.flags;switch(t.tag){case 0:case 11:case 15:dn(e,t,n,i),o&2048&&$i(9,t);break;case 1:dn(e,t,n,i);break;case 3:dn(e,t,n,i),o&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Li(e)));break;case 12:if(o&2048){dn(e,t,n,i),e=t.stateNode;try{var u=t.memoizedProps,d=u.id,m=u.onPostCommit;typeof m=="function"&&m(d,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(v){ze(t,t.return,v)}}else dn(e,t,n,i);break;case 31:dn(e,t,n,i);break;case 13:dn(e,t,n,i);break;case 23:break;case 22:u=t.stateNode,d=t.alternate,t.memoizedState!==null?u._visibility&2?dn(e,t,n,i):Xi(e,t):u._visibility&2?dn(e,t,n,i):(u._visibility|=2,Vr(e,t,n,i,(t.subtreeFlags&10256)!==0||!1)),o&2048&&sc(d,t);break;case 24:dn(e,t,n,i),o&2048&&uc(t.alternate,t);break;default:dn(e,t,n,i)}}function Vr(e,t,n,i,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,d=t,m=n,v=i,w=d.flags;switch(d.tag){case 0:case 11:case 15:Vr(u,d,m,v,o),$i(8,d);break;case 23:break;case 22:var x=d.stateNode;d.memoizedState!==null?x._visibility&2?Vr(u,d,m,v,o):Xi(u,d):(x._visibility|=2,Vr(u,d,m,v,o)),o&&w&2048&&sc(d.alternate,d);break;case 24:Vr(u,d,m,v,o),o&&w&2048&&uc(d.alternate,d);break;default:Vr(u,d,m,v,o)}t=t.sibling}}function Xi(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,i=t,o=i.flags;switch(i.tag){case 22:Xi(n,i),o&2048&&sc(i.alternate,i);break;case 24:Xi(n,i),o&2048&&uc(i.alternate,i);break;default:Xi(n,i)}t=t.sibling}}var Zi=8192;function Yr(e,t,n){if(e.subtreeFlags&Zi)for(e=e.child;e!==null;)oh(e,t,n),e=e.sibling}function oh(e,t,n){switch(e.tag){case 26:Yr(e,t,n),e.flags&Zi&&e.memoizedState!==null&&s_(n,fn,e.memoizedState,e.memoizedProps);break;case 5:Yr(e,t,n);break;case 3:case 4:var i=fn;fn=Do(e.stateNode.containerInfo),Yr(e,t,n),fn=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=Zi,Zi=16777216,Yr(e,t,n),Zi=i):Yr(e,t,n));break;default:Yr(e,t,n)}}function sh(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Wi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n];ht=i,ch(i,e)}sh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)uh(e),e=e.sibling}function uh(e){switch(e.tag){case 0:case 11:case 15:Wi(e),e.flags&2048&&ca(9,e,e.return);break;case 3:Wi(e);break;case 12:Wi(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,go(e)):Wi(e);break;default:Wi(e)}}function go(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n];ht=i,ch(i,e)}sh(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:ca(8,t,t.return),go(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,go(t));break;default:go(t)}e=e.sibling}}function ch(e,t){for(;ht!==null;){var n=ht;switch(n.tag){case 0:case 11:case 15:ca(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var i=n.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:Li(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,ht=i;else e:for(n=e;ht!==null;){i=ht;var o=i.sibling,u=i.return;if(eh(i),i===n){ht=null;break e}if(o!==null){o.return=u,ht=o;break e}ht=u}}}var CS={getCacheForType:function(e){var t=bt(ot),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return bt(ot).controller.signal}},AS=typeof WeakMap=="function"?WeakMap:Map,xe=0,Fe=null,_e=null,Ce=0,Ue=0,Pt=null,fa=!1,$r=!1,cc=!1,Fn=0,tt=0,da=0,ar=0,fc=0,Gt=0,Qr=0,Ki=null,Ut=null,dc=!1,vo=0,fh=0,bo=1/0,So=null,pa=null,ft=0,ma=null,Xr=null,Vn=0,pc=0,mc=null,dh=null,Ji=0,hc=null;function Ft(){return(xe&2)!==0&&Ce!==0?Ce&-Ce:R.T!==null?_c():sn()}function ph(){if(Gt===0)if((Ce&536870912)===0||Me){var e=Jn;Jn<<=1,(Jn&3932160)===0&&(Jn=262144),Gt=e}else Gt=536870912;return e=It.current,e!==null&&(e.flags|=32),Gt}function zt(e,t,n){(e===Fe&&(Ue===2||Ue===9)||e.cancelPendingCommit!==null)&&(Zr(e,0),ha(e,Ce,Gt,!1)),Te(e,n),((xe&2)===0||e!==Fe)&&(e===Fe&&((xe&2)===0&&(ar|=n),tt===4&&ha(e,Ce,Gt,!1)),Cn(e))}function mh(e,t,n){if((xe&6)!==0)throw Error(s(327));var i=!n&&(t&127)===0&&(t&e.expiredLanes)===0||F(e,t),o=i?wS(e,t):gc(e,t,!0),u=i;do{if(o===0){$r&&!i&&ha(e,t,0,!1);break}else{if(n=e.current.alternate,u&&!TS(n)){o=gc(e,t,!1),u=!1;continue}if(o===2){if(u=t,e.errorRecoveryDisabledLanes&u)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){t=d;e:{var m=e;o=Ki;var v=m.current.memoizedState.isDehydrated;if(v&&(Zr(m,d).flags|=256),d=gc(m,d,!1),d!==2){if(cc&&!v){m.errorRecoveryDisabledLanes|=u,ar|=u,o=4;break e}u=Ut,Ut=o,u!==null&&(Ut===null?Ut=u:Ut.push.apply(Ut,u))}o=d}if(u=!1,o!==2)continue}}if(o===1){Zr(e,0),ha(e,t,0,!0);break}e:{switch(i=e,u=o,u){case 0:case 1:throw Error(s(345));case 4:if((t&4194048)!==t)break;case 6:ha(i,t,Gt,!fa);break e;case 2:Ut=null;break;case 3:case 5:break;default:throw Error(s(329))}if((t&62914560)===t&&(o=vo+300-At(),10<o)){if(ha(i,t,Gt,!fa),I(i,0,!0)!==0)break e;Vn=t,i.timeoutHandle=Vh(hh.bind(null,i,n,Ut,So,dc,t,Gt,ar,Qr,fa,u,"Throttled",-0,0),o);break e}hh(i,n,Ut,So,dc,t,Gt,ar,Qr,fa,u,null,-0,0)}}break}while(!0);Cn(e)}function hh(e,t,n,i,o,u,d,m,v,w,x,H,O,D){if(e.timeoutHandle=-1,H=t.subtreeFlags,H&8192||(H&16785408)===16785408){H={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Dn},oh(t,u,H);var $=(u&62914560)===u?vo-At():(u&4194048)===u?fh-At():0;if($=u_(H,$),$!==null){Vn=u,e.cancelPendingCommit=$(Ch.bind(null,e,t,u,n,i,o,d,m,v,x,H,null,O,D)),ha(e,u,d,!w);return}}Ch(e,t,u,n,i,o,d,m,v)}function TS(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var i=0;i<n.length;i++){var o=n[i],u=o.getSnapshot;o=o.value;try{if(!Bt(u(),o))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 ha(e,t,n,i){t&=~fc,t&=~ar,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var o=t;0<o;){var u=31-yt(o),d=1<<u;i[u]=-1,o&=~d}n!==0&&we(e,n,t)}function _o(){return(xe&6)===0?(el(0),!1):!0}function yc(){if(_e!==null){if(Ue===0)var e=_e.return;else e=_e,Ln=Qa=null,ku(e),Ir=null,Ui=0,e=_e;for(;e!==null;)Ym(e.alternate,e),e=e.return;_e=null}}function Zr(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,VS(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Vn=0,yc(),Fe=e,_e=n=kn(e.current,null),Ce=t,Ue=0,Pt=null,fa=!1,$r=F(e,t),cc=!1,Qr=Gt=fc=ar=da=tt=0,Ut=Ki=null,dc=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var o=31-yt(i),u=1<<o;t|=e[o],i&=~u}return Fn=t,ql(),n}function yh(e,t){de=null,R.H=Fi,t===jr||t===Xl?(t=kp(),Ue=3):t===Su?(t=kp(),Ue=4):Ue=t===Qu?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Pt=t,_e===null&&(tt=1,uo(e,Xt(t,e.current)))}function gh(){var e=It.current;return e===null?!0:(Ce&4194048)===Ce?Jt===null:(Ce&62914560)===Ce||(Ce&536870912)!==0?e===Jt:!1}function vh(){var e=R.H;return R.H=Fi,e===null?Fi:e}function bh(){var e=R.A;return R.A=CS,e}function Eo(){tt=4,fa||(Ce&4194048)!==Ce&&It.current!==null||($r=!0),(da&134217727)===0&&(ar&134217727)===0||Fe===null||ha(Fe,Ce,Gt,!1)}function gc(e,t,n){var i=xe;xe|=2;var o=vh(),u=bh();(Fe!==e||Ce!==t)&&(So=null,Zr(e,t)),t=!1;var d=tt;e:do try{if(Ue!==0&&_e!==null){var m=_e,v=Pt;switch(Ue){case 8:yc(),d=6;break e;case 3:case 2:case 9:case 6:It.current===null&&(t=!0);var w=Ue;if(Ue=0,Pt=null,Wr(e,m,v,w),n&&$r){d=0;break e}break;default:w=Ue,Ue=0,Pt=null,Wr(e,m,v,w)}}MS(),d=tt;break}catch(x){yh(e,x)}while(!0);return t&&e.shellSuspendCounter++,Ln=Qa=null,xe=i,R.H=o,R.A=u,_e===null&&(Fe=null,Ce=0,ql()),d}function MS(){for(;_e!==null;)Sh(_e)}function wS(e,t){var n=xe;xe|=2;var i=vh(),o=bh();Fe!==e||Ce!==t?(So=null,bo=At()+500,Zr(e,t)):$r=F(e,t);e:do try{if(Ue!==0&&_e!==null){t=_e;var u=Pt;t:switch(Ue){case 1:Ue=0,Pt=null,Wr(e,t,u,1);break;case 2:case 9:if(Dp(u)){Ue=0,Pt=null,_h(t);break}t=function(){Ue!==2&&Ue!==9||Fe!==e||(Ue=7),Cn(e)},u.then(t,t);break e;case 3:Ue=7;break e;case 4:Ue=5;break e;case 7:Dp(u)?(Ue=0,Pt=null,_h(t)):(Ue=0,Pt=null,Wr(e,t,u,7));break;case 5:var d=null;switch(_e.tag){case 26:d=_e.memoizedState;case 5:case 27:var m=_e;if(d?ly(d):m.stateNode.complete){Ue=0,Pt=null;var v=m.sibling;if(v!==null)_e=v;else{var w=m.return;w!==null?(_e=w,Co(w)):_e=null}break t}}Ue=0,Pt=null,Wr(e,t,u,5);break;case 6:Ue=0,Pt=null,Wr(e,t,u,6);break;case 8:yc(),tt=6;break e;default:throw Error(s(462))}}OS();break}catch(x){yh(e,x)}while(!0);return Ln=Qa=null,R.H=i,R.A=o,xe=n,_e!==null?0:(Fe=null,Ce=0,ql(),tt)}function OS(){for(;_e!==null&&!Ml();)Sh(_e)}function Sh(e){var t=Fm(e.alternate,e,Fn);e.memoizedProps=e.pendingProps,t===null?Co(e):_e=t}function _h(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Bm(n,t,t.pendingProps,t.type,void 0,Ce);break;case 11:t=Bm(n,t,t.pendingProps,t.type.render,t.ref,Ce);break;case 5:ku(t);default:Ym(n,t),t=_e=bp(t,Fn),t=Fm(n,t,Fn)}e.memoizedProps=e.pendingProps,t===null?Co(e):_e=t}function Wr(e,t,n,i){Ln=Qa=null,ku(t),Ir=null,Ui=0;var o=t.return;try{if(yS(e,o,t,n,Ce)){tt=1,uo(e,Xt(n,e.current)),_e=null;return}}catch(u){if(o!==null)throw _e=o,u;tt=1,uo(e,Xt(n,e.current)),_e=null;return}t.flags&32768?(Me||i===1?e=!0:$r||(Ce&536870912)!==0?e=!1:(fa=e=!0,(i===2||i===9||i===3||i===6)&&(i=It.current,i!==null&&i.tag===13&&(i.flags|=16384))),Eh(t,e)):Co(t)}function Co(e){var t=e;do{if((t.flags&32768)!==0){Eh(t,fa);return}e=t.return;var n=bS(t.alternate,t,Fn);if(n!==null){_e=n;return}if(t=t.sibling,t!==null){_e=t;return}_e=t=e}while(t!==null);tt===0&&(tt=5)}function Eh(e,t){do{var n=SS(e.alternate,e);if(n!==null){n.flags&=32767,_e=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){_e=e;return}_e=e=n}while(e!==null);tt=6,_e=null}function Ch(e,t,n,i,o,u,d,m,v){e.cancelPendingCommit=null;do Ao();while(ft!==0);if((xe&6)!==0)throw Error(s(327));if(t!==null){if(t===e.current)throw Error(s(177));if(u=t.lanes|t.childLanes,u|=iu,Le(e,n,u,d,m,v),e===Fe&&(_e=Fe=null,Ce=0),Xr=t,ma=e,Vn=n,pc=u,mc=o,dh=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,kS(yr,function(){return Oh(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=R.T,R.T=null,o=B.p,B.p=2,d=xe,xe|=4;try{_S(e,t,n)}finally{xe=d,B.p=o,R.T=i}}ft=1,Ah(),Th(),Mh()}}function Ah(){if(ft===1){ft=0;var e=ma,t=Xr,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=R.T,R.T=null;var i=B.p;B.p=2;var o=xe;xe|=4;try{rh(t,e);var u=Rc,d=cp(e.containerInfo),m=u.focusedElem,v=u.selectionRange;if(d!==m&&m&&m.ownerDocument&&up(m.ownerDocument.documentElement,m)){if(v!==null&&eu(m)){var w=v.start,x=v.end;if(x===void 0&&(x=w),"selectionStart"in m)m.selectionStart=w,m.selectionEnd=Math.min(x,m.value.length);else{var H=m.ownerDocument||document,O=H&&H.defaultView||window;if(O.getSelection){var D=O.getSelection(),$=m.textContent.length,re=Math.min(v.start,$),Ie=v.end===void 0?re:Math.min(v.end,$);!D.extend&&re>Ie&&(d=Ie,Ie=re,re=d);var C=sp(m,re),S=sp(m,Ie);if(C&&S&&(D.rangeCount!==1||D.anchorNode!==C.node||D.anchorOffset!==C.offset||D.focusNode!==S.node||D.focusOffset!==S.offset)){var M=H.createRange();M.setStart(C.node,C.offset),D.removeAllRanges(),re>Ie?(D.addRange(M),D.extend(S.node,S.offset)):(M.setEnd(S.node,S.offset),D.addRange(M))}}}}for(H=[],D=m;D=D.parentNode;)D.nodeType===1&&H.push({element:D,left:D.scrollLeft,top:D.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<H.length;m++){var N=H[m];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}Uo=!!Oc,Rc=Oc=null}finally{xe=o,B.p=i,R.T=n}}e.current=t,ft=2}}function Th(){if(ft===2){ft=0;var e=ma,t=Xr,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=R.T,R.T=null;var i=B.p;B.p=2;var o=xe;xe|=4;try{Jm(e,t.alternate,t)}finally{xe=o,B.p=i,R.T=n}}ft=3}}function Mh(){if(ft===4||ft===3){ft=0,wl();var e=ma,t=Xr,n=Vn,i=dh;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ft=5:(ft=0,Xr=ma=null,wh(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(pa=null),Mt(n),t=t.stateNode,pt&&typeof pt.onCommitFiberRoot=="function")try{pt.onCommitFiberRoot(Ia,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=R.T,o=B.p,B.p=2,R.T=null;try{for(var u=e.onRecoverableError,d=0;d<i.length;d++){var m=i[d];u(m.value,{componentStack:m.stack})}}finally{R.T=t,B.p=o}}(Vn&3)!==0&&Ao(),Cn(e),o=e.pendingLanes,(n&261930)!==0&&(o&42)!==0?e===hc?Ji++:(Ji=0,hc=e):Ji=0,el(0)}}function wh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Li(t)))}function Ao(){return Ah(),Th(),Mh(),Oh()}function Oh(){if(ft!==5)return!1;var e=ma,t=pc;pc=0;var n=Mt(Vn),i=R.T,o=B.p;try{B.p=32>n?32:n,R.T=null,n=mc,mc=null;var u=ma,d=Vn;if(ft=0,Xr=ma=null,Vn=0,(xe&6)!==0)throw Error(s(331));var m=xe;if(xe|=4,uh(u.current),lh(u,u.current,d,n),xe=m,el(0,!1),pt&&typeof pt.onPostCommitFiberRoot=="function")try{pt.onPostCommitFiberRoot(Ia,u)}catch{}return!0}finally{B.p=o,R.T=i,wh(e,t)}}function Rh(e,t,n){t=Xt(n,t),t=$u(e.stateNode,t,2),e=oa(e,t,2),e!==null&&(Te(e,2),Cn(e))}function ze(e,t,n){if(e.tag===3)Rh(e,e,n);else for(;t!==null;){if(t.tag===3){Rh(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(pa===null||!pa.has(i))){e=Xt(n,e),n=Dm(2),i=oa(t,n,2),i!==null&&(xm(n,i,t,e),Te(i,2),Cn(i));break}}t=t.return}}function vc(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new AS;var o=new Set;i.set(t,o)}else o=i.get(t),o===void 0&&(o=new Set,i.set(t,o));o.has(n)||(cc=!0,o.add(n),e=RS.bind(null,e,t,n),t.then(e,e))}function RS(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Fe===e&&(Ce&n)===n&&(tt===4||tt===3&&(Ce&62914560)===Ce&&300>At()-vo?(xe&2)===0&&Zr(e,0):fc|=n,Qr===Ce&&(Qr=0)),Cn(e)}function Dh(e,t){t===0&&(t=W()),e=Va(e,t),e!==null&&(Te(e,t),Cn(e))}function DS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Dh(e,n)}function xS(e,t){var n=0;switch(e.tag){case 31:case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(s(314))}i!==null&&i.delete(t),Dh(e,n)}function kS(e,t){return yn(e,t)}var To=null,Kr=null,bc=!1,Mo=!1,Sc=!1,ya=0;function Cn(e){e!==Kr&&e.next===null&&(Kr===null?To=Kr=e:Kr=Kr.next=e),Mo=!0,bc||(bc=!0,LS())}function el(e,t){if(!Sc&&Mo){Sc=!0;do for(var n=!1,i=To;i!==null;){if(e!==0){var o=i.pendingLanes;if(o===0)var u=0;else{var d=i.suspendedLanes,m=i.pingedLanes;u=(1<<31-yt(42|e)+1)-1,u&=o&~(d&~m),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(n=!0,Lh(i,u))}else u=Ce,u=I(i,i===Fe?u:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(u&3)===0||F(i,u)||(n=!0,Lh(i,u));i=i.next}while(n);Sc=!1}}function NS(){xh()}function xh(){Mo=bc=!1;var e=0;ya!==0&&FS()&&(e=ya);for(var t=At(),n=null,i=To;i!==null;){var o=i.next,u=kh(i,t);u===0?(i.next=null,n===null?To=o:n.next=o,o===null&&(Kr=n)):(n=i,(e!==0||(u&3)!==0)&&(Mo=!0)),i=o}ft!==0&&ft!==5||el(e),ya!==0&&(ya=0)}function kh(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var d=31-yt(u),m=1<<d,v=o[d];v===-1?((m&n)===0||(m&i)!==0)&&(o[d]=V(m,t)):v<=t&&(e.expiredLanes|=m),u&=~m}if(t=Fe,n=Ce,n=I(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,n===0||e===t&&(Ue===2||Ue===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&gn(i),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||F(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(i!==null&&gn(i),Mt(n)){case 2:case 8:n=hr;break;case 32:n=yr;break;case 268435456:n=gr;break;default:n=yr}return i=Nh.bind(null,e),n=yn(n,i),e.callbackPriority=t,e.callbackNode=n,t}return i!==null&&i!==null&&gn(i),e.callbackPriority=2,e.callbackNode=null,2}function Nh(e,t){if(ft!==0&&ft!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Ao()&&e.callbackNode!==n)return null;var i=Ce;return i=I(e,e===Fe?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(mh(e,i,t),kh(e,At()),e.callbackNode!=null&&e.callbackNode===n?Nh.bind(null,e):null)}function Lh(e,t){if(Ao())return null;mh(e,t,!0)}function LS(){YS(function(){(xe&6)!==0?yn(vi,NS):xh()})}function _c(){if(ya===0){var e=zr;e===0&&(e=vr,vr<<=1,(vr&261888)===0&&(vr=256)),ya=e}return ya}function Hh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Nl(""+e)}function Uh(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function HS(e,t,n,i,o){if(t==="submit"&&n&&n.stateNode===o){var u=Hh((o[xt]||null).action),d=i.submitter;d&&(t=(t=d[xt]||null)?Hh(t.formAction):d.getAttribute("formAction"),t!==null&&(u=t,d=null));var m=new zl("action","action",null,i,o);e.push({event:m,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(ya!==0){var v=d?Uh(o,d):new FormData(o);qu(n,{pending:!0,data:v,method:o.method,action:u},null,v)}}else typeof u=="function"&&(m.preventDefault(),v=d?Uh(o,d):new FormData(o),qu(n,{pending:!0,data:v,method:o.method,action:u},u,v))},currentTarget:o}]})}}for(var Ec=0;Ec<ru.length;Ec++){var Cc=ru[Ec],US=Cc.toLowerCase(),zS=Cc[0].toUpperCase()+Cc.slice(1);cn(US,"on"+zS)}cn(pp,"onAnimationEnd"),cn(mp,"onAnimationIteration"),cn(hp,"onAnimationStart"),cn("dblclick","onDoubleClick"),cn("focusin","onFocus"),cn("focusout","onBlur"),cn(Jb,"onTransitionRun"),cn(eS,"onTransitionStart"),cn(tS,"onTransitionCancel"),cn(yp,"onTransitionEnd"),Cr("onMouseEnter",["mouseout","mouseover"]),Cr("onMouseLeave",["mouseout","mouseover"]),Cr("onPointerEnter",["pointerout","pointerover"]),Cr("onPointerLeave",["pointerout","pointerover"]),qa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),qa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),qa("onBeforeInput",["compositionend","keypress","textInput","paste"]),qa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),qa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),qa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var tl="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(" "),BS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(tl));function zh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var i=e[n],o=i.event;i=i.listeners;e:{var u=void 0;if(t)for(var d=i.length-1;0<=d;d--){var m=i[d],v=m.instance,w=m.currentTarget;if(m=m.listener,v!==u&&o.isPropagationStopped())break e;u=m,o.currentTarget=w;try{u(o)}catch(x){Il(x)}o.currentTarget=null,u=v}else for(d=0;d<i.length;d++){if(m=i[d],v=m.instance,w=m.currentTarget,m=m.listener,v!==u&&o.isPropagationStopped())break e;u=m,o.currentTarget=w;try{u(o)}catch(x){Il(x)}o.currentTarget=null,u=v}}}}function Ee(e,t){var n=t[Us];n===void 0&&(n=t[Us]=new Set);var i=e+"__bubble";n.has(i)||(Bh(t,e,2,!1),n.add(i))}function Ac(e,t,n){var i=0;t&&(i|=4),Bh(n,e,i,t)}var wo="_reactListening"+Math.random().toString(36).slice(2);function Tc(e){if(!e[wo]){e[wo]=!0,xd.forEach(function(n){n!=="selectionchange"&&(BS.has(n)||Ac(n,!1,e),Ac(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[wo]||(t[wo]=!0,Ac("selectionchange",!1,t))}}function Bh(e,t,n,i){switch(py(t)){case 2:var o=d_;break;case 8:o=p_;break;default:o=Ic}n=o.bind(null,t,n,e),o=void 0,!Vs||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),i?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Mc(e,t,n,i,o){var u=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var d=i.tag;if(d===3||d===4){var m=i.stateNode.containerInfo;if(m===o)break;if(d===4)for(d=i.return;d!==null;){var v=d.tag;if((v===3||v===4)&&d.stateNode.containerInfo===o)return;d=d.return}for(;m!==null;){if(d=Sr(m),d===null)return;if(v=d.tag,v===5||v===6||v===26||v===27){i=u=d;continue e}m=m.parentNode}}i=i.return}Gd(function(){var w=u,x=Gs(n),H=[];e:{var O=gp.get(e);if(O!==void 0){var D=zl,$=e;switch(e){case"keypress":if(Hl(n)===0)break e;case"keydown":case"keyup":D=xb;break;case"focusin":$="focus",D=Xs;break;case"focusout":$="blur",D=Xs;break;case"beforeblur":case"afterblur":D=Xs;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":D=Yd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":D=bb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":D=Lb;break;case pp:case mp:case hp:D=Eb;break;case yp:D=Ub;break;case"scroll":case"scrollend":D=gb;break;case"wheel":D=Bb;break;case"copy":case"cut":case"paste":D=Ab;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":D=Qd;break;case"toggle":case"beforetoggle":D=Ib}var re=(t&4)!==0,Ie=!re&&(e==="scroll"||e==="scrollend"),C=re?O!==null?O+"Capture":null:O;re=[];for(var S=w,M;S!==null;){var N=S;if(M=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||M===null||C===null||(N=Ci(S,C),N!=null&&re.push(nl(S,N,M))),Ie)break;S=S.return}0<re.length&&(O=new D(O,$,null,n,x),H.push({event:O,listeners:re}))}}if((t&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",D=e==="mouseout"||e==="pointerout",O&&n!==Ps&&($=n.relatedTarget||n.fromElement)&&(Sr($)||$[br]))break e;if((D||O)&&(O=x.window===x?x:(O=x.ownerDocument)?O.defaultView||O.parentWindow:window,D?($=n.relatedTarget||n.toElement,D=w,$=$?Sr($):null,$!==null&&(Ie=f($),re=$.tag,$!==Ie||re!==5&&re!==27&&re!==6)&&($=null)):(D=null,$=w),D!==$)){if(re=Yd,N="onMouseLeave",C="onMouseEnter",S="mouse",(e==="pointerout"||e==="pointerover")&&(re=Qd,N="onPointerLeave",C="onPointerEnter",S="pointer"),Ie=D==null?O:Ei(D),M=$==null?O:Ei($),O=new re(N,S+"leave",D,n,x),O.target=Ie,O.relatedTarget=M,N=null,Sr(x)===w&&(re=new re(C,S+"enter",$,n,x),re.target=M,re.relatedTarget=Ie,N=re),Ie=N,D&&$)t:{for(re=jS,C=D,S=$,M=0,N=C;N;N=re(N))M++;N=0;for(var ne=S;ne;ne=re(ne))N++;for(;0<M-N;)C=re(C),M--;for(;0<N-M;)S=re(S),N--;for(;M--;){if(C===S||S!==null&&C===S.alternate){re=C;break t}C=re(C),S=re(S)}re=null}else re=null;D!==null&&jh(H,O,D,re,!1),$!==null&&Ie!==null&&jh(H,Ie,$,re,!0)}}e:{if(O=w?Ei(w):window,D=O.nodeName&&O.nodeName.toLowerCase(),D==="select"||D==="input"&&O.type==="file")var Oe=np;else if(ep(O))if(ap)Oe=Zb;else{Oe=Qb;var K=$b}else D=O.nodeName,!D||D.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?w&&qs(w.elementType)&&(Oe=np):Oe=Xb;if(Oe&&(Oe=Oe(e,w))){tp(H,Oe,n,x);break e}K&&K(e,O,w),e==="focusout"&&w&&O.type==="number"&&w.memoizedProps.value!=null&&Is(O,"number",O.value)}switch(K=w?Ei(w):window,e){case"focusin":(ep(K)||K.contentEditable==="true")&&(Rr=K,tu=w,xi=null);break;case"focusout":xi=tu=Rr=null;break;case"mousedown":nu=!0;break;case"contextmenu":case"mouseup":case"dragend":nu=!1,fp(H,n,x);break;case"selectionchange":if(Kb)break;case"keydown":case"keyup":fp(H,n,x)}var me;if(Ws)e:{switch(e){case"compositionstart":var Ae="onCompositionStart";break e;case"compositionend":Ae="onCompositionEnd";break e;case"compositionupdate":Ae="onCompositionUpdate";break e}Ae=void 0}else Or?Kd(e,n)&&(Ae="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Ae="onCompositionStart");Ae&&(Xd&&n.locale!=="ko"&&(Or||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&Or&&(me=Fd()):(ea=x,Ys="value"in ea?ea.value:ea.textContent,Or=!0)),K=Oo(w,Ae),0<K.length&&(Ae=new $d(Ae,e,null,n,x),H.push({event:Ae,listeners:K}),me?Ae.data=me:(me=Jd(n),me!==null&&(Ae.data=me)))),(me=Pb?Gb(e,n):Fb(e,n))&&(Ae=Oo(w,"onBeforeInput"),0<Ae.length&&(K=new $d("onBeforeInput","beforeinput",null,n,x),H.push({event:K,listeners:Ae}),K.data=me)),HS(H,e,w,n,x)}zh(H,t)})}function nl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Oo(e,t){for(var n=t+"Capture",i=[];e!==null;){var o=e,u=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||u===null||(o=Ci(e,n),o!=null&&i.unshift(nl(e,o,u)),o=Ci(e,t),o!=null&&i.push(nl(e,o,u))),e.tag===3)return i;e=e.return}return[]}function jS(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function jh(e,t,n,i,o){for(var u=t._reactName,d=[];n!==null&&n!==i;){var m=n,v=m.alternate,w=m.stateNode;if(m=m.tag,v!==null&&v===i)break;m!==5&&m!==26&&m!==27||w===null||(v=w,o?(w=Ci(n,u),w!=null&&d.unshift(nl(n,w,v))):o||(w=Ci(n,u),w!=null&&d.push(nl(n,w,v)))),n=n.return}d.length!==0&&e.push({event:t,listeners:d})}var IS=/\r\n?/g,qS=/\u0000|\uFFFD/g;function Ih(e){return(typeof e=="string"?e:""+e).replace(IS,`
50
- `).replace(qS,"")}function qh(e,t){return t=Ih(t),Ih(e)===t}function je(e,t,n,i,o,u){switch(n){case"children":typeof i=="string"?t==="body"||t==="textarea"&&i===""||Tr(e,i):(typeof i=="number"||typeof i=="bigint")&&t!=="body"&&Tr(e,""+i);break;case"className":xl(e,"class",i);break;case"tabIndex":xl(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":xl(e,n,i);break;case"style":qd(e,i,u);break;case"data":if(t!=="object"){xl(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=Nl(""+i),e.setAttribute(n,i);break;case"action":case"formAction":if(typeof i=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(n==="formAction"?(t!=="input"&&je(e,t,"name",o.name,o,null),je(e,t,"formEncType",o.formEncType,o,null),je(e,t,"formMethod",o.formMethod,o,null),je(e,t,"formTarget",o.formTarget,o,null)):(je(e,t,"encType",o.encType,o,null),je(e,t,"method",o.method,o,null),je(e,t,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=Nl(""+i),e.setAttribute(n,i);break;case"onClick":i!=null&&(e.onclick=Dn);break;case"onScroll":i!=null&&Ee("scroll",e);break;case"onScrollEnd":i!=null&&Ee("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(s(61));if(n=i.__html,n!=null){if(o.children!=null)throw Error(s(60));e.innerHTML=n}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}n=Nl(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,""+i):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":i===!0?e.setAttribute(n,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,i):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(n,i):e.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(n):e.setAttribute(n,i);break;case"popover":Ee("beforetoggle",e),Ee("toggle",e),Dl(e,"popover",i);break;case"xlinkActuate":Rn(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":Rn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":Rn(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":Rn(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":Rn(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":Rn(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":Rn(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":Rn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":Rn(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Dl(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=hb.get(n)||n,Dl(e,n,i))}}function wc(e,t,n,i,o,u){switch(n){case"style":qd(e,i,u);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(s(61));if(n=i.__html,n!=null){if(o.children!=null)throw Error(s(60));e.innerHTML=n}}break;case"children":typeof i=="string"?Tr(e,i):(typeof i=="number"||typeof i=="bigint")&&Tr(e,""+i);break;case"onScroll":i!=null&&Ee("scroll",e);break;case"onScrollEnd":i!=null&&Ee("scrollend",e);break;case"onClick":i!=null&&(e.onclick=Dn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!kd.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),u=e[xt]||null,u=u!=null?u[n]:null,typeof u=="function"&&e.removeEventListener(t,u,o),typeof i=="function")){typeof u!="function"&&u!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,i,o);break e}n in e?e[n]=i:i===!0?e.setAttribute(n,""):Dl(e,n,i)}}}function _t(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ee("error",e),Ee("load",e);var i=!1,o=!1,u;for(u in n)if(n.hasOwnProperty(u)){var d=n[u];if(d!=null)switch(u){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:je(e,t,u,d,n,null)}}o&&je(e,t,"srcSet",n.srcSet,n,null),i&&je(e,t,"src",n.src,n,null);return;case"input":Ee("invalid",e);var m=u=d=o=null,v=null,w=null;for(i in n)if(n.hasOwnProperty(i)){var x=n[i];if(x!=null)switch(i){case"name":o=x;break;case"type":d=x;break;case"checked":v=x;break;case"defaultChecked":w=x;break;case"value":u=x;break;case"defaultValue":m=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(s(137,t));break;default:je(e,t,i,x,n,null)}}zd(e,u,m,v,w,d,o,!1);return;case"select":Ee("invalid",e),i=d=u=null;for(o in n)if(n.hasOwnProperty(o)&&(m=n[o],m!=null))switch(o){case"value":u=m;break;case"defaultValue":d=m;break;case"multiple":i=m;default:je(e,t,o,m,n,null)}t=u,n=d,e.multiple=!!i,t!=null?Ar(e,!!i,t,!1):n!=null&&Ar(e,!!i,n,!0);return;case"textarea":Ee("invalid",e),u=o=i=null;for(d in n)if(n.hasOwnProperty(d)&&(m=n[d],m!=null))switch(d){case"value":i=m;break;case"defaultValue":o=m;break;case"children":u=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(s(91));break;default:je(e,t,d,m,n,null)}jd(e,i,o,u);return;case"option":for(v in n)if(n.hasOwnProperty(v)&&(i=n[v],i!=null))switch(v){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:je(e,t,v,i,n,null)}return;case"dialog":Ee("beforetoggle",e),Ee("toggle",e),Ee("cancel",e),Ee("close",e);break;case"iframe":case"object":Ee("load",e);break;case"video":case"audio":for(i=0;i<tl.length;i++)Ee(tl[i],e);break;case"image":Ee("error",e),Ee("load",e);break;case"details":Ee("toggle",e);break;case"embed":case"source":case"link":Ee("error",e),Ee("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(w in n)if(n.hasOwnProperty(w)&&(i=n[w],i!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:je(e,t,w,i,n,null)}return;default:if(qs(t)){for(x in n)n.hasOwnProperty(x)&&(i=n[x],i!==void 0&&wc(e,t,x,i,n,void 0));return}}for(m in n)n.hasOwnProperty(m)&&(i=n[m],i!=null&&je(e,t,m,i,n,null))}function PS(e,t,n,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,u=null,d=null,m=null,v=null,w=null,x=null;for(D in n){var H=n[D];if(n.hasOwnProperty(D)&&H!=null)switch(D){case"checked":break;case"value":break;case"defaultValue":v=H;default:i.hasOwnProperty(D)||je(e,t,D,null,i,H)}}for(var O in i){var D=i[O];if(H=n[O],i.hasOwnProperty(O)&&(D!=null||H!=null))switch(O){case"type":u=D;break;case"name":o=D;break;case"checked":w=D;break;case"defaultChecked":x=D;break;case"value":d=D;break;case"defaultValue":m=D;break;case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(s(137,t));break;default:D!==H&&je(e,t,O,D,i,H)}}js(e,d,m,v,w,x,u,o);return;case"select":D=d=m=O=null;for(u in n)if(v=n[u],n.hasOwnProperty(u)&&v!=null)switch(u){case"value":break;case"multiple":D=v;default:i.hasOwnProperty(u)||je(e,t,u,null,i,v)}for(o in i)if(u=i[o],v=n[o],i.hasOwnProperty(o)&&(u!=null||v!=null))switch(o){case"value":O=u;break;case"defaultValue":m=u;break;case"multiple":d=u;default:u!==v&&je(e,t,o,u,i,v)}t=m,n=d,i=D,O!=null?Ar(e,!!n,O,!1):!!i!=!!n&&(t!=null?Ar(e,!!n,t,!0):Ar(e,!!n,n?[]:"",!1));return;case"textarea":D=O=null;for(m in n)if(o=n[m],n.hasOwnProperty(m)&&o!=null&&!i.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:je(e,t,m,null,i,o)}for(d in i)if(o=i[d],u=n[d],i.hasOwnProperty(d)&&(o!=null||u!=null))switch(d){case"value":O=o;break;case"defaultValue":D=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(s(91));break;default:o!==u&&je(e,t,d,o,i,u)}Bd(e,O,D);return;case"option":for(var $ in n)if(O=n[$],n.hasOwnProperty($)&&O!=null&&!i.hasOwnProperty($))switch($){case"selected":e.selected=!1;break;default:je(e,t,$,null,i,O)}for(v in i)if(O=i[v],D=n[v],i.hasOwnProperty(v)&&O!==D&&(O!=null||D!=null))switch(v){case"selected":e.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:je(e,t,v,O,i,D)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var re in n)O=n[re],n.hasOwnProperty(re)&&O!=null&&!i.hasOwnProperty(re)&&je(e,t,re,null,i,O);for(w in i)if(O=i[w],D=n[w],i.hasOwnProperty(w)&&O!==D&&(O!=null||D!=null))switch(w){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(s(137,t));break;default:je(e,t,w,O,i,D)}return;default:if(qs(t)){for(var Ie in n)O=n[Ie],n.hasOwnProperty(Ie)&&O!==void 0&&!i.hasOwnProperty(Ie)&&wc(e,t,Ie,void 0,i,O);for(x in i)O=i[x],D=n[x],!i.hasOwnProperty(x)||O===D||O===void 0&&D===void 0||wc(e,t,x,O,i,D);return}}for(var C in n)O=n[C],n.hasOwnProperty(C)&&O!=null&&!i.hasOwnProperty(C)&&je(e,t,C,null,i,O);for(H in i)O=i[H],D=n[H],!i.hasOwnProperty(H)||O===D||O==null&&D==null||je(e,t,H,O,i,D)}function Ph(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function GS(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),i=0;i<n.length;i++){var o=n[i],u=o.transferSize,d=o.initiatorType,m=o.duration;if(u&&m&&Ph(d)){for(d=0,m=o.responseEnd,i+=1;i<n.length;i++){var v=n[i],w=v.startTime;if(w>m)break;var x=v.transferSize,H=v.initiatorType;x&&Ph(H)&&(v=v.responseEnd,d+=x*(v<m?1:(m-w)/(v-w)))}if(--i,t+=8*(u+d)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Oc=null,Rc=null;function Ro(e){return e.nodeType===9?e:e.ownerDocument}function Gh(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Fh(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Dc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var xc=null;function FS(){var e=window.event;return e&&e.type==="popstate"?e===xc?!1:(xc=e,!0):(xc=null,!1)}var Vh=typeof setTimeout=="function"?setTimeout:void 0,VS=typeof clearTimeout=="function"?clearTimeout:void 0,Yh=typeof Promise=="function"?Promise:void 0,YS=typeof queueMicrotask=="function"?queueMicrotask:typeof Yh<"u"?function(e){return Yh.resolve(null).then(e).catch($S)}:Vh;function $S(e){setTimeout(function(){throw e})}function ga(e){return e==="head"}function $h(e,t){var n=t,i=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"||n==="/&"){if(i===0){e.removeChild(o),ni(t);return}i--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")i++;else if(n==="html")al(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,al(n);for(var u=n.firstChild;u;){var d=u.nextSibling,m=u.nodeName;u[_i]||m==="SCRIPT"||m==="STYLE"||m==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=d}}else n==="body"&&al(e.ownerDocument.body);n=o}while(n);ni(t)}function Qh(e,t){var n=e;e=0;do{var i=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=i}while(n)}function kc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":kc(n),zs(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function QS(e,t,n,i){for(;e.nodeType===1;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[_i])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=en(e.nextSibling),e===null)break}return null}function XS(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=en(e.nextSibling),e===null))return null;return e}function Xh(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=en(e.nextSibling),e===null))return null;return e}function Nc(e){return e.data==="$?"||e.data==="$~"}function Lc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function ZS(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var i=function(){t(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function en(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==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Hc=null;function Zh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return en(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function Wh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function Kh(e,t,n){switch(t=Ro(n),e){case"html":if(e=t.documentElement,!e)throw Error(s(452));return e;case"head":if(e=t.head,!e)throw Error(s(453));return e;case"body":if(e=t.body,!e)throw Error(s(454));return e;default:throw Error(s(451))}}function al(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);zs(e)}var tn=new Map,Jh=new Set;function Do(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Yn=B.d;B.d={f:WS,r:KS,D:JS,C:e_,L:t_,m:n_,X:r_,S:a_,M:i_};function WS(){var e=Yn.f(),t=_o();return e||t}function KS(e){var t=_r(e);t!==null&&t.tag===5&&t.type==="form"?ym(t):Yn.r(e)}var Jr=typeof document>"u"?null:document;function ey(e,t,n){var i=Jr;if(i&&typeof t=="string"&&t){var o=$t(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof n=="string"&&(o+='[crossorigin="'+n+'"]'),Jh.has(o)||(Jh.add(o),e={rel:e,crossOrigin:n,href:t},i.querySelector(o)===null&&(t=i.createElement("link"),_t(t,"link",e),mt(t),i.head.appendChild(t)))}}function JS(e){Yn.D(e),ey("dns-prefetch",e,null)}function e_(e,t){Yn.C(e,t),ey("preconnect",e,t)}function t_(e,t,n){Yn.L(e,t,n);var i=Jr;if(i&&e&&t){var o='link[rel="preload"][as="'+$t(t)+'"]';t==="image"&&n&&n.imageSrcSet?(o+='[imagesrcset="'+$t(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(o+='[imagesizes="'+$t(n.imageSizes)+'"]')):o+='[href="'+$t(e)+'"]';var u=o;switch(t){case"style":u=ei(e);break;case"script":u=ti(e)}tn.has(u)||(e=_({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),tn.set(u,e),i.querySelector(o)!==null||t==="style"&&i.querySelector(rl(u))||t==="script"&&i.querySelector(il(u))||(t=i.createElement("link"),_t(t,"link",e),mt(t),i.head.appendChild(t)))}}function n_(e,t){Yn.m(e,t);var n=Jr;if(n&&e){var i=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+$t(i)+'"][href="'+$t(e)+'"]',u=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=ti(e)}if(!tn.has(u)&&(e=_({rel:"modulepreload",href:e},t),tn.set(u,e),n.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(il(u)))return}i=n.createElement("link"),_t(i,"link",e),mt(i),n.head.appendChild(i)}}}function a_(e,t,n){Yn.S(e,t,n);var i=Jr;if(i&&e){var o=Er(i).hoistableStyles,u=ei(e);t=t||"default";var d=o.get(u);if(!d){var m={loading:0,preload:null};if(d=i.querySelector(rl(u)))m.loading=5;else{e=_({rel:"stylesheet",href:e,"data-precedence":t},n),(n=tn.get(u))&&Uc(e,n);var v=d=i.createElement("link");mt(v),_t(v,"link",e),v._p=new Promise(function(w,x){v.onload=w,v.onerror=x}),v.addEventListener("load",function(){m.loading|=1}),v.addEventListener("error",function(){m.loading|=2}),m.loading|=4,xo(d,t,i)}d={type:"stylesheet",instance:d,count:1,state:m},o.set(u,d)}}}function r_(e,t){Yn.X(e,t);var n=Jr;if(n&&e){var i=Er(n).hoistableScripts,o=ti(e),u=i.get(o);u||(u=n.querySelector(il(o)),u||(e=_({src:e,async:!0},t),(t=tn.get(o))&&zc(e,t),u=n.createElement("script"),mt(u),_t(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},i.set(o,u))}}function i_(e,t){Yn.M(e,t);var n=Jr;if(n&&e){var i=Er(n).hoistableScripts,o=ti(e),u=i.get(o);u||(u=n.querySelector(il(o)),u||(e=_({src:e,async:!0,type:"module"},t),(t=tn.get(o))&&zc(e,t),u=n.createElement("script"),mt(u),_t(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},i.set(o,u))}}function ty(e,t,n,i){var o=(o=se.current)?Do(o):null;if(!o)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=ei(n.href),n=Er(o).hoistableStyles,i=n.get(t),i||(i={type:"style",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=ei(n.href);var u=Er(o).hoistableStyles,d=u.get(e);if(d||(o=o.ownerDocument||o,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,d),(u=o.querySelector(rl(e)))&&!u._p&&(d.instance=u,d.state.loading=5),tn.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},tn.set(e,n),u||l_(o,e,n,d.state))),t&&i===null)throw Error(s(528,""));return d}if(t&&i!==null)throw Error(s(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ti(n),n=Er(o).hoistableScripts,i=n.get(t),i||(i={type:"script",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function ei(e){return'href="'+$t(e)+'"'}function rl(e){return'link[rel="stylesheet"]['+e+"]"}function ny(e){return _({},e,{"data-precedence":e.precedence,precedence:null})}function l_(e,t,n,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=1:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2}),_t(t,"link",n),mt(t),e.head.appendChild(t))}function ti(e){return'[src="'+$t(e)+'"]'}function il(e){return"script[async]"+e}function ay(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+$t(n.href)+'"]');if(i)return t.instance=i,mt(i),i;var o=_({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),mt(i),_t(i,"style",o),xo(i,n.precedence,e),t.instance=i;case"stylesheet":o=ei(n.href);var u=e.querySelector(rl(o));if(u)return t.state.loading|=4,t.instance=u,mt(u),u;i=ny(n),(o=tn.get(o))&&Uc(i,o),u=(e.ownerDocument||e).createElement("link"),mt(u);var d=u;return d._p=new Promise(function(m,v){d.onload=m,d.onerror=v}),_t(u,"link",i),t.state.loading|=4,xo(u,n.precedence,e),t.instance=u;case"script":return u=ti(n.src),(o=e.querySelector(il(u)))?(t.instance=o,mt(o),o):(i=n,(o=tn.get(u))&&(i=_({},n),zc(i,o)),e=e.ownerDocument||e,o=e.createElement("script"),mt(o),_t(o,"link",i),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(s(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,xo(i,n.precedence,e));return t.instance}function xo(e,t,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=i.length?i[i.length-1]:null,u=o,d=0;d<i.length;d++){var m=i[d];if(m.dataset.precedence===t)u=m;else if(u!==o)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Uc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function zc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var ko=null;function ry(e,t,n){if(ko===null){var i=new Map,o=ko=new Map;o.set(n,i)}else o=ko,i=o.get(n),i||(i=new Map,o.set(n,i));if(i.has(e))return i;for(i.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var u=n[o];if(!(u[_i]||u[gt]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var d=u.getAttribute(t)||"";d=e+d;var m=i.get(d);m?m.push(u):i.set(d,[u])}}return i}function iy(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function o_(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function ly(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function s_(e,t,n,i){if(n.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var o=ei(i.href),u=t.querySelector(rl(o));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=No.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=u,mt(u);return}u=t.ownerDocument||t,i=ny(i),(o=tn.get(o))&&Uc(i,o),u=u.createElement("link"),mt(u);var d=u;d._p=new Promise(function(m,v){d.onload=m,d.onerror=v}),_t(u,"link",i),n.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=No.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var Bc=0;function u_(e,t){return e.stylesheets&&e.count===0&&Ho(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var i=setTimeout(function(){if(e.stylesheets&&Ho(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&Bc===0&&(Bc=62500*GS());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ho(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>Bc?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(o)}}:null}function No(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ho(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Lo=null;function Ho(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Lo=new Map,t.forEach(c_,e),Lo=null,No.call(e))}function c_(e,t){if(!(t.state.loading&4)){var n=Lo.get(e);if(n)var i=n.get(null);else{n=new Map,Lo.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<o.length;u++){var d=o[u];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(n.set(d.dataset.precedence,d),i=d)}i&&n.set(null,i)}o=t.instance,d=o.getAttribute("data-precedence"),u=n.get(d)||i,u===i&&n.set(null,o),n.set(d,o),this.count++,i=No.bind(this),o.addEventListener("load",i),o.addEventListener("error",i),u?u.parentNode.insertBefore(o,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var ll={$$typeof:J,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function f_(e,t,n,i,o,u,d,m,v){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ue(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ue(0),this.hiddenUpdates=ue(null),this.identifierPrefix=i,this.onUncaughtError=o,this.onCaughtError=u,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=v,this.incompleteTransitions=new Map}function oy(e,t,n,i,o,u,d,m,v,w,x,H){return e=new f_(e,t,n,d,v,w,x,H,m),t=1,u===!0&&(t|=24),u=jt(3,null,null,t),e.current=u,u.stateNode=e,t=gu(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:i,isDehydrated:n,cache:t},_u(u),e}function sy(e){return e?(e=kr,e):kr}function uy(e,t,n,i,o,u){o=sy(o),i.context===null?i.context=o:i.pendingContext=o,i=la(t),i.payload={element:n},u=u===void 0?null:u,u!==null&&(i.callback=u),n=oa(e,i,t),n!==null&&(zt(n,e,t),Bi(n,e,t))}function cy(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function jc(e,t){cy(e,t),(e=e.alternate)&&cy(e,t)}function fy(e){if(e.tag===13||e.tag===31){var t=Va(e,67108864);t!==null&&zt(t,e,67108864),jc(e,67108864)}}function dy(e){if(e.tag===13||e.tag===31){var t=Ft();t=We(t);var n=Va(e,t);n!==null&&zt(n,e,t),jc(e,t)}}var Uo=!0;function d_(e,t,n,i){var o=R.T;R.T=null;var u=B.p;try{B.p=2,Ic(e,t,n,i)}finally{B.p=u,R.T=o}}function p_(e,t,n,i){var o=R.T;R.T=null;var u=B.p;try{B.p=8,Ic(e,t,n,i)}finally{B.p=u,R.T=o}}function Ic(e,t,n,i){if(Uo){var o=qc(i);if(o===null)Mc(e,t,i,zo,n),my(e,i);else if(h_(o,e,t,n,i))i.stopPropagation();else if(my(e,i),t&4&&-1<m_.indexOf(e)){for(;o!==null;){var u=_r(o);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var d=U(u.pendingLanes);if(d!==0){var m=u;for(m.pendingLanes|=2,m.entangledLanes|=2;d;){var v=1<<31-yt(d);m.entanglements[1]|=v,d&=~v}Cn(u),(xe&6)===0&&(bo=At()+500,el(0))}}break;case 31:case 13:m=Va(u,2),m!==null&&zt(m,u,2),_o(),jc(u,2)}if(u=qc(i),u===null&&Mc(e,t,i,zo,n),u===o)break;o=u}o!==null&&i.stopPropagation()}else Mc(e,t,i,null,n)}}function qc(e){return e=Gs(e),Pc(e)}var zo=null;function Pc(e){if(zo=null,e=Sr(e),e!==null){var t=f(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=p(t),e!==null)return e;e=null}else if(n===31){if(e=h(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 zo=e,null}function py(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ol()){case vi:return 2;case hr:return 8;case yr:case Ns:return 32;case gr:return 268435456;default:return 32}default:return 32}}var Gc=!1,va=null,ba=null,Sa=null,ol=new Map,sl=new Map,_a=[],m_="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".split(" ");function my(e,t){switch(e){case"focusin":case"focusout":va=null;break;case"dragenter":case"dragleave":ba=null;break;case"mouseover":case"mouseout":Sa=null;break;case"pointerover":case"pointerout":ol.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":sl.delete(t.pointerId)}}function ul(e,t,n,i,o,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:u,targetContainers:[o]},t!==null&&(t=_r(t),t!==null&&fy(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function h_(e,t,n,i,o){switch(t){case"focusin":return va=ul(va,e,t,n,i,o),!0;case"dragenter":return ba=ul(ba,e,t,n,i,o),!0;case"mouseover":return Sa=ul(Sa,e,t,n,i,o),!0;case"pointerover":var u=o.pointerId;return ol.set(u,ul(ol.get(u)||null,e,t,n,i,o)),!0;case"gotpointercapture":return u=o.pointerId,sl.set(u,ul(sl.get(u)||null,e,t,n,i,o)),!0}return!1}function hy(e){var t=Sr(e.target);if(t!==null){var n=f(t);if(n!==null){if(t=n.tag,t===13){if(t=p(n),t!==null){e.blockedOn=t,Si(e.priority,function(){dy(n)});return}}else if(t===31){if(t=h(n),t!==null){e.blockedOn=t,Si(e.priority,function(){dy(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 Bo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=qc(e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);Ps=i,n.target.dispatchEvent(i),Ps=null}else return t=_r(n),t!==null&&fy(t),e.blockedOn=n,!1;t.shift()}return!0}function yy(e,t,n){Bo(e)&&n.delete(t)}function y_(){Gc=!1,va!==null&&Bo(va)&&(va=null),ba!==null&&Bo(ba)&&(ba=null),Sa!==null&&Bo(Sa)&&(Sa=null),ol.forEach(yy),sl.forEach(yy)}function jo(e,t){e.blockedOn===t&&(e.blockedOn=null,Gc||(Gc=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,y_)))}var Io=null;function gy(e){Io!==e&&(Io=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){Io===e&&(Io=null);for(var t=0;t<e.length;t+=3){var n=e[t],i=e[t+1],o=e[t+2];if(typeof i!="function"){if(Pc(i||n)===null)continue;break}var u=_r(n);u!==null&&(e.splice(t,3),t-=3,qu(u,{pending:!0,data:o,method:n.method,action:i},i,o))}}))}function ni(e){function t(v){return jo(v,e)}va!==null&&jo(va,e),ba!==null&&jo(ba,e),Sa!==null&&jo(Sa,e),ol.forEach(t),sl.forEach(t);for(var n=0;n<_a.length;n++){var i=_a[n];i.blockedOn===e&&(i.blockedOn=null)}for(;0<_a.length&&(n=_a[0],n.blockedOn===null);)hy(n),n.blockedOn===null&&_a.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var o=n[i],u=n[i+1],d=o[xt]||null;if(typeof u=="function")d||gy(n);else if(d){var m=null;if(u&&u.hasAttribute("formAction")){if(o=u,d=u[xt]||null)m=d.formAction;else if(Pc(o)!==null)continue}else m=d.action;typeof m=="function"?n[i+1]=m:(n.splice(i,3),i-=3),gy(n)}}}function vy(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(d){return o=d})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),i||setTimeout(n,20)}function n(){if(!i&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function Fc(e){this._internalRoot=e}qo.prototype.render=Fc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));var n=t.current,i=Ft();uy(n,i,e,t,null,null)},qo.prototype.unmount=Fc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;uy(e.current,2,null,e,null,null),_o(),t[br]=null}};function qo(e){this._internalRoot=e}qo.prototype.unstable_scheduleHydration=function(e){if(e){var t=sn();e={blockedOn:null,target:e,priority:t};for(var n=0;n<_a.length&&t!==0&&t<_a[n].priority;n++);_a.splice(n,0,e),n===0&&hy(e)}};var by=r.version;if(by!=="19.2.7")throw Error(s(527,by,"19.2.7"));B.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=y(t),e=e!==null?E(e):null,e=e===null?null:e.stateNode,e};var g_={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Po=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Po.isDisabled&&Po.supportsFiber)try{Ia=Po.inject(g_),pt=Po}catch{}}return fl.createRoot=function(e,t){if(!c(e))throw Error(s(299));var n=!1,i="",o=Mm,u=wm,d=Om;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError)),t=oy(e,1,!1,null,null,n,i,null,o,u,d,vy),e[br]=t.current,Tc(e),new Fc(t)},fl.hydrateRoot=function(e,t,n){if(!c(e))throw Error(s(299));var i=!1,o="",u=Mm,d=wm,m=Om,v=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(u=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(m=n.onRecoverableError),n.formState!==void 0&&(v=n.formState)),t=oy(e,1,!0,t,n??null,i,o,v,u,d,m,vy),t.context=sy(null),n=t.current,i=Ft(),i=We(i),o=la(i),o.callback=null,oa(n,o,i),n=i,t.current.lanes=n,Te(t,n),Cn(t),e[br]=t.current,Tc(e),new qo(t)},fl.version="19.2.7",fl}var Ry;function x_(){if(Ry)return $c.exports;Ry=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(r){console.error(r)}}return a(),$c.exports=D_(),$c.exports}var k_=x_();const qe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Oa="8.55.2",ke=globalThis;function hs(a,r,l){const s=l||ke,c=s.__SENTRY__=s.__SENTRY__||{},f=c[Oa]=c[Oa]||{};return f[a]||(f[a]=r())}const ur=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,N_="Sentry Logger ",gf=["debug","info","warn","error","log","assert","trace"],ls={};function cr(a){if(!("console"in ke))return a();const r=ke.console,l={},s=Object.keys(ls);s.forEach(c=>{const f=ls[c];l[c]=r[c],r[c]=f});try{return a()}finally{s.forEach(c=>{r[c]=l[c]})}}function L_(){let a=!1;const r={enable:()=>{a=!0},disable:()=>{a=!1},isEnabled:()=>a};return ur?gf.forEach(l=>{r[l]=(...s)=>{a&&cr(()=>{ke.console[l](`${N_}[${l}]:`,...s)})}}):gf.forEach(l=>{r[l]=()=>{}}),r}const ie=hs("logger",L_),c0=50,ir="?",Dy=/\(error: (.*)\)/,xy=/captureMessage|captureException/;function f0(...a){const r=a.sort((l,s)=>l[0]-s[0]).map(l=>l[1]);return(l,s=0,c=0)=>{const f=[],p=l.split(`
51
- `);for(let h=s;h<p.length;h++){const g=p[h];if(g.length>1024)continue;const y=Dy.test(g)?g.replace(Dy,"$1"):g;if(!y.match(/\S*Error: /)){for(const E of r){const _=E(y);if(_){f.push(_);break}}if(f.length>=c0+c)break}}return U_(f.slice(c))}}function H_(a){return Array.isArray(a)?f0(...a):a}function U_(a){if(!a.length)return[];const r=Array.from(a);return/sentryWrapped/.test(Go(r).function||"")&&r.pop(),r.reverse(),xy.test(Go(r).function||"")&&(r.pop(),xy.test(Go(r).function||"")&&r.pop()),r.slice(0,c0).map(l=>({...l,filename:l.filename||Go(r).filename,function:l.function||ir}))}function Go(a){return a[a.length-1]||{}}const Wc="<anonymous>";function ka(a){try{return!a||typeof a!="function"?Wc:a.name||Wc}catch{return Wc}}function ky(a){const r=a.exception;if(r){const l=[];try{return r.values.forEach(s=>{s.stacktrace.frames&&l.push(...s.stacktrace.frames)}),l}catch{return}}}const Jo={},Ny={};function fr(a,r){Jo[a]=Jo[a]||[],Jo[a].push(r)}function dr(a,r){if(!Ny[a]){Ny[a]=!0;try{r()}catch(l){ur&&ie.error(`Error while instrumenting ${a}`,l)}}}function mn(a,r){const l=a&&Jo[a];if(l)for(const s of l)try{s(r)}catch(c){ur&&ie.error(`Error while triggering instrumentation handler.
49
+ `+i.stack}}var it=Object.prototype.hasOwnProperty,gn=a.unstable_scheduleCallback,vn=a.unstable_cancelCallback,Ml=a.unstable_shouldYield,wl=a.unstable_requestPaint,At=a.unstable_now,Ol=a.unstable_getCurrentPriorityLevel,vi=a.unstable_ImmediatePriority,hr=a.unstable_UserBlockingPriority,yr=a.unstable_NormalPriority,Ls=a.unstable_LowPriority,gr=a.unstable_IdlePriority,ja=a.log,Hs=a.unstable_setDisableYieldValue,Ia=null,pt=null;function bn(e){if(typeof ja=="function"&&Hs(e),pt&&typeof pt.setStrictMode=="function")try{pt.setStrictMode(Ia,e)}catch{}}var yt=Math.clz32?Math.clz32:bi,Rl=Math.log,Us=Math.LN2;function bi(e){return e>>>=0,e===0?32:31-(Rl(e)/Us|0)|0}var vr=256,Jn=262144,Sn=4194304;function U(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function I(e,t,n){var i=e.pendingLanes;if(i===0)return 0;var o=0,u=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var m=i&134217727;return m!==0?(i=m&~u,i!==0?o=U(i):(d&=m,d!==0?o=U(d):n||(n=m&~e,n!==0&&(o=U(n))))):(m=i&~u,m!==0?o=U(m):d!==0?o=U(d):n||(n=i&~e,n!==0&&(o=U(n)))),o===0?0:t!==0&&t!==o&&(t&u)===0&&(u=o&-o,n=t&-t,u>=n||u===32&&(n&4194048)!==0)?t:o}function F(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function V(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function W(){var e=Sn;return Sn<<=1,(Sn&62914560)===0&&(Sn=4194304),e}function ue(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Te(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Le(e,t,n,i,o,u){var d=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var m=e.entanglements,v=e.expirationTimes,w=e.hiddenUpdates;for(n=d&~n;0<n;){var x=31-yt(n),H=1<<x;m[x]=0,v[x]=-1;var O=w[x];if(O!==null)for(w[x]=null,x=0;x<O.length;x++){var D=O[x];D!==null&&(D.lane&=-536870913)}n&=~H}i!==0&&we(e,i,0),u!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=u&~(d&~t))}function we(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-yt(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|n&261930}function lt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-yt(n),o=1<<i;o&t|e[i]&t&&(e[i]|=t),n&=~o}}function Dt(e,t){var n=t&-t;return n=(n&42)!==0?1:We(n),(n&(e.suspendedLanes|t))!==0?0:n}function We(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Mt(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function sn(){var e=B.p;return e!==0?e:(e=window.event,e===void 0?32:py(e.type))}function Si(e,t){var n=B.p;try{return B.p=e,t()}finally{B.p=n}}var un=Math.random().toString(36).slice(2),gt="__reactFiber$"+un,xt="__reactProps$"+un,br="__reactContainer$"+un,zs="__reactEvents$"+un,cb="__reactListeners$"+un,fb="__reactHandles$"+un,Dd="__reactResources$"+un,_i="__reactMarker$"+un;function Bs(e){delete e[gt],delete e[xt],delete e[zs],delete e[cb],delete e[fb]}function Sr(e){var t=e[gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[br]||n[gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Wh(e);e!==null;){if(n=e[gt])return n;e=Wh(e)}return t}e=n,n=e.parentNode}return null}function _r(e){if(e=e[gt]||e[br]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ei(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(s(33))}function Er(e){var t=e[Dd];return t||(t=e[Dd]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function mt(e){e[_i]=!0}var xd=new Set,kd={};function qa(e,t){Cr(e,t),Cr(e+"Capture",t)}function Cr(e,t){for(kd[e]=t,e=0;e<t.length;e++)xd.add(t[e])}var db=RegExp("^[: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]*$"),Nd={},Ld={};function pb(e){return it.call(Ld,e)?!0:it.call(Nd,e)?!1:db.test(e)?Ld[e]=!0:(Nd[e]=!0,!1)}function Dl(e,t,n){if(pb(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function xl(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function Rn(e,t,n,i){if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+i)}}function Yt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Hd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function mb(e,t,n){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var o=i.get,u=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(d){n=""+d,u.call(this,d)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return n},setValue:function(d){n=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function js(e){if(!e._valueTracker){var t=Hd(e)?"checked":"value";e._valueTracker=mb(e,t,""+e[t])}}function Ud(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=Hd(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function kl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var hb=/[\n"\\]/g;function $t(e){return e.replace(hb,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Is(e,t,n,i,o,u,d,m){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.type=d:e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Yt(t)):e.value!==""+Yt(t)&&(e.value=""+Yt(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?qs(e,d,Yt(t)):n!=null?qs(e,d,Yt(n)):i!=null&&e.removeAttribute("value"),o==null&&u!=null&&(e.defaultChecked=!!u),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.name=""+Yt(m):e.removeAttribute("name")}function zd(e,t,n,i,o,u,d,m){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||n!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){js(e);return}n=n!=null?""+Yt(n):"",t=t!=null?""+Yt(t):n,m||t===e.value||(e.value=t),e.defaultValue=t}i=i??o,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=m?e.checked:!!i,e.defaultChecked=!!i,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d),js(e)}function qs(e,t,n){t==="number"&&kl(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Ar(e,t,n,i){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&i&&(e[n].defaultSelected=!0)}else{for(n=""+Yt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,i&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Bd(e,t,n){if(t!=null&&(t=""+Yt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Yt(n):""}function jd(e,t,n,i){if(t==null){if(i!=null){if(n!=null)throw Error(s(92));if(Ye(i)){if(1<i.length)throw Error(s(93));i=i[0]}n=i}n==null&&(n=""),t=n}n=Yt(t),e.defaultValue=n,i=e.textContent,i===n&&i!==""&&i!==null&&(e.value=i),js(e)}function Tr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var yb=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Id(e,t,n){var i=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,n):typeof n!="number"||n===0||yb.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function qd(e,t,n){if(t!=null&&typeof t!="object")throw Error(s(62));if(e=e.style,n!=null){for(var i in n)!n.hasOwnProperty(i)||t!=null&&t.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="");for(var o in t)i=t[o],t.hasOwnProperty(o)&&n[o]!==i&&Id(e,o,i)}else for(var u in t)t.hasOwnProperty(u)&&Id(e,u,t[u])}function Ps(e){if(e.indexOf("-")===-1)return!1;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 gb=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),vb=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Nl(e){return vb.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Dn(){}var Gs=null;function Fs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Mr=null,wr=null;function Pd(e){var t=_r(e);if(t&&(e=t.stateNode)){var n=e[xt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Is(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+$t(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var o=i[xt]||null;if(!o)throw Error(s(90));Is(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)i=n[t],i.form===e.form&&Ud(i)}break e;case"textarea":Bd(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Ar(e,!!n.multiple,t,!1)}}}var Vs=!1;function Gd(e,t,n){if(Vs)return e(t,n);Vs=!0;try{var i=e(t);return i}finally{if(Vs=!1,(Mr!==null||wr!==null)&&(_o(),Mr&&(t=Mr,e=wr,wr=Mr=null,Pd(t),e)))for(t=0;t<e.length;t++)Pd(e[t])}}function Ci(e,t){var n=e.stateNode;if(n===null)return null;var i=n[xt]||null;if(i===null)return null;n=i[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":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(s(231,t,typeof n));return n}var xn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ys=!1;if(xn)try{var Ai={};Object.defineProperty(Ai,"passive",{get:function(){Ys=!0}}),window.addEventListener("test",Ai,Ai),window.removeEventListener("test",Ai,Ai)}catch{Ys=!1}var ea=null,$s=null,Ll=null;function Fd(){if(Ll)return Ll;var e,t=$s,n=t.length,i,o="value"in ea?ea.value:ea.textContent,u=o.length;for(e=0;e<n&&t[e]===o[e];e++);var d=n-e;for(i=1;i<=d&&t[n-i]===o[u-i];i++);return Ll=o.slice(e,1<i?1-i:void 0)}function Hl(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 Ul(){return!0}function Vd(){return!1}function kt(e){function t(n,i,o,u,d){this._reactName=n,this._targetInst=o,this.type=i,this.nativeEvent=u,this.target=d,this.currentTarget=null;for(var m in e)e.hasOwnProperty(m)&&(n=e[m],this[m]=n?n(u):u[m]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Ul:Vd,this.isPropagationStopped=Vd,this}return _(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=Ul)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ul)},persist:function(){},isPersistent:Ul}),t}var Pa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zl=kt(Pa),Ti=_({},Pa,{view:0,detail:0}),bb=kt(Ti),Qs,Xs,Mi,Bl=_({},Ti,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ws,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!==Mi&&(Mi&&e.type==="mousemove"?(Qs=e.screenX-Mi.screenX,Xs=e.screenY-Mi.screenY):Xs=Qs=0,Mi=e),Qs)},movementY:function(e){return"movementY"in e?e.movementY:Xs}}),Yd=kt(Bl),Sb=_({},Bl,{dataTransfer:0}),_b=kt(Sb),Eb=_({},Ti,{relatedTarget:0}),Zs=kt(Eb),Cb=_({},Pa,{animationName:0,elapsedTime:0,pseudoElement:0}),Ab=kt(Cb),Tb=_({},Pa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Mb=kt(Tb),wb=_({},Pa,{data:0}),$d=kt(wb),Ob={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Rb={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"},Db={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Db[e])?!!t[e]:!1}function Ws(){return xb}var kb=_({},Ti,{key:function(e){if(e.key){var t=Ob[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Hl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Rb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ws,charCode:function(e){return e.type==="keypress"?Hl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Hl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Nb=kt(kb),Lb=_({},Bl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qd=kt(Lb),Hb=_({},Ti,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ws}),Ub=kt(Hb),zb=_({},Pa,{propertyName:0,elapsedTime:0,pseudoElement:0}),Bb=kt(zb),jb=_({},Bl,{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}),Ib=kt(jb),qb=_({},Pa,{newState:0,oldState:0}),Pb=kt(qb),Gb=[9,13,27,32],Ks=xn&&"CompositionEvent"in window,wi=null;xn&&"documentMode"in document&&(wi=document.documentMode);var Fb=xn&&"TextEvent"in window&&!wi,Xd=xn&&(!Ks||wi&&8<wi&&11>=wi),Zd=" ",Wd=!1;function Kd(e,t){switch(e){case"keyup":return Gb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Or=!1;function Vb(e,t){switch(e){case"compositionend":return Jd(t);case"keypress":return t.which!==32?null:(Wd=!0,Zd);case"textInput":return e=t.data,e===Zd&&Wd?null:e;default:return null}}function Yb(e,t){if(Or)return e==="compositionend"||!Ks&&Kd(e,t)?(e=Fd(),Ll=$s=ea=null,Or=!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 Xd&&t.locale!=="ko"?null:t.data;default:return null}}var $b={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 ep(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!$b[e.type]:t==="textarea"}function tp(e,t,n,i){Mr?wr?wr.push(i):wr=[i]:Mr=i,t=Oo(t,"onChange"),0<t.length&&(n=new zl("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var Oi=null,Ri=null;function Qb(e){zh(e,0)}function jl(e){var t=Ei(e);if(Ud(t))return e}function np(e,t){if(e==="change")return t}var ap=!1;if(xn){var Js;if(xn){var eu="oninput"in document;if(!eu){var rp=document.createElement("div");rp.setAttribute("oninput","return;"),eu=typeof rp.oninput=="function"}Js=eu}else Js=!1;ap=Js&&(!document.documentMode||9<document.documentMode)}function ip(){Oi&&(Oi.detachEvent("onpropertychange",lp),Ri=Oi=null)}function lp(e){if(e.propertyName==="value"&&jl(Ri)){var t=[];tp(t,Ri,e,Fs(e)),Gd(Qb,t)}}function Xb(e,t,n){e==="focusin"?(ip(),Oi=t,Ri=n,Oi.attachEvent("onpropertychange",lp)):e==="focusout"&&ip()}function Zb(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return jl(Ri)}function Wb(e,t){if(e==="click")return jl(t)}function Kb(e,t){if(e==="input"||e==="change")return jl(t)}function Jb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bt=typeof Object.is=="function"?Object.is:Jb;function Di(e,t){if(Bt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var o=n[i];if(!it.call(t,o)||!Bt(e[o],t[o]))return!1}return!0}function op(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function sp(e,t){var n=op(e);e=0;for(var i;n;){if(n.nodeType===3){if(i=e+n.textContent.length,e<=t&&i>=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=op(n)}}function up(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?up(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function cp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=kl(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=kl(e.document)}return t}function tu(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")}var eS=xn&&"documentMode"in document&&11>=document.documentMode,Rr=null,nu=null,xi=null,au=!1;function fp(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;au||Rr==null||Rr!==kl(i)||(i=Rr,"selectionStart"in i&&tu(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),xi&&Di(xi,i)||(xi=i,i=Oo(nu,"onSelect"),0<i.length&&(t=new zl("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=Rr)))}function Ga(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Dr={animationend:Ga("Animation","AnimationEnd"),animationiteration:Ga("Animation","AnimationIteration"),animationstart:Ga("Animation","AnimationStart"),transitionrun:Ga("Transition","TransitionRun"),transitionstart:Ga("Transition","TransitionStart"),transitioncancel:Ga("Transition","TransitionCancel"),transitionend:Ga("Transition","TransitionEnd")},ru={},dp={};xn&&(dp=document.createElement("div").style,"AnimationEvent"in window||(delete Dr.animationend.animation,delete Dr.animationiteration.animation,delete Dr.animationstart.animation),"TransitionEvent"in window||delete Dr.transitionend.transition);function Fa(e){if(ru[e])return ru[e];if(!Dr[e])return e;var t=Dr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in dp)return ru[e]=t[n];return e}var pp=Fa("animationend"),mp=Fa("animationiteration"),hp=Fa("animationstart"),tS=Fa("transitionrun"),nS=Fa("transitionstart"),aS=Fa("transitioncancel"),yp=Fa("transitionend"),gp=new Map,iu="abort auxClick beforeToggle 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(" ");iu.push("scrollEnd");function cn(e,t){gp.set(e,t),qa(t,[e])}var Il=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Qt=[],xr=0,lu=0;function ql(){for(var e=xr,t=lu=xr=0;t<e;){var n=Qt[t];Qt[t++]=null;var i=Qt[t];Qt[t++]=null;var o=Qt[t];Qt[t++]=null;var u=Qt[t];if(Qt[t++]=null,i!==null&&o!==null){var d=i.pending;d===null?o.next=o:(o.next=d.next,d.next=o),i.pending=o}u!==0&&vp(n,o,u)}}function Pl(e,t,n,i){Qt[xr++]=e,Qt[xr++]=t,Qt[xr++]=n,Qt[xr++]=i,lu|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function ou(e,t,n,i){return Pl(e,t,n,i),Gl(e)}function Va(e,t){return Pl(e,null,null,t),Gl(e)}function vp(e,t,n){e.lanes|=n;var i=e.alternate;i!==null&&(i.lanes|=n);for(var o=!1,u=e.return;u!==null;)u.childLanes|=n,i=u.alternate,i!==null&&(i.childLanes|=n),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(o=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,o&&t!==null&&(o=31-yt(n),e=u.hiddenUpdates,i=e[o],i===null?e[o]=[t]:i.push(t),t.lane=n|536870912),u):null}function Gl(e){if(50<Ji)throw Ji=0,yc=null,Error(s(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var kr={};function rS(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function jt(e,t,n,i){return new rS(e,t,n,i)}function su(e){return e=e.prototype,!(!e||!e.isReactComponent)}function kn(e,t){var n=e.alternate;return n===null?(n=jt(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&65011712,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.refCleanup=e.refCleanup,n}function bp(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Fl(e,t,n,i,o,u){var d=0;if(i=e,typeof e=="function")su(e)&&(d=1);else if(typeof e=="string")d=u_(e,n,k.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Pe:return e=jt(31,n,t,o),e.elementType=Pe,e.lanes=u,e;case Q:return Ya(n.children,o,u,t);case Y:d=8,o|=24;break;case ae:return e=jt(12,n,t,o|2),e.elementType=ae,e.lanes=u,e;case j:return e=jt(13,n,t,o),e.elementType=j,e.lanes=u,e;case ye:return e=jt(19,n,t,o),e.elementType=ye,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case J:d=10;break e;case le:d=9;break e;case Se:d=11;break e;case ee:d=14;break e;case Ve:d=16,i=null;break e}d=29,n=Error(s(130,e===null?"null":typeof e,"")),i=null}return t=jt(d,n,t,o),t.elementType=e,t.type=i,t.lanes=u,t}function Ya(e,t,n,i){return e=jt(7,e,i,t),e.lanes=n,e}function uu(e,t,n){return e=jt(6,e,null,t),e.lanes=n,e}function Sp(e){var t=jt(18,null,null,0);return t.stateNode=e,t}function cu(e,t,n){return t=jt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var _p=new WeakMap;function Xt(e,t){if(typeof e=="object"&&e!==null){var n=_p.get(e);return n!==void 0?n:(t={value:e,source:t,stack:gi(t)},_p.set(e,t),t)}return{value:e,source:t,stack:gi(t)}}var Nr=[],Lr=0,Vl=null,ki=0,Zt=[],Wt=0,ta=null,_n=1,En="";function Nn(e,t){Nr[Lr++]=ki,Nr[Lr++]=Vl,Vl=e,ki=t}function Ep(e,t,n){Zt[Wt++]=_n,Zt[Wt++]=En,Zt[Wt++]=ta,ta=e;var i=_n;e=En;var o=32-yt(i)-1;i&=~(1<<o),n+=1;var u=32-yt(t)+o;if(30<u){var d=o-o%5;u=(i&(1<<d)-1).toString(32),i>>=d,o-=d,_n=1<<32-yt(t)+o|n<<o|i,En=u+e}else _n=1<<u|n<<o|i,En=e}function fu(e){e.return!==null&&(Nn(e,1),Ep(e,1,0))}function du(e){for(;e===Vl;)Vl=Nr[--Lr],Nr[Lr]=null,ki=Nr[--Lr],Nr[Lr]=null;for(;e===ta;)ta=Zt[--Wt],Zt[Wt]=null,En=Zt[--Wt],Zt[Wt]=null,_n=Zt[--Wt],Zt[Wt]=null}function Cp(e,t){Zt[Wt++]=_n,Zt[Wt++]=En,Zt[Wt++]=ta,_n=t.id,En=t.overflow,ta=e}var vt=null,$e=null,Me=!1,na=null,Kt=!1,pu=Error(s(519));function aa(e){var t=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ni(Xt(t,e)),pu}function Ap(e){var t=e.stateNode,n=e.type,i=e.memoizedProps;switch(t[gt]=e,t[xt]=i,n){case"dialog":Ee("cancel",t),Ee("close",t);break;case"iframe":case"object":case"embed":Ee("load",t);break;case"video":case"audio":for(n=0;n<tl.length;n++)Ee(tl[n],t);break;case"source":Ee("error",t);break;case"img":case"image":case"link":Ee("error",t),Ee("load",t);break;case"details":Ee("toggle",t);break;case"input":Ee("invalid",t),zd(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":Ee("invalid",t);break;case"textarea":Ee("invalid",t),jd(t,i.value,i.defaultValue,i.children)}n=i.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||i.suppressHydrationWarning===!0||qh(t.textContent,n)?(i.popover!=null&&(Ee("beforetoggle",t),Ee("toggle",t)),i.onScroll!=null&&Ee("scroll",t),i.onScrollEnd!=null&&Ee("scrollend",t),i.onClick!=null&&(t.onclick=Dn),t=!0):t=!1,t||aa(e,!0)}function Tp(e){for(vt=e.return;vt;)switch(vt.tag){case 5:case 31:case 13:Kt=!1;return;case 27:case 3:Kt=!0;return;default:vt=vt.return}}function Hr(e){if(e!==vt)return!1;if(!Me)return Tp(e),Me=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||xc(e.type,e.memoizedProps)),n=!n),n&&$e&&aa(e),Tp(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));$e=Zh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));$e=Zh(e)}else t===27?(t=$e,ga(e.type)?(e=Uc,Uc=null,$e=e):$e=t):$e=vt?en(e.stateNode.nextSibling):null;return!0}function $a(){$e=vt=null,Me=!1}function mu(){var e=na;return e!==null&&(Ut===null?Ut=e:Ut.push.apply(Ut,e),na=null),e}function Ni(e){na===null?na=[e]:na.push(e)}var hu=b(null),Qa=null,Ln=null;function ra(e,t,n){P(hu,t._currentValue),t._currentValue=n}function Hn(e){e._currentValue=hu.current,L(hu)}function yu(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function gu(e,t,n,i){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var u=o.dependencies;if(u!==null){var d=o.child;u=u.firstContext;e:for(;u!==null;){var m=u;u=o;for(var v=0;v<t.length;v++)if(m.context===t[v]){u.lanes|=n,m=u.alternate,m!==null&&(m.lanes|=n),yu(u.return,n,e),i||(d=null);break e}u=m.next}}else if(o.tag===18){if(d=o.return,d===null)throw Error(s(341));d.lanes|=n,u=d.alternate,u!==null&&(u.lanes|=n),yu(d,n,e),d=null}else d=o.child;if(d!==null)d.return=o;else for(d=o;d!==null;){if(d===e){d=null;break}if(o=d.sibling,o!==null){o.return=d.return,d=o;break}d=d.return}o=d}}function Ur(e,t,n,i){e=null;for(var o=t,u=!1;o!==null;){if(!u){if((o.flags&524288)!==0)u=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var d=o.alternate;if(d===null)throw Error(s(387));if(d=d.memoizedProps,d!==null){var m=o.type;Bt(o.pendingProps.value,d.value)||(e!==null?e.push(m):e=[m])}}else if(o===pe.current){if(d=o.alternate,d===null)throw Error(s(387));d.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(ll):e=[ll])}o=o.return}e!==null&&gu(t,e,n,i),t.flags|=262144}function Yl(e){for(e=e.firstContext;e!==null;){if(!Bt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Xa(e){Qa=e,Ln=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function bt(e){return Mp(Qa,e)}function $l(e,t){return Qa===null&&Xa(e),Mp(e,t)}function Mp(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Ln===null){if(e===null)throw Error(s(308));Ln=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ln=Ln.next=t;return n}var iS=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},lS=a.unstable_scheduleCallback,oS=a.unstable_NormalPriority,ot={$$typeof:J,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vu(){return{controller:new iS,data:new Map,refCount:0}}function Li(e){e.refCount--,e.refCount===0&&lS(oS,function(){e.controller.abort()})}var Hi=null,bu=0,zr=0,Br=null;function sS(e,t){if(Hi===null){var n=Hi=[];bu=0,zr=Ec(),Br={status:"pending",value:void 0,then:function(i){n.push(i)}}}return bu++,t.then(wp,wp),t}function wp(){if(--bu===0&&Hi!==null){Br!==null&&(Br.status="fulfilled");var e=Hi;Hi=null,zr=0,Br=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function uS(e,t){var n=[],i={status:"pending",value:null,reason:null,then:function(o){n.push(o)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var o=0;o<n.length;o++)(0,n[o])(t)},function(o){for(i.status="rejected",i.reason=o,o=0;o<n.length;o++)(0,n[o])(void 0)}),i}var Op=R.S;R.S=function(e,t){fh=At(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&sS(e,t),Op!==null&&Op(e,t)};var Za=b(null);function Su(){var e=Za.current;return e!==null?e:Fe.pooledCache}function Ql(e,t){t===null?P(Za,Za.current):P(Za,t.pool)}function Rp(){var e=Su();return e===null?null:{parent:ot._currentValue,pool:e}}var jr=Error(s(460)),_u=Error(s(474)),Xl=Error(s(542)),Zl={then:function(){}};function Dp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function xp(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Dn,Dn),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Np(e),e;default:if(typeof t.status=="string")t.then(Dn,Dn);else{if(e=Fe,e!==null&&100<e.shellSuspendCounter)throw Error(s(482));e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=i}},function(i){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Np(e),e}throw Ka=t,jr}}function Wa(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Ka=n,jr):n}}var Ka=null;function kp(){if(Ka===null)throw Error(s(459));var e=Ka;return Ka=null,e}function Np(e){if(e===jr||e===Xl)throw Error(s(483))}var Ir=null,Ui=0;function Wl(e){var t=Ui;return Ui+=1,Ir===null&&(Ir=[]),xp(Ir,e,t)}function zi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Kl(e,t){throw t.$$typeof===z?Error(s(525)):(e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Lp(e){function t(C,S){if(e){var M=C.deletions;M===null?(C.deletions=[S],C.flags|=16):M.push(S)}}function n(C,S){if(!e)return null;for(;S!==null;)t(C,S),S=S.sibling;return null}function i(C){for(var S=new Map;C!==null;)C.key!==null?S.set(C.key,C):S.set(C.index,C),C=C.sibling;return S}function o(C,S){return C=kn(C,S),C.index=0,C.sibling=null,C}function u(C,S,M){return C.index=M,e?(M=C.alternate,M!==null?(M=M.index,M<S?(C.flags|=67108866,S):M):(C.flags|=67108866,S)):(C.flags|=1048576,S)}function d(C){return e&&C.alternate===null&&(C.flags|=67108866),C}function m(C,S,M,N){return S===null||S.tag!==6?(S=uu(M,C.mode,N),S.return=C,S):(S=o(S,M),S.return=C,S)}function v(C,S,M,N){var ne=M.type;return ne===Q?x(C,S,M.props.children,N,M.key):S!==null&&(S.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===Ve&&Wa(ne)===S.type)?(S=o(S,M.props),zi(S,M),S.return=C,S):(S=Fl(M.type,M.key,M.props,null,C.mode,N),zi(S,M),S.return=C,S)}function w(C,S,M,N){return S===null||S.tag!==4||S.stateNode.containerInfo!==M.containerInfo||S.stateNode.implementation!==M.implementation?(S=cu(M,C.mode,N),S.return=C,S):(S=o(S,M.children||[]),S.return=C,S)}function x(C,S,M,N,ne){return S===null||S.tag!==7?(S=Ya(M,C.mode,N,ne),S.return=C,S):(S=o(S,M),S.return=C,S)}function H(C,S,M){if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return S=uu(""+S,C.mode,M),S.return=C,S;if(typeof S=="object"&&S!==null){switch(S.$$typeof){case G:return M=Fl(S.type,S.key,S.props,null,C.mode,M),zi(M,S),M.return=C,M;case q:return S=cu(S,C.mode,M),S.return=C,S;case Ve:return S=Wa(S),H(C,S,M)}if(Ye(S)||X(S))return S=Ya(S,C.mode,M,null),S.return=C,S;if(typeof S.then=="function")return H(C,Wl(S),M);if(S.$$typeof===J)return H(C,$l(C,S),M);Kl(C,S)}return null}function O(C,S,M,N){var ne=S!==null?S.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return ne!==null?null:m(C,S,""+M,N);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case G:return M.key===ne?v(C,S,M,N):null;case q:return M.key===ne?w(C,S,M,N):null;case Ve:return M=Wa(M),O(C,S,M,N)}if(Ye(M)||X(M))return ne!==null?null:x(C,S,M,N,null);if(typeof M.then=="function")return O(C,S,Wl(M),N);if(M.$$typeof===J)return O(C,S,$l(C,M),N);Kl(C,M)}return null}function D(C,S,M,N,ne){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return C=C.get(M)||null,m(S,C,""+N,ne);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case G:return C=C.get(N.key===null?M:N.key)||null,v(S,C,N,ne);case q:return C=C.get(N.key===null?M:N.key)||null,w(S,C,N,ne);case Ve:return N=Wa(N),D(C,S,M,N,ne)}if(Ye(N)||X(N))return C=C.get(M)||null,x(S,C,N,ne,null);if(typeof N.then=="function")return D(C,S,M,Wl(N),ne);if(N.$$typeof===J)return D(C,S,M,$l(S,N),ne);Kl(S,N)}return null}function $(C,S,M,N){for(var ne=null,Oe=null,K=S,me=S=0,Ae=null;K!==null&&me<M.length;me++){K.index>me?(Ae=K,K=null):Ae=K.sibling;var Re=O(C,K,M[me],N);if(Re===null){K===null&&(K=Ae);break}e&&K&&Re.alternate===null&&t(C,K),S=u(Re,S,me),Oe===null?ne=Re:Oe.sibling=Re,Oe=Re,K=Ae}if(me===M.length)return n(C,K),Me&&Nn(C,me),ne;if(K===null){for(;me<M.length;me++)K=H(C,M[me],N),K!==null&&(S=u(K,S,me),Oe===null?ne=K:Oe.sibling=K,Oe=K);return Me&&Nn(C,me),ne}for(K=i(K);me<M.length;me++)Ae=D(K,C,me,M[me],N),Ae!==null&&(e&&Ae.alternate!==null&&K.delete(Ae.key===null?me:Ae.key),S=u(Ae,S,me),Oe===null?ne=Ae:Oe.sibling=Ae,Oe=Ae);return e&&K.forEach(function(Ea){return t(C,Ea)}),Me&&Nn(C,me),ne}function re(C,S,M,N){if(M==null)throw Error(s(151));for(var ne=null,Oe=null,K=S,me=S=0,Ae=null,Re=M.next();K!==null&&!Re.done;me++,Re=M.next()){K.index>me?(Ae=K,K=null):Ae=K.sibling;var Ea=O(C,K,Re.value,N);if(Ea===null){K===null&&(K=Ae);break}e&&K&&Ea.alternate===null&&t(C,K),S=u(Ea,S,me),Oe===null?ne=Ea:Oe.sibling=Ea,Oe=Ea,K=Ae}if(Re.done)return n(C,K),Me&&Nn(C,me),ne;if(K===null){for(;!Re.done;me++,Re=M.next())Re=H(C,Re.value,N),Re!==null&&(S=u(Re,S,me),Oe===null?ne=Re:Oe.sibling=Re,Oe=Re);return Me&&Nn(C,me),ne}for(K=i(K);!Re.done;me++,Re=M.next())Re=D(K,C,me,Re.value,N),Re!==null&&(e&&Re.alternate!==null&&K.delete(Re.key===null?me:Re.key),S=u(Re,S,me),Oe===null?ne=Re:Oe.sibling=Re,Oe=Re);return e&&K.forEach(function(S_){return t(C,S_)}),Me&&Nn(C,me),ne}function Ie(C,S,M,N){if(typeof M=="object"&&M!==null&&M.type===Q&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case G:e:{for(var ne=M.key;S!==null;){if(S.key===ne){if(ne=M.type,ne===Q){if(S.tag===7){n(C,S.sibling),N=o(S,M.props.children),N.return=C,C=N;break e}}else if(S.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===Ve&&Wa(ne)===S.type){n(C,S.sibling),N=o(S,M.props),zi(N,M),N.return=C,C=N;break e}n(C,S);break}else t(C,S);S=S.sibling}M.type===Q?(N=Ya(M.props.children,C.mode,N,M.key),N.return=C,C=N):(N=Fl(M.type,M.key,M.props,null,C.mode,N),zi(N,M),N.return=C,C=N)}return d(C);case q:e:{for(ne=M.key;S!==null;){if(S.key===ne)if(S.tag===4&&S.stateNode.containerInfo===M.containerInfo&&S.stateNode.implementation===M.implementation){n(C,S.sibling),N=o(S,M.children||[]),N.return=C,C=N;break e}else{n(C,S);break}else t(C,S);S=S.sibling}N=cu(M,C.mode,N),N.return=C,C=N}return d(C);case Ve:return M=Wa(M),Ie(C,S,M,N)}if(Ye(M))return $(C,S,M,N);if(X(M)){if(ne=X(M),typeof ne!="function")throw Error(s(150));return M=ne.call(M),re(C,S,M,N)}if(typeof M.then=="function")return Ie(C,S,Wl(M),N);if(M.$$typeof===J)return Ie(C,S,$l(C,M),N);Kl(C,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,S!==null&&S.tag===6?(n(C,S.sibling),N=o(S,M),N.return=C,C=N):(n(C,S),N=uu(M,C.mode,N),N.return=C,C=N),d(C)):n(C,S)}return function(C,S,M,N){try{Ui=0;var ne=Ie(C,S,M,N);return Ir=null,ne}catch(K){if(K===jr||K===Xl)throw K;var Oe=jt(29,K,null,C.mode);return Oe.lanes=N,Oe.return=C,Oe}finally{}}}var Ja=Lp(!0),Hp=Lp(!1),ia=!1;function Eu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Cu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function la(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function oa(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(xe&2)!==0){var o=i.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),i.pending=t,t=Gl(e),vp(e,null,n),t}return Pl(e,i,t,n),Gl(e)}function Bi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,lt(e,n)}}function Au(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var o=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var d={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};u===null?o=u=d:u=u.next=d,n=n.next}while(n!==null);u===null?o=u=t:u=u.next=t}else o=u=t;n={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:u,shared:i.shared,callbacks:i.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Tu=!1;function ji(){if(Tu){var e=Br;if(e!==null)throw e}}function Ii(e,t,n,i){Tu=!1;var o=e.updateQueue;ia=!1;var u=o.firstBaseUpdate,d=o.lastBaseUpdate,m=o.shared.pending;if(m!==null){o.shared.pending=null;var v=m,w=v.next;v.next=null,d===null?u=w:d.next=w,d=v;var x=e.alternate;x!==null&&(x=x.updateQueue,m=x.lastBaseUpdate,m!==d&&(m===null?x.firstBaseUpdate=w:m.next=w,x.lastBaseUpdate=v))}if(u!==null){var H=o.baseState;d=0,x=w=v=null,m=u;do{var O=m.lane&-536870913,D=O!==m.lane;if(D?(Ce&O)===O:(i&O)===O){O!==0&&O===zr&&(Tu=!0),x!==null&&(x=x.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var $=e,re=m;O=t;var Ie=n;switch(re.tag){case 1:if($=re.payload,typeof $=="function"){H=$.call(Ie,H,O);break e}H=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=re.payload,O=typeof $=="function"?$.call(Ie,H,O):$,O==null)break e;H=_({},H,O);break e;case 2:ia=!0}}O=m.callback,O!==null&&(e.flags|=64,D&&(e.flags|=8192),D=o.callbacks,D===null?o.callbacks=[O]:D.push(O))}else D={lane:O,tag:m.tag,payload:m.payload,callback:m.callback,next:null},x===null?(w=x=D,v=H):x=x.next=D,d|=O;if(m=m.next,m===null){if(m=o.shared.pending,m===null)break;D=m,m=D.next,D.next=null,o.lastBaseUpdate=D,o.shared.pending=null}}while(!0);x===null&&(v=H),o.baseState=v,o.firstBaseUpdate=w,o.lastBaseUpdate=x,u===null&&(o.shared.lanes=0),da|=d,e.lanes=d,e.memoizedState=H}}function Up(e,t){if(typeof e!="function")throw Error(s(191,e));e.call(t)}function zp(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Up(n[e],t)}var qr=b(null),Jl=b(0);function Bp(e,t){e=Fn,P(Jl,e),P(qr,t),Fn=e|t.baseLanes}function Mu(){P(Jl,Fn),P(qr,qr.current)}function wu(){Fn=Jl.current,L(qr),L(Jl)}var It=b(null),Jt=null;function sa(e){var t=e.alternate;P(at,at.current&1),P(It,e),Jt===null&&(t===null||qr.current!==null||t.memoizedState!==null)&&(Jt=e)}function Ou(e){P(at,at.current),P(It,e),Jt===null&&(Jt=e)}function jp(e){e.tag===22?(P(at,at.current),P(It,e),Jt===null&&(Jt=e)):ua()}function ua(){P(at,at.current),P(It,It.current)}function qt(e){L(It),Jt===e&&(Jt=null),L(at)}var at=b(0);function eo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Lc(n)||Hc(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){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 Un=0,de=null,Be=null,st=null,to=!1,Pr=!1,er=!1,no=0,qi=0,Gr=null,cS=0;function et(){throw Error(s(321))}function Ru(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Bt(e[n],t[n]))return!1;return!0}function Du(e,t,n,i,o,u){return Un=u,de=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,R.H=e===null||e.memoizedState===null?Em:Vu,er=!1,u=n(i,o),er=!1,Pr&&(u=qp(t,n,i,o)),Ip(e),u}function Ip(e){R.H=Fi;var t=Be!==null&&Be.next!==null;if(Un=0,st=Be=de=null,to=!1,qi=0,Gr=null,t)throw Error(s(300));e===null||ut||(e=e.dependencies,e!==null&&Yl(e)&&(ut=!0))}function qp(e,t,n,i){de=e;var o=0;do{if(Pr&&(Gr=null),qi=0,Pr=!1,25<=o)throw Error(s(301));if(o+=1,st=Be=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}R.H=Cm,u=t(n,i)}while(Pr);return u}function fS(){var e=R.H,t=e.useState()[0];return t=typeof t.then=="function"?Pi(t):t,e=e.useState()[0],(Be!==null?Be.memoizedState:null)!==e&&(de.flags|=1024),t}function xu(){var e=no!==0;return no=0,e}function ku(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Nu(e){if(to){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}to=!1}Un=0,st=Be=de=null,Pr=!1,qi=no=0,Gr=null}function wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return st===null?de.memoizedState=st=e:st=st.next=e,st}function rt(){if(Be===null){var e=de.alternate;e=e!==null?e.memoizedState:null}else e=Be.next;var t=st===null?de.memoizedState:st.next;if(t!==null)st=t,Be=e;else{if(e===null)throw de.alternate===null?Error(s(467)):Error(s(310));Be=e,e={memoizedState:Be.memoizedState,baseState:Be.baseState,baseQueue:Be.baseQueue,queue:Be.queue,next:null},st===null?de.memoizedState=st=e:st=st.next=e}return st}function ao(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Pi(e){var t=qi;return qi+=1,Gr===null&&(Gr=[]),e=xp(Gr,e,t),t=de,(st===null?t.memoizedState:st.next)===null&&(t=t.alternate,R.H=t===null||t.memoizedState===null?Em:Vu),e}function ro(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Pi(e);if(e.$$typeof===J)return bt(e)}throw Error(s(438,String(e)))}function Lu(e){var t=null,n=de.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var i=de.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=ao(),de.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),i=0;i<e;i++)n[i]=Je;return t.index++,n}function zn(e,t){return typeof t=="function"?t(e):t}function io(e){var t=rt();return Hu(t,Be,e)}function Hu(e,t,n){var i=e.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=n;var o=e.baseQueue,u=i.pending;if(u!==null){if(o!==null){var d=o.next;o.next=u.next,u.next=d}t.baseQueue=o=u,i.pending=null}if(u=e.baseState,o===null)e.memoizedState=u;else{t=o.next;var m=d=null,v=null,w=t,x=!1;do{var H=w.lane&-536870913;if(H!==w.lane?(Ce&H)===H:(Un&H)===H){var O=w.revertLane;if(O===0)v!==null&&(v=v.next={lane:0,revertLane:0,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null}),H===zr&&(x=!0);else if((Un&O)===O){w=w.next,O===zr&&(x=!0);continue}else H={lane:0,revertLane:w.revertLane,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},v===null?(m=v=H,d=u):v=v.next=H,de.lanes|=O,da|=O;H=w.action,er&&n(u,H),u=w.hasEagerState?w.eagerState:n(u,H)}else O={lane:H,revertLane:w.revertLane,gesture:w.gesture,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},v===null?(m=v=O,d=u):v=v.next=O,de.lanes|=H,da|=H;w=w.next}while(w!==null&&w!==t);if(v===null?d=u:v.next=m,!Bt(u,e.memoizedState)&&(ut=!0,x&&(n=Br,n!==null)))throw n;e.memoizedState=u,e.baseState=d,e.baseQueue=v,i.lastRenderedState=u}return o===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function Uu(e){var t=rt(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var i=n.dispatch,o=n.pending,u=t.memoizedState;if(o!==null){n.pending=null;var d=o=o.next;do u=e(u,d.action),d=d.next;while(d!==o);Bt(u,t.memoizedState)||(ut=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),n.lastRenderedState=u}return[u,i]}function Pp(e,t,n){var i=de,o=rt(),u=Me;if(u){if(n===void 0)throw Error(s(407));n=n()}else n=t();var d=!Bt((Be||o).memoizedState,n);if(d&&(o.memoizedState=n,ut=!0),o=o.queue,ju(Vp.bind(null,i,o,e),[e]),o.getSnapshot!==t||d||st!==null&&st.memoizedState.tag&1){if(i.flags|=2048,Fr(9,{destroy:void 0},Fp.bind(null,i,o,n,t),null),Fe===null)throw Error(s(349));u||(Un&127)!==0||Gp(i,t,n)}return n}function Gp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=de.updateQueue,t===null?(t=ao(),de.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Fp(e,t,n,i){t.value=n,t.getSnapshot=i,Yp(t)&&$p(e)}function Vp(e,t,n){return n(function(){Yp(t)&&$p(e)})}function Yp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Bt(e,n)}catch{return!0}}function $p(e){var t=Va(e,2);t!==null&&zt(t,e,2)}function zu(e){var t=wt();if(typeof e=="function"){var n=e;if(e=n(),er){bn(!0);try{n()}finally{bn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:e},t}function Qp(e,t,n,i){return e.baseState=n,Hu(e,Be,typeof i=="function"?i:zn)}function dS(e,t,n,i,o){if(so(e))throw Error(s(485));if(e=t.action,e!==null){var u={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){u.listeners.push(d)}};R.T!==null?n(!0):u.isTransition=!1,i(u),n=t.pending,n===null?(u.next=t.pending=u,Xp(t,u)):(u.next=n.next,t.pending=n.next=u)}}function Xp(e,t){var n=t.action,i=t.payload,o=e.state;if(t.isTransition){var u=R.T,d={};R.T=d;try{var m=n(o,i),v=R.S;v!==null&&v(d,m),Zp(e,t,m)}catch(w){Bu(e,t,w)}finally{u!==null&&d.types!==null&&(u.types=d.types),R.T=u}}else try{u=n(o,i),Zp(e,t,u)}catch(w){Bu(e,t,w)}}function Zp(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){Wp(e,t,i)},function(i){return Bu(e,t,i)}):Wp(e,t,n)}function Wp(e,t,n){t.status="fulfilled",t.value=n,Kp(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Xp(e,n)))}function Bu(e,t,n){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=n,Kp(t),t=t.next;while(t!==i)}e.action=null}function Kp(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Jp(e,t){return t}function em(e,t){if(Me){var n=Fe.formState;if(n!==null){e:{var i=de;if(Me){if($e){t:{for(var o=$e,u=Kt;o.nodeType!==8;){if(!u){o=null;break t}if(o=en(o.nextSibling),o===null){o=null;break t}}u=o.data,o=u==="F!"||u==="F"?o:null}if(o){$e=en(o.nextSibling),i=o.data==="F!";break e}}aa(i)}i=!1}i&&(t=n[0])}}return n=wt(),n.memoizedState=n.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jp,lastRenderedState:t},n.queue=i,n=bm.bind(null,de,i),i.dispatch=n,i=zu(!1),u=Fu.bind(null,de,!1,i.queue),i=wt(),o={state:t,dispatch:null,action:e,pending:null},i.queue=o,n=dS.bind(null,de,o,u,n),o.dispatch=n,i.memoizedState=e,[t,n,!1]}function tm(e){var t=rt();return nm(t,Be,e)}function nm(e,t,n){if(t=Hu(e,t,Jp)[0],e=io(zn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=Pi(t)}catch(d){throw d===jr?Xl:d}else i=t;t=rt();var o=t.queue,u=o.dispatch;return n!==t.memoizedState&&(de.flags|=2048,Fr(9,{destroy:void 0},pS.bind(null,o,n),null)),[i,u,e]}function pS(e,t){e.action=t}function am(e){var t=rt(),n=Be;if(n!==null)return nm(t,n,e);rt(),t=t.memoizedState,n=rt();var i=n.queue.dispatch;return n.memoizedState=e,[t,i,!1]}function Fr(e,t,n,i){return e={tag:e,create:n,deps:i,inst:t,next:null},t=de.updateQueue,t===null&&(t=ao(),de.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e),e}function rm(){return rt().memoizedState}function lo(e,t,n,i){var o=wt();de.flags|=e,o.memoizedState=Fr(1|t,{destroy:void 0},n,i===void 0?null:i)}function oo(e,t,n,i){var o=rt();i=i===void 0?null:i;var u=o.memoizedState.inst;Be!==null&&i!==null&&Ru(i,Be.memoizedState.deps)?o.memoizedState=Fr(t,u,n,i):(de.flags|=e,o.memoizedState=Fr(1|t,u,n,i))}function im(e,t){lo(8390656,8,e,t)}function ju(e,t){oo(2048,8,e,t)}function mS(e){de.flags|=4;var t=de.updateQueue;if(t===null)t=ao(),de.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function lm(e){var t=rt().memoizedState;return mS({ref:t,nextImpl:e}),function(){if((xe&2)!==0)throw Error(s(440));return t.impl.apply(void 0,arguments)}}function om(e,t){return oo(4,2,e,t)}function sm(e,t){return oo(4,4,e,t)}function um(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function cm(e,t,n){n=n!=null?n.concat([e]):null,oo(4,4,um.bind(null,t,e),n)}function Iu(){}function fm(e,t){var n=rt();t=t===void 0?null:t;var i=n.memoizedState;return t!==null&&Ru(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function dm(e,t){var n=rt();t=t===void 0?null:t;var i=n.memoizedState;if(t!==null&&Ru(t,i[1]))return i[0];if(i=e(),er){bn(!0);try{e()}finally{bn(!1)}}return n.memoizedState=[i,t],i}function qu(e,t,n){return n===void 0||(Un&1073741824)!==0&&(Ce&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=ph(),de.lanes|=e,da|=e,n)}function pm(e,t,n,i){return Bt(n,t)?n:qr.current!==null?(e=qu(e,n,i),Bt(e,t)||(ut=!0),e):(Un&42)===0||(Un&1073741824)!==0&&(Ce&261930)===0?(ut=!0,e.memoizedState=n):(e=ph(),de.lanes|=e,da|=e,t)}function mm(e,t,n,i,o){var u=B.p;B.p=u!==0&&8>u?u:8;var d=R.T,m={};R.T=m,Fu(e,!1,t,n);try{var v=o(),w=R.S;if(w!==null&&w(m,v),v!==null&&typeof v=="object"&&typeof v.then=="function"){var x=uS(v,i);Gi(e,t,x,Ft(e))}else Gi(e,t,i,Ft(e))}catch(H){Gi(e,t,{then:function(){},status:"rejected",reason:H},Ft())}finally{B.p=u,d!==null&&m.types!==null&&(d.types=m.types),R.T=d}}function hS(){}function Pu(e,t,n,i){if(e.tag!==5)throw Error(s(476));var o=hm(e).queue;mm(e,o,t,te,n===null?hS:function(){return ym(e),n(i)})}function hm(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:te},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ym(e){var t=hm(e);t.next===null&&(t=e.alternate.memoizedState),Gi(e,t.next.queue,{},Ft())}function Gu(){return bt(ll)}function gm(){return rt().memoizedState}function vm(){return rt().memoizedState}function yS(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Ft();e=la(n);var i=oa(t,e,n);i!==null&&(zt(i,t,n),Bi(i,t,n)),t={cache:vu()},e.payload=t;return}t=t.return}}function gS(e,t,n){var i=Ft();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},so(e)?Sm(t,n):(n=ou(e,t,n,i),n!==null&&(zt(n,e,i),_m(n,t,i)))}function bm(e,t,n){var i=Ft();Gi(e,t,n,i)}function Gi(e,t,n,i){var o={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(so(e))Sm(t,o);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var d=t.lastRenderedState,m=u(d,n);if(o.hasEagerState=!0,o.eagerState=m,Bt(m,d))return Pl(e,t,o,0),Fe===null&&ql(),!1}catch{}finally{}if(n=ou(e,t,o,i),n!==null)return zt(n,e,i),_m(n,t,i),!0}return!1}function Fu(e,t,n,i){if(i={lane:2,revertLane:Ec(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},so(e)){if(t)throw Error(s(479))}else t=ou(e,n,i,2),t!==null&&zt(t,e,2)}function so(e){var t=e.alternate;return e===de||t!==null&&t===de}function Sm(e,t){Pr=to=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _m(e,t,n){if((n&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,lt(e,n)}}var Fi={readContext:bt,use:ro,useCallback:et,useContext:et,useEffect:et,useImperativeHandle:et,useLayoutEffect:et,useInsertionEffect:et,useMemo:et,useReducer:et,useRef:et,useState:et,useDebugValue:et,useDeferredValue:et,useTransition:et,useSyncExternalStore:et,useId:et,useHostTransitionStatus:et,useFormState:et,useActionState:et,useOptimistic:et,useMemoCache:et,useCacheRefresh:et};Fi.useEffectEvent=et;var Em={readContext:bt,use:ro,useCallback:function(e,t){return wt().memoizedState=[e,t===void 0?null:t],e},useContext:bt,useEffect:im,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,lo(4194308,4,um.bind(null,t,e),n)},useLayoutEffect:function(e,t){return lo(4194308,4,e,t)},useInsertionEffect:function(e,t){lo(4,2,e,t)},useMemo:function(e,t){var n=wt();t=t===void 0?null:t;var i=e();if(er){bn(!0);try{e()}finally{bn(!1)}}return n.memoizedState=[i,t],i},useReducer:function(e,t,n){var i=wt();if(n!==void 0){var o=n(t);if(er){bn(!0);try{n(t)}finally{bn(!1)}}}else o=t;return i.memoizedState=i.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},i.queue=e,e=e.dispatch=gS.bind(null,de,e),[i.memoizedState,e]},useRef:function(e){var t=wt();return e={current:e},t.memoizedState=e},useState:function(e){e=zu(e);var t=e.queue,n=bm.bind(null,de,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Iu,useDeferredValue:function(e,t){var n=wt();return qu(n,e,t)},useTransition:function(){var e=zu(!1);return e=mm.bind(null,de,e.queue,!0,!1),wt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var i=de,o=wt();if(Me){if(n===void 0)throw Error(s(407));n=n()}else{if(n=t(),Fe===null)throw Error(s(349));(Ce&127)!==0||Gp(i,t,n)}o.memoizedState=n;var u={value:n,getSnapshot:t};return o.queue=u,im(Vp.bind(null,i,u,e),[e]),i.flags|=2048,Fr(9,{destroy:void 0},Fp.bind(null,i,u,n,t),null),n},useId:function(){var e=wt(),t=Fe.identifierPrefix;if(Me){var n=En,i=_n;n=(i&~(1<<32-yt(i)-1)).toString(32)+n,t="_"+t+"R_"+n,n=no++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=cS++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Gu,useFormState:em,useActionState:em,useOptimistic:function(e){var t=wt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Fu.bind(null,de,!0,n),n.dispatch=t,[e,t]},useMemoCache:Lu,useCacheRefresh:function(){return wt().memoizedState=yS.bind(null,de)},useEffectEvent:function(e){var t=wt(),n={impl:e};return t.memoizedState=n,function(){if((xe&2)!==0)throw Error(s(440));return n.impl.apply(void 0,arguments)}}},Vu={readContext:bt,use:ro,useCallback:fm,useContext:bt,useEffect:ju,useImperativeHandle:cm,useInsertionEffect:om,useLayoutEffect:sm,useMemo:dm,useReducer:io,useRef:rm,useState:function(){return io(zn)},useDebugValue:Iu,useDeferredValue:function(e,t){var n=rt();return pm(n,Be.memoizedState,e,t)},useTransition:function(){var e=io(zn)[0],t=rt().memoizedState;return[typeof e=="boolean"?e:Pi(e),t]},useSyncExternalStore:Pp,useId:gm,useHostTransitionStatus:Gu,useFormState:tm,useActionState:tm,useOptimistic:function(e,t){var n=rt();return Qp(n,Be,e,t)},useMemoCache:Lu,useCacheRefresh:vm};Vu.useEffectEvent=lm;var Cm={readContext:bt,use:ro,useCallback:fm,useContext:bt,useEffect:ju,useImperativeHandle:cm,useInsertionEffect:om,useLayoutEffect:sm,useMemo:dm,useReducer:Uu,useRef:rm,useState:function(){return Uu(zn)},useDebugValue:Iu,useDeferredValue:function(e,t){var n=rt();return Be===null?qu(n,e,t):pm(n,Be.memoizedState,e,t)},useTransition:function(){var e=Uu(zn)[0],t=rt().memoizedState;return[typeof e=="boolean"?e:Pi(e),t]},useSyncExternalStore:Pp,useId:gm,useHostTransitionStatus:Gu,useFormState:am,useActionState:am,useOptimistic:function(e,t){var n=rt();return Be!==null?Qp(n,Be,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Lu,useCacheRefresh:vm};Cm.useEffectEvent=lm;function Yu(e,t,n,i){t=e.memoizedState,n=n(i,t),n=n==null?t:_({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var $u={enqueueSetState:function(e,t,n){e=e._reactInternals;var i=Ft(),o=la(i);o.payload=t,n!=null&&(o.callback=n),t=oa(e,o,i),t!==null&&(zt(t,e,i),Bi(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=Ft(),o=la(i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=oa(e,o,i),t!==null&&(zt(t,e,i),Bi(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ft(),i=la(n);i.tag=2,t!=null&&(i.callback=t),t=oa(e,i,n),t!==null&&(zt(t,e,n),Bi(t,e,n))}};function Am(e,t,n,i,o,u,d){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,u,d):t.prototype&&t.prototype.isPureReactComponent?!Di(n,i)||!Di(o,u):!0}function Tm(e,t,n,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&$u.enqueueReplaceState(t,t.state,null)}function tr(e,t){var n=t;if("ref"in t){n={};for(var i in t)i!=="ref"&&(n[i]=t[i])}if(e=e.defaultProps){n===t&&(n=_({},n));for(var o in e)n[o]===void 0&&(n[o]=e[o])}return n}function Mm(e){Il(e)}function wm(e){console.error(e)}function Om(e){Il(e)}function uo(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function Rm(e,t,n){try{var i=e.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Qu(e,t,n){return n=la(n),n.tag=3,n.payload={element:null},n.callback=function(){uo(e,t)},n}function Dm(e){return e=la(e),e.tag=3,e}function xm(e,t,n,i){var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var u=i.value;e.payload=function(){return o(u)},e.callback=function(){Rm(t,n,i)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){Rm(t,n,i),typeof o!="function"&&(pa===null?pa=new Set([this]):pa.add(this));var m=i.stack;this.componentDidCatch(i.value,{componentStack:m!==null?m:""})})}function vS(e,t,n,i,o){if(n.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=n.alternate,t!==null&&Ur(t,n,o,!0),n=It.current,n!==null){switch(n.tag){case 31:case 13:return Jt===null?Eo():n.alternate===null&&tt===0&&(tt=3),n.flags&=-257,n.flags|=65536,n.lanes=o,i===Zl?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([i]):t.add(i),bc(e,i,o)),!1;case 22:return n.flags|=65536,i===Zl?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([i]):n.add(i)),bc(e,i,o)),!1}throw Error(s(435,n.tag))}return bc(e,i,o),Eo(),!1}if(Me)return t=It.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==pu&&(e=Error(s(422),{cause:i}),Ni(Xt(e,n)))):(i!==pu&&(t=Error(s(423),{cause:i}),Ni(Xt(t,n))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,i=Xt(i,n),o=Qu(e.stateNode,i,o),Au(e,o),tt!==4&&(tt=2)),!1;var u=Error(s(520),{cause:i});if(u=Xt(u,n),Ki===null?Ki=[u]:Ki.push(u),tt!==4&&(tt=2),t===null)return!0;i=Xt(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,e=Qu(n.stateNode,i,e),Au(n,e),!1;case 1:if(t=n.type,u=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(pa===null||!pa.has(u))))return n.flags|=65536,o&=-o,n.lanes|=o,o=Dm(o),xm(o,e,n,i),Au(n,o),!1}n=n.return}while(n!==null);return!1}var Xu=Error(s(461)),ut=!1;function St(e,t,n,i){t.child=e===null?Hp(t,null,n,i):Ja(t,e.child,n,i)}function km(e,t,n,i,o){n=n.render;var u=t.ref;if("ref"in i){var d={};for(var m in i)m!=="ref"&&(d[m]=i[m])}else d=i;return Xa(t),i=Du(e,t,n,d,u,o),m=xu(),e!==null&&!ut?(ku(e,t,o),Bn(e,t,o)):(Me&&m&&fu(t),t.flags|=1,St(e,t,i,o),t.child)}function Nm(e,t,n,i,o){if(e===null){var u=n.type;return typeof u=="function"&&!su(u)&&u.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=u,Lm(e,t,u,i,o)):(e=Fl(n.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!ac(e,o)){var d=u.memoizedProps;if(n=n.compare,n=n!==null?n:Di,n(d,i)&&e.ref===t.ref)return Bn(e,t,o)}return t.flags|=1,e=kn(u,i),e.ref=t.ref,e.return=t,t.child=e}function Lm(e,t,n,i,o){if(e!==null){var u=e.memoizedProps;if(Di(u,i)&&e.ref===t.ref)if(ut=!1,t.pendingProps=i=u,ac(e,o))(e.flags&131072)!==0&&(ut=!0);else return t.lanes=e.lanes,Bn(e,t,o)}return Zu(e,t,n,i,o)}function Hm(e,t,n,i){var o=i.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|n:n,e!==null){for(i=t.child=e.child,o=0;i!==null;)o=o|i.lanes|i.childLanes,i=i.sibling;i=o&~u}else i=0,t.child=null;return Um(e,t,u,n,i)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ql(t,u!==null?u.cachePool:null),u!==null?Bp(t,u):Mu(),jp(t);else return i=t.lanes=536870912,Um(e,t,u!==null?u.baseLanes|n:n,n,i)}else u!==null?(Ql(t,u.cachePool),Bp(t,u),ua(),t.memoizedState=null):(e!==null&&Ql(t,null),Mu(),ua());return St(e,t,o,n),t.child}function Vi(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Um(e,t,n,i,o){var u=Su();return u=u===null?null:{parent:ot._currentValue,pool:u},t.memoizedState={baseLanes:n,cachePool:u},e!==null&&Ql(t,null),Mu(),jp(t),e!==null&&Ur(e,t,i,!0),t.childLanes=o,null}function co(e,t){return t=po({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function zm(e,t,n){return Ja(t,e.child,null,n),e=co(t,t.pendingProps),e.flags|=2,qt(t),t.memoizedState=null,e}function bS(e,t,n){var i=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Me){if(i.mode==="hidden")return e=co(t,i),t.lanes=536870912,Vi(null,e);if(Ou(t),(e=$e)?(e=Xh(e,Kt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ta!==null?{id:_n,overflow:En}:null,retryLane:536870912,hydrationErrors:null},n=Sp(e),n.return=t,t.child=n,vt=t,$e=null)):e=null,e===null)throw aa(t);return t.lanes=536870912,null}return co(t,i)}var u=e.memoizedState;if(u!==null){var d=u.dehydrated;if(Ou(t),o)if(t.flags&256)t.flags&=-257,t=zm(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(s(558));else if(ut||Ur(e,t,n,!1),o=(n&e.childLanes)!==0,ut||o){if(i=Fe,i!==null&&(d=Dt(i,n),d!==0&&d!==u.retryLane))throw u.retryLane=d,Va(e,d),zt(i,e,d),Xu;Eo(),t=zm(e,t,n)}else e=u.treeContext,$e=en(d.nextSibling),vt=t,Me=!0,na=null,Kt=!1,e!==null&&Cp(t,e),t=co(t,i),t.flags|=4096;return t}return e=kn(e.child,{mode:i.mode,children:i.children}),e.ref=t.ref,t.child=e,e.return=t,e}function fo(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(s(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Zu(e,t,n,i,o){return Xa(t),n=Du(e,t,n,i,void 0,o),i=xu(),e!==null&&!ut?(ku(e,t,o),Bn(e,t,o)):(Me&&i&&fu(t),t.flags|=1,St(e,t,n,o),t.child)}function Bm(e,t,n,i,o,u){return Xa(t),t.updateQueue=null,n=qp(t,i,n,o),Ip(e),i=xu(),e!==null&&!ut?(ku(e,t,u),Bn(e,t,u)):(Me&&i&&fu(t),t.flags|=1,St(e,t,n,u),t.child)}function jm(e,t,n,i,o){if(Xa(t),t.stateNode===null){var u=kr,d=n.contextType;typeof d=="object"&&d!==null&&(u=bt(d)),u=new n(i,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=$u,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=i,u.state=t.memoizedState,u.refs={},Eu(t),d=n.contextType,u.context=typeof d=="object"&&d!==null?bt(d):kr,u.state=t.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(Yu(t,n,d,i),u.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(d=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),d!==u.state&&$u.enqueueReplaceState(u,u.state,null),Ii(t,i,u,o),ji(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){u=t.stateNode;var m=t.memoizedProps,v=tr(n,m);u.props=v;var w=u.context,x=n.contextType;d=kr,typeof x=="object"&&x!==null&&(d=bt(x));var H=n.getDerivedStateFromProps;x=typeof H=="function"||typeof u.getSnapshotBeforeUpdate=="function",m=t.pendingProps!==m,x||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(m||w!==d)&&Tm(t,u,i,d),ia=!1;var O=t.memoizedState;u.state=O,Ii(t,i,u,o),ji(),w=t.memoizedState,m||O!==w||ia?(typeof H=="function"&&(Yu(t,n,H,i),w=t.memoizedState),(v=ia||Am(t,n,v,i,O,w,d))?(x||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=w),u.props=i,u.state=w,u.context=d,i=v):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{u=t.stateNode,Cu(e,t),d=t.memoizedProps,x=tr(n,d),u.props=x,H=t.pendingProps,O=u.context,w=n.contextType,v=kr,typeof w=="object"&&w!==null&&(v=bt(w)),m=n.getDerivedStateFromProps,(w=typeof m=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(d!==H||O!==v)&&Tm(t,u,i,v),ia=!1,O=t.memoizedState,u.state=O,Ii(t,i,u,o),ji();var D=t.memoizedState;d!==H||O!==D||ia||e!==null&&e.dependencies!==null&&Yl(e.dependencies)?(typeof m=="function"&&(Yu(t,n,m,i),D=t.memoizedState),(x=ia||Am(t,n,x,i,O,D,v)||e!==null&&e.dependencies!==null&&Yl(e.dependencies))?(w||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(i,D,v),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(i,D,v)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=D),u.props=i,u.state=D,u.context=v,i=x):(typeof u.componentDidUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),i=!1)}return u=i,fo(e,t),i=(t.flags&128)!==0,u||i?(u=t.stateNode,n=i&&typeof n.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&i?(t.child=Ja(t,e.child,null,o),t.child=Ja(t,null,n,o)):St(e,t,n,o),t.memoizedState=u.state,e=t.child):e=Bn(e,t,o),e}function Im(e,t,n,i){return $a(),t.flags|=256,St(e,t,n,i),t.child}var Wu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ku(e){return{baseLanes:e,cachePool:Rp()}}function Ju(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Gt),e}function qm(e,t,n){var i=t.pendingProps,o=!1,u=(t.flags&128)!==0,d;if((d=u)||(d=e!==null&&e.memoizedState===null?!1:(at.current&2)!==0),d&&(o=!0,t.flags&=-129),d=(t.flags&32)!==0,t.flags&=-33,e===null){if(Me){if(o?sa(t):ua(),(e=$e)?(e=Xh(e,Kt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ta!==null?{id:_n,overflow:En}:null,retryLane:536870912,hydrationErrors:null},n=Sp(e),n.return=t,t.child=n,vt=t,$e=null)):e=null,e===null)throw aa(t);return Hc(e)?t.lanes=32:t.lanes=536870912,null}var m=i.children;return i=i.fallback,o?(ua(),o=t.mode,m=po({mode:"hidden",children:m},o),i=Ya(i,o,n,null),m.return=t,i.return=t,m.sibling=i,t.child=m,i=t.child,i.memoizedState=Ku(n),i.childLanes=Ju(e,d,n),t.memoizedState=Wu,Vi(null,i)):(sa(t),ec(t,m))}var v=e.memoizedState;if(v!==null&&(m=v.dehydrated,m!==null)){if(u)t.flags&256?(sa(t),t.flags&=-257,t=tc(e,t,n)):t.memoizedState!==null?(ua(),t.child=e.child,t.flags|=128,t=null):(ua(),m=i.fallback,o=t.mode,i=po({mode:"visible",children:i.children},o),m=Ya(m,o,n,null),m.flags|=2,i.return=t,m.return=t,i.sibling=m,t.child=i,Ja(t,e.child,null,n),i=t.child,i.memoizedState=Ku(n),i.childLanes=Ju(e,d,n),t.memoizedState=Wu,t=Vi(null,i));else if(sa(t),Hc(m)){if(d=m.nextSibling&&m.nextSibling.dataset,d)var w=d.dgst;d=w,i=Error(s(419)),i.stack="",i.digest=d,Ni({value:i,source:null,stack:null}),t=tc(e,t,n)}else if(ut||Ur(e,t,n,!1),d=(n&e.childLanes)!==0,ut||d){if(d=Fe,d!==null&&(i=Dt(d,n),i!==0&&i!==v.retryLane))throw v.retryLane=i,Va(e,i),zt(d,e,i),Xu;Lc(m)||Eo(),t=tc(e,t,n)}else Lc(m)?(t.flags|=192,t.child=e.child,t=null):(e=v.treeContext,$e=en(m.nextSibling),vt=t,Me=!0,na=null,Kt=!1,e!==null&&Cp(t,e),t=ec(t,i.children),t.flags|=4096);return t}return o?(ua(),m=i.fallback,o=t.mode,v=e.child,w=v.sibling,i=kn(v,{mode:"hidden",children:i.children}),i.subtreeFlags=v.subtreeFlags&65011712,w!==null?m=kn(w,m):(m=Ya(m,o,n,null),m.flags|=2),m.return=t,i.return=t,i.sibling=m,t.child=i,Vi(null,i),i=t.child,m=e.child.memoizedState,m===null?m=Ku(n):(o=m.cachePool,o!==null?(v=ot._currentValue,o=o.parent!==v?{parent:v,pool:v}:o):o=Rp(),m={baseLanes:m.baseLanes|n,cachePool:o}),i.memoizedState=m,i.childLanes=Ju(e,d,n),t.memoizedState=Wu,Vi(e.child,i)):(sa(t),n=e.child,e=n.sibling,n=kn(n,{mode:"visible",children:i.children}),n.return=t,n.sibling=null,e!==null&&(d=t.deletions,d===null?(t.deletions=[e],t.flags|=16):d.push(e)),t.child=n,t.memoizedState=null,n)}function ec(e,t){return t=po({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function po(e,t){return e=jt(22,e,null,t),e.lanes=0,e}function tc(e,t,n){return Ja(t,e.child,null,n),e=ec(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Pm(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),yu(e.return,t,n)}function nc(e,t,n,i,o,u){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:o,treeForkCount:u}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=n,d.tailMode=o,d.treeForkCount=u)}function Gm(e,t,n){var i=t.pendingProps,o=i.revealOrder,u=i.tail;i=i.children;var d=at.current,m=(d&2)!==0;if(m?(d=d&1|2,t.flags|=128):d&=1,P(at,d),St(e,t,i,n),i=Me?ki:0,!m&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Pm(e,n,t);else if(e.tag===19)Pm(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}switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&eo(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),nc(t,!1,o,n,u,i);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&eo(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}nc(t,!0,n,null,u,i);break;case"together":nc(t,!1,null,null,void 0,i);break;default:t.memoizedState=null}return t.child}function Bn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),da|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ur(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,n=kn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=kn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ac(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Yl(e)))}function SS(e,t,n){switch(t.tag){case 3:Ze(t,t.stateNode.containerInfo),ra(t,ot,e.memoizedState.cache),$a();break;case 27:case 5:Kn(t);break;case 4:Ze(t,t.stateNode.containerInfo);break;case 10:ra(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Ou(t),null;break;case 13:var i=t.memoizedState;if(i!==null)return i.dehydrated!==null?(sa(t),t.flags|=128,null):(n&t.child.childLanes)!==0?qm(e,t,n):(sa(t),e=Bn(e,t,n),e!==null?e.sibling:null);sa(t);break;case 19:var o=(e.flags&128)!==0;if(i=(n&t.childLanes)!==0,i||(Ur(e,t,n,!1),i=(n&t.childLanes)!==0),o){if(i)return Gm(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),P(at,at.current),i)break;return null;case 22:return t.lanes=0,Hm(e,t,n,t.pendingProps);case 24:ra(t,ot,e.memoizedState.cache)}return Bn(e,t,n)}function Fm(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ut=!0;else{if(!ac(e,n)&&(t.flags&128)===0)return ut=!1,SS(e,t,n);ut=(e.flags&131072)!==0}else ut=!1,Me&&(t.flags&1048576)!==0&&Ep(t,ki,t.index);switch(t.lanes=0,t.tag){case 16:e:{var i=t.pendingProps;if(e=Wa(t.elementType),t.type=e,typeof e=="function")su(e)?(i=tr(e,i),t.tag=1,t=jm(null,t,e,i,n)):(t.tag=0,t=Zu(null,t,e,i,n));else{if(e!=null){var o=e.$$typeof;if(o===Se){t.tag=11,t=km(null,t,e,i,n);break e}else if(o===ee){t.tag=14,t=Nm(null,t,e,i,n);break e}}throw t=De(e)||e,Error(s(306,t,""))}}return t;case 0:return Zu(e,t,t.type,t.pendingProps,n);case 1:return i=t.type,o=tr(i,t.pendingProps),jm(e,t,i,o,n);case 3:e:{if(Ze(t,t.stateNode.containerInfo),e===null)throw Error(s(387));i=t.pendingProps;var u=t.memoizedState;o=u.element,Cu(e,t),Ii(t,i,null,n);var d=t.memoizedState;if(i=d.cache,ra(t,ot,i),i!==u.cache&&gu(t,[ot],n,!0),ji(),i=d.element,u.isDehydrated)if(u={element:i,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=Im(e,t,i,n);break e}else if(i!==o){o=Xt(Error(s(424)),t),Ni(o),t=Im(e,t,i,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for($e=en(e.firstChild),vt=t,Me=!0,na=null,Kt=!0,n=Hp(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if($a(),i===o){t=Bn(e,t,n);break e}St(e,t,i,n)}t=t.child}return t;case 26:return fo(e,t),e===null?(n=ty(t.type,null,t.pendingProps,null))?t.memoizedState=n:Me||(n=t.type,e=t.pendingProps,i=Ro(se.current).createElement(n),i[gt]=t,i[xt]=e,_t(i,n,e),mt(i),t.stateNode=i):t.memoizedState=ty(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Kn(t),e===null&&Me&&(i=t.stateNode=Kh(t.type,t.pendingProps,se.current),vt=t,Kt=!0,o=$e,ga(t.type)?(Uc=o,$e=en(i.firstChild)):$e=o),St(e,t,t.pendingProps.children,n),fo(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Me&&((o=i=$e)&&(i=ZS(i,t.type,t.pendingProps,Kt),i!==null?(t.stateNode=i,vt=t,$e=en(i.firstChild),Kt=!1,o=!0):o=!1),o||aa(t)),Kn(t),o=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,i=u.children,xc(o,u)?i=null:d!==null&&xc(o,d)&&(t.flags|=32),t.memoizedState!==null&&(o=Du(e,t,fS,null,null,n),ll._currentValue=o),fo(e,t),St(e,t,i,n),t.child;case 6:return e===null&&Me&&((e=n=$e)&&(n=WS(n,t.pendingProps,Kt),n!==null?(t.stateNode=n,vt=t,$e=null,e=!0):e=!1),e||aa(t)),null;case 13:return qm(e,t,n);case 4:return Ze(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Ja(t,null,i,n):St(e,t,i,n),t.child;case 11:return km(e,t,t.type,t.pendingProps,n);case 7:return St(e,t,t.pendingProps,n),t.child;case 8:return St(e,t,t.pendingProps.children,n),t.child;case 12:return St(e,t,t.pendingProps.children,n),t.child;case 10:return i=t.pendingProps,ra(t,t.type,i.value),St(e,t,i.children,n),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,Xa(t),o=bt(o),i=i(o),t.flags|=1,St(e,t,i,n),t.child;case 14:return Nm(e,t,t.type,t.pendingProps,n);case 15:return Lm(e,t,t.type,t.pendingProps,n);case 19:return Gm(e,t,n);case 31:return bS(e,t,n);case 22:return Hm(e,t,n,t.pendingProps);case 24:return Xa(t),i=bt(ot),e===null?(o=Su(),o===null&&(o=Fe,u=vu(),o.pooledCache=u,u.refCount++,u!==null&&(o.pooledCacheLanes|=n),o=u),t.memoizedState={parent:i,cache:o},Eu(t),ra(t,ot,o)):((e.lanes&n)!==0&&(Cu(e,t),Ii(t,null,null,n),ji()),o=e.memoizedState,u=t.memoizedState,o.parent!==i?(o={parent:i,cache:i},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),ra(t,ot,i)):(i=u.cache,ra(t,ot,i),i!==o.cache&&gu(t,[ot],n,!0))),St(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function jn(e){e.flags|=4}function rc(e,t,n,i,o){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(gh())e.flags|=8192;else throw Ka=Zl,_u}else e.flags&=-16777217}function Vm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!ly(t))if(gh())e.flags|=8192;else throw Ka=Zl,_u}function mo(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?W():536870912,e.lanes|=t,Qr|=t)}function Yi(e,t){if(!Me)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 i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Qe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags&65011712,i|=o.flags&65011712,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function _S(e,t,n){var i=t.pendingProps;switch(du(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qe(t),null;case 1:return Qe(t),null;case 3:return n=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Hn(ot),Ge(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Hr(t)?jn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,mu())),Qe(t),null;case 26:var o=t.type,u=t.memoizedState;return e===null?(jn(t),u!==null?(Qe(t),Vm(t,u)):(Qe(t),rc(t,o,null,i,n))):u?u!==e.memoizedState?(jn(t),Qe(t),Vm(t,u)):(Qe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&jn(t),Qe(t),rc(t,o,e,i,n)),null;case 27:if(Ba(t),n=se.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&jn(t);else{if(!i){if(t.stateNode===null)throw Error(s(166));return Qe(t),null}e=k.current,Hr(t)?Ap(t):(e=Kh(o,i,n),t.stateNode=e,jn(t))}return Qe(t),null;case 5:if(Ba(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&jn(t);else{if(!i){if(t.stateNode===null)throw Error(s(166));return Qe(t),null}if(u=k.current,Hr(t))Ap(t);else{var d=Ro(se.current);switch(u){case 1:u=d.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:u=d.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":u=d.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":u=d.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":u=d.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof i.is=="string"?d.createElement("select",{is:i.is}):d.createElement("select"),i.multiple?u.multiple=!0:i.size&&(u.size=i.size);break;default:u=typeof i.is=="string"?d.createElement(o,{is:i.is}):d.createElement(o)}}u[gt]=t,u[xt]=i;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)u.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=u;e:switch(_t(u,o,i),o){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&jn(t)}}return Qe(t),rc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&jn(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(s(166));if(e=se.current,Hr(t)){if(e=t.stateNode,n=t.memoizedProps,i=null,o=vt,o!==null)switch(o.tag){case 27:case 5:i=o.memoizedProps}e[gt]=t,e=!!(e.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||qh(e.nodeValue,n)),e||aa(t,!0)}else e=Ro(e).createTextNode(i),e[gt]=t,t.stateNode=e}return Qe(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(i=Hr(t),n!==null){if(e===null){if(!i)throw Error(s(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(557));e[gt]=t}else $a(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Qe(t),e=!1}else n=mu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(qt(t),t):(qt(t),null);if((t.flags&128)!==0)throw Error(s(558))}return Qe(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=Hr(t),i!==null&&i.dehydrated!==null){if(e===null){if(!o)throw Error(s(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(s(317));o[gt]=t}else $a(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Qe(t),o=!1}else o=mu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(qt(t),t):(qt(t),null)}return qt(t),(t.flags&128)!==0?(t.lanes=n,t):(n=i!==null,e=e!==null&&e.memoizedState!==null,n&&(i=t.child,o=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(o=i.alternate.memoizedState.cachePool.pool),u=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(u=i.memoizedState.cachePool.pool),u!==o&&(i.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),mo(t,t.updateQueue),Qe(t),null);case 4:return Ge(),e===null&&Mc(t.stateNode.containerInfo),Qe(t),null;case 10:return Hn(t.type),Qe(t),null;case 19:if(L(at),i=t.memoizedState,i===null)return Qe(t),null;if(o=(t.flags&128)!==0,u=i.rendering,u===null)if(o)Yi(i,!1);else{if(tt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=eo(e),u!==null){for(t.flags|=128,Yi(i,!1),e=u.updateQueue,t.updateQueue=e,mo(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)bp(n,e),n=n.sibling;return P(at,at.current&1|2),Me&&Nn(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&At()>bo&&(t.flags|=128,o=!0,Yi(i,!1),t.lanes=4194304)}else{if(!o)if(e=eo(u),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,mo(t,e),Yi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!Me)return Qe(t),null}else 2*At()-i.renderingStartTime>bo&&n!==536870912&&(t.flags|=128,o=!0,Yi(i,!1),t.lanes=4194304);i.isBackwards?(u.sibling=t.child,t.child=u):(e=i.last,e!==null?e.sibling=u:t.child=u,i.last=u)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=At(),e.sibling=null,n=at.current,P(at,o?n&1|2:n&1),Me&&Nn(t,i.treeForkCount),e):(Qe(t),null);case 22:case 23:return qt(t),wu(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(n&536870912)!==0&&(t.flags&128)===0&&(Qe(t),t.subtreeFlags&6&&(t.flags|=8192)):Qe(t),n=t.updateQueue,n!==null&&mo(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==n&&(t.flags|=2048),e!==null&&L(Za),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Hn(ot),Qe(t),null;case 25:return null;case 30:return null}throw Error(s(156,t.tag))}function ES(e,t){switch(du(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Hn(ot),Ge(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ba(t),null;case 31:if(t.memoizedState!==null){if(qt(t),t.alternate===null)throw Error(s(340));$a()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(qt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));$a()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return L(at),null;case 4:return Ge(),null;case 10:return Hn(t.type),null;case 22:case 23:return qt(t),wu(),e!==null&&L(Za),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Hn(ot),null;case 25:return null;default:return null}}function Ym(e,t){switch(du(t),t.tag){case 3:Hn(ot),Ge();break;case 26:case 27:case 5:Ba(t);break;case 4:Ge();break;case 31:t.memoizedState!==null&&qt(t);break;case 13:qt(t);break;case 19:L(at);break;case 10:Hn(t.type);break;case 22:case 23:qt(t),wu(),e!==null&&L(Za);break;case 24:Hn(ot)}}function $i(e,t){try{var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var o=i.next;n=o;do{if((n.tag&e)===e){i=void 0;var u=n.create,d=n.inst;i=u(),d.destroy=i}n=n.next}while(n!==o)}}catch(m){ze(t,t.return,m)}}function ca(e,t,n){try{var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var u=o.next;i=u;do{if((i.tag&e)===e){var d=i.inst,m=d.destroy;if(m!==void 0){d.destroy=void 0,o=t;var v=n,w=m;try{w()}catch(x){ze(o,v,x)}}}i=i.next}while(i!==u)}}catch(x){ze(t,t.return,x)}}function $m(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{zp(t,n)}catch(i){ze(e,e.return,i)}}}function Qm(e,t,n){n.props=tr(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(i){ze(e,t,i)}}function Qi(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof n=="function"?e.refCleanup=n(i):n.current=i}}catch(o){ze(e,t,o)}}function Cn(e,t){var n=e.ref,i=e.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(o){ze(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(o){ze(e,t,o)}else n.current=null}function Xm(e){var t=e.type,n=e.memoizedProps,i=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break e;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(o){ze(e,e.return,o)}}function ic(e,t,n){try{var i=e.stateNode;FS(i,e.type,n,t),i[xt]=t}catch(o){ze(e,e.return,o)}}function Zm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ga(e.type)||e.tag===4}function lc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Zm(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.tag===27&&ga(e.type)||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 oc(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Dn));else if(i!==4&&(i===27&&ga(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(oc(e,t,n),e=e.sibling;e!==null;)oc(e,t,n),e=e.sibling}function ho(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(i===27&&ga(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(ho(e,t,n),e=e.sibling;e!==null;)ho(e,t,n),e=e.sibling}function Wm(e){var t=e.stateNode,n=e.memoizedProps;try{for(var i=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);_t(t,i,n),t[gt]=e,t[xt]=n}catch(u){ze(e,e.return,u)}}var In=!1,ct=!1,sc=!1,Km=typeof WeakSet=="function"?WeakSet:Set,ht=null;function CS(e,t){if(e=e.containerInfo,Rc=Uo,e=cp(e),tu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var o=i.anchorOffset,u=i.focusNode;i=i.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var d=0,m=-1,v=-1,w=0,x=0,H=e,O=null;t:for(;;){for(var D;H!==n||o!==0&&H.nodeType!==3||(m=d+o),H!==u||i!==0&&H.nodeType!==3||(v=d+i),H.nodeType===3&&(d+=H.nodeValue.length),(D=H.firstChild)!==null;)O=H,H=D;for(;;){if(H===e)break t;if(O===n&&++w===o&&(m=d),O===u&&++x===i&&(v=d),(D=H.nextSibling)!==null)break;H=O,O=H.parentNode}H=D}n=m===-1||v===-1?null:{start:m,end:v}}else n=null}n=n||{start:0,end:0}}else n=null;for(Dc={focusedElem:e,selectionRange:n},Uo=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){switch(t=ht,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)o=e[n],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,n=t,o=u.memoizedProps,u=u.memoizedState,i=n.stateNode;try{var $=tr(n.type,o);e=i.getSnapshotBeforeUpdate($,u),i.__reactInternalSnapshotBeforeUpdate=e}catch(re){ze(n,n.return,re)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Nc(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Nc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(s(163))}if(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}}function Jm(e,t,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:Pn(e,n),i&4&&$i(5,n);break;case 1:if(Pn(e,n),i&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(d){ze(n,n.return,d)}else{var o=tr(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(d){ze(n,n.return,d)}}i&64&&$m(n),i&512&&Qi(n,n.return);break;case 3:if(Pn(e,n),i&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{zp(e,t)}catch(d){ze(n,n.return,d)}}break;case 27:t===null&&i&4&&Wm(n);case 26:case 5:Pn(e,n),t===null&&i&4&&Xm(n),i&512&&Qi(n,n.return);break;case 12:Pn(e,n);break;case 31:Pn(e,n),i&4&&nh(e,n);break;case 13:Pn(e,n),i&4&&ah(e,n),i&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=kS.bind(null,n),KS(e,n))));break;case 22:if(i=n.memoizedState!==null||In,!i){t=t!==null&&t.memoizedState!==null||ct,o=In;var u=ct;In=i,(ct=t)&&!u?Gn(e,n,(n.subtreeFlags&8772)!==0):Pn(e,n),In=o,ct=u}break;case 30:break;default:Pn(e,n)}}function eh(e){var t=e.alternate;t!==null&&(e.alternate=null,eh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Bs(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ke=null,Nt=!1;function qn(e,t,n){for(n=n.child;n!==null;)th(e,t,n),n=n.sibling}function th(e,t,n){if(pt&&typeof pt.onCommitFiberUnmount=="function")try{pt.onCommitFiberUnmount(Ia,n)}catch{}switch(n.tag){case 26:ct||Cn(n,t),qn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:ct||Cn(n,t);var i=Ke,o=Nt;ga(n.type)&&(Ke=n.stateNode,Nt=!1),qn(e,t,n),al(n.stateNode),Ke=i,Nt=o;break;case 5:ct||Cn(n,t);case 6:if(i=Ke,o=Nt,Ke=null,qn(e,t,n),Ke=i,Nt=o,Ke!==null)if(Nt)try{(Ke.nodeType===9?Ke.body:Ke.nodeName==="HTML"?Ke.ownerDocument.body:Ke).removeChild(n.stateNode)}catch(u){ze(n,t,u)}else try{Ke.removeChild(n.stateNode)}catch(u){ze(n,t,u)}break;case 18:Ke!==null&&(Nt?(e=Ke,$h(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),ni(e)):$h(Ke,n.stateNode));break;case 4:i=Ke,o=Nt,Ke=n.stateNode.containerInfo,Nt=!0,qn(e,t,n),Ke=i,Nt=o;break;case 0:case 11:case 14:case 15:ca(2,n,t),ct||ca(4,n,t),qn(e,t,n);break;case 1:ct||(Cn(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"&&Qm(n,t,i)),qn(e,t,n);break;case 21:qn(e,t,n);break;case 22:ct=(i=ct)||n.memoizedState!==null,qn(e,t,n),ct=i;break;default:qn(e,t,n)}}function nh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ni(e)}catch(n){ze(t,t.return,n)}}}function ah(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ni(e)}catch(n){ze(t,t.return,n)}}function AS(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Km),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Km),t;default:throw Error(s(435,e.tag))}}function yo(e,t){var n=AS(e);t.forEach(function(i){if(!n.has(i)){n.add(i);var o=NS.bind(null,e,i);i.then(o,o)}})}function Lt(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var o=n[i],u=e,d=t,m=d;e:for(;m!==null;){switch(m.tag){case 27:if(ga(m.type)){Ke=m.stateNode,Nt=!1;break e}break;case 5:Ke=m.stateNode,Nt=!1;break e;case 3:case 4:Ke=m.stateNode.containerInfo,Nt=!0;break e}m=m.return}if(Ke===null)throw Error(s(160));th(u,d,o),Ke=null,Nt=!1,u=o.alternate,u!==null&&(u.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)rh(t,e),t=t.sibling}var fn=null;function rh(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Lt(t,e),Ht(e),i&4&&(ca(3,e,e.return),$i(3,e),ca(5,e,e.return));break;case 1:Lt(t,e),Ht(e),i&512&&(ct||n===null||Cn(n,n.return)),i&64&&In&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?i:n.concat(i))));break;case 26:var o=fn;if(Lt(t,e),Ht(e),i&512&&(ct||n===null||Cn(n,n.return)),i&4){var u=n!==null?n.memoizedState:null;if(i=e.memoizedState,n===null)if(i===null)if(e.stateNode===null){e:{i=e.type,n=e.memoizedProps,o=o.ownerDocument||o;t:switch(i){case"title":u=o.getElementsByTagName("title")[0],(!u||u[_i]||u[gt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=o.createElement(i),o.head.insertBefore(u,o.querySelector("head > title"))),_t(u,i,n),u[gt]=e,mt(u),i=u;break e;case"link":var d=ry("link","href",o).get(i+(n.href||""));if(d){for(var m=0;m<d.length;m++)if(u=d[m],u.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&u.getAttribute("rel")===(n.rel==null?null:n.rel)&&u.getAttribute("title")===(n.title==null?null:n.title)&&u.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){d.splice(m,1);break t}}u=o.createElement(i),_t(u,i,n),o.head.appendChild(u);break;case"meta":if(d=ry("meta","content",o).get(i+(n.content||""))){for(m=0;m<d.length;m++)if(u=d[m],u.getAttribute("content")===(n.content==null?null:""+n.content)&&u.getAttribute("name")===(n.name==null?null:n.name)&&u.getAttribute("property")===(n.property==null?null:n.property)&&u.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&u.getAttribute("charset")===(n.charSet==null?null:n.charSet)){d.splice(m,1);break t}}u=o.createElement(i),_t(u,i,n),o.head.appendChild(u);break;default:throw Error(s(468,i))}u[gt]=e,mt(u),i=u}e.stateNode=i}else iy(o,e.type,e.stateNode);else e.stateNode=ay(o,i,e.memoizedProps);else u!==i?(u===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):u.count--,i===null?iy(o,e.type,e.stateNode):ay(o,i,e.memoizedProps)):i===null&&e.stateNode!==null&&ic(e,e.memoizedProps,n.memoizedProps)}break;case 27:Lt(t,e),Ht(e),i&512&&(ct||n===null||Cn(n,n.return)),n!==null&&i&4&&ic(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Lt(t,e),Ht(e),i&512&&(ct||n===null||Cn(n,n.return)),e.flags&32){o=e.stateNode;try{Tr(o,"")}catch($){ze(e,e.return,$)}}i&4&&e.stateNode!=null&&(o=e.memoizedProps,ic(e,o,n!==null?n.memoizedProps:o)),i&1024&&(sc=!0);break;case 6:if(Lt(t,e),Ht(e),i&4){if(e.stateNode===null)throw Error(s(162));i=e.memoizedProps,n=e.stateNode;try{n.nodeValue=i}catch($){ze(e,e.return,$)}}break;case 3:if(ko=null,o=fn,fn=Do(t.containerInfo),Lt(t,e),fn=o,Ht(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{ni(t.containerInfo)}catch($){ze(e,e.return,$)}sc&&(sc=!1,ih(e));break;case 4:i=fn,fn=Do(e.stateNode.containerInfo),Lt(t,e),Ht(e),fn=i;break;case 12:Lt(t,e),Ht(e);break;case 31:Lt(t,e),Ht(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,yo(e,i)));break;case 13:Lt(t,e),Ht(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(vo=At()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,yo(e,i)));break;case 22:o=e.memoizedState!==null;var v=n!==null&&n.memoizedState!==null,w=In,x=ct;if(In=w||o,ct=x||v,Lt(t,e),ct=x,In=w,Ht(e),i&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(n===null||v||In||ct||nr(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){v=n=t;try{if(u=v.stateNode,o)d=u.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{m=v.stateNode;var H=v.memoizedProps.style,O=H!=null&&H.hasOwnProperty("display")?H.display:null;m.style.display=O==null||typeof O=="boolean"?"":(""+O).trim()}}catch($){ze(v,v.return,$)}}}else if(t.tag===6){if(n===null){v=t;try{v.stateNode.nodeValue=o?"":v.memoizedProps}catch($){ze(v,v.return,$)}}}else if(t.tag===18){if(n===null){v=t;try{var D=v.stateNode;o?Qh(D,!0):Qh(v.stateNode,!1)}catch($){ze(v,v.return,$)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}i&4&&(i=e.updateQueue,i!==null&&(n=i.retryQueue,n!==null&&(i.retryQueue=null,yo(e,n))));break;case 19:Lt(t,e),Ht(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,yo(e,i)));break;case 30:break;case 21:break;default:Lt(t,e),Ht(e)}}function Ht(e){var t=e.flags;if(t&2){try{for(var n,i=e.return;i!==null;){if(Zm(i)){n=i;break}i=i.return}if(n==null)throw Error(s(160));switch(n.tag){case 27:var o=n.stateNode,u=lc(e);ho(e,u,o);break;case 5:var d=n.stateNode;n.flags&32&&(Tr(d,""),n.flags&=-33);var m=lc(e);ho(e,m,d);break;case 3:case 4:var v=n.stateNode.containerInfo,w=lc(e);oc(e,w,v);break;default:throw Error(s(161))}}catch(x){ze(e,e.return,x)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ih(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;ih(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Pn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Jm(e,t.alternate,t),t=t.sibling}function nr(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ca(4,t,t.return),nr(t);break;case 1:Cn(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&Qm(t,t.return,n),nr(t);break;case 27:al(t.stateNode);case 26:case 5:Cn(t,t.return),nr(t);break;case 22:t.memoizedState===null&&nr(t);break;case 30:nr(t);break;default:nr(t)}e=e.sibling}}function Gn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var i=t.alternate,o=e,u=t,d=u.flags;switch(u.tag){case 0:case 11:case 15:Gn(o,u,n),$i(4,u);break;case 1:if(Gn(o,u,n),i=u,o=i.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(w){ze(i,i.return,w)}if(i=u,o=i.updateQueue,o!==null){var m=i.stateNode;try{var v=o.shared.hiddenCallbacks;if(v!==null)for(o.shared.hiddenCallbacks=null,o=0;o<v.length;o++)Up(v[o],m)}catch(w){ze(i,i.return,w)}}n&&d&64&&$m(u),Qi(u,u.return);break;case 27:Wm(u);case 26:case 5:Gn(o,u,n),n&&i===null&&d&4&&Xm(u),Qi(u,u.return);break;case 12:Gn(o,u,n);break;case 31:Gn(o,u,n),n&&d&4&&nh(o,u);break;case 13:Gn(o,u,n),n&&d&4&&ah(o,u);break;case 22:u.memoizedState===null&&Gn(o,u,n),Qi(u,u.return);break;case 30:break;default:Gn(o,u,n)}t=t.sibling}}function uc(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Li(n))}function cc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Li(e))}function dn(e,t,n,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)lh(e,t,n,i),t=t.sibling}function lh(e,t,n,i){var o=t.flags;switch(t.tag){case 0:case 11:case 15:dn(e,t,n,i),o&2048&&$i(9,t);break;case 1:dn(e,t,n,i);break;case 3:dn(e,t,n,i),o&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Li(e)));break;case 12:if(o&2048){dn(e,t,n,i),e=t.stateNode;try{var u=t.memoizedProps,d=u.id,m=u.onPostCommit;typeof m=="function"&&m(d,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(v){ze(t,t.return,v)}}else dn(e,t,n,i);break;case 31:dn(e,t,n,i);break;case 13:dn(e,t,n,i);break;case 23:break;case 22:u=t.stateNode,d=t.alternate,t.memoizedState!==null?u._visibility&2?dn(e,t,n,i):Xi(e,t):u._visibility&2?dn(e,t,n,i):(u._visibility|=2,Vr(e,t,n,i,(t.subtreeFlags&10256)!==0||!1)),o&2048&&uc(d,t);break;case 24:dn(e,t,n,i),o&2048&&cc(t.alternate,t);break;default:dn(e,t,n,i)}}function Vr(e,t,n,i,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,d=t,m=n,v=i,w=d.flags;switch(d.tag){case 0:case 11:case 15:Vr(u,d,m,v,o),$i(8,d);break;case 23:break;case 22:var x=d.stateNode;d.memoizedState!==null?x._visibility&2?Vr(u,d,m,v,o):Xi(u,d):(x._visibility|=2,Vr(u,d,m,v,o)),o&&w&2048&&uc(d.alternate,d);break;case 24:Vr(u,d,m,v,o),o&&w&2048&&cc(d.alternate,d);break;default:Vr(u,d,m,v,o)}t=t.sibling}}function Xi(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,i=t,o=i.flags;switch(i.tag){case 22:Xi(n,i),o&2048&&uc(i.alternate,i);break;case 24:Xi(n,i),o&2048&&cc(i.alternate,i);break;default:Xi(n,i)}t=t.sibling}}var Zi=8192;function Yr(e,t,n){if(e.subtreeFlags&Zi)for(e=e.child;e!==null;)oh(e,t,n),e=e.sibling}function oh(e,t,n){switch(e.tag){case 26:Yr(e,t,n),e.flags&Zi&&e.memoizedState!==null&&c_(n,fn,e.memoizedState,e.memoizedProps);break;case 5:Yr(e,t,n);break;case 3:case 4:var i=fn;fn=Do(e.stateNode.containerInfo),Yr(e,t,n),fn=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=Zi,Zi=16777216,Yr(e,t,n),Zi=i):Yr(e,t,n));break;default:Yr(e,t,n)}}function sh(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Wi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n];ht=i,ch(i,e)}sh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)uh(e),e=e.sibling}function uh(e){switch(e.tag){case 0:case 11:case 15:Wi(e),e.flags&2048&&ca(9,e,e.return);break;case 3:Wi(e);break;case 12:Wi(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,go(e)):Wi(e);break;default:Wi(e)}}function go(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n];ht=i,ch(i,e)}sh(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:ca(8,t,t.return),go(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,go(t));break;default:go(t)}e=e.sibling}}function ch(e,t){for(;ht!==null;){var n=ht;switch(n.tag){case 0:case 11:case 15:ca(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var i=n.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:Li(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,ht=i;else e:for(n=e;ht!==null;){i=ht;var o=i.sibling,u=i.return;if(eh(i),i===n){ht=null;break e}if(o!==null){o.return=u,ht=o;break e}ht=u}}}var TS={getCacheForType:function(e){var t=bt(ot),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return bt(ot).controller.signal}},MS=typeof WeakMap=="function"?WeakMap:Map,xe=0,Fe=null,_e=null,Ce=0,Ue=0,Pt=null,fa=!1,$r=!1,fc=!1,Fn=0,tt=0,da=0,ar=0,dc=0,Gt=0,Qr=0,Ki=null,Ut=null,pc=!1,vo=0,fh=0,bo=1/0,So=null,pa=null,ft=0,ma=null,Xr=null,Vn=0,mc=0,hc=null,dh=null,Ji=0,yc=null;function Ft(){return(xe&2)!==0&&Ce!==0?Ce&-Ce:R.T!==null?Ec():sn()}function ph(){if(Gt===0)if((Ce&536870912)===0||Me){var e=Jn;Jn<<=1,(Jn&3932160)===0&&(Jn=262144),Gt=e}else Gt=536870912;return e=It.current,e!==null&&(e.flags|=32),Gt}function zt(e,t,n){(e===Fe&&(Ue===2||Ue===9)||e.cancelPendingCommit!==null)&&(Zr(e,0),ha(e,Ce,Gt,!1)),Te(e,n),((xe&2)===0||e!==Fe)&&(e===Fe&&((xe&2)===0&&(ar|=n),tt===4&&ha(e,Ce,Gt,!1)),An(e))}function mh(e,t,n){if((xe&6)!==0)throw Error(s(327));var i=!n&&(t&127)===0&&(t&e.expiredLanes)===0||F(e,t),o=i?RS(e,t):vc(e,t,!0),u=i;do{if(o===0){$r&&!i&&ha(e,t,0,!1);break}else{if(n=e.current.alternate,u&&!wS(n)){o=vc(e,t,!1),u=!1;continue}if(o===2){if(u=t,e.errorRecoveryDisabledLanes&u)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){t=d;e:{var m=e;o=Ki;var v=m.current.memoizedState.isDehydrated;if(v&&(Zr(m,d).flags|=256),d=vc(m,d,!1),d!==2){if(fc&&!v){m.errorRecoveryDisabledLanes|=u,ar|=u,o=4;break e}u=Ut,Ut=o,u!==null&&(Ut===null?Ut=u:Ut.push.apply(Ut,u))}o=d}if(u=!1,o!==2)continue}}if(o===1){Zr(e,0),ha(e,t,0,!0);break}e:{switch(i=e,u=o,u){case 0:case 1:throw Error(s(345));case 4:if((t&4194048)!==t)break;case 6:ha(i,t,Gt,!fa);break e;case 2:Ut=null;break;case 3:case 5:break;default:throw Error(s(329))}if((t&62914560)===t&&(o=vo+300-At(),10<o)){if(ha(i,t,Gt,!fa),I(i,0,!0)!==0)break e;Vn=t,i.timeoutHandle=Vh(hh.bind(null,i,n,Ut,So,pc,t,Gt,ar,Qr,fa,u,"Throttled",-0,0),o);break e}hh(i,n,Ut,So,pc,t,Gt,ar,Qr,fa,u,null,-0,0)}}break}while(!0);An(e)}function hh(e,t,n,i,o,u,d,m,v,w,x,H,O,D){if(e.timeoutHandle=-1,H=t.subtreeFlags,H&8192||(H&16785408)===16785408){H={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Dn},oh(t,u,H);var $=(u&62914560)===u?vo-At():(u&4194048)===u?fh-At():0;if($=f_(H,$),$!==null){Vn=u,e.cancelPendingCommit=$(Ch.bind(null,e,t,u,n,i,o,d,m,v,x,H,null,O,D)),ha(e,u,d,!w);return}}Ch(e,t,u,n,i,o,d,m,v)}function wS(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var i=0;i<n.length;i++){var o=n[i],u=o.getSnapshot;o=o.value;try{if(!Bt(u(),o))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 ha(e,t,n,i){t&=~dc,t&=~ar,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var o=t;0<o;){var u=31-yt(o),d=1<<u;i[u]=-1,o&=~d}n!==0&&we(e,n,t)}function _o(){return(xe&6)===0?(el(0),!1):!0}function gc(){if(_e!==null){if(Ue===0)var e=_e.return;else e=_e,Ln=Qa=null,Nu(e),Ir=null,Ui=0,e=_e;for(;e!==null;)Ym(e.alternate,e),e=e.return;_e=null}}function Zr(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,$S(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Vn=0,gc(),Fe=e,_e=n=kn(e.current,null),Ce=t,Ue=0,Pt=null,fa=!1,$r=F(e,t),fc=!1,Qr=Gt=dc=ar=da=tt=0,Ut=Ki=null,pc=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var o=31-yt(i),u=1<<o;t|=e[o],i&=~u}return Fn=t,ql(),n}function yh(e,t){de=null,R.H=Fi,t===jr||t===Xl?(t=kp(),Ue=3):t===_u?(t=kp(),Ue=4):Ue=t===Xu?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Pt=t,_e===null&&(tt=1,uo(e,Xt(t,e.current)))}function gh(){var e=It.current;return e===null?!0:(Ce&4194048)===Ce?Jt===null:(Ce&62914560)===Ce||(Ce&536870912)!==0?e===Jt:!1}function vh(){var e=R.H;return R.H=Fi,e===null?Fi:e}function bh(){var e=R.A;return R.A=TS,e}function Eo(){tt=4,fa||(Ce&4194048)!==Ce&&It.current!==null||($r=!0),(da&134217727)===0&&(ar&134217727)===0||Fe===null||ha(Fe,Ce,Gt,!1)}function vc(e,t,n){var i=xe;xe|=2;var o=vh(),u=bh();(Fe!==e||Ce!==t)&&(So=null,Zr(e,t)),t=!1;var d=tt;e:do try{if(Ue!==0&&_e!==null){var m=_e,v=Pt;switch(Ue){case 8:gc(),d=6;break e;case 3:case 2:case 9:case 6:It.current===null&&(t=!0);var w=Ue;if(Ue=0,Pt=null,Wr(e,m,v,w),n&&$r){d=0;break e}break;default:w=Ue,Ue=0,Pt=null,Wr(e,m,v,w)}}OS(),d=tt;break}catch(x){yh(e,x)}while(!0);return t&&e.shellSuspendCounter++,Ln=Qa=null,xe=i,R.H=o,R.A=u,_e===null&&(Fe=null,Ce=0,ql()),d}function OS(){for(;_e!==null;)Sh(_e)}function RS(e,t){var n=xe;xe|=2;var i=vh(),o=bh();Fe!==e||Ce!==t?(So=null,bo=At()+500,Zr(e,t)):$r=F(e,t);e:do try{if(Ue!==0&&_e!==null){t=_e;var u=Pt;t:switch(Ue){case 1:Ue=0,Pt=null,Wr(e,t,u,1);break;case 2:case 9:if(Dp(u)){Ue=0,Pt=null,_h(t);break}t=function(){Ue!==2&&Ue!==9||Fe!==e||(Ue=7),An(e)},u.then(t,t);break e;case 3:Ue=7;break e;case 4:Ue=5;break e;case 7:Dp(u)?(Ue=0,Pt=null,_h(t)):(Ue=0,Pt=null,Wr(e,t,u,7));break;case 5:var d=null;switch(_e.tag){case 26:d=_e.memoizedState;case 5:case 27:var m=_e;if(d?ly(d):m.stateNode.complete){Ue=0,Pt=null;var v=m.sibling;if(v!==null)_e=v;else{var w=m.return;w!==null?(_e=w,Co(w)):_e=null}break t}}Ue=0,Pt=null,Wr(e,t,u,5);break;case 6:Ue=0,Pt=null,Wr(e,t,u,6);break;case 8:gc(),tt=6;break e;default:throw Error(s(462))}}DS();break}catch(x){yh(e,x)}while(!0);return Ln=Qa=null,R.H=i,R.A=o,xe=n,_e!==null?0:(Fe=null,Ce=0,ql(),tt)}function DS(){for(;_e!==null&&!Ml();)Sh(_e)}function Sh(e){var t=Fm(e.alternate,e,Fn);e.memoizedProps=e.pendingProps,t===null?Co(e):_e=t}function _h(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Bm(n,t,t.pendingProps,t.type,void 0,Ce);break;case 11:t=Bm(n,t,t.pendingProps,t.type.render,t.ref,Ce);break;case 5:Nu(t);default:Ym(n,t),t=_e=bp(t,Fn),t=Fm(n,t,Fn)}e.memoizedProps=e.pendingProps,t===null?Co(e):_e=t}function Wr(e,t,n,i){Ln=Qa=null,Nu(t),Ir=null,Ui=0;var o=t.return;try{if(vS(e,o,t,n,Ce)){tt=1,uo(e,Xt(n,e.current)),_e=null;return}}catch(u){if(o!==null)throw _e=o,u;tt=1,uo(e,Xt(n,e.current)),_e=null;return}t.flags&32768?(Me||i===1?e=!0:$r||(Ce&536870912)!==0?e=!1:(fa=e=!0,(i===2||i===9||i===3||i===6)&&(i=It.current,i!==null&&i.tag===13&&(i.flags|=16384))),Eh(t,e)):Co(t)}function Co(e){var t=e;do{if((t.flags&32768)!==0){Eh(t,fa);return}e=t.return;var n=_S(t.alternate,t,Fn);if(n!==null){_e=n;return}if(t=t.sibling,t!==null){_e=t;return}_e=t=e}while(t!==null);tt===0&&(tt=5)}function Eh(e,t){do{var n=ES(e.alternate,e);if(n!==null){n.flags&=32767,_e=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){_e=e;return}_e=e=n}while(e!==null);tt=6,_e=null}function Ch(e,t,n,i,o,u,d,m,v){e.cancelPendingCommit=null;do Ao();while(ft!==0);if((xe&6)!==0)throw Error(s(327));if(t!==null){if(t===e.current)throw Error(s(177));if(u=t.lanes|t.childLanes,u|=lu,Le(e,n,u,d,m,v),e===Fe&&(_e=Fe=null,Ce=0),Xr=t,ma=e,Vn=n,mc=u,hc=o,dh=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,LS(yr,function(){return Oh(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=R.T,R.T=null,o=B.p,B.p=2,d=xe,xe|=4;try{CS(e,t,n)}finally{xe=d,B.p=o,R.T=i}}ft=1,Ah(),Th(),Mh()}}function Ah(){if(ft===1){ft=0;var e=ma,t=Xr,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=R.T,R.T=null;var i=B.p;B.p=2;var o=xe;xe|=4;try{rh(t,e);var u=Dc,d=cp(e.containerInfo),m=u.focusedElem,v=u.selectionRange;if(d!==m&&m&&m.ownerDocument&&up(m.ownerDocument.documentElement,m)){if(v!==null&&tu(m)){var w=v.start,x=v.end;if(x===void 0&&(x=w),"selectionStart"in m)m.selectionStart=w,m.selectionEnd=Math.min(x,m.value.length);else{var H=m.ownerDocument||document,O=H&&H.defaultView||window;if(O.getSelection){var D=O.getSelection(),$=m.textContent.length,re=Math.min(v.start,$),Ie=v.end===void 0?re:Math.min(v.end,$);!D.extend&&re>Ie&&(d=Ie,Ie=re,re=d);var C=sp(m,re),S=sp(m,Ie);if(C&&S&&(D.rangeCount!==1||D.anchorNode!==C.node||D.anchorOffset!==C.offset||D.focusNode!==S.node||D.focusOffset!==S.offset)){var M=H.createRange();M.setStart(C.node,C.offset),D.removeAllRanges(),re>Ie?(D.addRange(M),D.extend(S.node,S.offset)):(M.setEnd(S.node,S.offset),D.addRange(M))}}}}for(H=[],D=m;D=D.parentNode;)D.nodeType===1&&H.push({element:D,left:D.scrollLeft,top:D.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<H.length;m++){var N=H[m];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}Uo=!!Rc,Dc=Rc=null}finally{xe=o,B.p=i,R.T=n}}e.current=t,ft=2}}function Th(){if(ft===2){ft=0;var e=ma,t=Xr,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=R.T,R.T=null;var i=B.p;B.p=2;var o=xe;xe|=4;try{Jm(e,t.alternate,t)}finally{xe=o,B.p=i,R.T=n}}ft=3}}function Mh(){if(ft===4||ft===3){ft=0,wl();var e=ma,t=Xr,n=Vn,i=dh;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ft=5:(ft=0,Xr=ma=null,wh(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(pa=null),Mt(n),t=t.stateNode,pt&&typeof pt.onCommitFiberRoot=="function")try{pt.onCommitFiberRoot(Ia,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=R.T,o=B.p,B.p=2,R.T=null;try{for(var u=e.onRecoverableError,d=0;d<i.length;d++){var m=i[d];u(m.value,{componentStack:m.stack})}}finally{R.T=t,B.p=o}}(Vn&3)!==0&&Ao(),An(e),o=e.pendingLanes,(n&261930)!==0&&(o&42)!==0?e===yc?Ji++:(Ji=0,yc=e):Ji=0,el(0)}}function wh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Li(t)))}function Ao(){return Ah(),Th(),Mh(),Oh()}function Oh(){if(ft!==5)return!1;var e=ma,t=mc;mc=0;var n=Mt(Vn),i=R.T,o=B.p;try{B.p=32>n?32:n,R.T=null,n=hc,hc=null;var u=ma,d=Vn;if(ft=0,Xr=ma=null,Vn=0,(xe&6)!==0)throw Error(s(331));var m=xe;if(xe|=4,uh(u.current),lh(u,u.current,d,n),xe=m,el(0,!1),pt&&typeof pt.onPostCommitFiberRoot=="function")try{pt.onPostCommitFiberRoot(Ia,u)}catch{}return!0}finally{B.p=o,R.T=i,wh(e,t)}}function Rh(e,t,n){t=Xt(n,t),t=Qu(e.stateNode,t,2),e=oa(e,t,2),e!==null&&(Te(e,2),An(e))}function ze(e,t,n){if(e.tag===3)Rh(e,e,n);else for(;t!==null;){if(t.tag===3){Rh(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(pa===null||!pa.has(i))){e=Xt(n,e),n=Dm(2),i=oa(t,n,2),i!==null&&(xm(n,i,t,e),Te(i,2),An(i));break}}t=t.return}}function bc(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new MS;var o=new Set;i.set(t,o)}else o=i.get(t),o===void 0&&(o=new Set,i.set(t,o));o.has(n)||(fc=!0,o.add(n),e=xS.bind(null,e,t,n),t.then(e,e))}function xS(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Fe===e&&(Ce&n)===n&&(tt===4||tt===3&&(Ce&62914560)===Ce&&300>At()-vo?(xe&2)===0&&Zr(e,0):dc|=n,Qr===Ce&&(Qr=0)),An(e)}function Dh(e,t){t===0&&(t=W()),e=Va(e,t),e!==null&&(Te(e,t),An(e))}function kS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Dh(e,n)}function NS(e,t){var n=0;switch(e.tag){case 31:case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(s(314))}i!==null&&i.delete(t),Dh(e,n)}function LS(e,t){return gn(e,t)}var To=null,Kr=null,Sc=!1,Mo=!1,_c=!1,ya=0;function An(e){e!==Kr&&e.next===null&&(Kr===null?To=Kr=e:Kr=Kr.next=e),Mo=!0,Sc||(Sc=!0,US())}function el(e,t){if(!_c&&Mo){_c=!0;do for(var n=!1,i=To;i!==null;){if(e!==0){var o=i.pendingLanes;if(o===0)var u=0;else{var d=i.suspendedLanes,m=i.pingedLanes;u=(1<<31-yt(42|e)+1)-1,u&=o&~(d&~m),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(n=!0,Lh(i,u))}else u=Ce,u=I(i,i===Fe?u:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(u&3)===0||F(i,u)||(n=!0,Lh(i,u));i=i.next}while(n);_c=!1}}function HS(){xh()}function xh(){Mo=Sc=!1;var e=0;ya!==0&&YS()&&(e=ya);for(var t=At(),n=null,i=To;i!==null;){var o=i.next,u=kh(i,t);u===0?(i.next=null,n===null?To=o:n.next=o,o===null&&(Kr=n)):(n=i,(e!==0||(u&3)!==0)&&(Mo=!0)),i=o}ft!==0&&ft!==5||el(e),ya!==0&&(ya=0)}function kh(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var d=31-yt(u),m=1<<d,v=o[d];v===-1?((m&n)===0||(m&i)!==0)&&(o[d]=V(m,t)):v<=t&&(e.expiredLanes|=m),u&=~m}if(t=Fe,n=Ce,n=I(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,n===0||e===t&&(Ue===2||Ue===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&vn(i),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||F(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(i!==null&&vn(i),Mt(n)){case 2:case 8:n=hr;break;case 32:n=yr;break;case 268435456:n=gr;break;default:n=yr}return i=Nh.bind(null,e),n=gn(n,i),e.callbackPriority=t,e.callbackNode=n,t}return i!==null&&i!==null&&vn(i),e.callbackPriority=2,e.callbackNode=null,2}function Nh(e,t){if(ft!==0&&ft!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Ao()&&e.callbackNode!==n)return null;var i=Ce;return i=I(e,e===Fe?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(mh(e,i,t),kh(e,At()),e.callbackNode!=null&&e.callbackNode===n?Nh.bind(null,e):null)}function Lh(e,t){if(Ao())return null;mh(e,t,!0)}function US(){QS(function(){(xe&6)!==0?gn(vi,HS):xh()})}function Ec(){if(ya===0){var e=zr;e===0&&(e=vr,vr<<=1,(vr&261888)===0&&(vr=256)),ya=e}return ya}function Hh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Nl(""+e)}function Uh(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function zS(e,t,n,i,o){if(t==="submit"&&n&&n.stateNode===o){var u=Hh((o[xt]||null).action),d=i.submitter;d&&(t=(t=d[xt]||null)?Hh(t.formAction):d.getAttribute("formAction"),t!==null&&(u=t,d=null));var m=new zl("action","action",null,i,o);e.push({event:m,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(ya!==0){var v=d?Uh(o,d):new FormData(o);Pu(n,{pending:!0,data:v,method:o.method,action:u},null,v)}}else typeof u=="function"&&(m.preventDefault(),v=d?Uh(o,d):new FormData(o),Pu(n,{pending:!0,data:v,method:o.method,action:u},u,v))},currentTarget:o}]})}}for(var Cc=0;Cc<iu.length;Cc++){var Ac=iu[Cc],BS=Ac.toLowerCase(),jS=Ac[0].toUpperCase()+Ac.slice(1);cn(BS,"on"+jS)}cn(pp,"onAnimationEnd"),cn(mp,"onAnimationIteration"),cn(hp,"onAnimationStart"),cn("dblclick","onDoubleClick"),cn("focusin","onFocus"),cn("focusout","onBlur"),cn(tS,"onTransitionRun"),cn(nS,"onTransitionStart"),cn(aS,"onTransitionCancel"),cn(yp,"onTransitionEnd"),Cr("onMouseEnter",["mouseout","mouseover"]),Cr("onMouseLeave",["mouseout","mouseover"]),Cr("onPointerEnter",["pointerout","pointerover"]),Cr("onPointerLeave",["pointerout","pointerover"]),qa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),qa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),qa("onBeforeInput",["compositionend","keypress","textInput","paste"]),qa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),qa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),qa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var tl="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(" "),IS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(tl));function zh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var i=e[n],o=i.event;i=i.listeners;e:{var u=void 0;if(t)for(var d=i.length-1;0<=d;d--){var m=i[d],v=m.instance,w=m.currentTarget;if(m=m.listener,v!==u&&o.isPropagationStopped())break e;u=m,o.currentTarget=w;try{u(o)}catch(x){Il(x)}o.currentTarget=null,u=v}else for(d=0;d<i.length;d++){if(m=i[d],v=m.instance,w=m.currentTarget,m=m.listener,v!==u&&o.isPropagationStopped())break e;u=m,o.currentTarget=w;try{u(o)}catch(x){Il(x)}o.currentTarget=null,u=v}}}}function Ee(e,t){var n=t[zs];n===void 0&&(n=t[zs]=new Set);var i=e+"__bubble";n.has(i)||(Bh(t,e,2,!1),n.add(i))}function Tc(e,t,n){var i=0;t&&(i|=4),Bh(n,e,i,t)}var wo="_reactListening"+Math.random().toString(36).slice(2);function Mc(e){if(!e[wo]){e[wo]=!0,xd.forEach(function(n){n!=="selectionchange"&&(IS.has(n)||Tc(n,!1,e),Tc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[wo]||(t[wo]=!0,Tc("selectionchange",!1,t))}}function Bh(e,t,n,i){switch(py(t)){case 2:var o=m_;break;case 8:o=h_;break;default:o=qc}n=o.bind(null,t,n,e),o=void 0,!Ys||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),i?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function wc(e,t,n,i,o){var u=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var d=i.tag;if(d===3||d===4){var m=i.stateNode.containerInfo;if(m===o)break;if(d===4)for(d=i.return;d!==null;){var v=d.tag;if((v===3||v===4)&&d.stateNode.containerInfo===o)return;d=d.return}for(;m!==null;){if(d=Sr(m),d===null)return;if(v=d.tag,v===5||v===6||v===26||v===27){i=u=d;continue e}m=m.parentNode}}i=i.return}Gd(function(){var w=u,x=Fs(n),H=[];e:{var O=gp.get(e);if(O!==void 0){var D=zl,$=e;switch(e){case"keypress":if(Hl(n)===0)break e;case"keydown":case"keyup":D=Nb;break;case"focusin":$="focus",D=Zs;break;case"focusout":$="blur",D=Zs;break;case"beforeblur":case"afterblur":D=Zs;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":D=Yd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":D=_b;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":D=Ub;break;case pp:case mp:case hp:D=Ab;break;case yp:D=Bb;break;case"scroll":case"scrollend":D=bb;break;case"wheel":D=Ib;break;case"copy":case"cut":case"paste":D=Mb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":D=Qd;break;case"toggle":case"beforetoggle":D=Pb}var re=(t&4)!==0,Ie=!re&&(e==="scroll"||e==="scrollend"),C=re?O!==null?O+"Capture":null:O;re=[];for(var S=w,M;S!==null;){var N=S;if(M=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||M===null||C===null||(N=Ci(S,C),N!=null&&re.push(nl(S,N,M))),Ie)break;S=S.return}0<re.length&&(O=new D(O,$,null,n,x),H.push({event:O,listeners:re}))}}if((t&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",D=e==="mouseout"||e==="pointerout",O&&n!==Gs&&($=n.relatedTarget||n.fromElement)&&(Sr($)||$[br]))break e;if((D||O)&&(O=x.window===x?x:(O=x.ownerDocument)?O.defaultView||O.parentWindow:window,D?($=n.relatedTarget||n.toElement,D=w,$=$?Sr($):null,$!==null&&(Ie=f($),re=$.tag,$!==Ie||re!==5&&re!==27&&re!==6)&&($=null)):(D=null,$=w),D!==$)){if(re=Yd,N="onMouseLeave",C="onMouseEnter",S="mouse",(e==="pointerout"||e==="pointerover")&&(re=Qd,N="onPointerLeave",C="onPointerEnter",S="pointer"),Ie=D==null?O:Ei(D),M=$==null?O:Ei($),O=new re(N,S+"leave",D,n,x),O.target=Ie,O.relatedTarget=M,N=null,Sr(x)===w&&(re=new re(C,S+"enter",$,n,x),re.target=M,re.relatedTarget=Ie,N=re),Ie=N,D&&$)t:{for(re=qS,C=D,S=$,M=0,N=C;N;N=re(N))M++;N=0;for(var ne=S;ne;ne=re(ne))N++;for(;0<M-N;)C=re(C),M--;for(;0<N-M;)S=re(S),N--;for(;M--;){if(C===S||S!==null&&C===S.alternate){re=C;break t}C=re(C),S=re(S)}re=null}else re=null;D!==null&&jh(H,O,D,re,!1),$!==null&&Ie!==null&&jh(H,Ie,$,re,!0)}}e:{if(O=w?Ei(w):window,D=O.nodeName&&O.nodeName.toLowerCase(),D==="select"||D==="input"&&O.type==="file")var Oe=np;else if(ep(O))if(ap)Oe=Kb;else{Oe=Zb;var K=Xb}else D=O.nodeName,!D||D.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?w&&Ps(w.elementType)&&(Oe=np):Oe=Wb;if(Oe&&(Oe=Oe(e,w))){tp(H,Oe,n,x);break e}K&&K(e,O,w),e==="focusout"&&w&&O.type==="number"&&w.memoizedProps.value!=null&&qs(O,"number",O.value)}switch(K=w?Ei(w):window,e){case"focusin":(ep(K)||K.contentEditable==="true")&&(Rr=K,nu=w,xi=null);break;case"focusout":xi=nu=Rr=null;break;case"mousedown":au=!0;break;case"contextmenu":case"mouseup":case"dragend":au=!1,fp(H,n,x);break;case"selectionchange":if(eS)break;case"keydown":case"keyup":fp(H,n,x)}var me;if(Ks)e:{switch(e){case"compositionstart":var Ae="onCompositionStart";break e;case"compositionend":Ae="onCompositionEnd";break e;case"compositionupdate":Ae="onCompositionUpdate";break e}Ae=void 0}else Or?Kd(e,n)&&(Ae="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Ae="onCompositionStart");Ae&&(Xd&&n.locale!=="ko"&&(Or||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&Or&&(me=Fd()):(ea=x,$s="value"in ea?ea.value:ea.textContent,Or=!0)),K=Oo(w,Ae),0<K.length&&(Ae=new $d(Ae,e,null,n,x),H.push({event:Ae,listeners:K}),me?Ae.data=me:(me=Jd(n),me!==null&&(Ae.data=me)))),(me=Fb?Vb(e,n):Yb(e,n))&&(Ae=Oo(w,"onBeforeInput"),0<Ae.length&&(K=new $d("onBeforeInput","beforeinput",null,n,x),H.push({event:K,listeners:Ae}),K.data=me)),zS(H,e,w,n,x)}zh(H,t)})}function nl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Oo(e,t){for(var n=t+"Capture",i=[];e!==null;){var o=e,u=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||u===null||(o=Ci(e,n),o!=null&&i.unshift(nl(e,o,u)),o=Ci(e,t),o!=null&&i.push(nl(e,o,u))),e.tag===3)return i;e=e.return}return[]}function qS(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function jh(e,t,n,i,o){for(var u=t._reactName,d=[];n!==null&&n!==i;){var m=n,v=m.alternate,w=m.stateNode;if(m=m.tag,v!==null&&v===i)break;m!==5&&m!==26&&m!==27||w===null||(v=w,o?(w=Ci(n,u),w!=null&&d.unshift(nl(n,w,v))):o||(w=Ci(n,u),w!=null&&d.push(nl(n,w,v)))),n=n.return}d.length!==0&&e.push({event:t,listeners:d})}var PS=/\r\n?/g,GS=/\u0000|\uFFFD/g;function Ih(e){return(typeof e=="string"?e:""+e).replace(PS,`
50
+ `).replace(GS,"")}function qh(e,t){return t=Ih(t),Ih(e)===t}function je(e,t,n,i,o,u){switch(n){case"children":typeof i=="string"?t==="body"||t==="textarea"&&i===""||Tr(e,i):(typeof i=="number"||typeof i=="bigint")&&t!=="body"&&Tr(e,""+i);break;case"className":xl(e,"class",i);break;case"tabIndex":xl(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":xl(e,n,i);break;case"style":qd(e,i,u);break;case"data":if(t!=="object"){xl(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=Nl(""+i),e.setAttribute(n,i);break;case"action":case"formAction":if(typeof i=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(n==="formAction"?(t!=="input"&&je(e,t,"name",o.name,o,null),je(e,t,"formEncType",o.formEncType,o,null),je(e,t,"formMethod",o.formMethod,o,null),je(e,t,"formTarget",o.formTarget,o,null)):(je(e,t,"encType",o.encType,o,null),je(e,t,"method",o.method,o,null),je(e,t,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=Nl(""+i),e.setAttribute(n,i);break;case"onClick":i!=null&&(e.onclick=Dn);break;case"onScroll":i!=null&&Ee("scroll",e);break;case"onScrollEnd":i!=null&&Ee("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(s(61));if(n=i.__html,n!=null){if(o.children!=null)throw Error(s(60));e.innerHTML=n}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}n=Nl(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,""+i):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":i===!0?e.setAttribute(n,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,i):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(n,i):e.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(n):e.setAttribute(n,i);break;case"popover":Ee("beforetoggle",e),Ee("toggle",e),Dl(e,"popover",i);break;case"xlinkActuate":Rn(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":Rn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":Rn(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":Rn(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":Rn(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":Rn(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":Rn(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":Rn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":Rn(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Dl(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=gb.get(n)||n,Dl(e,n,i))}}function Oc(e,t,n,i,o,u){switch(n){case"style":qd(e,i,u);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(s(61));if(n=i.__html,n!=null){if(o.children!=null)throw Error(s(60));e.innerHTML=n}}break;case"children":typeof i=="string"?Tr(e,i):(typeof i=="number"||typeof i=="bigint")&&Tr(e,""+i);break;case"onScroll":i!=null&&Ee("scroll",e);break;case"onScrollEnd":i!=null&&Ee("scrollend",e);break;case"onClick":i!=null&&(e.onclick=Dn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!kd.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),u=e[xt]||null,u=u!=null?u[n]:null,typeof u=="function"&&e.removeEventListener(t,u,o),typeof i=="function")){typeof u!="function"&&u!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,i,o);break e}n in e?e[n]=i:i===!0?e.setAttribute(n,""):Dl(e,n,i)}}}function _t(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ee("error",e),Ee("load",e);var i=!1,o=!1,u;for(u in n)if(n.hasOwnProperty(u)){var d=n[u];if(d!=null)switch(u){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:je(e,t,u,d,n,null)}}o&&je(e,t,"srcSet",n.srcSet,n,null),i&&je(e,t,"src",n.src,n,null);return;case"input":Ee("invalid",e);var m=u=d=o=null,v=null,w=null;for(i in n)if(n.hasOwnProperty(i)){var x=n[i];if(x!=null)switch(i){case"name":o=x;break;case"type":d=x;break;case"checked":v=x;break;case"defaultChecked":w=x;break;case"value":u=x;break;case"defaultValue":m=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(s(137,t));break;default:je(e,t,i,x,n,null)}}zd(e,u,m,v,w,d,o,!1);return;case"select":Ee("invalid",e),i=d=u=null;for(o in n)if(n.hasOwnProperty(o)&&(m=n[o],m!=null))switch(o){case"value":u=m;break;case"defaultValue":d=m;break;case"multiple":i=m;default:je(e,t,o,m,n,null)}t=u,n=d,e.multiple=!!i,t!=null?Ar(e,!!i,t,!1):n!=null&&Ar(e,!!i,n,!0);return;case"textarea":Ee("invalid",e),u=o=i=null;for(d in n)if(n.hasOwnProperty(d)&&(m=n[d],m!=null))switch(d){case"value":i=m;break;case"defaultValue":o=m;break;case"children":u=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(s(91));break;default:je(e,t,d,m,n,null)}jd(e,i,o,u);return;case"option":for(v in n)if(n.hasOwnProperty(v)&&(i=n[v],i!=null))switch(v){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:je(e,t,v,i,n,null)}return;case"dialog":Ee("beforetoggle",e),Ee("toggle",e),Ee("cancel",e),Ee("close",e);break;case"iframe":case"object":Ee("load",e);break;case"video":case"audio":for(i=0;i<tl.length;i++)Ee(tl[i],e);break;case"image":Ee("error",e),Ee("load",e);break;case"details":Ee("toggle",e);break;case"embed":case"source":case"link":Ee("error",e),Ee("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(w in n)if(n.hasOwnProperty(w)&&(i=n[w],i!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:je(e,t,w,i,n,null)}return;default:if(Ps(t)){for(x in n)n.hasOwnProperty(x)&&(i=n[x],i!==void 0&&Oc(e,t,x,i,n,void 0));return}}for(m in n)n.hasOwnProperty(m)&&(i=n[m],i!=null&&je(e,t,m,i,n,null))}function FS(e,t,n,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,u=null,d=null,m=null,v=null,w=null,x=null;for(D in n){var H=n[D];if(n.hasOwnProperty(D)&&H!=null)switch(D){case"checked":break;case"value":break;case"defaultValue":v=H;default:i.hasOwnProperty(D)||je(e,t,D,null,i,H)}}for(var O in i){var D=i[O];if(H=n[O],i.hasOwnProperty(O)&&(D!=null||H!=null))switch(O){case"type":u=D;break;case"name":o=D;break;case"checked":w=D;break;case"defaultChecked":x=D;break;case"value":d=D;break;case"defaultValue":m=D;break;case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(s(137,t));break;default:D!==H&&je(e,t,O,D,i,H)}}Is(e,d,m,v,w,x,u,o);return;case"select":D=d=m=O=null;for(u in n)if(v=n[u],n.hasOwnProperty(u)&&v!=null)switch(u){case"value":break;case"multiple":D=v;default:i.hasOwnProperty(u)||je(e,t,u,null,i,v)}for(o in i)if(u=i[o],v=n[o],i.hasOwnProperty(o)&&(u!=null||v!=null))switch(o){case"value":O=u;break;case"defaultValue":m=u;break;case"multiple":d=u;default:u!==v&&je(e,t,o,u,i,v)}t=m,n=d,i=D,O!=null?Ar(e,!!n,O,!1):!!i!=!!n&&(t!=null?Ar(e,!!n,t,!0):Ar(e,!!n,n?[]:"",!1));return;case"textarea":D=O=null;for(m in n)if(o=n[m],n.hasOwnProperty(m)&&o!=null&&!i.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:je(e,t,m,null,i,o)}for(d in i)if(o=i[d],u=n[d],i.hasOwnProperty(d)&&(o!=null||u!=null))switch(d){case"value":O=o;break;case"defaultValue":D=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(s(91));break;default:o!==u&&je(e,t,d,o,i,u)}Bd(e,O,D);return;case"option":for(var $ in n)if(O=n[$],n.hasOwnProperty($)&&O!=null&&!i.hasOwnProperty($))switch($){case"selected":e.selected=!1;break;default:je(e,t,$,null,i,O)}for(v in i)if(O=i[v],D=n[v],i.hasOwnProperty(v)&&O!==D&&(O!=null||D!=null))switch(v){case"selected":e.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:je(e,t,v,O,i,D)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var re in n)O=n[re],n.hasOwnProperty(re)&&O!=null&&!i.hasOwnProperty(re)&&je(e,t,re,null,i,O);for(w in i)if(O=i[w],D=n[w],i.hasOwnProperty(w)&&O!==D&&(O!=null||D!=null))switch(w){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(s(137,t));break;default:je(e,t,w,O,i,D)}return;default:if(Ps(t)){for(var Ie in n)O=n[Ie],n.hasOwnProperty(Ie)&&O!==void 0&&!i.hasOwnProperty(Ie)&&Oc(e,t,Ie,void 0,i,O);for(x in i)O=i[x],D=n[x],!i.hasOwnProperty(x)||O===D||O===void 0&&D===void 0||Oc(e,t,x,O,i,D);return}}for(var C in n)O=n[C],n.hasOwnProperty(C)&&O!=null&&!i.hasOwnProperty(C)&&je(e,t,C,null,i,O);for(H in i)O=i[H],D=n[H],!i.hasOwnProperty(H)||O===D||O==null&&D==null||je(e,t,H,O,i,D)}function Ph(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function VS(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),i=0;i<n.length;i++){var o=n[i],u=o.transferSize,d=o.initiatorType,m=o.duration;if(u&&m&&Ph(d)){for(d=0,m=o.responseEnd,i+=1;i<n.length;i++){var v=n[i],w=v.startTime;if(w>m)break;var x=v.transferSize,H=v.initiatorType;x&&Ph(H)&&(v=v.responseEnd,d+=x*(v<m?1:(m-w)/(v-w)))}if(--i,t+=8*(u+d)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Rc=null,Dc=null;function Ro(e){return e.nodeType===9?e:e.ownerDocument}function Gh(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Fh(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function xc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var kc=null;function YS(){var e=window.event;return e&&e.type==="popstate"?e===kc?!1:(kc=e,!0):(kc=null,!1)}var Vh=typeof setTimeout=="function"?setTimeout:void 0,$S=typeof clearTimeout=="function"?clearTimeout:void 0,Yh=typeof Promise=="function"?Promise:void 0,QS=typeof queueMicrotask=="function"?queueMicrotask:typeof Yh<"u"?function(e){return Yh.resolve(null).then(e).catch(XS)}:Vh;function XS(e){setTimeout(function(){throw e})}function ga(e){return e==="head"}function $h(e,t){var n=t,i=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"||n==="/&"){if(i===0){e.removeChild(o),ni(t);return}i--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")i++;else if(n==="html")al(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,al(n);for(var u=n.firstChild;u;){var d=u.nextSibling,m=u.nodeName;u[_i]||m==="SCRIPT"||m==="STYLE"||m==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=d}}else n==="body"&&al(e.ownerDocument.body);n=o}while(n);ni(t)}function Qh(e,t){var n=e;e=0;do{var i=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=i}while(n)}function Nc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Nc(n),Bs(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function ZS(e,t,n,i){for(;e.nodeType===1;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[_i])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=en(e.nextSibling),e===null)break}return null}function WS(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=en(e.nextSibling),e===null))return null;return e}function Xh(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=en(e.nextSibling),e===null))return null;return e}function Lc(e){return e.data==="$?"||e.data==="$~"}function Hc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function KS(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var i=function(){t(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function en(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==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Uc=null;function Zh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return en(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function Wh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function Kh(e,t,n){switch(t=Ro(n),e){case"html":if(e=t.documentElement,!e)throw Error(s(452));return e;case"head":if(e=t.head,!e)throw Error(s(453));return e;case"body":if(e=t.body,!e)throw Error(s(454));return e;default:throw Error(s(451))}}function al(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Bs(e)}var tn=new Map,Jh=new Set;function Do(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Yn=B.d;B.d={f:JS,r:e_,D:t_,C:n_,L:a_,m:r_,X:l_,S:i_,M:o_};function JS(){var e=Yn.f(),t=_o();return e||t}function e_(e){var t=_r(e);t!==null&&t.tag===5&&t.type==="form"?ym(t):Yn.r(e)}var Jr=typeof document>"u"?null:document;function ey(e,t,n){var i=Jr;if(i&&typeof t=="string"&&t){var o=$t(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof n=="string"&&(o+='[crossorigin="'+n+'"]'),Jh.has(o)||(Jh.add(o),e={rel:e,crossOrigin:n,href:t},i.querySelector(o)===null&&(t=i.createElement("link"),_t(t,"link",e),mt(t),i.head.appendChild(t)))}}function t_(e){Yn.D(e),ey("dns-prefetch",e,null)}function n_(e,t){Yn.C(e,t),ey("preconnect",e,t)}function a_(e,t,n){Yn.L(e,t,n);var i=Jr;if(i&&e&&t){var o='link[rel="preload"][as="'+$t(t)+'"]';t==="image"&&n&&n.imageSrcSet?(o+='[imagesrcset="'+$t(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(o+='[imagesizes="'+$t(n.imageSizes)+'"]')):o+='[href="'+$t(e)+'"]';var u=o;switch(t){case"style":u=ei(e);break;case"script":u=ti(e)}tn.has(u)||(e=_({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),tn.set(u,e),i.querySelector(o)!==null||t==="style"&&i.querySelector(rl(u))||t==="script"&&i.querySelector(il(u))||(t=i.createElement("link"),_t(t,"link",e),mt(t),i.head.appendChild(t)))}}function r_(e,t){Yn.m(e,t);var n=Jr;if(n&&e){var i=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+$t(i)+'"][href="'+$t(e)+'"]',u=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=ti(e)}if(!tn.has(u)&&(e=_({rel:"modulepreload",href:e},t),tn.set(u,e),n.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(il(u)))return}i=n.createElement("link"),_t(i,"link",e),mt(i),n.head.appendChild(i)}}}function i_(e,t,n){Yn.S(e,t,n);var i=Jr;if(i&&e){var o=Er(i).hoistableStyles,u=ei(e);t=t||"default";var d=o.get(u);if(!d){var m={loading:0,preload:null};if(d=i.querySelector(rl(u)))m.loading=5;else{e=_({rel:"stylesheet",href:e,"data-precedence":t},n),(n=tn.get(u))&&zc(e,n);var v=d=i.createElement("link");mt(v),_t(v,"link",e),v._p=new Promise(function(w,x){v.onload=w,v.onerror=x}),v.addEventListener("load",function(){m.loading|=1}),v.addEventListener("error",function(){m.loading|=2}),m.loading|=4,xo(d,t,i)}d={type:"stylesheet",instance:d,count:1,state:m},o.set(u,d)}}}function l_(e,t){Yn.X(e,t);var n=Jr;if(n&&e){var i=Er(n).hoistableScripts,o=ti(e),u=i.get(o);u||(u=n.querySelector(il(o)),u||(e=_({src:e,async:!0},t),(t=tn.get(o))&&Bc(e,t),u=n.createElement("script"),mt(u),_t(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},i.set(o,u))}}function o_(e,t){Yn.M(e,t);var n=Jr;if(n&&e){var i=Er(n).hoistableScripts,o=ti(e),u=i.get(o);u||(u=n.querySelector(il(o)),u||(e=_({src:e,async:!0,type:"module"},t),(t=tn.get(o))&&Bc(e,t),u=n.createElement("script"),mt(u),_t(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},i.set(o,u))}}function ty(e,t,n,i){var o=(o=se.current)?Do(o):null;if(!o)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=ei(n.href),n=Er(o).hoistableStyles,i=n.get(t),i||(i={type:"style",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=ei(n.href);var u=Er(o).hoistableStyles,d=u.get(e);if(d||(o=o.ownerDocument||o,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,d),(u=o.querySelector(rl(e)))&&!u._p&&(d.instance=u,d.state.loading=5),tn.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},tn.set(e,n),u||s_(o,e,n,d.state))),t&&i===null)throw Error(s(528,""));return d}if(t&&i!==null)throw Error(s(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ti(n),n=Er(o).hoistableScripts,i=n.get(t),i||(i={type:"script",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function ei(e){return'href="'+$t(e)+'"'}function rl(e){return'link[rel="stylesheet"]['+e+"]"}function ny(e){return _({},e,{"data-precedence":e.precedence,precedence:null})}function s_(e,t,n,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=1:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2}),_t(t,"link",n),mt(t),e.head.appendChild(t))}function ti(e){return'[src="'+$t(e)+'"]'}function il(e){return"script[async]"+e}function ay(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+$t(n.href)+'"]');if(i)return t.instance=i,mt(i),i;var o=_({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),mt(i),_t(i,"style",o),xo(i,n.precedence,e),t.instance=i;case"stylesheet":o=ei(n.href);var u=e.querySelector(rl(o));if(u)return t.state.loading|=4,t.instance=u,mt(u),u;i=ny(n),(o=tn.get(o))&&zc(i,o),u=(e.ownerDocument||e).createElement("link"),mt(u);var d=u;return d._p=new Promise(function(m,v){d.onload=m,d.onerror=v}),_t(u,"link",i),t.state.loading|=4,xo(u,n.precedence,e),t.instance=u;case"script":return u=ti(n.src),(o=e.querySelector(il(u)))?(t.instance=o,mt(o),o):(i=n,(o=tn.get(u))&&(i=_({},n),Bc(i,o)),e=e.ownerDocument||e,o=e.createElement("script"),mt(o),_t(o,"link",i),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(s(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,xo(i,n.precedence,e));return t.instance}function xo(e,t,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=i.length?i[i.length-1]:null,u=o,d=0;d<i.length;d++){var m=i[d];if(m.dataset.precedence===t)u=m;else if(u!==o)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function zc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Bc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var ko=null;function ry(e,t,n){if(ko===null){var i=new Map,o=ko=new Map;o.set(n,i)}else o=ko,i=o.get(n),i||(i=new Map,o.set(n,i));if(i.has(e))return i;for(i.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var u=n[o];if(!(u[_i]||u[gt]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var d=u.getAttribute(t)||"";d=e+d;var m=i.get(d);m?m.push(u):i.set(d,[u])}}return i}function iy(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function u_(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function ly(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function c_(e,t,n,i){if(n.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var o=ei(i.href),u=t.querySelector(rl(o));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=No.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=u,mt(u);return}u=t.ownerDocument||t,i=ny(i),(o=tn.get(o))&&zc(i,o),u=u.createElement("link"),mt(u);var d=u;d._p=new Promise(function(m,v){d.onload=m,d.onerror=v}),_t(u,"link",i),n.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=No.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var jc=0;function f_(e,t){return e.stylesheets&&e.count===0&&Ho(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var i=setTimeout(function(){if(e.stylesheets&&Ho(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&jc===0&&(jc=62500*VS());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ho(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>jc?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(o)}}:null}function No(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ho(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Lo=null;function Ho(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Lo=new Map,t.forEach(d_,e),Lo=null,No.call(e))}function d_(e,t){if(!(t.state.loading&4)){var n=Lo.get(e);if(n)var i=n.get(null);else{n=new Map,Lo.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<o.length;u++){var d=o[u];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(n.set(d.dataset.precedence,d),i=d)}i&&n.set(null,i)}o=t.instance,d=o.getAttribute("data-precedence"),u=n.get(d)||i,u===i&&n.set(null,o),n.set(d,o),this.count++,i=No.bind(this),o.addEventListener("load",i),o.addEventListener("error",i),u?u.parentNode.insertBefore(o,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var ll={$$typeof:J,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function p_(e,t,n,i,o,u,d,m,v){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ue(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ue(0),this.hiddenUpdates=ue(null),this.identifierPrefix=i,this.onUncaughtError=o,this.onCaughtError=u,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=v,this.incompleteTransitions=new Map}function oy(e,t,n,i,o,u,d,m,v,w,x,H){return e=new p_(e,t,n,d,v,w,x,H,m),t=1,u===!0&&(t|=24),u=jt(3,null,null,t),e.current=u,u.stateNode=e,t=vu(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:i,isDehydrated:n,cache:t},Eu(u),e}function sy(e){return e?(e=kr,e):kr}function uy(e,t,n,i,o,u){o=sy(o),i.context===null?i.context=o:i.pendingContext=o,i=la(t),i.payload={element:n},u=u===void 0?null:u,u!==null&&(i.callback=u),n=oa(e,i,t),n!==null&&(zt(n,e,t),Bi(n,e,t))}function cy(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ic(e,t){cy(e,t),(e=e.alternate)&&cy(e,t)}function fy(e){if(e.tag===13||e.tag===31){var t=Va(e,67108864);t!==null&&zt(t,e,67108864),Ic(e,67108864)}}function dy(e){if(e.tag===13||e.tag===31){var t=Ft();t=We(t);var n=Va(e,t);n!==null&&zt(n,e,t),Ic(e,t)}}var Uo=!0;function m_(e,t,n,i){var o=R.T;R.T=null;var u=B.p;try{B.p=2,qc(e,t,n,i)}finally{B.p=u,R.T=o}}function h_(e,t,n,i){var o=R.T;R.T=null;var u=B.p;try{B.p=8,qc(e,t,n,i)}finally{B.p=u,R.T=o}}function qc(e,t,n,i){if(Uo){var o=Pc(i);if(o===null)wc(e,t,i,zo,n),my(e,i);else if(g_(o,e,t,n,i))i.stopPropagation();else if(my(e,i),t&4&&-1<y_.indexOf(e)){for(;o!==null;){var u=_r(o);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var d=U(u.pendingLanes);if(d!==0){var m=u;for(m.pendingLanes|=2,m.entangledLanes|=2;d;){var v=1<<31-yt(d);m.entanglements[1]|=v,d&=~v}An(u),(xe&6)===0&&(bo=At()+500,el(0))}}break;case 31:case 13:m=Va(u,2),m!==null&&zt(m,u,2),_o(),Ic(u,2)}if(u=Pc(i),u===null&&wc(e,t,i,zo,n),u===o)break;o=u}o!==null&&i.stopPropagation()}else wc(e,t,i,null,n)}}function Pc(e){return e=Fs(e),Gc(e)}var zo=null;function Gc(e){if(zo=null,e=Sr(e),e!==null){var t=f(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=p(t),e!==null)return e;e=null}else if(n===31){if(e=h(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 zo=e,null}function py(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ol()){case vi:return 2;case hr:return 8;case yr:case Ls:return 32;case gr:return 268435456;default:return 32}default:return 32}}var Fc=!1,va=null,ba=null,Sa=null,ol=new Map,sl=new Map,_a=[],y_="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".split(" ");function my(e,t){switch(e){case"focusin":case"focusout":va=null;break;case"dragenter":case"dragleave":ba=null;break;case"mouseover":case"mouseout":Sa=null;break;case"pointerover":case"pointerout":ol.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":sl.delete(t.pointerId)}}function ul(e,t,n,i,o,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:u,targetContainers:[o]},t!==null&&(t=_r(t),t!==null&&fy(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function g_(e,t,n,i,o){switch(t){case"focusin":return va=ul(va,e,t,n,i,o),!0;case"dragenter":return ba=ul(ba,e,t,n,i,o),!0;case"mouseover":return Sa=ul(Sa,e,t,n,i,o),!0;case"pointerover":var u=o.pointerId;return ol.set(u,ul(ol.get(u)||null,e,t,n,i,o)),!0;case"gotpointercapture":return u=o.pointerId,sl.set(u,ul(sl.get(u)||null,e,t,n,i,o)),!0}return!1}function hy(e){var t=Sr(e.target);if(t!==null){var n=f(t);if(n!==null){if(t=n.tag,t===13){if(t=p(n),t!==null){e.blockedOn=t,Si(e.priority,function(){dy(n)});return}}else if(t===31){if(t=h(n),t!==null){e.blockedOn=t,Si(e.priority,function(){dy(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 Bo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Pc(e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);Gs=i,n.target.dispatchEvent(i),Gs=null}else return t=_r(n),t!==null&&fy(t),e.blockedOn=n,!1;t.shift()}return!0}function yy(e,t,n){Bo(e)&&n.delete(t)}function v_(){Fc=!1,va!==null&&Bo(va)&&(va=null),ba!==null&&Bo(ba)&&(ba=null),Sa!==null&&Bo(Sa)&&(Sa=null),ol.forEach(yy),sl.forEach(yy)}function jo(e,t){e.blockedOn===t&&(e.blockedOn=null,Fc||(Fc=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,v_)))}var Io=null;function gy(e){Io!==e&&(Io=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){Io===e&&(Io=null);for(var t=0;t<e.length;t+=3){var n=e[t],i=e[t+1],o=e[t+2];if(typeof i!="function"){if(Gc(i||n)===null)continue;break}var u=_r(n);u!==null&&(e.splice(t,3),t-=3,Pu(u,{pending:!0,data:o,method:n.method,action:i},i,o))}}))}function ni(e){function t(v){return jo(v,e)}va!==null&&jo(va,e),ba!==null&&jo(ba,e),Sa!==null&&jo(Sa,e),ol.forEach(t),sl.forEach(t);for(var n=0;n<_a.length;n++){var i=_a[n];i.blockedOn===e&&(i.blockedOn=null)}for(;0<_a.length&&(n=_a[0],n.blockedOn===null);)hy(n),n.blockedOn===null&&_a.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var o=n[i],u=n[i+1],d=o[xt]||null;if(typeof u=="function")d||gy(n);else if(d){var m=null;if(u&&u.hasAttribute("formAction")){if(o=u,d=u[xt]||null)m=d.formAction;else if(Gc(o)!==null)continue}else m=d.action;typeof m=="function"?n[i+1]=m:(n.splice(i,3),i-=3),gy(n)}}}function vy(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(d){return o=d})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),i||setTimeout(n,20)}function n(){if(!i&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function Vc(e){this._internalRoot=e}qo.prototype.render=Vc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));var n=t.current,i=Ft();uy(n,i,e,t,null,null)},qo.prototype.unmount=Vc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;uy(e.current,2,null,e,null,null),_o(),t[br]=null}};function qo(e){this._internalRoot=e}qo.prototype.unstable_scheduleHydration=function(e){if(e){var t=sn();e={blockedOn:null,target:e,priority:t};for(var n=0;n<_a.length&&t!==0&&t<_a[n].priority;n++);_a.splice(n,0,e),n===0&&hy(e)}};var by=r.version;if(by!=="19.2.7")throw Error(s(527,by,"19.2.7"));B.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=y(t),e=e!==null?E(e):null,e=e===null?null:e.stateNode,e};var b_={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Po=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Po.isDisabled&&Po.supportsFiber)try{Ia=Po.inject(b_),pt=Po}catch{}}return fl.createRoot=function(e,t){if(!c(e))throw Error(s(299));var n=!1,i="",o=Mm,u=wm,d=Om;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError)),t=oy(e,1,!1,null,null,n,i,null,o,u,d,vy),e[br]=t.current,Mc(e),new Vc(t)},fl.hydrateRoot=function(e,t,n){if(!c(e))throw Error(s(299));var i=!1,o="",u=Mm,d=wm,m=Om,v=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(u=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(m=n.onRecoverableError),n.formState!==void 0&&(v=n.formState)),t=oy(e,1,!0,t,n??null,i,o,v,u,d,m,vy),t.context=sy(null),n=t.current,i=Ft(),i=We(i),o=la(i),o.callback=null,oa(n,o,i),n=i,t.current.lanes=n,Te(t,n),An(t),e[br]=t.current,Mc(e),new qo(t)},fl.version="19.2.7",fl}var Ry;function N_(){if(Ry)return Qc.exports;Ry=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(r){console.error(r)}}return a(),Qc.exports=k_(),Qc.exports}var L_=N_();const qe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Oa="8.55.2",ke=globalThis;function hs(a,r,l){const s=l||ke,c=s.__SENTRY__=s.__SENTRY__||{},f=c[Oa]=c[Oa]||{};return f[a]||(f[a]=r())}const ur=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,H_="Sentry Logger ",vf=["debug","info","warn","error","log","assert","trace"],ls={};function cr(a){if(!("console"in ke))return a();const r=ke.console,l={},s=Object.keys(ls);s.forEach(c=>{const f=ls[c];l[c]=r[c],r[c]=f});try{return a()}finally{s.forEach(c=>{r[c]=l[c]})}}function U_(){let a=!1;const r={enable:()=>{a=!0},disable:()=>{a=!1},isEnabled:()=>a};return ur?vf.forEach(l=>{r[l]=(...s)=>{a&&cr(()=>{ke.console[l](`${H_}[${l}]:`,...s)})}}):vf.forEach(l=>{r[l]=()=>{}}),r}const ie=hs("logger",U_),f0=50,ir="?",Dy=/\(error: (.*)\)/,xy=/captureMessage|captureException/;function d0(...a){const r=a.sort((l,s)=>l[0]-s[0]).map(l=>l[1]);return(l,s=0,c=0)=>{const f=[],p=l.split(`
51
+ `);for(let h=s;h<p.length;h++){const g=p[h];if(g.length>1024)continue;const y=Dy.test(g)?g.replace(Dy,"$1"):g;if(!y.match(/\S*Error: /)){for(const E of r){const _=E(y);if(_){f.push(_);break}}if(f.length>=f0+c)break}}return B_(f.slice(c))}}function z_(a){return Array.isArray(a)?d0(...a):a}function B_(a){if(!a.length)return[];const r=Array.from(a);return/sentryWrapped/.test(Go(r).function||"")&&r.pop(),r.reverse(),xy.test(Go(r).function||"")&&(r.pop(),xy.test(Go(r).function||"")&&r.pop()),r.slice(0,f0).map(l=>({...l,filename:l.filename||Go(r).filename,function:l.function||ir}))}function Go(a){return a[a.length-1]||{}}const Kc="<anonymous>";function ka(a){try{return!a||typeof a!="function"?Kc:a.name||Kc}catch{return Kc}}function ky(a){const r=a.exception;if(r){const l=[];try{return r.values.forEach(s=>{s.stacktrace.frames&&l.push(...s.stacktrace.frames)}),l}catch{return}}}const Jo={},Ny={};function fr(a,r){Jo[a]=Jo[a]||[],Jo[a].push(r)}function dr(a,r){if(!Ny[a]){Ny[a]=!0;try{r()}catch(l){ur&&ie.error(`Error while instrumenting ${a}`,l)}}}function mn(a,r){const l=a&&Jo[a];if(l)for(const s of l)try{s(r)}catch(c){ur&&ie.error(`Error while triggering instrumentation handler.
52
52
  Type: ${a}
53
53
  Name: ${ka(s)}
54
- Error:`,c)}}let Kc=null;function z_(a){const r="error";fr(r,a),dr(r,B_)}function B_(){Kc=ke.onerror,ke.onerror=function(a,r,l,s,c){return mn("error",{column:s,error:c,line:l,msg:a,url:r}),Kc?Kc.apply(this,arguments):!1},ke.onerror.__SENTRY_INSTRUMENTED__=!0}let Jc=null;function j_(a){const r="unhandledrejection";fr(r,a),dr(r,I_)}function I_(){Jc=ke.onunhandledrejection,ke.onunhandledrejection=function(a){return mn("unhandledrejection",a),Jc?Jc.apply(this,arguments):!0},ke.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function ys(){return Kf(ke),ke}function Kf(a){const r=a.__SENTRY__=a.__SENTRY__||{};return r.version=r.version||Oa,r[Oa]=r[Oa]||{}}const d0=Object.prototype.toString;function gs(a){switch(d0.call(a)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return lr(a,Error)}}function pi(a,r){return d0.call(a)===`[object ${r}]`}function p0(a){return pi(a,"ErrorEvent")}function Ly(a){return pi(a,"DOMError")}function q_(a){return pi(a,"DOMException")}function Zn(a){return pi(a,"String")}function Jf(a){return typeof a=="object"&&a!==null&&"__sentry_template_string__"in a&&"__sentry_template_values__"in a}function ed(a){return a===null||Jf(a)||typeof a!="object"&&typeof a!="function"}function ii(a){return pi(a,"Object")}function vs(a){return typeof Event<"u"&&lr(a,Event)}function P_(a){return typeof Element<"u"&&lr(a,Element)}function G_(a){return pi(a,"RegExp")}function bs(a){return!!(a&&a.then&&typeof a.then=="function")}function F_(a){return ii(a)&&"nativeEvent"in a&&"preventDefault"in a&&"stopPropagation"in a}function lr(a,r){try{return a instanceof r}catch{return!1}}function m0(a){return!!(typeof a=="object"&&a!==null&&(a.__isVue||a._isVue))}const td=ke,V_=80;function h0(a,r={}){if(!a)return"<unknown>";try{let l=a;const s=5,c=[];let f=0,p=0;const h=" > ",g=h.length;let y;const E=Array.isArray(r)?r:r.keyAttrs,_=!Array.isArray(r)&&r.maxStringLength||V_;for(;l&&f++<s&&(y=Y_(l,E),!(y==="html"||f>1&&p+c.length*g+y.length>=_));)c.push(y),p+=y.length,l=l.parentNode;return c.reverse().join(h)}catch{return"<unknown>"}}function Y_(a,r){const l=a,s=[];if(!l||!l.tagName)return"";if(td.HTMLElement&&l instanceof HTMLElement&&l.dataset){if(l.dataset.sentryComponent)return l.dataset.sentryComponent;if(l.dataset.sentryElement)return l.dataset.sentryElement}s.push(l.tagName.toLowerCase());const c=r&&r.length?r.filter(p=>l.getAttribute(p)).map(p=>[p,l.getAttribute(p)]):null;if(c&&c.length)c.forEach(p=>{s.push(`[${p[0]}="${p[1]}"]`)});else{l.id&&s.push(`#${l.id}`);const p=l.className;if(p&&Zn(p)){const h=p.split(/\s+/);for(const g of h)s.push(`.${g}`)}}const f=["aria-label","type","name","title","alt"];for(const p of f){const h=l.getAttribute(p);h&&s.push(`[${p}="${h}"]`)}return s.join("")}function $_(){try{return td.document.location.href}catch{return""}}function Q_(a){if(!td.HTMLElement)return null;let r=a;const l=5;for(let s=0;s<l;s++){if(!r)return null;if(r instanceof HTMLElement){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}r=r.parentNode}return null}function ai(a,r=0){return typeof a!="string"||r===0||a.length<=r?a:`${a.slice(0,r)}...`}function Hy(a,r){if(!Array.isArray(a))return"";const l=[];for(let s=0;s<a.length;s++){const c=a[s];try{m0(c)?l.push("[VueViewModel]"):l.push(String(c))}catch{l.push("[value cannot be serialized]")}}return l.join(r)}function X_(a,r,l=!1){return Zn(a)?G_(r)?r.test(a):Zn(r)?l?a===r:a.includes(r):!1:!1}function Ss(a,r=[],l=!1){return r.some(s=>X_(a,s,l))}function Vt(a,r,l){if(!(r in a))return;const s=a[r],c=l(s);typeof c=="function"&&y0(c,s);try{a[r]=c}catch{ur&&ie.log(`Failed to replace method "${r}" in object`,a)}}function or(a,r,l){try{Object.defineProperty(a,r,{value:l,writable:!0,configurable:!0})}catch{ur&&ie.log(`Failed to add non-enumerable property "${r}" to object`,a)}}function y0(a,r){try{const l=r.prototype||{};a.prototype=r.prototype=l,or(a,"__sentry_original__",r)}catch{}}function nd(a){return a.__sentry_original__}function g0(a){if(gs(a))return{message:a.message,name:a.name,stack:a.stack,...zy(a)};if(vs(a)){const r={type:a.type,target:Uy(a.target),currentTarget:Uy(a.currentTarget),...zy(a)};return typeof CustomEvent<"u"&&lr(a,CustomEvent)&&(r.detail=a.detail),r}else return a}function Uy(a){try{return P_(a)?h0(a):Object.prototype.toString.call(a)}catch{return"<unknown>"}}function zy(a){if(typeof a=="object"&&a!==null){const r={};for(const l in a)Object.prototype.hasOwnProperty.call(a,l)&&(r[l]=a[l]);return r}else return{}}function Z_(a,r=40){const l=Object.keys(g0(a));l.sort();const s=l[0];if(!s)return"[object has no keys]";if(s.length>=r)return ai(s,r);for(let c=l.length;c>0;c--){const f=l.slice(0,c).join(", ");if(!(f.length>r))return c===l.length?f:ai(f,r)}return""}function an(a){return vf(a,new Map)}function vf(a,r){if(W_(a)){const l=r.get(a);if(l!==void 0)return l;const s={};r.set(a,s);for(const c of Object.getOwnPropertyNames(a))typeof a[c]<"u"&&(s[c]=vf(a[c],r));return s}if(Array.isArray(a)){const l=r.get(a);if(l!==void 0)return l;const s=[];return r.set(a,s),a.forEach(c=>{s.push(vf(c,r))}),s}return a}function W_(a){if(!ii(a))return!1;try{const r=Object.getPrototypeOf(a).constructor.name;return!r||r==="Object"}catch{return!0}}const v0=1e3;function Sl(){return Date.now()/v0}function K_(){const{performance:a}=ke;if(!a||!a.now)return Sl;const r=Date.now()-a.now(),l=a.timeOrigin==null?r:a.timeOrigin;return()=>(l+a.now())/v0}const Wn=K_();(()=>{const{performance:a}=ke;if(!a||!a.now)return;const r=3600*1e3,l=a.now(),s=Date.now(),c=a.timeOrigin?Math.abs(a.timeOrigin+l-s):r,f=c<r,p=a.timing&&a.timing.navigationStart,g=typeof p=="number"?Math.abs(p+l-s):r,y=g<r;return f||y?c<=g?a.timeOrigin:p:s})();function rn(){const a=ke,r=a.crypto||a.msCrypto;let l=()=>Math.random()*16;try{if(r&&r.randomUUID)return r.randomUUID().replace(/-/g,"");r&&r.getRandomValues&&(l=()=>{const s=new Uint8Array(1);return r.getRandomValues(s),s[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,s=>(s^(l()&15)>>s/4).toString(16))}function b0(a){return a.exception&&a.exception.values?a.exception.values[0]:void 0}function Ma(a){const{message:r,event_id:l}=a;if(r)return r;const s=b0(a);return s?s.type&&s.value?`${s.type}: ${s.value}`:s.type||s.value||l||"<unknown>":l||"<unknown>"}function bf(a,r,l){const s=a.exception=a.exception||{},c=s.values=s.values||[],f=c[0]=c[0]||{};f.value||(f.value=r||""),f.type||(f.type="Error")}function li(a,r){const l=b0(a);if(!l)return;const s={type:"generic",handled:!0},c=l.mechanism;if(l.mechanism={...s,...c,...r},r&&"data"in r){const f={...c&&c.data,...r.data};l.mechanism.data=f}}function By(a){if(J_(a))return!0;try{or(a,"__sentry_captured__",!0)}catch{}return!1}function J_(a){try{return a.__sentry_captured__}catch{}}var Qn;(function(a){a[a.PENDING=0]="PENDING";const l=1;a[a.RESOLVED=l]="RESOLVED";const s=2;a[a.REJECTED=s]="REJECTED"})(Qn||(Qn={}));function sr(a){return new nn(r=>{r(a)})}function os(a){return new nn((r,l)=>{l(a)})}class nn{constructor(r){nn.prototype.__init.call(this),nn.prototype.__init2.call(this),nn.prototype.__init3.call(this),nn.prototype.__init4.call(this),this._state=Qn.PENDING,this._handlers=[];try{r(this._resolve,this._reject)}catch(l){this._reject(l)}}then(r,l){return new nn((s,c)=>{this._handlers.push([!1,f=>{if(!r)s(f);else try{s(r(f))}catch(p){c(p)}},f=>{if(!l)c(f);else try{s(l(f))}catch(p){c(p)}}]),this._executeHandlers()})}catch(r){return this.then(l=>l,r)}finally(r){return new nn((l,s)=>{let c,f;return this.then(p=>{f=!1,c=p,r&&r()},p=>{f=!0,c=p,r&&r()}).then(()=>{if(f){s(c);return}l(c)})})}__init(){this._resolve=r=>{this._setResult(Qn.RESOLVED,r)}}__init2(){this._reject=r=>{this._setResult(Qn.REJECTED,r)}}__init3(){this._setResult=(r,l)=>{if(this._state===Qn.PENDING){if(bs(l)){l.then(this._resolve,this._reject);return}this._state=r,this._value=l,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===Qn.PENDING)return;const r=this._handlers.slice();this._handlers=[],r.forEach(l=>{l[0]||(this._state===Qn.RESOLVED&&l[1](this._value),this._state===Qn.REJECTED&&l[2](this._value),l[0]=!0)})}}}function eE(a){const r=Wn(),l={sid:rn(),init:!0,timestamp:r,started:r,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>nE(l)};return a&&oi(l,a),l}function oi(a,r={}){if(r.user&&(!a.ipAddress&&r.user.ip_address&&(a.ipAddress=r.user.ip_address),!a.did&&!r.did&&(a.did=r.user.id||r.user.email||r.user.username)),a.timestamp=r.timestamp||Wn(),r.abnormal_mechanism&&(a.abnormal_mechanism=r.abnormal_mechanism),r.ignoreDuration&&(a.ignoreDuration=r.ignoreDuration),r.sid&&(a.sid=r.sid.length===32?r.sid:rn()),r.init!==void 0&&(a.init=r.init),!a.did&&r.did&&(a.did=`${r.did}`),typeof r.started=="number"&&(a.started=r.started),a.ignoreDuration)a.duration=void 0;else if(typeof r.duration=="number")a.duration=r.duration;else{const l=a.timestamp-a.started;a.duration=l>=0?l:0}r.release&&(a.release=r.release),r.environment&&(a.environment=r.environment),!a.ipAddress&&r.ipAddress&&(a.ipAddress=r.ipAddress),!a.userAgent&&r.userAgent&&(a.userAgent=r.userAgent),typeof r.errors=="number"&&(a.errors=r.errors),r.status&&(a.status=r.status)}function tE(a,r){let l={};a.status==="ok"&&(l={status:"exited"}),oi(a,l)}function nE(a){return an({sid:`${a.sid}`,init:a.init,started:new Date(a.started*1e3).toISOString(),timestamp:new Date(a.timestamp*1e3).toISOString(),status:a.status,errors:a.errors,did:typeof a.did=="number"||typeof a.did=="string"?`${a.did}`:void 0,duration:a.duration,abnormal_mechanism:a.abnormal_mechanism,attrs:{release:a.release,environment:a.environment,ip_address:a.ipAddress,user_agent:a.userAgent}})}function jy(){return rn()}function Sf(){return rn().substring(16)}function _s(a,r,l=2){if(!r||typeof r!="object"||l<=0)return r;if(a&&r&&Object.keys(r).length===0)return a;const s={...a};for(const c in r)Object.prototype.hasOwnProperty.call(r,c)&&(s[c]=_s(s[c],r[c],l-1));return s}const _f="_sentrySpan";function Iy(a,r){r?or(a,_f,r):delete a[_f]}function qy(a){return a[_f]}const aE=100;class ad{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:jy(),spanId:Sf()}}clone(){const r=new ad;return r._breadcrumbs=[...this._breadcrumbs],r._tags={...this._tags},r._extra={...this._extra},r._contexts={...this._contexts},this._contexts.flags&&(r._contexts.flags={values:[...this._contexts.flags.values]}),r._user=this._user,r._level=this._level,r._session=this._session,r._transactionName=this._transactionName,r._fingerprint=this._fingerprint,r._eventProcessors=[...this._eventProcessors],r._requestSession=this._requestSession,r._attachments=[...this._attachments],r._sdkProcessingMetadata={...this._sdkProcessingMetadata},r._propagationContext={...this._propagationContext},r._client=this._client,r._lastEventId=this._lastEventId,Iy(r,qy(this)),r}setClient(r){this._client=r}setLastEventId(r){this._lastEventId=r}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(r){this._scopeListeners.push(r)}addEventProcessor(r){return this._eventProcessors.push(r),this}setUser(r){return this._user=r||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&oi(this._session,{user:r}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(r){return this._requestSession=r,this}setTags(r){return this._tags={...this._tags,...r},this._notifyScopeListeners(),this}setTag(r,l){return this._tags={...this._tags,[r]:l},this._notifyScopeListeners(),this}setExtras(r){return this._extra={...this._extra,...r},this._notifyScopeListeners(),this}setExtra(r,l){return this._extra={...this._extra,[r]:l},this._notifyScopeListeners(),this}setFingerprint(r){return this._fingerprint=r,this._notifyScopeListeners(),this}setLevel(r){return this._level=r,this._notifyScopeListeners(),this}setTransactionName(r){return this._transactionName=r,this._notifyScopeListeners(),this}setContext(r,l){return l===null?delete this._contexts[r]:this._contexts[r]=l,this._notifyScopeListeners(),this}setSession(r){return r?this._session=r:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(r){if(!r)return this;const l=typeof r=="function"?r(this):r,[s,c]=l instanceof Na?[l.getScopeData(),l.getRequestSession()]:ii(l)?[r,r.requestSession]:[],{tags:f,extra:p,user:h,contexts:g,level:y,fingerprint:E=[],propagationContext:_}=s||{};return this._tags={...this._tags,...f},this._extra={...this._extra,...p},this._contexts={...this._contexts,...g},h&&Object.keys(h).length&&(this._user=h),y&&(this._level=y),E.length&&(this._fingerprint=E),_&&(this._propagationContext=_),c&&(this._requestSession=c),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._session=void 0,Iy(this,void 0),this._attachments=[],this.setPropagationContext({traceId:jy()}),this._notifyScopeListeners(),this}addBreadcrumb(r,l){const s=typeof l=="number"?l:aE;if(s<=0)return this;const c={timestamp:Sl(),...r};return this._breadcrumbs.push(c),this._breadcrumbs.length>s&&(this._breadcrumbs=this._breadcrumbs.slice(-s),this._client&&this._client.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(r){return this._attachments.push(r),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:qy(this)}}setSDKProcessingMetadata(r){return this._sdkProcessingMetadata=_s(this._sdkProcessingMetadata,r,2),this}setPropagationContext(r){return this._propagationContext={spanId:Sf(),...r},this}getPropagationContext(){return this._propagationContext}captureException(r,l){const s=l&&l.event_id?l.event_id:rn();if(!this._client)return ie.warn("No client configured on scope - will not capture exception!"),s;const c=new Error("Sentry syntheticException");return this._client.captureException(r,{originalException:r,syntheticException:c,...l,event_id:s},this),s}captureMessage(r,l,s){const c=s&&s.event_id?s.event_id:rn();if(!this._client)return ie.warn("No client configured on scope - will not capture message!"),c;const f=new Error(r);return this._client.captureMessage(r,l,{originalException:r,syntheticException:f,...s,event_id:c},this),c}captureEvent(r,l){const s=l&&l.event_id?l.event_id:rn();return this._client?(this._client.captureEvent(r,{...l,event_id:s},this),s):(ie.warn("No client configured on scope - will not capture event!"),s)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(r=>{r(this)}),this._notifyingListeners=!1)}}const Na=ad;function rE(){return hs("defaultCurrentScope",()=>new Na)}function iE(){return hs("defaultIsolationScope",()=>new Na)}class lE{constructor(r,l){let s;r?s=r:s=new Na;let c;l?c=l:c=new Na,this._stack=[{scope:s}],this._isolationScope=c}withScope(r){const l=this._pushScope();let s;try{s=r(l)}catch(c){throw this._popScope(),c}return bs(s)?s.then(c=>(this._popScope(),c),c=>{throw this._popScope(),c}):(this._popScope(),s)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const r=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:r}),r}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function si(){const a=ys(),r=Kf(a);return r.stack=r.stack||new lE(rE(),iE())}function oE(a){return si().withScope(a)}function sE(a,r){const l=si();return l.withScope(()=>(l.getStackTop().scope=a,r(a)))}function Py(a){return si().withScope(()=>a(si().getIsolationScope()))}function uE(){return{withIsolationScope:Py,withScope:oE,withSetScope:sE,withSetIsolationScope:(a,r)=>Py(r),getCurrentScope:()=>si().getScope(),getIsolationScope:()=>si().getIsolationScope()}}function rd(a){const r=Kf(a);return r.acs?r.acs:uE()}function Mn(){const a=ys();return rd(a).getCurrentScope()}function za(){const a=ys();return rd(a).getIsolationScope()}function cE(){return hs("globalScope",()=>new Na)}function id(...a){const r=ys(),l=rd(r);if(a.length===2){const[s,c]=a;return s?l.withSetScope(s,c):l.withScope(c)}return l.withScope(a[0])}function dt(){return Mn().getClient()}function fE(a){const r=a.getPropagationContext(),{traceId:l,spanId:s,parentSpanId:c}=r;return an({trace_id:l,span_id:s,parent_span_id:c})}const dE="_sentryMetrics";function pE(a){const r=a[dE];if(!r)return;const l={};for(const[,[s,c]]of r)(l[s]||(l[s]=[])).push(an(c));return l}const mE="sentry.source",hE="sentry.sample_rate",yE="sentry.op",gE="sentry.origin",vE=0,bE=1,SE="sentry-",_E=/^sentry-/;function EE(a){const r=CE(a);if(!r)return;const l=Object.entries(r).reduce((s,[c,f])=>{if(c.match(_E)){const p=c.slice(SE.length);s[p]=f}return s},{});if(Object.keys(l).length>0)return l}function CE(a){if(!(!a||!Zn(a)&&!Array.isArray(a)))return Array.isArray(a)?a.reduce((r,l)=>{const s=Gy(l);return Object.entries(s).forEach(([c,f])=>{r[c]=f}),r},{}):Gy(a)}function Gy(a){return a.split(",").map(r=>r.split("=").map(l=>decodeURIComponent(l.trim()))).reduce((r,[l,s])=>(l&&s&&(r[l]=s),r),{})}const AE=1;let Fy=!1;function TE(a){const{spanId:r,traceId:l,isRemote:s}=a.spanContext(),c=s?r:ld(a).parent_span_id,f=s?Sf():r;return an({parent_span_id:c,span_id:f,trace_id:l})}function Vy(a){return typeof a=="number"?Yy(a):Array.isArray(a)?a[0]+a[1]/1e9:a instanceof Date?Yy(a.getTime()):Wn()}function Yy(a){return a>9999999999?a/1e3:a}function ld(a){if(wE(a))return a.getSpanJSON();try{const{spanId:r,traceId:l}=a.spanContext();if(ME(a)){const{attributes:s,startTime:c,name:f,endTime:p,parentSpanId:h,status:g}=a;return an({span_id:r,trace_id:l,data:s,description:f,parent_span_id:h,start_timestamp:Vy(c),timestamp:Vy(p)||void 0,status:RE(g),op:s[yE],origin:s[gE],_metrics_summary:pE(a)})}return{span_id:r,trace_id:l}}catch{return{}}}function ME(a){const r=a;return!!r.attributes&&!!r.startTime&&!!r.name&&!!r.endTime&&!!r.status}function wE(a){return typeof a.getSpanJSON=="function"}function OE(a){const{traceFlags:r}=a.spanContext();return r===AE}function RE(a){if(!(!a||a.code===vE))return a.code===bE?"ok":a.message||"unknown_error"}const DE="_sentryRootSpan";function S0(a){return a[DE]||a}function xE(){Fy||(cr(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK version 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),Fy=!0)}function kE(a){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const r=dt(),l=r&&r.getOptions();return!!l&&(l.enableTracing||"tracesSampleRate"in l||"tracesSampler"in l)}const od="production",NE="_frozenDsc";function _0(a,r){const l=r.getOptions(),{publicKey:s}=r.getDsn()||{},c=an({environment:l.environment||od,release:l.release,public_key:s,trace_id:a});return r.emit("createDsc",c),c}function LE(a,r){const l=r.getPropagationContext();return l.dsc||_0(l.traceId,a)}function HE(a){const r=dt();if(!r)return{};const l=S0(a),s=l[NE];if(s)return s;const c=l.spanContext().traceState,f=c&&c.get("sentry.dsc"),p=f&&EE(f);if(p)return p;const h=_0(a.spanContext().traceId,r),g=ld(l),y=g.data||{},E=y[hE];E!=null&&(h.sample_rate=`${E}`);const _=y[mE],z=g.description;return _!=="url"&&z&&(h.transaction=z),kE()&&(h.sampled=String(OE(l))),r.emit("createDsc",h,l),h}function UE(a){if(typeof a=="boolean")return Number(a);const r=typeof a=="string"?parseFloat(a):a;if(typeof r!="number"||isNaN(r)||r<0||r>1){qe&&ie.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(a)} of type ${JSON.stringify(typeof a)}.`);return}return r}const zE=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function BE(a){return a==="http"||a==="https"}function _l(a,r=!1){const{host:l,path:s,pass:c,port:f,projectId:p,protocol:h,publicKey:g}=a;return`${h}://${g}${r&&c?`:${c}`:""}@${l}${f?`:${f}`:""}/${s&&`${s}/`}${p}`}function jE(a){const r=zE.exec(a);if(!r){cr(()=>{console.error(`Invalid Sentry Dsn: ${a}`)});return}const[l,s,c="",f="",p="",h=""]=r.slice(1);let g="",y=h;const E=y.split("/");if(E.length>1&&(g=E.slice(0,-1).join("/"),y=E.pop()),y){const _=y.match(/^\d+/);_&&(y=_[0])}return E0({host:f,pass:c,path:g,projectId:y,port:p,protocol:l,publicKey:s})}function E0(a){return{protocol:a.protocol,publicKey:a.publicKey||"",pass:a.pass||"",host:a.host,port:a.port||"",path:a.path||"",projectId:a.projectId}}function IE(a){if(!ur)return!0;const{port:r,projectId:l,protocol:s}=a;return["protocol","publicKey","host","projectId"].find(p=>a[p]?!1:(ie.error(`Invalid Sentry Dsn: ${p} missing`),!0))?!1:l.match(/^\d+$/)?BE(s)?r&&isNaN(parseInt(r,10))?(ie.error(`Invalid Sentry Dsn: Invalid port ${r}`),!1):!0:(ie.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),!1):(ie.error(`Invalid Sentry Dsn: Invalid projectId ${l}`),!1)}function C0(a){const r=typeof a=="string"?jE(a):E0(a);if(!(!r||!IE(r)))return r}function qE(){const a=typeof WeakSet=="function",r=a?new WeakSet:[];function l(c){if(a)return r.has(c)?!0:(r.add(c),!1);for(let f=0;f<r.length;f++)if(r[f]===c)return!0;return r.push(c),!1}function s(c){if(a)r.delete(c);else for(let f=0;f<r.length;f++)if(r[f]===c){r.splice(f,1);break}}return[l,s]}function Xn(a,r=100,l=1/0){try{return Ef("",a,r,l)}catch(s){return{ERROR:`**non-serializable** (${s})`}}}function A0(a,r=3,l=100*1024){const s=Xn(a,r);return VE(s)>l?A0(a,r-1,l):s}function Ef(a,r,l=1/0,s=1/0,c=qE()){const[f,p]=c;if(r==null||["boolean","string"].includes(typeof r)||typeof r=="number"&&Number.isFinite(r))return r;const h=PE(a,r);if(!h.startsWith("[object "))return h;if(r.__sentry_skip_normalization__)return r;const g=typeof r.__sentry_override_normalization_depth__=="number"?r.__sentry_override_normalization_depth__:l;if(g===0)return h.replace("object ","");if(f(r))return"[Circular ~]";const y=r;if(y&&typeof y.toJSON=="function")try{const G=y.toJSON();return Ef("",G,g-1,s,c)}catch{}const E=Array.isArray(r)?[]:{};let _=0;const z=g0(r);for(const G in z){if(!Object.prototype.hasOwnProperty.call(z,G))continue;if(_>=s){E[G]="[MaxProperties ~]";break}const q=z[G];E[G]=Ef(G,q,g-1,s,c),_++}return p(r),E}function PE(a,r){try{if(a==="domain"&&r&&typeof r=="object"&&r._events)return"[Domain]";if(a==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&r===global)return"[Global]";if(typeof window<"u"&&r===window)return"[Window]";if(typeof document<"u"&&r===document)return"[Document]";if(m0(r))return"[VueViewModel]";if(F_(r))return"[SyntheticEvent]";if(typeof r=="number"&&!Number.isFinite(r))return`[${r}]`;if(typeof r=="function")return`[Function: ${ka(r)}]`;if(typeof r=="symbol")return`[${String(r)}]`;if(typeof r=="bigint")return`[BigInt: ${String(r)}]`;const l=GE(r);return/^HTML(\w*)Element$/.test(l)?`[HTMLElement: ${l}]`:`[object ${l}]`}catch(l){return`**non-serializable** (${l})`}}function GE(a){const r=Object.getPrototypeOf(a);return r?r.constructor.name:"null prototype"}function FE(a){return~-encodeURI(a).split(/%..|./).length}function VE(a){return FE(JSON.stringify(a))}function El(a,r=[]){return[a,r]}function YE(a,r){const[l,s]=a;return[l,[...s,r]]}function $y(a,r){const l=a[1];for(const s of l){const c=s[0].type;if(r(s,c))return!0}return!1}function Cf(a){return ke.__SENTRY__&&ke.__SENTRY__.encodePolyfill?ke.__SENTRY__.encodePolyfill(a):new TextEncoder().encode(a)}function $E(a){const[r,l]=a;let s=JSON.stringify(r);function c(f){typeof s=="string"?s=typeof f=="string"?s+f:[Cf(s),f]:s.push(typeof f=="string"?Cf(f):f)}for(const f of l){const[p,h]=f;if(c(`
54
+ Error:`,c)}}let Jc=null;function j_(a){const r="error";fr(r,a),dr(r,I_)}function I_(){Jc=ke.onerror,ke.onerror=function(a,r,l,s,c){return mn("error",{column:s,error:c,line:l,msg:a,url:r}),Jc?Jc.apply(this,arguments):!1},ke.onerror.__SENTRY_INSTRUMENTED__=!0}let ef=null;function q_(a){const r="unhandledrejection";fr(r,a),dr(r,P_)}function P_(){ef=ke.onunhandledrejection,ke.onunhandledrejection=function(a){return mn("unhandledrejection",a),ef?ef.apply(this,arguments):!0},ke.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function ys(){return Jf(ke),ke}function Jf(a){const r=a.__SENTRY__=a.__SENTRY__||{};return r.version=r.version||Oa,r[Oa]=r[Oa]||{}}const p0=Object.prototype.toString;function gs(a){switch(p0.call(a)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return lr(a,Error)}}function pi(a,r){return p0.call(a)===`[object ${r}]`}function m0(a){return pi(a,"ErrorEvent")}function Ly(a){return pi(a,"DOMError")}function G_(a){return pi(a,"DOMException")}function Zn(a){return pi(a,"String")}function ed(a){return typeof a=="object"&&a!==null&&"__sentry_template_string__"in a&&"__sentry_template_values__"in a}function td(a){return a===null||ed(a)||typeof a!="object"&&typeof a!="function"}function ii(a){return pi(a,"Object")}function vs(a){return typeof Event<"u"&&lr(a,Event)}function F_(a){return typeof Element<"u"&&lr(a,Element)}function V_(a){return pi(a,"RegExp")}function bs(a){return!!(a&&a.then&&typeof a.then=="function")}function Y_(a){return ii(a)&&"nativeEvent"in a&&"preventDefault"in a&&"stopPropagation"in a}function lr(a,r){try{return a instanceof r}catch{return!1}}function h0(a){return!!(typeof a=="object"&&a!==null&&(a.__isVue||a._isVue))}const nd=ke,$_=80;function y0(a,r={}){if(!a)return"<unknown>";try{let l=a;const s=5,c=[];let f=0,p=0;const h=" > ",g=h.length;let y;const E=Array.isArray(r)?r:r.keyAttrs,_=!Array.isArray(r)&&r.maxStringLength||$_;for(;l&&f++<s&&(y=Q_(l,E),!(y==="html"||f>1&&p+c.length*g+y.length>=_));)c.push(y),p+=y.length,l=l.parentNode;return c.reverse().join(h)}catch{return"<unknown>"}}function Q_(a,r){const l=a,s=[];if(!l||!l.tagName)return"";if(nd.HTMLElement&&l instanceof HTMLElement&&l.dataset){if(l.dataset.sentryComponent)return l.dataset.sentryComponent;if(l.dataset.sentryElement)return l.dataset.sentryElement}s.push(l.tagName.toLowerCase());const c=r&&r.length?r.filter(p=>l.getAttribute(p)).map(p=>[p,l.getAttribute(p)]):null;if(c&&c.length)c.forEach(p=>{s.push(`[${p[0]}="${p[1]}"]`)});else{l.id&&s.push(`#${l.id}`);const p=l.className;if(p&&Zn(p)){const h=p.split(/\s+/);for(const g of h)s.push(`.${g}`)}}const f=["aria-label","type","name","title","alt"];for(const p of f){const h=l.getAttribute(p);h&&s.push(`[${p}="${h}"]`)}return s.join("")}function X_(){try{return nd.document.location.href}catch{return""}}function Z_(a){if(!nd.HTMLElement)return null;let r=a;const l=5;for(let s=0;s<l;s++){if(!r)return null;if(r instanceof HTMLElement){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}r=r.parentNode}return null}function ai(a,r=0){return typeof a!="string"||r===0||a.length<=r?a:`${a.slice(0,r)}...`}function Hy(a,r){if(!Array.isArray(a))return"";const l=[];for(let s=0;s<a.length;s++){const c=a[s];try{h0(c)?l.push("[VueViewModel]"):l.push(String(c))}catch{l.push("[value cannot be serialized]")}}return l.join(r)}function W_(a,r,l=!1){return Zn(a)?V_(r)?r.test(a):Zn(r)?l?a===r:a.includes(r):!1:!1}function Ss(a,r=[],l=!1){return r.some(s=>W_(a,s,l))}function Vt(a,r,l){if(!(r in a))return;const s=a[r],c=l(s);typeof c=="function"&&g0(c,s);try{a[r]=c}catch{ur&&ie.log(`Failed to replace method "${r}" in object`,a)}}function or(a,r,l){try{Object.defineProperty(a,r,{value:l,writable:!0,configurable:!0})}catch{ur&&ie.log(`Failed to add non-enumerable property "${r}" to object`,a)}}function g0(a,r){try{const l=r.prototype||{};a.prototype=r.prototype=l,or(a,"__sentry_original__",r)}catch{}}function ad(a){return a.__sentry_original__}function v0(a){if(gs(a))return{message:a.message,name:a.name,stack:a.stack,...zy(a)};if(vs(a)){const r={type:a.type,target:Uy(a.target),currentTarget:Uy(a.currentTarget),...zy(a)};return typeof CustomEvent<"u"&&lr(a,CustomEvent)&&(r.detail=a.detail),r}else return a}function Uy(a){try{return F_(a)?y0(a):Object.prototype.toString.call(a)}catch{return"<unknown>"}}function zy(a){if(typeof a=="object"&&a!==null){const r={};for(const l in a)Object.prototype.hasOwnProperty.call(a,l)&&(r[l]=a[l]);return r}else return{}}function K_(a,r=40){const l=Object.keys(v0(a));l.sort();const s=l[0];if(!s)return"[object has no keys]";if(s.length>=r)return ai(s,r);for(let c=l.length;c>0;c--){const f=l.slice(0,c).join(", ");if(!(f.length>r))return c===l.length?f:ai(f,r)}return""}function an(a){return bf(a,new Map)}function bf(a,r){if(J_(a)){const l=r.get(a);if(l!==void 0)return l;const s={};r.set(a,s);for(const c of Object.getOwnPropertyNames(a))typeof a[c]<"u"&&(s[c]=bf(a[c],r));return s}if(Array.isArray(a)){const l=r.get(a);if(l!==void 0)return l;const s=[];return r.set(a,s),a.forEach(c=>{s.push(bf(c,r))}),s}return a}function J_(a){if(!ii(a))return!1;try{const r=Object.getPrototypeOf(a).constructor.name;return!r||r==="Object"}catch{return!0}}const b0=1e3;function Sl(){return Date.now()/b0}function eE(){const{performance:a}=ke;if(!a||!a.now)return Sl;const r=Date.now()-a.now(),l=a.timeOrigin==null?r:a.timeOrigin;return()=>(l+a.now())/b0}const Wn=eE();(()=>{const{performance:a}=ke;if(!a||!a.now)return;const r=3600*1e3,l=a.now(),s=Date.now(),c=a.timeOrigin?Math.abs(a.timeOrigin+l-s):r,f=c<r,p=a.timing&&a.timing.navigationStart,g=typeof p=="number"?Math.abs(p+l-s):r,y=g<r;return f||y?c<=g?a.timeOrigin:p:s})();function rn(){const a=ke,r=a.crypto||a.msCrypto;let l=()=>Math.random()*16;try{if(r&&r.randomUUID)return r.randomUUID().replace(/-/g,"");r&&r.getRandomValues&&(l=()=>{const s=new Uint8Array(1);return r.getRandomValues(s),s[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,s=>(s^(l()&15)>>s/4).toString(16))}function S0(a){return a.exception&&a.exception.values?a.exception.values[0]:void 0}function Ma(a){const{message:r,event_id:l}=a;if(r)return r;const s=S0(a);return s?s.type&&s.value?`${s.type}: ${s.value}`:s.type||s.value||l||"<unknown>":l||"<unknown>"}function Sf(a,r,l){const s=a.exception=a.exception||{},c=s.values=s.values||[],f=c[0]=c[0]||{};f.value||(f.value=r||""),f.type||(f.type="Error")}function li(a,r){const l=S0(a);if(!l)return;const s={type:"generic",handled:!0},c=l.mechanism;if(l.mechanism={...s,...c,...r},r&&"data"in r){const f={...c&&c.data,...r.data};l.mechanism.data=f}}function By(a){if(tE(a))return!0;try{or(a,"__sentry_captured__",!0)}catch{}return!1}function tE(a){try{return a.__sentry_captured__}catch{}}var Qn;(function(a){a[a.PENDING=0]="PENDING";const l=1;a[a.RESOLVED=l]="RESOLVED";const s=2;a[a.REJECTED=s]="REJECTED"})(Qn||(Qn={}));function sr(a){return new nn(r=>{r(a)})}function os(a){return new nn((r,l)=>{l(a)})}class nn{constructor(r){nn.prototype.__init.call(this),nn.prototype.__init2.call(this),nn.prototype.__init3.call(this),nn.prototype.__init4.call(this),this._state=Qn.PENDING,this._handlers=[];try{r(this._resolve,this._reject)}catch(l){this._reject(l)}}then(r,l){return new nn((s,c)=>{this._handlers.push([!1,f=>{if(!r)s(f);else try{s(r(f))}catch(p){c(p)}},f=>{if(!l)c(f);else try{s(l(f))}catch(p){c(p)}}]),this._executeHandlers()})}catch(r){return this.then(l=>l,r)}finally(r){return new nn((l,s)=>{let c,f;return this.then(p=>{f=!1,c=p,r&&r()},p=>{f=!0,c=p,r&&r()}).then(()=>{if(f){s(c);return}l(c)})})}__init(){this._resolve=r=>{this._setResult(Qn.RESOLVED,r)}}__init2(){this._reject=r=>{this._setResult(Qn.REJECTED,r)}}__init3(){this._setResult=(r,l)=>{if(this._state===Qn.PENDING){if(bs(l)){l.then(this._resolve,this._reject);return}this._state=r,this._value=l,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===Qn.PENDING)return;const r=this._handlers.slice();this._handlers=[],r.forEach(l=>{l[0]||(this._state===Qn.RESOLVED&&l[1](this._value),this._state===Qn.REJECTED&&l[2](this._value),l[0]=!0)})}}}function nE(a){const r=Wn(),l={sid:rn(),init:!0,timestamp:r,started:r,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>rE(l)};return a&&oi(l,a),l}function oi(a,r={}){if(r.user&&(!a.ipAddress&&r.user.ip_address&&(a.ipAddress=r.user.ip_address),!a.did&&!r.did&&(a.did=r.user.id||r.user.email||r.user.username)),a.timestamp=r.timestamp||Wn(),r.abnormal_mechanism&&(a.abnormal_mechanism=r.abnormal_mechanism),r.ignoreDuration&&(a.ignoreDuration=r.ignoreDuration),r.sid&&(a.sid=r.sid.length===32?r.sid:rn()),r.init!==void 0&&(a.init=r.init),!a.did&&r.did&&(a.did=`${r.did}`),typeof r.started=="number"&&(a.started=r.started),a.ignoreDuration)a.duration=void 0;else if(typeof r.duration=="number")a.duration=r.duration;else{const l=a.timestamp-a.started;a.duration=l>=0?l:0}r.release&&(a.release=r.release),r.environment&&(a.environment=r.environment),!a.ipAddress&&r.ipAddress&&(a.ipAddress=r.ipAddress),!a.userAgent&&r.userAgent&&(a.userAgent=r.userAgent),typeof r.errors=="number"&&(a.errors=r.errors),r.status&&(a.status=r.status)}function aE(a,r){let l={};a.status==="ok"&&(l={status:"exited"}),oi(a,l)}function rE(a){return an({sid:`${a.sid}`,init:a.init,started:new Date(a.started*1e3).toISOString(),timestamp:new Date(a.timestamp*1e3).toISOString(),status:a.status,errors:a.errors,did:typeof a.did=="number"||typeof a.did=="string"?`${a.did}`:void 0,duration:a.duration,abnormal_mechanism:a.abnormal_mechanism,attrs:{release:a.release,environment:a.environment,ip_address:a.ipAddress,user_agent:a.userAgent}})}function jy(){return rn()}function _f(){return rn().substring(16)}function _s(a,r,l=2){if(!r||typeof r!="object"||l<=0)return r;if(a&&r&&Object.keys(r).length===0)return a;const s={...a};for(const c in r)Object.prototype.hasOwnProperty.call(r,c)&&(s[c]=_s(s[c],r[c],l-1));return s}const Ef="_sentrySpan";function Iy(a,r){r?or(a,Ef,r):delete a[Ef]}function qy(a){return a[Ef]}const iE=100;class rd{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:jy(),spanId:_f()}}clone(){const r=new rd;return r._breadcrumbs=[...this._breadcrumbs],r._tags={...this._tags},r._extra={...this._extra},r._contexts={...this._contexts},this._contexts.flags&&(r._contexts.flags={values:[...this._contexts.flags.values]}),r._user=this._user,r._level=this._level,r._session=this._session,r._transactionName=this._transactionName,r._fingerprint=this._fingerprint,r._eventProcessors=[...this._eventProcessors],r._requestSession=this._requestSession,r._attachments=[...this._attachments],r._sdkProcessingMetadata={...this._sdkProcessingMetadata},r._propagationContext={...this._propagationContext},r._client=this._client,r._lastEventId=this._lastEventId,Iy(r,qy(this)),r}setClient(r){this._client=r}setLastEventId(r){this._lastEventId=r}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(r){this._scopeListeners.push(r)}addEventProcessor(r){return this._eventProcessors.push(r),this}setUser(r){return this._user=r||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&oi(this._session,{user:r}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(r){return this._requestSession=r,this}setTags(r){return this._tags={...this._tags,...r},this._notifyScopeListeners(),this}setTag(r,l){return this._tags={...this._tags,[r]:l},this._notifyScopeListeners(),this}setExtras(r){return this._extra={...this._extra,...r},this._notifyScopeListeners(),this}setExtra(r,l){return this._extra={...this._extra,[r]:l},this._notifyScopeListeners(),this}setFingerprint(r){return this._fingerprint=r,this._notifyScopeListeners(),this}setLevel(r){return this._level=r,this._notifyScopeListeners(),this}setTransactionName(r){return this._transactionName=r,this._notifyScopeListeners(),this}setContext(r,l){return l===null?delete this._contexts[r]:this._contexts[r]=l,this._notifyScopeListeners(),this}setSession(r){return r?this._session=r:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(r){if(!r)return this;const l=typeof r=="function"?r(this):r,[s,c]=l instanceof Na?[l.getScopeData(),l.getRequestSession()]:ii(l)?[r,r.requestSession]:[],{tags:f,extra:p,user:h,contexts:g,level:y,fingerprint:E=[],propagationContext:_}=s||{};return this._tags={...this._tags,...f},this._extra={...this._extra,...p},this._contexts={...this._contexts,...g},h&&Object.keys(h).length&&(this._user=h),y&&(this._level=y),E.length&&(this._fingerprint=E),_&&(this._propagationContext=_),c&&(this._requestSession=c),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._session=void 0,Iy(this,void 0),this._attachments=[],this.setPropagationContext({traceId:jy()}),this._notifyScopeListeners(),this}addBreadcrumb(r,l){const s=typeof l=="number"?l:iE;if(s<=0)return this;const c={timestamp:Sl(),...r};return this._breadcrumbs.push(c),this._breadcrumbs.length>s&&(this._breadcrumbs=this._breadcrumbs.slice(-s),this._client&&this._client.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(r){return this._attachments.push(r),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:qy(this)}}setSDKProcessingMetadata(r){return this._sdkProcessingMetadata=_s(this._sdkProcessingMetadata,r,2),this}setPropagationContext(r){return this._propagationContext={spanId:_f(),...r},this}getPropagationContext(){return this._propagationContext}captureException(r,l){const s=l&&l.event_id?l.event_id:rn();if(!this._client)return ie.warn("No client configured on scope - will not capture exception!"),s;const c=new Error("Sentry syntheticException");return this._client.captureException(r,{originalException:r,syntheticException:c,...l,event_id:s},this),s}captureMessage(r,l,s){const c=s&&s.event_id?s.event_id:rn();if(!this._client)return ie.warn("No client configured on scope - will not capture message!"),c;const f=new Error(r);return this._client.captureMessage(r,l,{originalException:r,syntheticException:f,...s,event_id:c},this),c}captureEvent(r,l){const s=l&&l.event_id?l.event_id:rn();return this._client?(this._client.captureEvent(r,{...l,event_id:s},this),s):(ie.warn("No client configured on scope - will not capture event!"),s)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(r=>{r(this)}),this._notifyingListeners=!1)}}const Na=rd;function lE(){return hs("defaultCurrentScope",()=>new Na)}function oE(){return hs("defaultIsolationScope",()=>new Na)}class sE{constructor(r,l){let s;r?s=r:s=new Na;let c;l?c=l:c=new Na,this._stack=[{scope:s}],this._isolationScope=c}withScope(r){const l=this._pushScope();let s;try{s=r(l)}catch(c){throw this._popScope(),c}return bs(s)?s.then(c=>(this._popScope(),c),c=>{throw this._popScope(),c}):(this._popScope(),s)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const r=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:r}),r}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function si(){const a=ys(),r=Jf(a);return r.stack=r.stack||new sE(lE(),oE())}function uE(a){return si().withScope(a)}function cE(a,r){const l=si();return l.withScope(()=>(l.getStackTop().scope=a,r(a)))}function Py(a){return si().withScope(()=>a(si().getIsolationScope()))}function fE(){return{withIsolationScope:Py,withScope:uE,withSetScope:cE,withSetIsolationScope:(a,r)=>Py(r),getCurrentScope:()=>si().getScope(),getIsolationScope:()=>si().getIsolationScope()}}function id(a){const r=Jf(a);return r.acs?r.acs:fE()}function hn(){const a=ys();return id(a).getCurrentScope()}function za(){const a=ys();return id(a).getIsolationScope()}function dE(){return hs("globalScope",()=>new Na)}function Es(...a){const r=ys(),l=id(r);if(a.length===2){const[s,c]=a;return s?l.withSetScope(s,c):l.withScope(c)}return l.withScope(a[0])}function dt(){return hn().getClient()}function pE(a){const r=a.getPropagationContext(),{traceId:l,spanId:s,parentSpanId:c}=r;return an({trace_id:l,span_id:s,parent_span_id:c})}const mE="_sentryMetrics";function hE(a){const r=a[mE];if(!r)return;const l={};for(const[,[s,c]]of r)(l[s]||(l[s]=[])).push(an(c));return l}const yE="sentry.source",gE="sentry.sample_rate",vE="sentry.op",bE="sentry.origin",SE=0,_E=1,EE="sentry-",CE=/^sentry-/;function AE(a){const r=TE(a);if(!r)return;const l=Object.entries(r).reduce((s,[c,f])=>{if(c.match(CE)){const p=c.slice(EE.length);s[p]=f}return s},{});if(Object.keys(l).length>0)return l}function TE(a){if(!(!a||!Zn(a)&&!Array.isArray(a)))return Array.isArray(a)?a.reduce((r,l)=>{const s=Gy(l);return Object.entries(s).forEach(([c,f])=>{r[c]=f}),r},{}):Gy(a)}function Gy(a){return a.split(",").map(r=>r.split("=").map(l=>decodeURIComponent(l.trim()))).reduce((r,[l,s])=>(l&&s&&(r[l]=s),r),{})}const ME=1;let Fy=!1;function wE(a){const{spanId:r,traceId:l,isRemote:s}=a.spanContext(),c=s?r:ld(a).parent_span_id,f=s?_f():r;return an({parent_span_id:c,span_id:f,trace_id:l})}function Vy(a){return typeof a=="number"?Yy(a):Array.isArray(a)?a[0]+a[1]/1e9:a instanceof Date?Yy(a.getTime()):Wn()}function Yy(a){return a>9999999999?a/1e3:a}function ld(a){if(RE(a))return a.getSpanJSON();try{const{spanId:r,traceId:l}=a.spanContext();if(OE(a)){const{attributes:s,startTime:c,name:f,endTime:p,parentSpanId:h,status:g}=a;return an({span_id:r,trace_id:l,data:s,description:f,parent_span_id:h,start_timestamp:Vy(c),timestamp:Vy(p)||void 0,status:xE(g),op:s[vE],origin:s[bE],_metrics_summary:hE(a)})}return{span_id:r,trace_id:l}}catch{return{}}}function OE(a){const r=a;return!!r.attributes&&!!r.startTime&&!!r.name&&!!r.endTime&&!!r.status}function RE(a){return typeof a.getSpanJSON=="function"}function DE(a){const{traceFlags:r}=a.spanContext();return r===ME}function xE(a){if(!(!a||a.code===SE))return a.code===_E?"ok":a.message||"unknown_error"}const kE="_sentryRootSpan";function _0(a){return a[kE]||a}function NE(){Fy||(cr(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK version 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),Fy=!0)}function LE(a){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const r=dt(),l=r&&r.getOptions();return!!l&&(l.enableTracing||"tracesSampleRate"in l||"tracesSampler"in l)}const od="production",HE="_frozenDsc";function E0(a,r){const l=r.getOptions(),{publicKey:s}=r.getDsn()||{},c=an({environment:l.environment||od,release:l.release,public_key:s,trace_id:a});return r.emit("createDsc",c),c}function UE(a,r){const l=r.getPropagationContext();return l.dsc||E0(l.traceId,a)}function zE(a){const r=dt();if(!r)return{};const l=_0(a),s=l[HE];if(s)return s;const c=l.spanContext().traceState,f=c&&c.get("sentry.dsc"),p=f&&AE(f);if(p)return p;const h=E0(a.spanContext().traceId,r),g=ld(l),y=g.data||{},E=y[gE];E!=null&&(h.sample_rate=`${E}`);const _=y[yE],z=g.description;return _!=="url"&&z&&(h.transaction=z),LE()&&(h.sampled=String(DE(l))),r.emit("createDsc",h,l),h}function BE(a){if(typeof a=="boolean")return Number(a);const r=typeof a=="string"?parseFloat(a):a;if(typeof r!="number"||isNaN(r)||r<0||r>1){qe&&ie.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(a)} of type ${JSON.stringify(typeof a)}.`);return}return r}const jE=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function IE(a){return a==="http"||a==="https"}function _l(a,r=!1){const{host:l,path:s,pass:c,port:f,projectId:p,protocol:h,publicKey:g}=a;return`${h}://${g}${r&&c?`:${c}`:""}@${l}${f?`:${f}`:""}/${s&&`${s}/`}${p}`}function qE(a){const r=jE.exec(a);if(!r){cr(()=>{console.error(`Invalid Sentry Dsn: ${a}`)});return}const[l,s,c="",f="",p="",h=""]=r.slice(1);let g="",y=h;const E=y.split("/");if(E.length>1&&(g=E.slice(0,-1).join("/"),y=E.pop()),y){const _=y.match(/^\d+/);_&&(y=_[0])}return C0({host:f,pass:c,path:g,projectId:y,port:p,protocol:l,publicKey:s})}function C0(a){return{protocol:a.protocol,publicKey:a.publicKey||"",pass:a.pass||"",host:a.host,port:a.port||"",path:a.path||"",projectId:a.projectId}}function PE(a){if(!ur)return!0;const{port:r,projectId:l,protocol:s}=a;return["protocol","publicKey","host","projectId"].find(p=>a[p]?!1:(ie.error(`Invalid Sentry Dsn: ${p} missing`),!0))?!1:l.match(/^\d+$/)?IE(s)?r&&isNaN(parseInt(r,10))?(ie.error(`Invalid Sentry Dsn: Invalid port ${r}`),!1):!0:(ie.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),!1):(ie.error(`Invalid Sentry Dsn: Invalid projectId ${l}`),!1)}function A0(a){const r=typeof a=="string"?qE(a):C0(a);if(!(!r||!PE(r)))return r}function GE(){const a=typeof WeakSet=="function",r=a?new WeakSet:[];function l(c){if(a)return r.has(c)?!0:(r.add(c),!1);for(let f=0;f<r.length;f++)if(r[f]===c)return!0;return r.push(c),!1}function s(c){if(a)r.delete(c);else for(let f=0;f<r.length;f++)if(r[f]===c){r.splice(f,1);break}}return[l,s]}function Xn(a,r=100,l=1/0){try{return Cf("",a,r,l)}catch(s){return{ERROR:`**non-serializable** (${s})`}}}function T0(a,r=3,l=100*1024){const s=Xn(a,r);return $E(s)>l?T0(a,r-1,l):s}function Cf(a,r,l=1/0,s=1/0,c=GE()){const[f,p]=c;if(r==null||["boolean","string"].includes(typeof r)||typeof r=="number"&&Number.isFinite(r))return r;const h=FE(a,r);if(!h.startsWith("[object "))return h;if(r.__sentry_skip_normalization__)return r;const g=typeof r.__sentry_override_normalization_depth__=="number"?r.__sentry_override_normalization_depth__:l;if(g===0)return h.replace("object ","");if(f(r))return"[Circular ~]";const y=r;if(y&&typeof y.toJSON=="function")try{const G=y.toJSON();return Cf("",G,g-1,s,c)}catch{}const E=Array.isArray(r)?[]:{};let _=0;const z=v0(r);for(const G in z){if(!Object.prototype.hasOwnProperty.call(z,G))continue;if(_>=s){E[G]="[MaxProperties ~]";break}const q=z[G];E[G]=Cf(G,q,g-1,s,c),_++}return p(r),E}function FE(a,r){try{if(a==="domain"&&r&&typeof r=="object"&&r._events)return"[Domain]";if(a==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&r===global)return"[Global]";if(typeof window<"u"&&r===window)return"[Window]";if(typeof document<"u"&&r===document)return"[Document]";if(h0(r))return"[VueViewModel]";if(Y_(r))return"[SyntheticEvent]";if(typeof r=="number"&&!Number.isFinite(r))return`[${r}]`;if(typeof r=="function")return`[Function: ${ka(r)}]`;if(typeof r=="symbol")return`[${String(r)}]`;if(typeof r=="bigint")return`[BigInt: ${String(r)}]`;const l=VE(r);return/^HTML(\w*)Element$/.test(l)?`[HTMLElement: ${l}]`:`[object ${l}]`}catch(l){return`**non-serializable** (${l})`}}function VE(a){const r=Object.getPrototypeOf(a);return r?r.constructor.name:"null prototype"}function YE(a){return~-encodeURI(a).split(/%..|./).length}function $E(a){return YE(JSON.stringify(a))}function El(a,r=[]){return[a,r]}function QE(a,r){const[l,s]=a;return[l,[...s,r]]}function $y(a,r){const l=a[1];for(const s of l){const c=s[0].type;if(r(s,c))return!0}return!1}function Af(a){return ke.__SENTRY__&&ke.__SENTRY__.encodePolyfill?ke.__SENTRY__.encodePolyfill(a):new TextEncoder().encode(a)}function XE(a){const[r,l]=a;let s=JSON.stringify(r);function c(f){typeof s=="string"?s=typeof f=="string"?s+f:[Af(s),f]:s.push(typeof f=="string"?Af(f):f)}for(const f of l){const[p,h]=f;if(c(`
55
55
  ${JSON.stringify(p)}
56
- `),typeof h=="string"||h instanceof Uint8Array)c(h);else{let g;try{g=JSON.stringify(h)}catch{g=JSON.stringify(Xn(h))}c(g)}}return typeof s=="string"?s:QE(s)}function QE(a){const r=a.reduce((c,f)=>c+f.length,0),l=new Uint8Array(r);let s=0;for(const c of a)l.set(c,s),s+=c.length;return l}function XE(a){const r=typeof a.data=="string"?Cf(a.data):a.data;return[an({type:"attachment",length:r.length,filename:a.filename,content_type:a.contentType,attachment_type:a.attachmentType}),r]}const ZE={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket",raw_security:"security"};function Qy(a){return ZE[a]}function T0(a){if(!a||!a.sdk)return;const{name:r,version:l}=a.sdk;return{name:r,version:l}}function WE(a,r,l,s){const c=a.sdkProcessingMetadata&&a.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:a.event_id,sent_at:new Date().toISOString(),...r&&{sdk:r},...!!l&&s&&{dsn:_l(s)},...c&&{trace:an({...c})}}}function KE(a,r){return r&&(a.sdk=a.sdk||{},a.sdk.name=a.sdk.name||r.name,a.sdk.version=a.sdk.version||r.version,a.sdk.integrations=[...a.sdk.integrations||[],...r.integrations||[]],a.sdk.packages=[...a.sdk.packages||[],...r.packages||[]]),a}function JE(a,r,l,s){const c=T0(l),f={sent_at:new Date().toISOString(),...c&&{sdk:c},...!!s&&r&&{dsn:_l(r)}},p="aggregates"in a?[{type:"sessions"},a]:[{type:"session"},a.toJSON()];return El(f,[p])}function eC(a,r,l,s){const c=T0(l),f=a.type&&a.type!=="replay_event"?a.type:"event";KE(a,l&&l.sdk);const p=WE(a,c,s,r);return delete a.sdkProcessingMetadata,El(p,[[{type:f},a]])}function Af(a,r,l,s=0){return new nn((c,f)=>{const p=a[s];if(r===null||typeof p!="function")c(r);else{const h=p({...r},l);qe&&p.id&&h===null&&ie.log(`Event processor "${p.id}" dropped event`),bs(h)?h.then(g=>Af(a,g,l,s+1).then(c)).then(null,f):Af(a,h,l,s+1).then(c).then(null,f)}})}let Fo,Xy,Vo;function tC(a){const r=ke._sentryDebugIds;if(!r)return{};const l=Object.keys(r);return Vo&&l.length===Xy||(Xy=l.length,Vo=l.reduce((s,c)=>{Fo||(Fo={});const f=Fo[c];if(f)s[f[0]]=f[1];else{const p=a(c);for(let h=p.length-1;h>=0;h--){const g=p[h],y=g&&g.filename,E=r[c];if(y&&E){s[y]=E,Fo[c]=[y,E];break}}}return s},{})),Vo}function nC(a,r){const{fingerprint:l,span:s,breadcrumbs:c,sdkProcessingMetadata:f}=r;aC(a,r),s&&lC(a,s),oC(a,l),rC(a,c),iC(a,f)}function Zy(a,r){const{extra:l,tags:s,user:c,contexts:f,level:p,sdkProcessingMetadata:h,breadcrumbs:g,fingerprint:y,eventProcessors:E,attachments:_,propagationContext:z,transactionName:G,span:q}=r;Yo(a,"extra",l),Yo(a,"tags",s),Yo(a,"user",c),Yo(a,"contexts",f),a.sdkProcessingMetadata=_s(a.sdkProcessingMetadata,h,2),p&&(a.level=p),G&&(a.transactionName=G),q&&(a.span=q),g.length&&(a.breadcrumbs=[...a.breadcrumbs,...g]),y.length&&(a.fingerprint=[...a.fingerprint,...y]),E.length&&(a.eventProcessors=[...a.eventProcessors,...E]),_.length&&(a.attachments=[...a.attachments,..._]),a.propagationContext={...a.propagationContext,...z}}function Yo(a,r,l){a[r]=_s(a[r],l,1)}function aC(a,r){const{extra:l,tags:s,user:c,contexts:f,level:p,transactionName:h}=r,g=an(l);g&&Object.keys(g).length&&(a.extra={...g,...a.extra});const y=an(s);y&&Object.keys(y).length&&(a.tags={...y,...a.tags});const E=an(c);E&&Object.keys(E).length&&(a.user={...E,...a.user});const _=an(f);_&&Object.keys(_).length&&(a.contexts={..._,...a.contexts}),p&&(a.level=p),h&&a.type!=="transaction"&&(a.transaction=h)}function rC(a,r){const l=[...a.breadcrumbs||[],...r];a.breadcrumbs=l.length?l:void 0}function iC(a,r){a.sdkProcessingMetadata={...a.sdkProcessingMetadata,...r}}function lC(a,r){a.contexts={trace:TE(r),...a.contexts},a.sdkProcessingMetadata={dynamicSamplingContext:HE(r),...a.sdkProcessingMetadata};const l=S0(r),s=ld(l).description;s&&!a.transaction&&a.type==="transaction"&&(a.transaction=s)}function oC(a,r){a.fingerprint=a.fingerprint?Array.isArray(a.fingerprint)?a.fingerprint:[a.fingerprint]:[],r&&(a.fingerprint=a.fingerprint.concat(r)),a.fingerprint&&!a.fingerprint.length&&delete a.fingerprint}function sC(a,r,l,s,c,f){const{normalizeDepth:p=3,normalizeMaxBreadth:h=1e3}=a,g={...r,event_id:r.event_id||l.event_id||rn(),timestamp:r.timestamp||Sl()},y=l.integrations||a.integrations.map(Y=>Y.name);uC(g,a),dC(g,y),c&&c.emit("applyFrameMetadata",r),r.type===void 0&&cC(g,a.stackParser);const E=mC(s,l.captureContext);l.mechanism&&li(g,l.mechanism);const _=c?c.getEventProcessors():[],z=cE().getScopeData();if(f){const Y=f.getScopeData();Zy(z,Y)}if(E){const Y=E.getScopeData();Zy(z,Y)}const G=[...l.attachments||[],...z.attachments];G.length&&(l.attachments=G),nC(g,z);const q=[..._,...z.eventProcessors];return Af(q,g,l).then(Y=>(Y&&fC(Y),typeof p=="number"&&p>0?pC(Y,p,h):Y))}function uC(a,r){const{environment:l,release:s,dist:c,maxValueLength:f=250}=r;a.environment=a.environment||l||od,!a.release&&s&&(a.release=s),!a.dist&&c&&(a.dist=c),a.message&&(a.message=ai(a.message,f));const p=a.exception&&a.exception.values&&a.exception.values[0];p&&p.value&&(p.value=ai(p.value,f));const h=a.request;h&&h.url&&(h.url=ai(h.url,f))}function cC(a,r){const l=tC(r);try{a.exception.values.forEach(s=>{s.stacktrace.frames.forEach(c=>{l&&c.filename&&(c.debug_id=l[c.filename])})})}catch{}}function fC(a){const r={};try{a.exception.values.forEach(s=>{s.stacktrace.frames.forEach(c=>{c.debug_id&&(c.abs_path?r[c.abs_path]=c.debug_id:c.filename&&(r[c.filename]=c.debug_id),delete c.debug_id)})})}catch{}if(Object.keys(r).length===0)return;a.debug_meta=a.debug_meta||{},a.debug_meta.images=a.debug_meta.images||[];const l=a.debug_meta.images;Object.entries(r).forEach(([s,c])=>{l.push({type:"sourcemap",code_file:s,debug_id:c})})}function dC(a,r){r.length>0&&(a.sdk=a.sdk||{},a.sdk.integrations=[...a.sdk.integrations||[],...r])}function pC(a,r,l){if(!a)return null;const s={...a,...a.breadcrumbs&&{breadcrumbs:a.breadcrumbs.map(c=>({...c,...c.data&&{data:Xn(c.data,r,l)}}))},...a.user&&{user:Xn(a.user,r,l)},...a.contexts&&{contexts:Xn(a.contexts,r,l)},...a.extra&&{extra:Xn(a.extra,r,l)}};return a.contexts&&a.contexts.trace&&s.contexts&&(s.contexts.trace=a.contexts.trace,a.contexts.trace.data&&(s.contexts.trace.data=Xn(a.contexts.trace.data,r,l))),a.spans&&(s.spans=a.spans.map(c=>({...c,...c.data&&{data:Xn(c.data,r,l)}}))),a.contexts&&a.contexts.flags&&s.contexts&&(s.contexts.flags=Xn(a.contexts.flags,3,l)),s}function mC(a,r){if(!r)return a;const l=a?a.clone():new Na;return l.update(r),l}function hC(a){if(a)return yC(a)?{captureContext:a}:vC(a)?{captureContext:a}:a}function yC(a){return a instanceof Na||typeof a=="function"}const gC=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function vC(a){return Object.keys(a).some(r=>gC.includes(r))}function pr(a,r){return Mn().captureException(a,hC(r))}function M0(a,r){return Mn().captureEvent(a,r)}function bC(a,r){za().setContext(a,r)}function ef(a,r){za().setTag(a,r)}function SC(){return za().lastEventId()}function Wy(a){const r=dt(),l=za(),s=Mn(),{release:c,environment:f=od}=r&&r.getOptions()||{},{userAgent:p}=ke.navigator||{},h=eE({release:c,environment:f,user:s.getUser()||l.getUser(),...p&&{userAgent:p},...a}),g=l.getSession();return g&&g.status==="ok"&&oi(g,{status:"exited"}),w0(),l.setSession(h),s.setSession(h),h}function w0(){const a=za(),r=Mn(),l=r.getSession()||a.getSession();l&&tE(l),O0(),a.setSession(),r.setSession()}function O0(){const a=za(),r=Mn(),l=dt(),s=r.getSession()||a.getSession();s&&l&&l.captureSession(s)}function Ky(a=!1){if(a){w0();return}O0()}const _C="7";function R0(a){const r=a.protocol?`${a.protocol}:`:"",l=a.port?`:${a.port}`:"";return`${r}//${a.host}${l}${a.path?`/${a.path}`:""}/api/`}function EC(a){return`${R0(a)}${a.projectId}/envelope/`}function CC(a,r){const l={sentry_version:_C};return a.publicKey&&(l.sentry_key=a.publicKey),r&&(l.sentry_client=`${r.name}/${r.version}`),new URLSearchParams(l).toString()}function AC(a,r,l){return r||`${EC(a)}?${CC(a,l)}`}function TC(a,r){const l=C0(a);if(!l)return"";const s=`${R0(l)}embed/error-page/`;let c=`dsn=${_l(l)}`;for(const f in r)if(f!=="dsn"&&f!=="onClose")if(f==="user"){const p=r.user;if(!p)continue;p.name&&(c+=`&name=${encodeURIComponent(p.name)}`),p.email&&(c+=`&email=${encodeURIComponent(p.email)}`)}else c+=`&${encodeURIComponent(f)}=${encodeURIComponent(r[f])}`;return`${s}?${c}`}const Jy=[];function MC(a){const r={};return a.forEach(l=>{const{name:s}=l,c=r[s];c&&!c.isDefaultInstance&&l.isDefaultInstance||(r[s]=l)}),Object.values(r)}function wC(a){const r=a.defaultIntegrations||[],l=a.integrations;r.forEach(p=>{p.isDefaultInstance=!0});let s;if(Array.isArray(l))s=[...r,...l];else if(typeof l=="function"){const p=l(r);s=Array.isArray(p)?p:[p]}else s=r;const c=MC(s),f=c.findIndex(p=>p.name==="Debug");if(f>-1){const[p]=c.splice(f,1);c.push(p)}return c}function OC(a,r){const l={};return r.forEach(s=>{s&&D0(a,s,l)}),l}function eg(a,r){for(const l of r)l&&l.afterAllSetup&&l.afterAllSetup(a)}function D0(a,r,l){if(l[r.name]){qe&&ie.log(`Integration skipped because it was already installed: ${r.name}`);return}if(l[r.name]=r,Jy.indexOf(r.name)===-1&&typeof r.setupOnce=="function"&&(r.setupOnce(),Jy.push(r.name)),r.setup&&typeof r.setup=="function"&&r.setup(a),typeof r.preprocessEvent=="function"){const s=r.preprocessEvent.bind(r);a.on("preprocessEvent",(c,f)=>s(c,f,a))}if(typeof r.processEvent=="function"){const s=r.processEvent.bind(r),c=Object.assign((f,p)=>s(f,p,a),{id:r.name});a.addEventProcessor(c)}qe&&ie.log(`Integration installed: ${r.name}`)}function RC(a){const r=dt();if(!r){qe&&ie.warn(`Cannot add integration "${a.name}" because no SDK Client is available.`);return}r.addIntegration(a)}function DC(a,r,l){const s=[{type:"client_report"},{timestamp:Sl(),discarded_events:a}];return El(r?{dsn:r}:{},[s])}class pn extends Error{constructor(r,l="warn"){super(r),this.message=r,this.logLevel=l}}const tg="Not capturing exception because it's already been captured.";class xC{constructor(r){if(this._options=r,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],r.dsn?this._dsn=C0(r.dsn):qe&&ie.warn("No DSN provided, client will not send events."),this._dsn){const c=AC(this._dsn,r.tunnel,r._metadata?r._metadata.sdk:void 0);this._transport=r.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...r.transportOptions,url:c})}const s=["enableTracing","tracesSampleRate","tracesSampler"].find(c=>c in r&&r[c]==null);s&&cr(()=>{console.warn(`[Sentry] Deprecation warning: \`${s}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(r,l,s){const c=rn();if(By(r))return qe&&ie.log(tg),c;const f={event_id:c,...l};return this._process(this.eventFromException(r,f).then(p=>this._captureEvent(p,f,s))),f.event_id}captureMessage(r,l,s,c){const f={event_id:rn(),...s},p=Jf(r)?r:String(r),h=ed(r)?this.eventFromMessage(p,l,f):this.eventFromException(r,f);return this._process(h.then(g=>this._captureEvent(g,f,c))),f.event_id}captureEvent(r,l,s){const c=rn();if(l&&l.originalException&&By(l.originalException))return qe&&ie.log(tg),c;const f={event_id:c,...l},h=(r.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(r,f,h||s)),f.event_id}captureSession(r){typeof r.release!="string"?qe&&ie.warn("Discarded session because of missing or non-string release"):(this.sendSession(r),oi(r,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(r){const l=this._transport;return l?(this.emit("flush"),this._isClientDoneProcessing(r).then(s=>l.flush(r).then(c=>s&&c))):sr(!0)}close(r){return this.flush(r).then(l=>(this.getOptions().enabled=!1,this.emit("close"),l))}getEventProcessors(){return this._eventProcessors}addEventProcessor(r){this._eventProcessors.push(r)}init(){(this._isEnabled()||this._options.integrations.some(({name:r})=>r.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(r){return this._integrations[r]}addIntegration(r){const l=this._integrations[r.name];D0(this,r,this._integrations),l||eg(this,[r])}sendEvent(r,l={}){this.emit("beforeSendEvent",r,l);let s=eC(r,this._dsn,this._options._metadata,this._options.tunnel);for(const f of l.attachments||[])s=YE(s,XE(f));const c=this.sendEnvelope(s);c&&c.then(f=>this.emit("afterSendEvent",r,f),null)}sendSession(r){const l=JE(r,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(l)}recordDroppedEvent(r,l,s){if(this._options.sendClientReports){const c=typeof s=="number"?s:1,f=`${r}:${l}`;qe&&ie.log(`Recording outcome: "${f}"${c>1?` (${c} times)`:""}`),this._outcomes[f]=(this._outcomes[f]||0)+c}}on(r,l){const s=this._hooks[r]=this._hooks[r]||[];return s.push(l),()=>{const c=s.indexOf(l);c>-1&&s.splice(c,1)}}emit(r,...l){const s=this._hooks[r];s&&s.forEach(c=>c(...l))}sendEnvelope(r){return this.emit("beforeEnvelope",r),this._isEnabled()&&this._transport?this._transport.send(r).then(null,l=>(qe&&ie.error("Error while sending envelope:",l),l)):(qe&&ie.error("Transport disabled"),sr({}))}_setupIntegrations(){const{integrations:r}=this._options;this._integrations=OC(this,r),eg(this,r)}_updateSessionFromEvent(r,l){let s=l.level==="fatal",c=!1;const f=l.exception&&l.exception.values;if(f){c=!0;for(const g of f){const y=g.mechanism;if(y&&y.handled===!1){s=!0;break}}}const p=r.status==="ok";(p&&r.errors===0||p&&s)&&(oi(r,{...s&&{status:"crashed"},errors:r.errors||Number(c||s)}),this.captureSession(r))}_isClientDoneProcessing(r){return new nn(l=>{let s=0;const c=1,f=setInterval(()=>{this._numProcessing==0?(clearInterval(f),l(!0)):(s+=c,r&&s>=r&&(clearInterval(f),l(!1)))},c)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(r,l,s=Mn(),c=za()){const f=this.getOptions(),p=Object.keys(this._integrations);return!l.integrations&&p.length>0&&(l.integrations=p),this.emit("preprocessEvent",r,l),r.type||c.setLastEventId(r.event_id||l.event_id),sC(f,r,l,s,this,c).then(h=>{if(h===null)return h;h.contexts={trace:fE(s),...h.contexts};const g=LE(this,s);return h.sdkProcessingMetadata={dynamicSamplingContext:g,...h.sdkProcessingMetadata},h})}_captureEvent(r,l={},s){return this._processEvent(r,l,s).then(c=>c.event_id,c=>{qe&&(c instanceof pn&&c.logLevel==="log"?ie.log(c.message):ie.warn(c))})}_processEvent(r,l,s){const c=this.getOptions(),{sampleRate:f}=c,p=k0(r),h=x0(r),g=r.type||"error",y=`before send for type \`${g}\``,E=typeof f>"u"?void 0:UE(f);if(h&&typeof E=="number"&&Math.random()>E)return this.recordDroppedEvent("sample_rate","error",r),os(new pn(`Discarding event because it's not included in the random sample (sampling rate = ${f})`,"log"));const _=g==="replay_event"?"replay":g,G=(r.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(r,l,s,G).then(q=>{if(q===null)throw this.recordDroppedEvent("event_processor",_,r),new pn("An event processor returned `null`, will not send event.","log");if(l.data&&l.data.__sentry__===!0)return q;const Y=NC(this,c,q,l);return kC(Y,y)}).then(q=>{if(q===null){if(this.recordDroppedEvent("before_send",_,r),p){const le=1+(r.spans||[]).length;this.recordDroppedEvent("before_send","span",le)}throw new pn(`${y} returned \`null\`, will not send event.`,"log")}const Q=s&&s.getSession();if(!p&&Q&&this._updateSessionFromEvent(Q,q),p){const ae=q.sdkProcessingMetadata&&q.sdkProcessingMetadata.spanCountBeforeProcessing||0,le=q.spans?q.spans.length:0,J=ae-le;J>0&&this.recordDroppedEvent("before_send","span",J)}const Y=q.transaction_info;if(p&&Y&&q.transaction!==r.transaction){const ae="custom";q.transaction_info={...Y,source:ae}}return this.sendEvent(q,l),q}).then(null,q=>{throw q instanceof pn?q:(this.captureException(q,{data:{__sentry__:!0},originalException:q}),new pn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
57
- Reason: ${q}`))})}_process(r){this._numProcessing++,r.then(l=>(this._numProcessing--,l),l=>(this._numProcessing--,l))}_clearOutcomes(){const r=this._outcomes;return this._outcomes={},Object.entries(r).map(([l,s])=>{const[c,f]=l.split(":");return{reason:c,category:f,quantity:s}})}_flushOutcomes(){qe&&ie.log("Flushing outcomes...");const r=this._clearOutcomes();if(r.length===0){qe&&ie.log("No outcomes to send");return}if(!this._dsn){qe&&ie.log("No dsn provided, will not send outcomes");return}qe&&ie.log("Sending outcomes:",r);const l=DC(r,this._options.tunnel&&_l(this._dsn));this.sendEnvelope(l)}}function kC(a,r){const l=`${r} must return \`null\` or a valid event.`;if(bs(a))return a.then(s=>{if(!ii(s)&&s!==null)throw new pn(l);return s},s=>{throw new pn(`${r} rejected with ${s}`)});if(!ii(a)&&a!==null)throw new pn(l);return a}function NC(a,r,l,s){const{beforeSend:c,beforeSendTransaction:f,beforeSendSpan:p}=r;if(x0(l)&&c)return c(l,s);if(k0(l)){if(l.spans&&p){const h=[];for(const g of l.spans){const y=p(g);y?h.push(y):(xE(),a.recordDroppedEvent("before_send","span"))}l.spans=h}if(f){if(l.spans){const h=l.spans.length;l.sdkProcessingMetadata={...l.sdkProcessingMetadata,spanCountBeforeProcessing:h}}return f(l,s)}}return l}function x0(a){return a.type===void 0}function k0(a){return a.type==="transaction"}function LC(a,r){r.debug===!0&&(qe?ie.enable():cr(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Mn().update(r.initialScope);const s=new a(r);return HC(s),s.init(),s}function HC(a){Mn().setClient(a)}function UC(a){const r=[];function l(){return a===void 0||r.length<a}function s(p){return r.splice(r.indexOf(p),1)[0]||Promise.resolve(void 0)}function c(p){if(!l())return os(new pn("Not adding Promise because buffer limit was reached."));const h=p();return r.indexOf(h)===-1&&r.push(h),h.then(()=>s(h)).then(null,()=>s(h).then(null,()=>{})),h}function f(p){return new nn((h,g)=>{let y=r.length;if(!y)return h(!0);const E=setTimeout(()=>{p&&p>0&&h(!1)},p);r.forEach(_=>{sr(_).then(()=>{--y||(clearTimeout(E),h(!0))},g)})})}return{$:r,add:c,drain:f}}const zC=60*1e3;function BC(a,r=Date.now()){const l=parseInt(`${a}`,10);if(!isNaN(l))return l*1e3;const s=Date.parse(`${a}`);return isNaN(s)?zC:s-r}function jC(a,r){return a[r]||a.all||0}function IC(a,r,l=Date.now()){return jC(a,r)>l}function qC(a,{statusCode:r,headers:l},s=Date.now()){const c={...a},f=l&&l["x-sentry-rate-limits"],p=l&&l["retry-after"];if(f)for(const h of f.trim().split(",")){const[g,y,,,E]=h.split(":",5),_=parseInt(g,10),z=(isNaN(_)?60:_)*1e3;if(!y)c.all=s+z;else for(const G of y.split(";"))G==="metric_bucket"?(!E||E.split(";").includes("custom"))&&(c[G]=s+z):c[G]=s+z}else p?c.all=s+BC(p,s):r===429&&(c.all=s+60*1e3);return c}const PC=64;function GC(a,r,l=UC(a.bufferSize||PC)){let s={};const c=p=>l.drain(p);function f(p){const h=[];if($y(p,(_,z)=>{const G=Qy(z);if(IC(s,G)){const q=ng(_,z);a.recordDroppedEvent("ratelimit_backoff",G,q)}else h.push(_)}),h.length===0)return sr({});const g=El(p[0],h),y=_=>{$y(g,(z,G)=>{const q=ng(z,G);a.recordDroppedEvent(_,Qy(G),q)})},E=()=>r({body:$E(g)}).then(_=>(_.statusCode!==void 0&&(_.statusCode<200||_.statusCode>=300)&&qe&&ie.warn(`Sentry responded with status code ${_.statusCode} to sent event.`),s=qC(s,_),_),_=>{throw y("network_error"),_});return l.add(E).then(_=>_,_=>{if(_ instanceof pn)return qe&&ie.error("Skipped sending event because buffer is full."),y("queue_overflow"),sr({});throw _})}return{send:f,flush:c}}function ng(a,r){if(!(r!=="event"&&r!=="transaction"))return Array.isArray(a)?a[1]:void 0}function N0(a,r,l=[r],s="npm"){const c=a._metadata||{};c.sdk||(c.sdk={name:`sentry.javascript.${r}`,packages:l.map(f=>({name:`${s}:@sentry/${f}`,version:Oa})),version:Oa}),a._metadata=c}const FC=100;function La(a,r){const l=dt(),s=za();if(!l)return;const{beforeBreadcrumb:c=null,maxBreadcrumbs:f=FC}=l.getOptions();if(f<=0)return;const h={timestamp:Sl(),...a},g=c?cr(()=>c(h,r)):h;g!==null&&(l.emit&&l.emit("beforeAddBreadcrumb",g,r),s.addBreadcrumb(g,f))}let ag;const VC="FunctionToString",rg=new WeakMap,YC=(()=>({name:VC,setupOnce(){ag=Function.prototype.toString;try{Function.prototype.toString=function(...a){const r=nd(this),l=rg.has(dt())&&r!==void 0?r:this;return ag.apply(l,a)}}catch{}},setup(a){rg.set(a,!0)}})),$C=YC,QC=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,"undefined is not an object (evaluating 'a.L')",`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],XC="InboundFilters",ZC=((a={})=>({name:XC,processEvent(r,l,s){const c=s.getOptions(),f=KC(a,c);return JC(r,f)?null:r}})),WC=ZC;function KC(a={},r={}){return{allowUrls:[...a.allowUrls||[],...r.allowUrls||[]],denyUrls:[...a.denyUrls||[],...r.denyUrls||[]],ignoreErrors:[...a.ignoreErrors||[],...r.ignoreErrors||[],...a.disableErrorDefaults?[]:QC],ignoreTransactions:[...a.ignoreTransactions||[],...r.ignoreTransactions||[]],ignoreInternal:a.ignoreInternal!==void 0?a.ignoreInternal:!0}}function JC(a,r){return r.ignoreInternal&&iA(a)?(qe&&ie.warn(`Event dropped due to being internal Sentry Error.
58
- Event: ${Ma(a)}`),!0):eA(a,r.ignoreErrors)?(qe&&ie.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
59
- Event: ${Ma(a)}`),!0):oA(a)?(qe&&ie.warn(`Event dropped due to not having an error message, error type or stacktrace.
60
- Event: ${Ma(a)}`),!0):tA(a,r.ignoreTransactions)?(qe&&ie.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
61
- Event: ${Ma(a)}`),!0):nA(a,r.denyUrls)?(qe&&ie.warn(`Event dropped due to being matched by \`denyUrls\` option.
56
+ `),typeof h=="string"||h instanceof Uint8Array)c(h);else{let g;try{g=JSON.stringify(h)}catch{g=JSON.stringify(Xn(h))}c(g)}}return typeof s=="string"?s:ZE(s)}function ZE(a){const r=a.reduce((c,f)=>c+f.length,0),l=new Uint8Array(r);let s=0;for(const c of a)l.set(c,s),s+=c.length;return l}function WE(a){const r=typeof a.data=="string"?Af(a.data):a.data;return[an({type:"attachment",length:r.length,filename:a.filename,content_type:a.contentType,attachment_type:a.attachmentType}),r]}const KE={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket",raw_security:"security"};function Qy(a){return KE[a]}function M0(a){if(!a||!a.sdk)return;const{name:r,version:l}=a.sdk;return{name:r,version:l}}function JE(a,r,l,s){const c=a.sdkProcessingMetadata&&a.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:a.event_id,sent_at:new Date().toISOString(),...r&&{sdk:r},...!!l&&s&&{dsn:_l(s)},...c&&{trace:an({...c})}}}function eC(a,r){return r&&(a.sdk=a.sdk||{},a.sdk.name=a.sdk.name||r.name,a.sdk.version=a.sdk.version||r.version,a.sdk.integrations=[...a.sdk.integrations||[],...r.integrations||[]],a.sdk.packages=[...a.sdk.packages||[],...r.packages||[]]),a}function tC(a,r,l,s){const c=M0(l),f={sent_at:new Date().toISOString(),...c&&{sdk:c},...!!s&&r&&{dsn:_l(r)}},p="aggregates"in a?[{type:"sessions"},a]:[{type:"session"},a.toJSON()];return El(f,[p])}function nC(a,r,l,s){const c=M0(l),f=a.type&&a.type!=="replay_event"?a.type:"event";eC(a,l&&l.sdk);const p=JE(a,c,s,r);return delete a.sdkProcessingMetadata,El(p,[[{type:f},a]])}function Tf(a,r,l,s=0){return new nn((c,f)=>{const p=a[s];if(r===null||typeof p!="function")c(r);else{const h=p({...r},l);qe&&p.id&&h===null&&ie.log(`Event processor "${p.id}" dropped event`),bs(h)?h.then(g=>Tf(a,g,l,s+1).then(c)).then(null,f):Tf(a,h,l,s+1).then(c).then(null,f)}})}let Fo,Xy,Vo;function aC(a){const r=ke._sentryDebugIds;if(!r)return{};const l=Object.keys(r);return Vo&&l.length===Xy||(Xy=l.length,Vo=l.reduce((s,c)=>{Fo||(Fo={});const f=Fo[c];if(f)s[f[0]]=f[1];else{const p=a(c);for(let h=p.length-1;h>=0;h--){const g=p[h],y=g&&g.filename,E=r[c];if(y&&E){s[y]=E,Fo[c]=[y,E];break}}}return s},{})),Vo}function rC(a,r){const{fingerprint:l,span:s,breadcrumbs:c,sdkProcessingMetadata:f}=r;iC(a,r),s&&sC(a,s),uC(a,l),lC(a,c),oC(a,f)}function Zy(a,r){const{extra:l,tags:s,user:c,contexts:f,level:p,sdkProcessingMetadata:h,breadcrumbs:g,fingerprint:y,eventProcessors:E,attachments:_,propagationContext:z,transactionName:G,span:q}=r;Yo(a,"extra",l),Yo(a,"tags",s),Yo(a,"user",c),Yo(a,"contexts",f),a.sdkProcessingMetadata=_s(a.sdkProcessingMetadata,h,2),p&&(a.level=p),G&&(a.transactionName=G),q&&(a.span=q),g.length&&(a.breadcrumbs=[...a.breadcrumbs,...g]),y.length&&(a.fingerprint=[...a.fingerprint,...y]),E.length&&(a.eventProcessors=[...a.eventProcessors,...E]),_.length&&(a.attachments=[...a.attachments,..._]),a.propagationContext={...a.propagationContext,...z}}function Yo(a,r,l){a[r]=_s(a[r],l,1)}function iC(a,r){const{extra:l,tags:s,user:c,contexts:f,level:p,transactionName:h}=r,g=an(l);g&&Object.keys(g).length&&(a.extra={...g,...a.extra});const y=an(s);y&&Object.keys(y).length&&(a.tags={...y,...a.tags});const E=an(c);E&&Object.keys(E).length&&(a.user={...E,...a.user});const _=an(f);_&&Object.keys(_).length&&(a.contexts={..._,...a.contexts}),p&&(a.level=p),h&&a.type!=="transaction"&&(a.transaction=h)}function lC(a,r){const l=[...a.breadcrumbs||[],...r];a.breadcrumbs=l.length?l:void 0}function oC(a,r){a.sdkProcessingMetadata={...a.sdkProcessingMetadata,...r}}function sC(a,r){a.contexts={trace:wE(r),...a.contexts},a.sdkProcessingMetadata={dynamicSamplingContext:zE(r),...a.sdkProcessingMetadata};const l=_0(r),s=ld(l).description;s&&!a.transaction&&a.type==="transaction"&&(a.transaction=s)}function uC(a,r){a.fingerprint=a.fingerprint?Array.isArray(a.fingerprint)?a.fingerprint:[a.fingerprint]:[],r&&(a.fingerprint=a.fingerprint.concat(r)),a.fingerprint&&!a.fingerprint.length&&delete a.fingerprint}function cC(a,r,l,s,c,f){const{normalizeDepth:p=3,normalizeMaxBreadth:h=1e3}=a,g={...r,event_id:r.event_id||l.event_id||rn(),timestamp:r.timestamp||Sl()},y=l.integrations||a.integrations.map(Y=>Y.name);fC(g,a),mC(g,y),c&&c.emit("applyFrameMetadata",r),r.type===void 0&&dC(g,a.stackParser);const E=yC(s,l.captureContext);l.mechanism&&li(g,l.mechanism);const _=c?c.getEventProcessors():[],z=dE().getScopeData();if(f){const Y=f.getScopeData();Zy(z,Y)}if(E){const Y=E.getScopeData();Zy(z,Y)}const G=[...l.attachments||[],...z.attachments];G.length&&(l.attachments=G),rC(g,z);const q=[..._,...z.eventProcessors];return Tf(q,g,l).then(Y=>(Y&&pC(Y),typeof p=="number"&&p>0?hC(Y,p,h):Y))}function fC(a,r){const{environment:l,release:s,dist:c,maxValueLength:f=250}=r;a.environment=a.environment||l||od,!a.release&&s&&(a.release=s),!a.dist&&c&&(a.dist=c),a.message&&(a.message=ai(a.message,f));const p=a.exception&&a.exception.values&&a.exception.values[0];p&&p.value&&(p.value=ai(p.value,f));const h=a.request;h&&h.url&&(h.url=ai(h.url,f))}function dC(a,r){const l=aC(r);try{a.exception.values.forEach(s=>{s.stacktrace.frames.forEach(c=>{l&&c.filename&&(c.debug_id=l[c.filename])})})}catch{}}function pC(a){const r={};try{a.exception.values.forEach(s=>{s.stacktrace.frames.forEach(c=>{c.debug_id&&(c.abs_path?r[c.abs_path]=c.debug_id:c.filename&&(r[c.filename]=c.debug_id),delete c.debug_id)})})}catch{}if(Object.keys(r).length===0)return;a.debug_meta=a.debug_meta||{},a.debug_meta.images=a.debug_meta.images||[];const l=a.debug_meta.images;Object.entries(r).forEach(([s,c])=>{l.push({type:"sourcemap",code_file:s,debug_id:c})})}function mC(a,r){r.length>0&&(a.sdk=a.sdk||{},a.sdk.integrations=[...a.sdk.integrations||[],...r])}function hC(a,r,l){if(!a)return null;const s={...a,...a.breadcrumbs&&{breadcrumbs:a.breadcrumbs.map(c=>({...c,...c.data&&{data:Xn(c.data,r,l)}}))},...a.user&&{user:Xn(a.user,r,l)},...a.contexts&&{contexts:Xn(a.contexts,r,l)},...a.extra&&{extra:Xn(a.extra,r,l)}};return a.contexts&&a.contexts.trace&&s.contexts&&(s.contexts.trace=a.contexts.trace,a.contexts.trace.data&&(s.contexts.trace.data=Xn(a.contexts.trace.data,r,l))),a.spans&&(s.spans=a.spans.map(c=>({...c,...c.data&&{data:Xn(c.data,r,l)}}))),a.contexts&&a.contexts.flags&&s.contexts&&(s.contexts.flags=Xn(a.contexts.flags,3,l)),s}function yC(a,r){if(!r)return a;const l=a?a.clone():new Na;return l.update(r),l}function gC(a){if(a)return vC(a)?{captureContext:a}:SC(a)?{captureContext:a}:a}function vC(a){return a instanceof Na||typeof a=="function"}const bC=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function SC(a){return Object.keys(a).some(r=>bC.includes(r))}function pr(a,r){return hn().captureException(a,gC(r))}function _C(a,r){const s={captureContext:r};return hn().captureMessage(a,void 0,s)}function w0(a,r){return hn().captureEvent(a,r)}function EC(a,r){za().setContext(a,r)}function tf(a,r){za().setTag(a,r)}function CC(){return za().lastEventId()}function Wy(a){const r=dt(),l=za(),s=hn(),{release:c,environment:f=od}=r&&r.getOptions()||{},{userAgent:p}=ke.navigator||{},h=nE({release:c,environment:f,user:s.getUser()||l.getUser(),...p&&{userAgent:p},...a}),g=l.getSession();return g&&g.status==="ok"&&oi(g,{status:"exited"}),O0(),l.setSession(h),s.setSession(h),h}function O0(){const a=za(),r=hn(),l=r.getSession()||a.getSession();l&&aE(l),R0(),a.setSession(),r.setSession()}function R0(){const a=za(),r=hn(),l=dt(),s=r.getSession()||a.getSession();s&&l&&l.captureSession(s)}function Ky(a=!1){if(a){O0();return}R0()}const AC="7";function D0(a){const r=a.protocol?`${a.protocol}:`:"",l=a.port?`:${a.port}`:"";return`${r}//${a.host}${l}${a.path?`/${a.path}`:""}/api/`}function TC(a){return`${D0(a)}${a.projectId}/envelope/`}function MC(a,r){const l={sentry_version:AC};return a.publicKey&&(l.sentry_key=a.publicKey),r&&(l.sentry_client=`${r.name}/${r.version}`),new URLSearchParams(l).toString()}function wC(a,r,l){return r||`${TC(a)}?${MC(a,l)}`}function OC(a,r){const l=A0(a);if(!l)return"";const s=`${D0(l)}embed/error-page/`;let c=`dsn=${_l(l)}`;for(const f in r)if(f!=="dsn"&&f!=="onClose")if(f==="user"){const p=r.user;if(!p)continue;p.name&&(c+=`&name=${encodeURIComponent(p.name)}`),p.email&&(c+=`&email=${encodeURIComponent(p.email)}`)}else c+=`&${encodeURIComponent(f)}=${encodeURIComponent(r[f])}`;return`${s}?${c}`}const Jy=[];function RC(a){const r={};return a.forEach(l=>{const{name:s}=l,c=r[s];c&&!c.isDefaultInstance&&l.isDefaultInstance||(r[s]=l)}),Object.values(r)}function DC(a){const r=a.defaultIntegrations||[],l=a.integrations;r.forEach(p=>{p.isDefaultInstance=!0});let s;if(Array.isArray(l))s=[...r,...l];else if(typeof l=="function"){const p=l(r);s=Array.isArray(p)?p:[p]}else s=r;const c=RC(s),f=c.findIndex(p=>p.name==="Debug");if(f>-1){const[p]=c.splice(f,1);c.push(p)}return c}function xC(a,r){const l={};return r.forEach(s=>{s&&x0(a,s,l)}),l}function eg(a,r){for(const l of r)l&&l.afterAllSetup&&l.afterAllSetup(a)}function x0(a,r,l){if(l[r.name]){qe&&ie.log(`Integration skipped because it was already installed: ${r.name}`);return}if(l[r.name]=r,Jy.indexOf(r.name)===-1&&typeof r.setupOnce=="function"&&(r.setupOnce(),Jy.push(r.name)),r.setup&&typeof r.setup=="function"&&r.setup(a),typeof r.preprocessEvent=="function"){const s=r.preprocessEvent.bind(r);a.on("preprocessEvent",(c,f)=>s(c,f,a))}if(typeof r.processEvent=="function"){const s=r.processEvent.bind(r),c=Object.assign((f,p)=>s(f,p,a),{id:r.name});a.addEventProcessor(c)}qe&&ie.log(`Integration installed: ${r.name}`)}function kC(a){const r=dt();if(!r){qe&&ie.warn(`Cannot add integration "${a.name}" because no SDK Client is available.`);return}r.addIntegration(a)}function NC(a,r,l){const s=[{type:"client_report"},{timestamp:Sl(),discarded_events:a}];return El(r?{dsn:r}:{},[s])}class pn extends Error{constructor(r,l="warn"){super(r),this.message=r,this.logLevel=l}}const tg="Not capturing exception because it's already been captured.";class LC{constructor(r){if(this._options=r,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],r.dsn?this._dsn=A0(r.dsn):qe&&ie.warn("No DSN provided, client will not send events."),this._dsn){const c=wC(this._dsn,r.tunnel,r._metadata?r._metadata.sdk:void 0);this._transport=r.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...r.transportOptions,url:c})}const s=["enableTracing","tracesSampleRate","tracesSampler"].find(c=>c in r&&r[c]==null);s&&cr(()=>{console.warn(`[Sentry] Deprecation warning: \`${s}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(r,l,s){const c=rn();if(By(r))return qe&&ie.log(tg),c;const f={event_id:c,...l};return this._process(this.eventFromException(r,f).then(p=>this._captureEvent(p,f,s))),f.event_id}captureMessage(r,l,s,c){const f={event_id:rn(),...s},p=ed(r)?r:String(r),h=td(r)?this.eventFromMessage(p,l,f):this.eventFromException(r,f);return this._process(h.then(g=>this._captureEvent(g,f,c))),f.event_id}captureEvent(r,l,s){const c=rn();if(l&&l.originalException&&By(l.originalException))return qe&&ie.log(tg),c;const f={event_id:c,...l},h=(r.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(r,f,h||s)),f.event_id}captureSession(r){typeof r.release!="string"?qe&&ie.warn("Discarded session because of missing or non-string release"):(this.sendSession(r),oi(r,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(r){const l=this._transport;return l?(this.emit("flush"),this._isClientDoneProcessing(r).then(s=>l.flush(r).then(c=>s&&c))):sr(!0)}close(r){return this.flush(r).then(l=>(this.getOptions().enabled=!1,this.emit("close"),l))}getEventProcessors(){return this._eventProcessors}addEventProcessor(r){this._eventProcessors.push(r)}init(){(this._isEnabled()||this._options.integrations.some(({name:r})=>r.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(r){return this._integrations[r]}addIntegration(r){const l=this._integrations[r.name];x0(this,r,this._integrations),l||eg(this,[r])}sendEvent(r,l={}){this.emit("beforeSendEvent",r,l);let s=nC(r,this._dsn,this._options._metadata,this._options.tunnel);for(const f of l.attachments||[])s=QE(s,WE(f));const c=this.sendEnvelope(s);c&&c.then(f=>this.emit("afterSendEvent",r,f),null)}sendSession(r){const l=tC(r,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(l)}recordDroppedEvent(r,l,s){if(this._options.sendClientReports){const c=typeof s=="number"?s:1,f=`${r}:${l}`;qe&&ie.log(`Recording outcome: "${f}"${c>1?` (${c} times)`:""}`),this._outcomes[f]=(this._outcomes[f]||0)+c}}on(r,l){const s=this._hooks[r]=this._hooks[r]||[];return s.push(l),()=>{const c=s.indexOf(l);c>-1&&s.splice(c,1)}}emit(r,...l){const s=this._hooks[r];s&&s.forEach(c=>c(...l))}sendEnvelope(r){return this.emit("beforeEnvelope",r),this._isEnabled()&&this._transport?this._transport.send(r).then(null,l=>(qe&&ie.error("Error while sending envelope:",l),l)):(qe&&ie.error("Transport disabled"),sr({}))}_setupIntegrations(){const{integrations:r}=this._options;this._integrations=xC(this,r),eg(this,r)}_updateSessionFromEvent(r,l){let s=l.level==="fatal",c=!1;const f=l.exception&&l.exception.values;if(f){c=!0;for(const g of f){const y=g.mechanism;if(y&&y.handled===!1){s=!0;break}}}const p=r.status==="ok";(p&&r.errors===0||p&&s)&&(oi(r,{...s&&{status:"crashed"},errors:r.errors||Number(c||s)}),this.captureSession(r))}_isClientDoneProcessing(r){return new nn(l=>{let s=0;const c=1,f=setInterval(()=>{this._numProcessing==0?(clearInterval(f),l(!0)):(s+=c,r&&s>=r&&(clearInterval(f),l(!1)))},c)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(r,l,s=hn(),c=za()){const f=this.getOptions(),p=Object.keys(this._integrations);return!l.integrations&&p.length>0&&(l.integrations=p),this.emit("preprocessEvent",r,l),r.type||c.setLastEventId(r.event_id||l.event_id),cC(f,r,l,s,this,c).then(h=>{if(h===null)return h;h.contexts={trace:pE(s),...h.contexts};const g=UE(this,s);return h.sdkProcessingMetadata={dynamicSamplingContext:g,...h.sdkProcessingMetadata},h})}_captureEvent(r,l={},s){return this._processEvent(r,l,s).then(c=>c.event_id,c=>{qe&&(c instanceof pn&&c.logLevel==="log"?ie.log(c.message):ie.warn(c))})}_processEvent(r,l,s){const c=this.getOptions(),{sampleRate:f}=c,p=N0(r),h=k0(r),g=r.type||"error",y=`before send for type \`${g}\``,E=typeof f>"u"?void 0:BE(f);if(h&&typeof E=="number"&&Math.random()>E)return this.recordDroppedEvent("sample_rate","error",r),os(new pn(`Discarding event because it's not included in the random sample (sampling rate = ${f})`,"log"));const _=g==="replay_event"?"replay":g,G=(r.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(r,l,s,G).then(q=>{if(q===null)throw this.recordDroppedEvent("event_processor",_,r),new pn("An event processor returned `null`, will not send event.","log");if(l.data&&l.data.__sentry__===!0)return q;const Y=UC(this,c,q,l);return HC(Y,y)}).then(q=>{if(q===null){if(this.recordDroppedEvent("before_send",_,r),p){const le=1+(r.spans||[]).length;this.recordDroppedEvent("before_send","span",le)}throw new pn(`${y} returned \`null\`, will not send event.`,"log")}const Q=s&&s.getSession();if(!p&&Q&&this._updateSessionFromEvent(Q,q),p){const ae=q.sdkProcessingMetadata&&q.sdkProcessingMetadata.spanCountBeforeProcessing||0,le=q.spans?q.spans.length:0,J=ae-le;J>0&&this.recordDroppedEvent("before_send","span",J)}const Y=q.transaction_info;if(p&&Y&&q.transaction!==r.transaction){const ae="custom";q.transaction_info={...Y,source:ae}}return this.sendEvent(q,l),q}).then(null,q=>{throw q instanceof pn?q:(this.captureException(q,{data:{__sentry__:!0},originalException:q}),new pn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
57
+ Reason: ${q}`))})}_process(r){this._numProcessing++,r.then(l=>(this._numProcessing--,l),l=>(this._numProcessing--,l))}_clearOutcomes(){const r=this._outcomes;return this._outcomes={},Object.entries(r).map(([l,s])=>{const[c,f]=l.split(":");return{reason:c,category:f,quantity:s}})}_flushOutcomes(){qe&&ie.log("Flushing outcomes...");const r=this._clearOutcomes();if(r.length===0){qe&&ie.log("No outcomes to send");return}if(!this._dsn){qe&&ie.log("No dsn provided, will not send outcomes");return}qe&&ie.log("Sending outcomes:",r);const l=NC(r,this._options.tunnel&&_l(this._dsn));this.sendEnvelope(l)}}function HC(a,r){const l=`${r} must return \`null\` or a valid event.`;if(bs(a))return a.then(s=>{if(!ii(s)&&s!==null)throw new pn(l);return s},s=>{throw new pn(`${r} rejected with ${s}`)});if(!ii(a)&&a!==null)throw new pn(l);return a}function UC(a,r,l,s){const{beforeSend:c,beforeSendTransaction:f,beforeSendSpan:p}=r;if(k0(l)&&c)return c(l,s);if(N0(l)){if(l.spans&&p){const h=[];for(const g of l.spans){const y=p(g);y?h.push(y):(NE(),a.recordDroppedEvent("before_send","span"))}l.spans=h}if(f){if(l.spans){const h=l.spans.length;l.sdkProcessingMetadata={...l.sdkProcessingMetadata,spanCountBeforeProcessing:h}}return f(l,s)}}return l}function k0(a){return a.type===void 0}function N0(a){return a.type==="transaction"}function zC(a,r){r.debug===!0&&(qe?ie.enable():cr(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),hn().update(r.initialScope);const s=new a(r);return BC(s),s.init(),s}function BC(a){hn().setClient(a)}function jC(a){const r=[];function l(){return a===void 0||r.length<a}function s(p){return r.splice(r.indexOf(p),1)[0]||Promise.resolve(void 0)}function c(p){if(!l())return os(new pn("Not adding Promise because buffer limit was reached."));const h=p();return r.indexOf(h)===-1&&r.push(h),h.then(()=>s(h)).then(null,()=>s(h).then(null,()=>{})),h}function f(p){return new nn((h,g)=>{let y=r.length;if(!y)return h(!0);const E=setTimeout(()=>{p&&p>0&&h(!1)},p);r.forEach(_=>{sr(_).then(()=>{--y||(clearTimeout(E),h(!0))},g)})})}return{$:r,add:c,drain:f}}const IC=60*1e3;function qC(a,r=Date.now()){const l=parseInt(`${a}`,10);if(!isNaN(l))return l*1e3;const s=Date.parse(`${a}`);return isNaN(s)?IC:s-r}function PC(a,r){return a[r]||a.all||0}function GC(a,r,l=Date.now()){return PC(a,r)>l}function FC(a,{statusCode:r,headers:l},s=Date.now()){const c={...a},f=l&&l["x-sentry-rate-limits"],p=l&&l["retry-after"];if(f)for(const h of f.trim().split(",")){const[g,y,,,E]=h.split(":",5),_=parseInt(g,10),z=(isNaN(_)?60:_)*1e3;if(!y)c.all=s+z;else for(const G of y.split(";"))G==="metric_bucket"?(!E||E.split(";").includes("custom"))&&(c[G]=s+z):c[G]=s+z}else p?c.all=s+qC(p,s):r===429&&(c.all=s+60*1e3);return c}const VC=64;function YC(a,r,l=jC(a.bufferSize||VC)){let s={};const c=p=>l.drain(p);function f(p){const h=[];if($y(p,(_,z)=>{const G=Qy(z);if(GC(s,G)){const q=ng(_,z);a.recordDroppedEvent("ratelimit_backoff",G,q)}else h.push(_)}),h.length===0)return sr({});const g=El(p[0],h),y=_=>{$y(g,(z,G)=>{const q=ng(z,G);a.recordDroppedEvent(_,Qy(G),q)})},E=()=>r({body:XE(g)}).then(_=>(_.statusCode!==void 0&&(_.statusCode<200||_.statusCode>=300)&&qe&&ie.warn(`Sentry responded with status code ${_.statusCode} to sent event.`),s=FC(s,_),_),_=>{throw y("network_error"),_});return l.add(E).then(_=>_,_=>{if(_ instanceof pn)return qe&&ie.error("Skipped sending event because buffer is full."),y("queue_overflow"),sr({});throw _})}return{send:f,flush:c}}function ng(a,r){if(!(r!=="event"&&r!=="transaction"))return Array.isArray(a)?a[1]:void 0}function L0(a,r,l=[r],s="npm"){const c=a._metadata||{};c.sdk||(c.sdk={name:`sentry.javascript.${r}`,packages:l.map(f=>({name:`${s}:@sentry/${f}`,version:Oa})),version:Oa}),a._metadata=c}const $C=100;function La(a,r){const l=dt(),s=za();if(!l)return;const{beforeBreadcrumb:c=null,maxBreadcrumbs:f=$C}=l.getOptions();if(f<=0)return;const h={timestamp:Sl(),...a},g=c?cr(()=>c(h,r)):h;g!==null&&(l.emit&&l.emit("beforeAddBreadcrumb",g,r),s.addBreadcrumb(g,f))}let ag;const QC="FunctionToString",rg=new WeakMap,XC=(()=>({name:QC,setupOnce(){ag=Function.prototype.toString;try{Function.prototype.toString=function(...a){const r=ad(this),l=rg.has(dt())&&r!==void 0?r:this;return ag.apply(l,a)}}catch{}},setup(a){rg.set(a,!0)}})),ZC=XC,WC=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,"undefined is not an object (evaluating 'a.L')",`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],KC="InboundFilters",JC=((a={})=>({name:KC,processEvent(r,l,s){const c=s.getOptions(),f=tA(a,c);return nA(r,f)?null:r}})),eA=JC;function tA(a={},r={}){return{allowUrls:[...a.allowUrls||[],...r.allowUrls||[]],denyUrls:[...a.denyUrls||[],...r.denyUrls||[]],ignoreErrors:[...a.ignoreErrors||[],...r.ignoreErrors||[],...a.disableErrorDefaults?[]:WC],ignoreTransactions:[...a.ignoreTransactions||[],...r.ignoreTransactions||[]],ignoreInternal:a.ignoreInternal!==void 0?a.ignoreInternal:!0}}function nA(a,r){return r.ignoreInternal&&sA(a)?(qe&&ie.warn(`Event dropped due to being internal Sentry Error.
58
+ Event: ${Ma(a)}`),!0):aA(a,r.ignoreErrors)?(qe&&ie.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
59
+ Event: ${Ma(a)}`),!0):cA(a)?(qe&&ie.warn(`Event dropped due to not having an error message, error type or stacktrace.
60
+ Event: ${Ma(a)}`),!0):rA(a,r.ignoreTransactions)?(qe&&ie.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
61
+ Event: ${Ma(a)}`),!0):iA(a,r.denyUrls)?(qe&&ie.warn(`Event dropped due to being matched by \`denyUrls\` option.
62
62
  Event: ${Ma(a)}.
63
- Url: ${ss(a)}`),!0):aA(a,r.allowUrls)?!1:(qe&&ie.warn(`Event dropped due to not being matched by \`allowUrls\` option.
63
+ Url: ${ss(a)}`),!0):lA(a,r.allowUrls)?!1:(qe&&ie.warn(`Event dropped due to not being matched by \`allowUrls\` option.
64
64
  Event: ${Ma(a)}.
65
- Url: ${ss(a)}`),!0)}function eA(a,r){return a.type||!r||!r.length?!1:rA(a).some(l=>Ss(l,r))}function tA(a,r){if(a.type!=="transaction"||!r||!r.length)return!1;const l=a.transaction;return l?Ss(l,r):!1}function nA(a,r){if(!r||!r.length)return!1;const l=ss(a);return l?Ss(l,r):!1}function aA(a,r){if(!r||!r.length)return!0;const l=ss(a);return l?Ss(l,r):!0}function rA(a){const r=[];a.message&&r.push(a.message);let l;try{l=a.exception.values[a.exception.values.length-1]}catch{}return l&&l.value&&(r.push(l.value),l.type&&r.push(`${l.type}: ${l.value}`)),r}function iA(a){try{return a.exception.values[0].type==="SentryError"}catch{}return!1}function lA(a=[]){for(let r=a.length-1;r>=0;r--){const l=a[r];if(l&&l.filename!=="<anonymous>"&&l.filename!=="[native code]")return l.filename||null}return null}function ss(a){try{let r;try{r=a.exception.values[0].stacktrace.frames}catch{}return r?lA(r):null}catch{return qe&&ie.error(`Cannot extract url for event ${Ma(a)}`),null}}function oA(a){return a.type||!a.exception||!a.exception.values||a.exception.values.length===0?!1:!a.message&&!a.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value)}function sA(a,r,l=250,s,c,f,p){if(!f.exception||!f.exception.values||!p||!lr(p.originalException,Error))return;const h=f.exception.values.length>0?f.exception.values[f.exception.values.length-1]:void 0;h&&(f.exception.values=uA(Tf(a,r,c,p.originalException,s,f.exception.values,h,0),l))}function Tf(a,r,l,s,c,f,p,h){if(f.length>=l+1)return f;let g=[...f];if(lr(s[c],Error)){ig(p,h);const y=a(r,s[c]),E=g.length;lg(y,c,E,h),g=Tf(a,r,l,s[c],c,[y,...g],y,E)}return Array.isArray(s.errors)&&s.errors.forEach((y,E)=>{if(lr(y,Error)){ig(p,h);const _=a(r,y),z=g.length;lg(_,`errors[${E}]`,z,h),g=Tf(a,r,l,y,c,[_,...g],_,z)}}),g}function ig(a,r){a.mechanism=a.mechanism||{type:"generic",handled:!0},a.mechanism={...a.mechanism,...a.type==="AggregateError"&&{is_exception_group:!0},exception_id:r}}function lg(a,r,l,s){a.mechanism=a.mechanism||{type:"generic",handled:!0},a.mechanism={...a.mechanism,type:"chained",source:r,exception_id:l,parent_id:s}}function uA(a,r){return a.map(l=>(l.value&&(l.value=ai(l.value,r)),l))}function tf(a){if(!a)return{};const r=a.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!r)return{};const l=r[6]||"",s=r[8]||"";return{host:r[4],path:r[5],protocol:r[2],search:l,hash:s,relative:r[5]+l+s}}function cA(a){const r="console";fr(r,a),dr(r,fA)}function fA(){"console"in ke&&gf.forEach(function(a){a in ke.console&&Vt(ke.console,a,function(r){return ls[a]=r,function(...l){mn("console",{args:l,level:a});const c=ls[a];c&&c.apply(ke.console,l)}})})}function dA(a){return a==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(a)?a:"log"}const pA="Dedupe",mA=(()=>{let a;return{name:pA,processEvent(r){if(r.type)return r;try{if(yA(r,a))return qe&&ie.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return a=r}}}),hA=mA;function yA(a,r){return r?!!(gA(a,r)||vA(a,r)):!1}function gA(a,r){const l=a.message,s=r.message;return!(!l&&!s||l&&!s||!l&&s||l!==s||!H0(a,r)||!L0(a,r))}function vA(a,r){const l=og(r),s=og(a);return!(!l||!s||l.type!==s.type||l.value!==s.value||!H0(a,r)||!L0(a,r))}function L0(a,r){let l=ky(a),s=ky(r);if(!l&&!s)return!0;if(l&&!s||!l&&s||(l=l,s=s,s.length!==l.length))return!1;for(let c=0;c<s.length;c++){const f=s[c],p=l[c];if(f.filename!==p.filename||f.lineno!==p.lineno||f.colno!==p.colno||f.function!==p.function)return!1}return!0}function H0(a,r){let l=a.fingerprint,s=r.fingerprint;if(!l&&!s)return!0;if(l&&!s||!l&&s)return!1;l=l,s=s;try{return l.join("")===s.join("")}catch{return!1}}function og(a){return a.exception&&a.exception.values&&a.exception.values[0]}function U0(a){if(a!==void 0)return a>=400&&a<500?"warning":a>=500?"error":void 0}const Mf=ke;function z0(){if(!("fetch"in Mf))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function wf(a){return a&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(a.toString())}function bA(){if(typeof EdgeRuntime=="string")return!0;if(!z0())return!1;if(wf(Mf.fetch))return!0;let a=!1;const r=Mf.document;if(r&&typeof r.createElement=="function")try{const l=r.createElement("iframe");l.hidden=!0,r.head.appendChild(l),l.contentWindow&&l.contentWindow.fetch&&(a=wf(l.contentWindow.fetch)),r.head.removeChild(l)}catch(l){ur&&ie.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",l)}return a}function SA(a,r){const l="fetch";fr(l,a),dr(l,()=>_A(void 0,r))}function _A(a,r=!1){r&&!bA()||Vt(ke,"fetch",function(l){return function(...s){const c=new Error,{method:f,url:p}=EA(s),h={args:s,fetchData:{method:f,url:p},startTimestamp:Wn()*1e3,virtualError:c};return mn("fetch",{...h}),l.apply(ke,s).then(async g=>(mn("fetch",{...h,endTimestamp:Wn()*1e3,response:g}),g),g=>{throw mn("fetch",{...h,endTimestamp:Wn()*1e3,error:g}),gs(g)&&g.stack===void 0&&(g.stack=c.stack,or(g,"framesToPop",1)),g})}})}function Of(a,r){return!!a&&typeof a=="object"&&!!a[r]}function sg(a){return typeof a=="string"?a:a?Of(a,"url")?a.url:a.toString?a.toString():"":""}function EA(a){if(a.length===0)return{method:"GET",url:""};if(a.length===2){const[l,s]=a;return{url:sg(l),method:Of(s,"method")?String(s.method).toUpperCase():"GET"}}const r=a[0];return{url:sg(r),method:Of(r,"method")?String(r.method).toUpperCase():"GET"}}function CA(){return"npm"}const $o=ke;function AA(){const a=$o.chrome,r=a&&a.app&&a.app.runtime,l="history"in $o&&!!$o.history.pushState&&!!$o.history.replaceState;return!r&&l}const be=ke;let Rf=0;function B0(){return Rf>0}function TA(){Rf++,setTimeout(()=>{Rf--})}function ui(a,r={}){function l(c){return typeof c=="function"}if(!l(a))return a;try{const c=a.__sentry_wrapped__;if(c)return typeof c=="function"?c:a;if(nd(a))return a}catch{return a}const s=function(...c){try{const f=c.map(p=>ui(p,r));return a.apply(this,f)}catch(f){throw TA(),id(p=>{p.addEventProcessor(h=>(r.mechanism&&(bf(h,void 0),li(h,r.mechanism)),h.extra={...h.extra,arguments:c},h)),pr(f)}),f}};try{for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&(s[c]=a[c])}catch{}y0(s,a),or(a,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get(){return a.name}})}catch{}return s}const Ra=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function sd(a,r){const l=ud(a,r),s={type:DA(r),value:xA(r)};return l.length&&(s.stacktrace={frames:l}),s.type===void 0&&s.value===""&&(s.value="Unrecoverable error caught"),s}function MA(a,r,l,s){const c=dt(),f=c&&c.getOptions().normalizeDepth,p=UA(r),h={__serialized__:A0(r,f)};if(p)return{exception:{values:[sd(a,p)]},extra:h};const g={exception:{values:[{type:vs(r)?r.constructor.name:s?"UnhandledRejection":"Error",value:LA(r,{isUnhandledRejection:s})}]},extra:h};if(l){const y=ud(a,l);y.length&&(g.exception.values[0].stacktrace={frames:y})}return g}function nf(a,r){return{exception:{values:[sd(a,r)]}}}function ud(a,r){const l=r.stacktrace||r.stack||"",s=OA(r),c=RA(r);try{return a(l,s,c)}catch{}return[]}const wA=/Minified React error #\d+;/i;function OA(a){return a&&wA.test(a.message)?1:0}function RA(a){return typeof a.framesToPop=="number"?a.framesToPop:0}function j0(a){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?a instanceof WebAssembly.Exception:!1}function DA(a){const r=a&&a.name;return!r&&j0(a)?a.message&&Array.isArray(a.message)&&a.message.length==2?a.message[0]:"WebAssembly.Exception":r}function xA(a){const r=a&&a.message;return r?r.error&&typeof r.error.message=="string"?r.error.message:j0(a)&&Array.isArray(a.message)&&a.message.length==2?a.message[1]:r:"No error message"}function kA(a,r,l,s){const c=l&&l.syntheticException||void 0,f=cd(a,r,c,s);return li(f),f.level="error",l&&l.event_id&&(f.event_id=l.event_id),sr(f)}function NA(a,r,l="info",s,c){const f=s&&s.syntheticException||void 0,p=Df(a,r,f,c);return p.level=l,s&&s.event_id&&(p.event_id=s.event_id),sr(p)}function cd(a,r,l,s,c){let f;if(p0(r)&&r.error)return nf(a,r.error);if(Ly(r)||q_(r)){const p=r;if("stack"in r)f=nf(a,r);else{const h=p.name||(Ly(p)?"DOMError":"DOMException"),g=p.message?`${h}: ${p.message}`:h;f=Df(a,g,l,s),bf(f,g)}return"code"in p&&(f.tags={...f.tags,"DOMException.code":`${p.code}`}),f}return gs(r)?nf(a,r):ii(r)||vs(r)?(f=MA(a,r,l,c),li(f,{synthetic:!0}),f):(f=Df(a,r,l,s),bf(f,`${r}`),li(f,{synthetic:!0}),f)}function Df(a,r,l,s){const c={};if(s&&l){const f=ud(a,l);f.length&&(c.exception={values:[{value:r,stacktrace:{frames:f}}]}),li(c,{synthetic:!0})}if(Jf(r)){const{__sentry_template_string__:f,__sentry_template_values__:p}=r;return c.logentry={message:f,params:p},c}return c.message=r,c}function LA(a,{isUnhandledRejection:r}){const l=Z_(a),s=r?"promise rejection":"exception";return p0(a)?`Event \`ErrorEvent\` captured as ${s} with message \`${a.message}\``:vs(a)?`Event \`${HA(a)}\` (type=${a.type}) captured as ${s}`:`Object captured as ${s} with keys: ${l}`}function HA(a){try{const r=Object.getPrototypeOf(a);return r?r.constructor.name:void 0}catch{}}function UA(a){for(const r in a)if(Object.prototype.hasOwnProperty.call(a,r)){const l=a[r];if(l instanceof Error)return l}}function zA(a,{metadata:r,tunnel:l,dsn:s}){const c={event_id:a.event_id,sent_at:new Date().toISOString(),...r&&r.sdk&&{sdk:{name:r.sdk.name,version:r.sdk.version}},...!!l&&!!s&&{dsn:_l(s)}},f=BA(a);return El(c,[f])}function BA(a){return[{type:"user_report"},a]}class jA extends xC{constructor(r){const l={parentSpanIsAlwaysRootSpan:!0,...r},s=be.SENTRY_SDK_SOURCE||CA();N0(l,"browser",["browser"],s),super(l),l.sendClientReports&&be.document&&be.document.addEventListener("visibilitychange",()=>{be.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(r,l){return kA(this._options.stackParser,r,l,this._options.attachStacktrace)}eventFromMessage(r,l="info",s){return NA(this._options.stackParser,r,l,s,this._options.attachStacktrace)}captureUserFeedback(r){if(!this._isEnabled()){Ra&&ie.warn("SDK not enabled, will not capture user feedback.");return}const l=zA(r,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(l)}_prepareEvent(r,l,s){return r.platform=r.platform||"javascript",super._prepareEvent(r,l,s)}}const IA=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Rt=ke,qA=1e3;let ug,xf,kf;function PA(a){fr("dom",a),dr("dom",GA)}function GA(){if(!Rt.document)return;const a=mn.bind(null,"dom"),r=cg(a,!0);Rt.document.addEventListener("click",r,!1),Rt.document.addEventListener("keypress",r,!1),["EventTarget","Node"].forEach(l=>{const c=Rt[l],f=c&&c.prototype;!f||!f.hasOwnProperty||!f.hasOwnProperty("addEventListener")||(Vt(f,"addEventListener",function(p){return function(h,g,y){if(h==="click"||h=="keypress")try{const E=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},_=E[h]=E[h]||{refCount:0};if(!_.handler){const z=cg(a);_.handler=z,p.call(this,h,z,y)}_.refCount++}catch{}return p.call(this,h,g,y)}}),Vt(f,"removeEventListener",function(p){return function(h,g,y){if(h==="click"||h=="keypress")try{const E=this.__sentry_instrumentation_handlers__||{},_=E[h];_&&(_.refCount--,_.refCount<=0&&(p.call(this,h,_.handler,y),_.handler=void 0,delete E[h]),Object.keys(E).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return p.call(this,h,g,y)}}))})}function FA(a){if(a.type!==xf)return!1;try{if(!a.target||a.target._sentryId!==kf)return!1}catch{}return!0}function VA(a,r){return a!=="keypress"?!1:!r||!r.tagName?!0:!(r.tagName==="INPUT"||r.tagName==="TEXTAREA"||r.isContentEditable)}function cg(a,r=!1){return l=>{if(!l||l._sentryCaptured)return;const s=YA(l);if(VA(l.type,s))return;or(l,"_sentryCaptured",!0),s&&!s._sentryId&&or(s,"_sentryId",rn());const c=l.type==="keypress"?"input":l.type;FA(l)||(a({event:l,name:c,global:r}),xf=l.type,kf=s?s._sentryId:void 0),clearTimeout(ug),ug=Rt.setTimeout(()=>{kf=void 0,xf=void 0},qA)}}function YA(a){try{return a.target}catch{return null}}let Qo;function I0(a){const r="history";fr(r,a),dr(r,$A)}function $A(){if(!AA())return;const a=Rt.onpopstate;Rt.onpopstate=function(...l){const s=Rt.location.href,c=Qo;if(Qo=s,mn("history",{from:c,to:s}),a)try{return a.apply(this,l)}catch{}};function r(l){return function(...s){const c=s.length>2?s[2]:void 0;if(c){const f=Qo,p=String(c);Qo=p,mn("history",{from:f,to:p})}return l.apply(this,s)}}Vt(Rt.history,"pushState",r),Vt(Rt.history,"replaceState",r)}const es={};function QA(a){const r=es[a];if(r)return r;let l=Rt[a];if(wf(l))return es[a]=l.bind(Rt);const s=Rt.document;if(s&&typeof s.createElement=="function")try{const c=s.createElement("iframe");c.hidden=!0,s.head.appendChild(c);const f=c.contentWindow;f&&f[a]&&(l=f[a]),s.head.removeChild(c)}catch(c){IA&&ie.warn(`Could not create sandbox iframe for ${a} check, bailing to window.${a}: `,c)}return l&&(es[a]=l.bind(Rt))}function fg(a){es[a]=void 0}const hl="__sentry_xhr_v3__";function XA(a){fr("xhr",a),dr("xhr",ZA)}function ZA(){if(!Rt.XMLHttpRequest)return;const a=XMLHttpRequest.prototype;a.open=new Proxy(a.open,{apply(r,l,s){const c=new Error,f=Wn()*1e3,p=Zn(s[0])?s[0].toUpperCase():void 0,h=WA(s[1]);if(!p||!h)return r.apply(l,s);l[hl]={method:p,url:h,request_headers:{}},p==="POST"&&h.match(/sentry_key/)&&(l.__sentry_own_request__=!0);const g=()=>{const y=l[hl];if(y&&l.readyState===4){try{y.status_code=l.status}catch{}const E={endTimestamp:Wn()*1e3,startTimestamp:f,xhr:l,virtualError:c};mn("xhr",E)}};return"onreadystatechange"in l&&typeof l.onreadystatechange=="function"?l.onreadystatechange=new Proxy(l.onreadystatechange,{apply(y,E,_){return g(),y.apply(E,_)}}):l.addEventListener("readystatechange",g),l.setRequestHeader=new Proxy(l.setRequestHeader,{apply(y,E,_){const[z,G]=_,q=E[hl];return q&&Zn(z)&&Zn(G)&&(q.request_headers[z.toLowerCase()]=G),y.apply(E,_)}}),r.apply(l,s)}}),a.send=new Proxy(a.send,{apply(r,l,s){const c=l[hl];if(!c)return r.apply(l,s);s[0]!==void 0&&(c.body=s[0]);const f={startTimestamp:Wn()*1e3,xhr:l};return mn("xhr",f),r.apply(l,s)}})}function WA(a){if(Zn(a))return a;try{return a.toString()}catch{}}function KA(a,r=QA("fetch")){let l=0,s=0;function c(f){const p=f.body.length;l+=p,s++;const h={body:f.body,method:"POST",referrerPolicy:"origin",headers:a.headers,keepalive:l<=6e4&&s<15,...a.fetchOptions};if(!r)return fg("fetch"),os("No fetch implementation available");try{return r(a.url,h).then(g=>(l-=p,s--,{statusCode:g.status,headers:{"x-sentry-rate-limits":g.headers.get("X-Sentry-Rate-Limits"),"retry-after":g.headers.get("Retry-After")}}))}catch(g){return fg("fetch"),l-=p,s--,os(g)}}return GC(a,c)}const JA=30,e1=50;function Nf(a,r,l,s){const c={filename:a,function:r==="<anonymous>"?ir:r,in_app:!0};return l!==void 0&&(c.lineno=l),s!==void 0&&(c.colno=s),c}const t1=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,n1=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a1=/\((\S*)(?::(\d+))(?::(\d+))\)/,r1=a=>{const r=t1.exec(a);if(r){const[,s,c,f]=r;return Nf(s,ir,+c,+f)}const l=n1.exec(a);if(l){if(l[2]&&l[2].indexOf("eval")===0){const p=a1.exec(l[2]);p&&(l[2]=p[1],l[3]=p[2],l[4]=p[3])}const[c,f]=q0(l[1]||ir,l[2]);return Nf(f,c,l[3]?+l[3]:void 0,l[4]?+l[4]:void 0)}},i1=[JA,r1],l1=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,o1=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,s1=a=>{const r=l1.exec(a);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){const f=o1.exec(r[3]);f&&(r[1]=r[1]||"eval",r[3]=f[1],r[4]=f[2],r[5]="")}let s=r[3],c=r[1]||ir;return[c,s]=q0(c,s),Nf(s,c,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}},u1=[e1,s1],c1=[i1,u1],f1=f0(...c1),q0=(a,r)=>{const l=a.indexOf("safari-extension")!==-1,s=a.indexOf("safari-web-extension")!==-1;return l||s?[a.indexOf("@")!==-1?a.split("@")[0]:ir,l?`safari-extension:${r}`:`safari-web-extension:${r}`]:[a,r]},Xo=1024,d1="Breadcrumbs",p1=((a={})=>{const r={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...a};return{name:d1,setup(l){r.console&&cA(g1(l)),r.dom&&PA(y1(l,r.dom)),r.xhr&&XA(v1(l)),r.fetch&&SA(b1(l)),r.history&&I0(S1(l)),r.sentry&&l.on("beforeSendEvent",h1(l))}}}),m1=p1;function h1(a){return function(l){dt()===a&&La({category:`sentry.${l.type==="transaction"?"transaction":"event"}`,event_id:l.event_id,level:l.level,message:Ma(l)},{event:l})}}function y1(a,r){return function(s){if(dt()!==a)return;let c,f,p=typeof r=="object"?r.serializeAttribute:void 0,h=typeof r=="object"&&typeof r.maxStringLength=="number"?r.maxStringLength:void 0;h&&h>Xo&&(Ra&&ie.warn(`\`dom.maxStringLength\` cannot exceed ${Xo}, but a value of ${h} was configured. Sentry will use ${Xo} instead.`),h=Xo),typeof p=="string"&&(p=[p]);try{const y=s.event,E=_1(y)?y.target:y;c=h0(E,{keyAttrs:p,maxStringLength:h}),f=Q_(E)}catch{c="<unknown>"}if(c.length===0)return;const g={category:`ui.${s.name}`,message:c};f&&(g.data={"ui.component_name":f}),La(g,{event:s.event,name:s.name,global:s.global})}}function g1(a){return function(l){if(dt()!==a)return;const s={category:"console",data:{arguments:l.args,logger:"console"},level:dA(l.level),message:Hy(l.args," ")};if(l.level==="assert")if(l.args[0]===!1)s.message=`Assertion failed: ${Hy(l.args.slice(1)," ")||"console.assert"}`,s.data.arguments=l.args.slice(1);else return;La(s,{input:l.args,level:l.level})}}function v1(a){return function(l){if(dt()!==a)return;const{startTimestamp:s,endTimestamp:c}=l,f=l.xhr[hl];if(!s||!c||!f)return;const{method:p,url:h,status_code:g,body:y}=f,E={method:p,url:h,status_code:g},_={xhr:l.xhr,input:y,startTimestamp:s,endTimestamp:c},z=U0(g);La({category:"xhr",data:E,type:"http",level:z},_)}}function b1(a){return function(l){if(dt()!==a)return;const{startTimestamp:s,endTimestamp:c}=l;if(c&&!(l.fetchData.url.match(/sentry_key/)&&l.fetchData.method==="POST"))if(l.error){const f=l.fetchData,p={data:l.error,input:l.args,startTimestamp:s,endTimestamp:c};La({category:"fetch",data:f,level:"error",type:"http"},p)}else{const f=l.response,p={...l.fetchData,status_code:f&&f.status},h={input:l.args,response:f,startTimestamp:s,endTimestamp:c},g=U0(p.status_code);La({category:"fetch",data:p,type:"http",level:g},h)}}}function S1(a){return function(l){if(dt()!==a)return;let s=l.from,c=l.to;const f=tf(be.location.href);let p=s?tf(s):void 0;const h=tf(c);(!p||!p.path)&&(p=f),f.protocol===h.protocol&&f.host===h.host&&(c=h.relative),f.protocol===p.protocol&&f.host===p.host&&(s=p.relative),La({category:"navigation",data:{from:s,to:c}})}}function _1(a){return!!a&&!!a.target}const E1=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],C1="BrowserApiErrors",A1=((a={})=>{const r={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...a};return{name:C1,setupOnce(){r.setTimeout&&Vt(be,"setTimeout",dg),r.setInterval&&Vt(be,"setInterval",dg),r.requestAnimationFrame&&Vt(be,"requestAnimationFrame",T1),r.XMLHttpRequest&&"XMLHttpRequest"in be&&Vt(XMLHttpRequest.prototype,"send",M1);const l=r.eventTarget;l&&(Array.isArray(l)?l:E1).forEach(w1)}}}),P0=A1;function dg(a){return function(...r){const l=r[0];return r[0]=ui(l,{mechanism:{data:{function:ka(a)},handled:!1,type:"instrument"}}),a.apply(this,r)}}function T1(a){return function(r){return a.apply(this,[ui(r,{mechanism:{data:{function:"requestAnimationFrame",handler:ka(a)},handled:!1,type:"instrument"}})])}}function M1(a){return function(...r){const l=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(c=>{c in l&&typeof l[c]=="function"&&Vt(l,c,function(f){const p={mechanism:{data:{function:c,handler:ka(f)},handled:!1,type:"instrument"}},h=nd(f);return h&&(p.mechanism.data.handler=ka(h)),ui(f,p)})}),a.apply(this,r)}}function w1(a){const l=be[a],s=l&&l.prototype;!s||!s.hasOwnProperty||!s.hasOwnProperty("addEventListener")||(Vt(s,"addEventListener",function(c){return function(f,p,h){try{O1(p)&&(p.handleEvent=ui(p.handleEvent,{mechanism:{data:{function:"handleEvent",handler:ka(p),target:a},handled:!1,type:"instrument"}}))}catch{}return c.apply(this,[f,ui(p,{mechanism:{data:{function:"addEventListener",handler:ka(p),target:a},handled:!1,type:"instrument"}}),h])}}),Vt(s,"removeEventListener",function(c){return function(f,p,h){try{const g=p.__sentry_wrapped__;g&&c.call(this,f,g,h)}catch{}return c.call(this,f,p,h)}}))}function O1(a){return typeof a.handleEvent=="function"}const R1=()=>({name:"BrowserSession",setupOnce(){if(typeof be.document>"u"){Ra&&ie.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Wy({ignoreDuration:!0}),Ky(),I0(({from:a,to:r})=>{a!==void 0&&a!==r&&(Wy({ignoreDuration:!0}),Ky())})}}),D1="GlobalHandlers",x1=((a={})=>{const r={onerror:!0,onunhandledrejection:!0,...a};return{name:D1,setupOnce(){Error.stackTraceLimit=50},setup(l){r.onerror&&(N1(l),pg("onerror")),r.onunhandledrejection&&(L1(l),pg("onunhandledrejection"))}}}),k1=x1;function N1(a){z_(r=>{const{stackParser:l,attachStacktrace:s}=G0();if(dt()!==a||B0())return;const{msg:c,url:f,line:p,column:h,error:g}=r,y=z1(cd(l,g||c,void 0,s,!1),f,p,h);y.level="error",M0(y,{originalException:g,mechanism:{handled:!1,type:"onerror"}})})}function L1(a){j_(r=>{const{stackParser:l,attachStacktrace:s}=G0();if(dt()!==a||B0())return;const c=H1(r),f=ed(c)?U1(c):cd(l,c,void 0,s,!0);f.level="error",M0(f,{originalException:c,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function H1(a){if(ed(a))return a;try{if("reason"in a)return a.reason;if("detail"in a&&"reason"in a.detail)return a.detail.reason}catch{}return a}function U1(a){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(a)}`}]}}}function z1(a,r,l,s){const c=a.exception=a.exception||{},f=c.values=c.values||[],p=f[0]=f[0]||{},h=p.stacktrace=p.stacktrace||{},g=h.frames=h.frames||[],y=s,E=l,_=Zn(r)&&r.length>0?r:$_();return g.length===0&&g.push({colno:y,filename:_,function:ir,in_app:!0,lineno:E}),a}function pg(a){Ra&&ie.log(`Global Handler attached: ${a}`)}function G0(){const a=dt();return a&&a.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const B1=()=>({name:"HttpContext",preprocessEvent(a){if(!be.navigator&&!be.location&&!be.document)return;const r=a.request&&a.request.url||be.location&&be.location.href,{referrer:l}=be.document||{},{userAgent:s}=be.navigator||{},c={...a.request&&a.request.headers,...l&&{Referer:l},...s&&{"User-Agent":s}},f={...a.request,...r&&{url:r},headers:c};a.request=f}}),j1="cause",I1=5,q1="LinkedErrors",P1=((a={})=>{const r=a.limit||I1,l=a.key||j1;return{name:q1,preprocessEvent(s,c,f){const p=f.getOptions();sA(sd,p.stackParser,p.maxValueLength,l,r,s,c)}}}),G1=P1;function F1(a){const r=[WC(),$C(),P0(),m1(),k1(),G1(),hA(),B1()];return a.autoSessionTracking!==!1&&r.push(R1()),r}function V1(a={}){const r={defaultIntegrations:F1(a),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:be.SENTRY_RELEASE&&be.SENTRY_RELEASE.id?be.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return a.defaultIntegrations==null&&delete a.defaultIntegrations,{...r,...a}}function Y1(){const a=typeof be.window<"u"&&be;if(!a)return!1;const r=a.chrome?"chrome":"browser",l=a[r],s=l&&l.runtime&&l.runtime.id,c=be.location&&be.location.href||"",f=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],p=!!s&&be===be.top&&f.some(g=>c.startsWith(`${g}//`)),h=typeof a.nw<"u";return!!s&&!p&&!h}function $1(a={}){const r=V1(a);if(!r.skipBrowserExtensionCheck&&Y1()){cr(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}Ra&&(z0()||ie.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const l={...r,stackParser:H_(r.stackParser||f1),integrations:wC(r),transport:r.transport||KA};return LC(jA,l)}function mg(a={}){if(!be.document){Ra&&ie.error("Global document not defined in showReportDialog call");return}const r=Mn(),l=r.getClient(),s=l&&l.getDsn();if(!s){Ra&&ie.error("DSN not configured for showReportDialog call");return}if(r&&(a.user={...r.getUser(),...a.user}),!a.eventId){const h=SC();h&&(a.eventId=h)}const c=be.document.createElement("script");c.async=!0,c.crossOrigin="anonymous",c.src=TC(s,a),a.onLoad&&(c.onload=a.onLoad);const{onClose:f}=a;if(f){const h=g=>{if(g.data==="__sentry_reportdialog_closed__")try{f()}finally{be.removeEventListener("message",h)}};be.addEventListener("message",h)}const p=be.document.head||be.document.body;p?p.appendChild(c):Ra&&ie.error("Not injecting report dialog. No injection point found in HTML")}const Q1={replayIntegration:"replay",replayCanvasIntegration:"replay-canvas",feedbackIntegration:"feedback",feedbackModalIntegration:"feedback-modal",feedbackScreenshotIntegration:"feedback-screenshot",captureConsoleIntegration:"captureconsole",contextLinesIntegration:"contextlines",linkedErrorsIntegration:"linkederrors",debugIntegration:"debug",dedupeIntegration:"dedupe",extraErrorDataIntegration:"extraerrordata",httpClientIntegration:"httpclient",reportingObserverIntegration:"reportingobserver",rewriteFramesIntegration:"rewriteframes",sessionTimingIntegration:"sessiontiming",browserProfilingIntegration:"browserprofiling",moduleMetadataIntegration:"modulemetadata"},hg=be;async function X1(a,r){const l=Q1[a],s=hg.Sentry=hg.Sentry||{},c=s[a];if(typeof c=="function"&&!("_isShim"in c))return c;const f=Z1(l),p=be.document.createElement("script");p.src=f,p.crossOrigin="anonymous",p.referrerPolicy="origin";const h=new Promise((_,z)=>{p.addEventListener("load",()=>_()),p.addEventListener("error",z)}),g=be.document.currentScript,y=be.document.body||be.document.head||g&&g.parentElement;if(y)y.appendChild(p);else throw new Error(`Could not find parent element to insert lazy-loaded ${a} script`);try{await h}catch{throw new Error(`Error when loading integration: ${a}`)}const E=s[a];if(typeof E!="function")throw new Error(`Could not load integration: ${a}`);return E}function Z1(a){const r=dt(),l=r&&r.getOptions(),s=l&&l.cdnBaseUrl||"https://browser.sentry-cdn.com";return new URL(`/${Oa}/${a}.min.js`,s).toString()}function W1(a){const r={...a};return N0(r,"react"),bC("react",{version:T.version}),$1(r)}function K1(a){const r=a.match(/^([^.]+)/);return r!==null&&parseInt(r[0])>=17}function J1(a,r){const l=new WeakSet;function s(c,f){if(!l.has(c)){if(c.cause)return l.add(c),s(c.cause,f);c.cause=f}}s(a,r)}function eT(a,{componentStack:r},l){if(K1(T.version)&&gs(a)&&r){const s=new Error(a.message);s.name=`React ErrorBoundary ${a.name}`,s.stack=r,J1(a,s)}return pr(a,{...l,captureContext:{contexts:{react:{componentStack:r}}}})}var af={exports:{}},He={};/** @license React v16.13.1
65
+ Url: ${ss(a)}`),!0)}function aA(a,r){return a.type||!r||!r.length?!1:oA(a).some(l=>Ss(l,r))}function rA(a,r){if(a.type!=="transaction"||!r||!r.length)return!1;const l=a.transaction;return l?Ss(l,r):!1}function iA(a,r){if(!r||!r.length)return!1;const l=ss(a);return l?Ss(l,r):!1}function lA(a,r){if(!r||!r.length)return!0;const l=ss(a);return l?Ss(l,r):!0}function oA(a){const r=[];a.message&&r.push(a.message);let l;try{l=a.exception.values[a.exception.values.length-1]}catch{}return l&&l.value&&(r.push(l.value),l.type&&r.push(`${l.type}: ${l.value}`)),r}function sA(a){try{return a.exception.values[0].type==="SentryError"}catch{}return!1}function uA(a=[]){for(let r=a.length-1;r>=0;r--){const l=a[r];if(l&&l.filename!=="<anonymous>"&&l.filename!=="[native code]")return l.filename||null}return null}function ss(a){try{let r;try{r=a.exception.values[0].stacktrace.frames}catch{}return r?uA(r):null}catch{return qe&&ie.error(`Cannot extract url for event ${Ma(a)}`),null}}function cA(a){return a.type||!a.exception||!a.exception.values||a.exception.values.length===0?!1:!a.message&&!a.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value)}function fA(a,r,l=250,s,c,f,p){if(!f.exception||!f.exception.values||!p||!lr(p.originalException,Error))return;const h=f.exception.values.length>0?f.exception.values[f.exception.values.length-1]:void 0;h&&(f.exception.values=dA(Mf(a,r,c,p.originalException,s,f.exception.values,h,0),l))}function Mf(a,r,l,s,c,f,p,h){if(f.length>=l+1)return f;let g=[...f];if(lr(s[c],Error)){ig(p,h);const y=a(r,s[c]),E=g.length;lg(y,c,E,h),g=Mf(a,r,l,s[c],c,[y,...g],y,E)}return Array.isArray(s.errors)&&s.errors.forEach((y,E)=>{if(lr(y,Error)){ig(p,h);const _=a(r,y),z=g.length;lg(_,`errors[${E}]`,z,h),g=Mf(a,r,l,y,c,[_,...g],_,z)}}),g}function ig(a,r){a.mechanism=a.mechanism||{type:"generic",handled:!0},a.mechanism={...a.mechanism,...a.type==="AggregateError"&&{is_exception_group:!0},exception_id:r}}function lg(a,r,l,s){a.mechanism=a.mechanism||{type:"generic",handled:!0},a.mechanism={...a.mechanism,type:"chained",source:r,exception_id:l,parent_id:s}}function dA(a,r){return a.map(l=>(l.value&&(l.value=ai(l.value,r)),l))}function nf(a){if(!a)return{};const r=a.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!r)return{};const l=r[6]||"",s=r[8]||"";return{host:r[4],path:r[5],protocol:r[2],search:l,hash:s,relative:r[5]+l+s}}function pA(a){const r="console";fr(r,a),dr(r,mA)}function mA(){"console"in ke&&vf.forEach(function(a){a in ke.console&&Vt(ke.console,a,function(r){return ls[a]=r,function(...l){mn("console",{args:l,level:a});const c=ls[a];c&&c.apply(ke.console,l)}})})}function hA(a){return a==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(a)?a:"log"}const yA="Dedupe",gA=(()=>{let a;return{name:yA,processEvent(r){if(r.type)return r;try{if(bA(r,a))return qe&&ie.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return a=r}}}),vA=gA;function bA(a,r){return r?!!(SA(a,r)||_A(a,r)):!1}function SA(a,r){const l=a.message,s=r.message;return!(!l&&!s||l&&!s||!l&&s||l!==s||!U0(a,r)||!H0(a,r))}function _A(a,r){const l=og(r),s=og(a);return!(!l||!s||l.type!==s.type||l.value!==s.value||!U0(a,r)||!H0(a,r))}function H0(a,r){let l=ky(a),s=ky(r);if(!l&&!s)return!0;if(l&&!s||!l&&s||(l=l,s=s,s.length!==l.length))return!1;for(let c=0;c<s.length;c++){const f=s[c],p=l[c];if(f.filename!==p.filename||f.lineno!==p.lineno||f.colno!==p.colno||f.function!==p.function)return!1}return!0}function U0(a,r){let l=a.fingerprint,s=r.fingerprint;if(!l&&!s)return!0;if(l&&!s||!l&&s)return!1;l=l,s=s;try{return l.join("")===s.join("")}catch{return!1}}function og(a){return a.exception&&a.exception.values&&a.exception.values[0]}function z0(a){if(a!==void 0)return a>=400&&a<500?"warning":a>=500?"error":void 0}const wf=ke;function B0(){if(!("fetch"in wf))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function Of(a){return a&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(a.toString())}function EA(){if(typeof EdgeRuntime=="string")return!0;if(!B0())return!1;if(Of(wf.fetch))return!0;let a=!1;const r=wf.document;if(r&&typeof r.createElement=="function")try{const l=r.createElement("iframe");l.hidden=!0,r.head.appendChild(l),l.contentWindow&&l.contentWindow.fetch&&(a=Of(l.contentWindow.fetch)),r.head.removeChild(l)}catch(l){ur&&ie.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",l)}return a}function CA(a,r){const l="fetch";fr(l,a),dr(l,()=>AA(void 0,r))}function AA(a,r=!1){r&&!EA()||Vt(ke,"fetch",function(l){return function(...s){const c=new Error,{method:f,url:p}=TA(s),h={args:s,fetchData:{method:f,url:p},startTimestamp:Wn()*1e3,virtualError:c};return mn("fetch",{...h}),l.apply(ke,s).then(async g=>(mn("fetch",{...h,endTimestamp:Wn()*1e3,response:g}),g),g=>{throw mn("fetch",{...h,endTimestamp:Wn()*1e3,error:g}),gs(g)&&g.stack===void 0&&(g.stack=c.stack,or(g,"framesToPop",1)),g})}})}function Rf(a,r){return!!a&&typeof a=="object"&&!!a[r]}function sg(a){return typeof a=="string"?a:a?Rf(a,"url")?a.url:a.toString?a.toString():"":""}function TA(a){if(a.length===0)return{method:"GET",url:""};if(a.length===2){const[l,s]=a;return{url:sg(l),method:Rf(s,"method")?String(s.method).toUpperCase():"GET"}}const r=a[0];return{url:sg(r),method:Rf(r,"method")?String(r.method).toUpperCase():"GET"}}function MA(){return"npm"}const $o=ke;function wA(){const a=$o.chrome,r=a&&a.app&&a.app.runtime,l="history"in $o&&!!$o.history.pushState&&!!$o.history.replaceState;return!r&&l}const be=ke;let Df=0;function j0(){return Df>0}function OA(){Df++,setTimeout(()=>{Df--})}function ui(a,r={}){function l(c){return typeof c=="function"}if(!l(a))return a;try{const c=a.__sentry_wrapped__;if(c)return typeof c=="function"?c:a;if(ad(a))return a}catch{return a}const s=function(...c){try{const f=c.map(p=>ui(p,r));return a.apply(this,f)}catch(f){throw OA(),Es(p=>{p.addEventProcessor(h=>(r.mechanism&&(Sf(h,void 0),li(h,r.mechanism)),h.extra={...h.extra,arguments:c},h)),pr(f)}),f}};try{for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&(s[c]=a[c])}catch{}g0(s,a),or(a,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get(){return a.name}})}catch{}return s}const Ra=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function sd(a,r){const l=ud(a,r),s={type:NA(r),value:LA(r)};return l.length&&(s.stacktrace={frames:l}),s.type===void 0&&s.value===""&&(s.value="Unrecoverable error caught"),s}function RA(a,r,l,s){const c=dt(),f=c&&c.getOptions().normalizeDepth,p=jA(r),h={__serialized__:T0(r,f)};if(p)return{exception:{values:[sd(a,p)]},extra:h};const g={exception:{values:[{type:vs(r)?r.constructor.name:s?"UnhandledRejection":"Error",value:zA(r,{isUnhandledRejection:s})}]},extra:h};if(l){const y=ud(a,l);y.length&&(g.exception.values[0].stacktrace={frames:y})}return g}function af(a,r){return{exception:{values:[sd(a,r)]}}}function ud(a,r){const l=r.stacktrace||r.stack||"",s=xA(r),c=kA(r);try{return a(l,s,c)}catch{}return[]}const DA=/Minified React error #\d+;/i;function xA(a){return a&&DA.test(a.message)?1:0}function kA(a){return typeof a.framesToPop=="number"?a.framesToPop:0}function I0(a){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?a instanceof WebAssembly.Exception:!1}function NA(a){const r=a&&a.name;return!r&&I0(a)?a.message&&Array.isArray(a.message)&&a.message.length==2?a.message[0]:"WebAssembly.Exception":r}function LA(a){const r=a&&a.message;return r?r.error&&typeof r.error.message=="string"?r.error.message:I0(a)&&Array.isArray(a.message)&&a.message.length==2?a.message[1]:r:"No error message"}function HA(a,r,l,s){const c=l&&l.syntheticException||void 0,f=cd(a,r,c,s);return li(f),f.level="error",l&&l.event_id&&(f.event_id=l.event_id),sr(f)}function UA(a,r,l="info",s,c){const f=s&&s.syntheticException||void 0,p=xf(a,r,f,c);return p.level=l,s&&s.event_id&&(p.event_id=s.event_id),sr(p)}function cd(a,r,l,s,c){let f;if(m0(r)&&r.error)return af(a,r.error);if(Ly(r)||G_(r)){const p=r;if("stack"in r)f=af(a,r);else{const h=p.name||(Ly(p)?"DOMError":"DOMException"),g=p.message?`${h}: ${p.message}`:h;f=xf(a,g,l,s),Sf(f,g)}return"code"in p&&(f.tags={...f.tags,"DOMException.code":`${p.code}`}),f}return gs(r)?af(a,r):ii(r)||vs(r)?(f=RA(a,r,l,c),li(f,{synthetic:!0}),f):(f=xf(a,r,l,s),Sf(f,`${r}`),li(f,{synthetic:!0}),f)}function xf(a,r,l,s){const c={};if(s&&l){const f=ud(a,l);f.length&&(c.exception={values:[{value:r,stacktrace:{frames:f}}]}),li(c,{synthetic:!0})}if(ed(r)){const{__sentry_template_string__:f,__sentry_template_values__:p}=r;return c.logentry={message:f,params:p},c}return c.message=r,c}function zA(a,{isUnhandledRejection:r}){const l=K_(a),s=r?"promise rejection":"exception";return m0(a)?`Event \`ErrorEvent\` captured as ${s} with message \`${a.message}\``:vs(a)?`Event \`${BA(a)}\` (type=${a.type}) captured as ${s}`:`Object captured as ${s} with keys: ${l}`}function BA(a){try{const r=Object.getPrototypeOf(a);return r?r.constructor.name:void 0}catch{}}function jA(a){for(const r in a)if(Object.prototype.hasOwnProperty.call(a,r)){const l=a[r];if(l instanceof Error)return l}}function IA(a,{metadata:r,tunnel:l,dsn:s}){const c={event_id:a.event_id,sent_at:new Date().toISOString(),...r&&r.sdk&&{sdk:{name:r.sdk.name,version:r.sdk.version}},...!!l&&!!s&&{dsn:_l(s)}},f=qA(a);return El(c,[f])}function qA(a){return[{type:"user_report"},a]}class PA extends LC{constructor(r){const l={parentSpanIsAlwaysRootSpan:!0,...r},s=be.SENTRY_SDK_SOURCE||MA();L0(l,"browser",["browser"],s),super(l),l.sendClientReports&&be.document&&be.document.addEventListener("visibilitychange",()=>{be.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(r,l){return HA(this._options.stackParser,r,l,this._options.attachStacktrace)}eventFromMessage(r,l="info",s){return UA(this._options.stackParser,r,l,s,this._options.attachStacktrace)}captureUserFeedback(r){if(!this._isEnabled()){Ra&&ie.warn("SDK not enabled, will not capture user feedback.");return}const l=IA(r,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(l)}_prepareEvent(r,l,s){return r.platform=r.platform||"javascript",super._prepareEvent(r,l,s)}}const GA=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Rt=ke,FA=1e3;let ug,kf,Nf;function VA(a){fr("dom",a),dr("dom",YA)}function YA(){if(!Rt.document)return;const a=mn.bind(null,"dom"),r=cg(a,!0);Rt.document.addEventListener("click",r,!1),Rt.document.addEventListener("keypress",r,!1),["EventTarget","Node"].forEach(l=>{const c=Rt[l],f=c&&c.prototype;!f||!f.hasOwnProperty||!f.hasOwnProperty("addEventListener")||(Vt(f,"addEventListener",function(p){return function(h,g,y){if(h==="click"||h=="keypress")try{const E=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},_=E[h]=E[h]||{refCount:0};if(!_.handler){const z=cg(a);_.handler=z,p.call(this,h,z,y)}_.refCount++}catch{}return p.call(this,h,g,y)}}),Vt(f,"removeEventListener",function(p){return function(h,g,y){if(h==="click"||h=="keypress")try{const E=this.__sentry_instrumentation_handlers__||{},_=E[h];_&&(_.refCount--,_.refCount<=0&&(p.call(this,h,_.handler,y),_.handler=void 0,delete E[h]),Object.keys(E).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return p.call(this,h,g,y)}}))})}function $A(a){if(a.type!==kf)return!1;try{if(!a.target||a.target._sentryId!==Nf)return!1}catch{}return!0}function QA(a,r){return a!=="keypress"?!1:!r||!r.tagName?!0:!(r.tagName==="INPUT"||r.tagName==="TEXTAREA"||r.isContentEditable)}function cg(a,r=!1){return l=>{if(!l||l._sentryCaptured)return;const s=XA(l);if(QA(l.type,s))return;or(l,"_sentryCaptured",!0),s&&!s._sentryId&&or(s,"_sentryId",rn());const c=l.type==="keypress"?"input":l.type;$A(l)||(a({event:l,name:c,global:r}),kf=l.type,Nf=s?s._sentryId:void 0),clearTimeout(ug),ug=Rt.setTimeout(()=>{Nf=void 0,kf=void 0},FA)}}function XA(a){try{return a.target}catch{return null}}let Qo;function q0(a){const r="history";fr(r,a),dr(r,ZA)}function ZA(){if(!wA())return;const a=Rt.onpopstate;Rt.onpopstate=function(...l){const s=Rt.location.href,c=Qo;if(Qo=s,mn("history",{from:c,to:s}),a)try{return a.apply(this,l)}catch{}};function r(l){return function(...s){const c=s.length>2?s[2]:void 0;if(c){const f=Qo,p=String(c);Qo=p,mn("history",{from:f,to:p})}return l.apply(this,s)}}Vt(Rt.history,"pushState",r),Vt(Rt.history,"replaceState",r)}const es={};function WA(a){const r=es[a];if(r)return r;let l=Rt[a];if(Of(l))return es[a]=l.bind(Rt);const s=Rt.document;if(s&&typeof s.createElement=="function")try{const c=s.createElement("iframe");c.hidden=!0,s.head.appendChild(c);const f=c.contentWindow;f&&f[a]&&(l=f[a]),s.head.removeChild(c)}catch(c){GA&&ie.warn(`Could not create sandbox iframe for ${a} check, bailing to window.${a}: `,c)}return l&&(es[a]=l.bind(Rt))}function fg(a){es[a]=void 0}const hl="__sentry_xhr_v3__";function KA(a){fr("xhr",a),dr("xhr",JA)}function JA(){if(!Rt.XMLHttpRequest)return;const a=XMLHttpRequest.prototype;a.open=new Proxy(a.open,{apply(r,l,s){const c=new Error,f=Wn()*1e3,p=Zn(s[0])?s[0].toUpperCase():void 0,h=e1(s[1]);if(!p||!h)return r.apply(l,s);l[hl]={method:p,url:h,request_headers:{}},p==="POST"&&h.match(/sentry_key/)&&(l.__sentry_own_request__=!0);const g=()=>{const y=l[hl];if(y&&l.readyState===4){try{y.status_code=l.status}catch{}const E={endTimestamp:Wn()*1e3,startTimestamp:f,xhr:l,virtualError:c};mn("xhr",E)}};return"onreadystatechange"in l&&typeof l.onreadystatechange=="function"?l.onreadystatechange=new Proxy(l.onreadystatechange,{apply(y,E,_){return g(),y.apply(E,_)}}):l.addEventListener("readystatechange",g),l.setRequestHeader=new Proxy(l.setRequestHeader,{apply(y,E,_){const[z,G]=_,q=E[hl];return q&&Zn(z)&&Zn(G)&&(q.request_headers[z.toLowerCase()]=G),y.apply(E,_)}}),r.apply(l,s)}}),a.send=new Proxy(a.send,{apply(r,l,s){const c=l[hl];if(!c)return r.apply(l,s);s[0]!==void 0&&(c.body=s[0]);const f={startTimestamp:Wn()*1e3,xhr:l};return mn("xhr",f),r.apply(l,s)}})}function e1(a){if(Zn(a))return a;try{return a.toString()}catch{}}function t1(a,r=WA("fetch")){let l=0,s=0;function c(f){const p=f.body.length;l+=p,s++;const h={body:f.body,method:"POST",referrerPolicy:"origin",headers:a.headers,keepalive:l<=6e4&&s<15,...a.fetchOptions};if(!r)return fg("fetch"),os("No fetch implementation available");try{return r(a.url,h).then(g=>(l-=p,s--,{statusCode:g.status,headers:{"x-sentry-rate-limits":g.headers.get("X-Sentry-Rate-Limits"),"retry-after":g.headers.get("Retry-After")}}))}catch(g){return fg("fetch"),l-=p,s--,os(g)}}return YC(a,c)}const n1=30,a1=50;function Lf(a,r,l,s){const c={filename:a,function:r==="<anonymous>"?ir:r,in_app:!0};return l!==void 0&&(c.lineno=l),s!==void 0&&(c.colno=s),c}const r1=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,i1=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,l1=/\((\S*)(?::(\d+))(?::(\d+))\)/,o1=a=>{const r=r1.exec(a);if(r){const[,s,c,f]=r;return Lf(s,ir,+c,+f)}const l=i1.exec(a);if(l){if(l[2]&&l[2].indexOf("eval")===0){const p=l1.exec(l[2]);p&&(l[2]=p[1],l[3]=p[2],l[4]=p[3])}const[c,f]=P0(l[1]||ir,l[2]);return Lf(f,c,l[3]?+l[3]:void 0,l[4]?+l[4]:void 0)}},s1=[n1,o1],u1=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,c1=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,f1=a=>{const r=u1.exec(a);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){const f=c1.exec(r[3]);f&&(r[1]=r[1]||"eval",r[3]=f[1],r[4]=f[2],r[5]="")}let s=r[3],c=r[1]||ir;return[c,s]=P0(c,s),Lf(s,c,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}},d1=[a1,f1],p1=[s1,d1],m1=d0(...p1),P0=(a,r)=>{const l=a.indexOf("safari-extension")!==-1,s=a.indexOf("safari-web-extension")!==-1;return l||s?[a.indexOf("@")!==-1?a.split("@")[0]:ir,l?`safari-extension:${r}`:`safari-web-extension:${r}`]:[a,r]},Xo=1024,h1="Breadcrumbs",y1=((a={})=>{const r={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...a};return{name:h1,setup(l){r.console&&pA(S1(l)),r.dom&&VA(b1(l,r.dom)),r.xhr&&KA(_1(l)),r.fetch&&CA(E1(l)),r.history&&q0(C1(l)),r.sentry&&l.on("beforeSendEvent",v1(l))}}}),g1=y1;function v1(a){return function(l){dt()===a&&La({category:`sentry.${l.type==="transaction"?"transaction":"event"}`,event_id:l.event_id,level:l.level,message:Ma(l)},{event:l})}}function b1(a,r){return function(s){if(dt()!==a)return;let c,f,p=typeof r=="object"?r.serializeAttribute:void 0,h=typeof r=="object"&&typeof r.maxStringLength=="number"?r.maxStringLength:void 0;h&&h>Xo&&(Ra&&ie.warn(`\`dom.maxStringLength\` cannot exceed ${Xo}, but a value of ${h} was configured. Sentry will use ${Xo} instead.`),h=Xo),typeof p=="string"&&(p=[p]);try{const y=s.event,E=A1(y)?y.target:y;c=y0(E,{keyAttrs:p,maxStringLength:h}),f=Z_(E)}catch{c="<unknown>"}if(c.length===0)return;const g={category:`ui.${s.name}`,message:c};f&&(g.data={"ui.component_name":f}),La(g,{event:s.event,name:s.name,global:s.global})}}function S1(a){return function(l){if(dt()!==a)return;const s={category:"console",data:{arguments:l.args,logger:"console"},level:hA(l.level),message:Hy(l.args," ")};if(l.level==="assert")if(l.args[0]===!1)s.message=`Assertion failed: ${Hy(l.args.slice(1)," ")||"console.assert"}`,s.data.arguments=l.args.slice(1);else return;La(s,{input:l.args,level:l.level})}}function _1(a){return function(l){if(dt()!==a)return;const{startTimestamp:s,endTimestamp:c}=l,f=l.xhr[hl];if(!s||!c||!f)return;const{method:p,url:h,status_code:g,body:y}=f,E={method:p,url:h,status_code:g},_={xhr:l.xhr,input:y,startTimestamp:s,endTimestamp:c},z=z0(g);La({category:"xhr",data:E,type:"http",level:z},_)}}function E1(a){return function(l){if(dt()!==a)return;const{startTimestamp:s,endTimestamp:c}=l;if(c&&!(l.fetchData.url.match(/sentry_key/)&&l.fetchData.method==="POST"))if(l.error){const f=l.fetchData,p={data:l.error,input:l.args,startTimestamp:s,endTimestamp:c};La({category:"fetch",data:f,level:"error",type:"http"},p)}else{const f=l.response,p={...l.fetchData,status_code:f&&f.status},h={input:l.args,response:f,startTimestamp:s,endTimestamp:c},g=z0(p.status_code);La({category:"fetch",data:p,type:"http",level:g},h)}}}function C1(a){return function(l){if(dt()!==a)return;let s=l.from,c=l.to;const f=nf(be.location.href);let p=s?nf(s):void 0;const h=nf(c);(!p||!p.path)&&(p=f),f.protocol===h.protocol&&f.host===h.host&&(c=h.relative),f.protocol===p.protocol&&f.host===p.host&&(s=p.relative),La({category:"navigation",data:{from:s,to:c}})}}function A1(a){return!!a&&!!a.target}const T1=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],M1="BrowserApiErrors",w1=((a={})=>{const r={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...a};return{name:M1,setupOnce(){r.setTimeout&&Vt(be,"setTimeout",dg),r.setInterval&&Vt(be,"setInterval",dg),r.requestAnimationFrame&&Vt(be,"requestAnimationFrame",O1),r.XMLHttpRequest&&"XMLHttpRequest"in be&&Vt(XMLHttpRequest.prototype,"send",R1);const l=r.eventTarget;l&&(Array.isArray(l)?l:T1).forEach(D1)}}}),G0=w1;function dg(a){return function(...r){const l=r[0];return r[0]=ui(l,{mechanism:{data:{function:ka(a)},handled:!1,type:"instrument"}}),a.apply(this,r)}}function O1(a){return function(r){return a.apply(this,[ui(r,{mechanism:{data:{function:"requestAnimationFrame",handler:ka(a)},handled:!1,type:"instrument"}})])}}function R1(a){return function(...r){const l=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(c=>{c in l&&typeof l[c]=="function"&&Vt(l,c,function(f){const p={mechanism:{data:{function:c,handler:ka(f)},handled:!1,type:"instrument"}},h=ad(f);return h&&(p.mechanism.data.handler=ka(h)),ui(f,p)})}),a.apply(this,r)}}function D1(a){const l=be[a],s=l&&l.prototype;!s||!s.hasOwnProperty||!s.hasOwnProperty("addEventListener")||(Vt(s,"addEventListener",function(c){return function(f,p,h){try{x1(p)&&(p.handleEvent=ui(p.handleEvent,{mechanism:{data:{function:"handleEvent",handler:ka(p),target:a},handled:!1,type:"instrument"}}))}catch{}return c.apply(this,[f,ui(p,{mechanism:{data:{function:"addEventListener",handler:ka(p),target:a},handled:!1,type:"instrument"}}),h])}}),Vt(s,"removeEventListener",function(c){return function(f,p,h){try{const g=p.__sentry_wrapped__;g&&c.call(this,f,g,h)}catch{}return c.call(this,f,p,h)}}))}function x1(a){return typeof a.handleEvent=="function"}const k1=()=>({name:"BrowserSession",setupOnce(){if(typeof be.document>"u"){Ra&&ie.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Wy({ignoreDuration:!0}),Ky(),q0(({from:a,to:r})=>{a!==void 0&&a!==r&&(Wy({ignoreDuration:!0}),Ky())})}}),N1="GlobalHandlers",L1=((a={})=>{const r={onerror:!0,onunhandledrejection:!0,...a};return{name:N1,setupOnce(){Error.stackTraceLimit=50},setup(l){r.onerror&&(U1(l),pg("onerror")),r.onunhandledrejection&&(z1(l),pg("onunhandledrejection"))}}}),H1=L1;function U1(a){j_(r=>{const{stackParser:l,attachStacktrace:s}=F0();if(dt()!==a||j0())return;const{msg:c,url:f,line:p,column:h,error:g}=r,y=I1(cd(l,g||c,void 0,s,!1),f,p,h);y.level="error",w0(y,{originalException:g,mechanism:{handled:!1,type:"onerror"}})})}function z1(a){q_(r=>{const{stackParser:l,attachStacktrace:s}=F0();if(dt()!==a||j0())return;const c=B1(r),f=td(c)?j1(c):cd(l,c,void 0,s,!0);f.level="error",w0(f,{originalException:c,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function B1(a){if(td(a))return a;try{if("reason"in a)return a.reason;if("detail"in a&&"reason"in a.detail)return a.detail.reason}catch{}return a}function j1(a){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(a)}`}]}}}function I1(a,r,l,s){const c=a.exception=a.exception||{},f=c.values=c.values||[],p=f[0]=f[0]||{},h=p.stacktrace=p.stacktrace||{},g=h.frames=h.frames||[],y=s,E=l,_=Zn(r)&&r.length>0?r:X_();return g.length===0&&g.push({colno:y,filename:_,function:ir,in_app:!0,lineno:E}),a}function pg(a){Ra&&ie.log(`Global Handler attached: ${a}`)}function F0(){const a=dt();return a&&a.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const q1=()=>({name:"HttpContext",preprocessEvent(a){if(!be.navigator&&!be.location&&!be.document)return;const r=a.request&&a.request.url||be.location&&be.location.href,{referrer:l}=be.document||{},{userAgent:s}=be.navigator||{},c={...a.request&&a.request.headers,...l&&{Referer:l},...s&&{"User-Agent":s}},f={...a.request,...r&&{url:r},headers:c};a.request=f}}),P1="cause",G1=5,F1="LinkedErrors",V1=((a={})=>{const r=a.limit||G1,l=a.key||P1;return{name:F1,preprocessEvent(s,c,f){const p=f.getOptions();fA(sd,p.stackParser,p.maxValueLength,l,r,s,c)}}}),Y1=V1;function $1(a){const r=[eA(),ZC(),G0(),g1(),H1(),Y1(),vA(),q1()];return a.autoSessionTracking!==!1&&r.push(k1()),r}function Q1(a={}){const r={defaultIntegrations:$1(a),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:be.SENTRY_RELEASE&&be.SENTRY_RELEASE.id?be.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return a.defaultIntegrations==null&&delete a.defaultIntegrations,{...r,...a}}function X1(){const a=typeof be.window<"u"&&be;if(!a)return!1;const r=a.chrome?"chrome":"browser",l=a[r],s=l&&l.runtime&&l.runtime.id,c=be.location&&be.location.href||"",f=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],p=!!s&&be===be.top&&f.some(g=>c.startsWith(`${g}//`)),h=typeof a.nw<"u";return!!s&&!p&&!h}function Z1(a={}){const r=Q1(a);if(!r.skipBrowserExtensionCheck&&X1()){cr(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}Ra&&(B0()||ie.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const l={...r,stackParser:z_(r.stackParser||m1),integrations:DC(r),transport:r.transport||t1};return zC(PA,l)}function mg(a={}){if(!be.document){Ra&&ie.error("Global document not defined in showReportDialog call");return}const r=hn(),l=r.getClient(),s=l&&l.getDsn();if(!s){Ra&&ie.error("DSN not configured for showReportDialog call");return}if(r&&(a.user={...r.getUser(),...a.user}),!a.eventId){const h=CC();h&&(a.eventId=h)}const c=be.document.createElement("script");c.async=!0,c.crossOrigin="anonymous",c.src=OC(s,a),a.onLoad&&(c.onload=a.onLoad);const{onClose:f}=a;if(f){const h=g=>{if(g.data==="__sentry_reportdialog_closed__")try{f()}finally{be.removeEventListener("message",h)}};be.addEventListener("message",h)}const p=be.document.head||be.document.body;p?p.appendChild(c):Ra&&ie.error("Not injecting report dialog. No injection point found in HTML")}const W1={replayIntegration:"replay",replayCanvasIntegration:"replay-canvas",feedbackIntegration:"feedback",feedbackModalIntegration:"feedback-modal",feedbackScreenshotIntegration:"feedback-screenshot",captureConsoleIntegration:"captureconsole",contextLinesIntegration:"contextlines",linkedErrorsIntegration:"linkederrors",debugIntegration:"debug",dedupeIntegration:"dedupe",extraErrorDataIntegration:"extraerrordata",httpClientIntegration:"httpclient",reportingObserverIntegration:"reportingobserver",rewriteFramesIntegration:"rewriteframes",sessionTimingIntegration:"sessiontiming",browserProfilingIntegration:"browserprofiling",moduleMetadataIntegration:"modulemetadata"},hg=be;async function K1(a,r){const l=W1[a],s=hg.Sentry=hg.Sentry||{},c=s[a];if(typeof c=="function"&&!("_isShim"in c))return c;const f=J1(l),p=be.document.createElement("script");p.src=f,p.crossOrigin="anonymous",p.referrerPolicy="origin";const h=new Promise((_,z)=>{p.addEventListener("load",()=>_()),p.addEventListener("error",z)}),g=be.document.currentScript,y=be.document.body||be.document.head||g&&g.parentElement;if(y)y.appendChild(p);else throw new Error(`Could not find parent element to insert lazy-loaded ${a} script`);try{await h}catch{throw new Error(`Error when loading integration: ${a}`)}const E=s[a];if(typeof E!="function")throw new Error(`Could not load integration: ${a}`);return E}function J1(a){const r=dt(),l=r&&r.getOptions(),s=l&&l.cdnBaseUrl||"https://browser.sentry-cdn.com";return new URL(`/${Oa}/${a}.min.js`,s).toString()}function eT(a){const r={...a};return L0(r,"react"),EC("react",{version:T.version}),Z1(r)}function tT(a){const r=a.match(/^([^.]+)/);return r!==null&&parseInt(r[0])>=17}function nT(a,r){const l=new WeakSet;function s(c,f){if(!l.has(c)){if(c.cause)return l.add(c),s(c.cause,f);c.cause=f}}s(a,r)}function aT(a,{componentStack:r},l){if(tT(T.version)&&gs(a)&&r){const s=new Error(a.message);s.name=`React ErrorBoundary ${a.name}`,s.stack=r,nT(a,s)}return pr(a,{...l,captureContext:{contexts:{react:{componentStack:r}}}})}var rf={exports:{}},He={};/** @license React v16.13.1
66
66
  * react-is.production.min.js
67
67
  *
68
68
  * Copyright (c) Facebook, Inc. and its affiliates.
69
69
  *
70
70
  * This source code is licensed under the MIT license found in the
71
71
  * LICENSE file in the root directory of this source tree.
72
- */var yg;function tT(){if(yg)return He;yg=1;var a=typeof Symbol=="function"&&Symbol.for,r=a?Symbol.for("react.element"):60103,l=a?Symbol.for("react.portal"):60106,s=a?Symbol.for("react.fragment"):60107,c=a?Symbol.for("react.strict_mode"):60108,f=a?Symbol.for("react.profiler"):60114,p=a?Symbol.for("react.provider"):60109,h=a?Symbol.for("react.context"):60110,g=a?Symbol.for("react.async_mode"):60111,y=a?Symbol.for("react.concurrent_mode"):60111,E=a?Symbol.for("react.forward_ref"):60112,_=a?Symbol.for("react.suspense"):60113,z=a?Symbol.for("react.suspense_list"):60120,G=a?Symbol.for("react.memo"):60115,q=a?Symbol.for("react.lazy"):60116,Q=a?Symbol.for("react.block"):60121,Y=a?Symbol.for("react.fundamental"):60117,ae=a?Symbol.for("react.responder"):60118,le=a?Symbol.for("react.scope"):60119;function J(j){if(typeof j=="object"&&j!==null){var ye=j.$$typeof;switch(ye){case r:switch(j=j.type,j){case g:case y:case s:case f:case c:case _:return j;default:switch(j=j&&j.$$typeof,j){case h:case E:case q:case G:case p:return j;default:return ye}}case l:return ye}}}function Se(j){return J(j)===y}return He.AsyncMode=g,He.ConcurrentMode=y,He.ContextConsumer=h,He.ContextProvider=p,He.Element=r,He.ForwardRef=E,He.Fragment=s,He.Lazy=q,He.Memo=G,He.Portal=l,He.Profiler=f,He.StrictMode=c,He.Suspense=_,He.isAsyncMode=function(j){return Se(j)||J(j)===g},He.isConcurrentMode=Se,He.isContextConsumer=function(j){return J(j)===h},He.isContextProvider=function(j){return J(j)===p},He.isElement=function(j){return typeof j=="object"&&j!==null&&j.$$typeof===r},He.isForwardRef=function(j){return J(j)===E},He.isFragment=function(j){return J(j)===s},He.isLazy=function(j){return J(j)===q},He.isMemo=function(j){return J(j)===G},He.isPortal=function(j){return J(j)===l},He.isProfiler=function(j){return J(j)===f},He.isStrictMode=function(j){return J(j)===c},He.isSuspense=function(j){return J(j)===_},He.isValidElementType=function(j){return typeof j=="string"||typeof j=="function"||j===s||j===y||j===f||j===c||j===_||j===z||typeof j=="object"&&j!==null&&(j.$$typeof===q||j.$$typeof===G||j.$$typeof===p||j.$$typeof===h||j.$$typeof===E||j.$$typeof===Y||j.$$typeof===ae||j.$$typeof===le||j.$$typeof===Q)},He.typeOf=J,He}var gg;function nT(){return gg||(gg=1,af.exports=tT()),af.exports}var rf,vg;function aT(){if(vg)return rf;vg=1;var a=nT(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},f={};f[a.ForwardRef]=s,f[a.Memo]=c;function p(q){return a.isMemo(q)?c:f[q.$$typeof]||r}var h=Object.defineProperty,g=Object.getOwnPropertyNames,y=Object.getOwnPropertySymbols,E=Object.getOwnPropertyDescriptor,_=Object.getPrototypeOf,z=Object.prototype;function G(q,Q,Y){if(typeof Q!="string"){if(z){var ae=_(Q);ae&&ae!==z&&G(q,ae,Y)}var le=g(Q);y&&(le=le.concat(y(Q)));for(var J=p(q),Se=p(Q),j=0;j<le.length;++j){var ye=le[j];if(!l[ye]&&!(Y&&Y[ye])&&!(Se&&Se[ye])&&!(J&&J[ye])){var ee=E(Q,ye);try{h(q,ye,ee)}catch{}}}}return q}return rf=G,rf}aT();const rT=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,bg={componentStack:null,error:null,eventId:null};class fd extends T.Component{constructor(r){super(r),fd.prototype.__init.call(this),this.state=bg,this._openFallbackReportDialog=!0;const l=dt();l&&r.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=l.on("afterSendEvent",s=>{!s.type&&this._lastEventId&&s.event_id===this._lastEventId&&mg({...r.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(r,l){const{componentStack:s}=l,c=s??void 0,{beforeCapture:f,onError:p,showDialog:h,dialogOptions:g}=this.props;id(y=>{f&&f(y,r,c);const E=this.props.handled!=null?this.props.handled:!!this.props.fallback,_=eT(r,l,{mechanism:{handled:E}});p&&p(r,c,_),h&&(this._lastEventId=_,this._openFallbackReportDialog&&mg({...g,eventId:_})),this.setState({error:r,componentStack:s,eventId:_})})}componentDidMount(){const{onMount:r}=this.props;r&&r()}componentWillUnmount(){const{error:r,componentStack:l,eventId:s}=this.state,{onUnmount:c}=this.props;c&&c(r,l,s),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}__init(){this.resetErrorBoundary=()=>{const{onReset:r}=this.props,{error:l,componentStack:s,eventId:c}=this.state;r&&r(l,s,c),this.setState(bg)}}render(){const{fallback:r,children:l}=this.props,s=this.state;if(s.error){let c;return typeof r=="function"?c=T.createElement(r,{error:s.error,componentStack:s.componentStack,resetError:this.resetErrorBoundary,eventId:s.eventId}):c=r,T.isValidElement(c)?c:(r&&rT&&ie.warn("fallback did not produce a valid ReactElement"),null)}return typeof l=="function"?l():l}}var iT=Object.defineProperty,dd=(a,r)=>iT(a,"name",{value:r,configurable:!0});function Lf(a,r){if(typeof a=="function")return a(r);a!=null&&(a.current=r)}dd(Lf,"setRef");function F0(...a){return r=>{let l=!1;const s=a.map(c=>{const f=Lf(c,r);return!l&&typeof f=="function"&&(l=!0),f});if(l)return()=>{for(let c=0;c<s.length;c++){const f=s[c];typeof f=="function"?f():Lf(a[c],null)}}}}dd(F0,"composeRefs");function V0(...a){return T.useCallback(F0(...a),a)}dd(V0,"useComposedRefs");var lT=Object.defineProperty,hn=(a,r)=>lT(a,"name",{value:r,configurable:!0});function Y0(a){const r=T.forwardRef((l,s)=>{let{children:c,...f}=l,p=null,h=!1;const g=[];Hf(c)&&typeof Zo=="function"&&(c=Zo(c._payload)),T.Children.forEach(c,z=>{if(Z0(z)){h=!0;const G=z;let q="child"in G.props?G.props.child:G.props.children;Hf(q)&&typeof Zo=="function"&&(q=Zo(q._payload)),p=uT(G,q),g.push(p?.props?.children)}else g.push(z)}),p?p=T.cloneElement(p,void 0,g):!h&&T.Children.count(c)===1&&T.isValidElement(c)&&(p=c);const y=p?X0(p):void 0,E=V0(s,y);if(!p){if(c||c===0)throw new Error(h?dT(a):fT(a));return c}const _=Q0(f,p.props??{});return p.type!==T.Fragment&&(_.ref=s?E:y),T.cloneElement(p,_)});return r.displayName=`${a}.Slot`,r}hn(Y0,"createSlot");var oT=Y0("Slot"),$0=Symbol.for("radix.slottable");function sT(a){const r=hn(l=>"child"in l?l.children(l.child):l.children,"Slottable");return r.displayName=`${a}.Slottable`,r.__radixId=$0,r}hn(sT,"createSlottable");var uT=hn((a,r)=>{if("child"in a.props){const l=a.props.child;return T.isValidElement(l)?T.cloneElement(l,void 0,a.props.children(l.props.children)):null}return T.isValidElement(r)?r:null},"getSlottableElementFromSlottable");function Q0(a,r){const l={...r};for(const s in r){const c=a[s],f=r[s];/^on[A-Z]/.test(s)?c&&f?l[s]=(...h)=>{const g=f(...h);return c(...h),g}:c&&(l[s]=c):s==="style"?l[s]={...c,...f}:s==="className"&&(l[s]=[c,f].filter(Boolean).join(" "))}return{...a,...l}}hn(Q0,"mergeProps");function X0(a){let r=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,l=r&&"isReactWarning"in r&&r.isReactWarning;return l?a.ref:(r=Object.getOwnPropertyDescriptor(a,"ref")?.get,l=r&&"isReactWarning"in r&&r.isReactWarning,l?a.props.ref:a.props.ref||a.ref)}hn(X0,"getElementRef");function Z0(a){return T.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===$0}hn(Z0,"isSlottable");var cT=Symbol.for("react.lazy");function Hf(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===cT&&"_payload"in a&&W0(a._payload)}hn(Hf,"isLazyComponent");function W0(a){return typeof a=="object"&&a!==null&&"then"in a}hn(W0,"isPromiseLike");var fT=hn(a=>`${a} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),dT=hn(a=>`${a} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),Zo=T_[" use ".trim().toString()];function K0(a){var r,l,s="";if(typeof a=="string"||typeof a=="number")s+=a;else if(typeof a=="object")if(Array.isArray(a)){var c=a.length;for(r=0;r<c;r++)a[r]&&(l=K0(a[r]))&&(s&&(s+=" "),s+=l)}else for(l in a)a[l]&&(s&&(s+=" "),s+=l);return s}function J0(){for(var a,r,l=0,s="",c=arguments.length;l<c;l++)(a=arguments[l])&&(r=K0(a))&&(s&&(s+=" "),s+=r);return s}const Sg=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,_g=J0,pT=(a,r)=>l=>{var s;if(r?.variants==null)return _g(a,l?.class,l?.className);const{variants:c,defaultVariants:f}=r,p=Object.keys(c).map(y=>{const E=l?.[y],_=f?.[y];if(E===null)return null;const z=Sg(E)||Sg(_);return c[y][z]}),h=l&&Object.entries(l).reduce((y,E)=>{let[_,z]=E;return z===void 0||(y[_]=z),y},{}),g=r==null||(s=r.compoundVariants)===null||s===void 0?void 0:s.reduce((y,E)=>{let{class:_,className:z,...G}=E;return Object.entries(G).every(q=>{let[Q,Y]=q;return Array.isArray(Y)?Y.includes({...f,...h}[Q]):{...f,...h}[Q]===Y})?[...y,_,z]:y},[]);return _g(a,p,g,l?.class,l?.className)},pd="-",mT=a=>{const r=yT(a),{conflictingClassGroups:l,conflictingClassGroupModifiers:s}=a;return{getClassGroupId:p=>{const h=p.split(pd);return h[0]===""&&h.length!==1&&h.shift(),ev(h,r)||hT(p)},getConflictingClassGroupIds:(p,h)=>{const g=l[p]||[];return h&&s[p]?[...g,...s[p]]:g}}},ev=(a,r)=>{if(a.length===0)return r.classGroupId;const l=a[0],s=r.nextPart.get(l),c=s?ev(a.slice(1),s):void 0;if(c)return c;if(r.validators.length===0)return;const f=a.join(pd);return r.validators.find(({validator:p})=>p(f))?.classGroupId},Eg=/^\[(.+)\]$/,hT=a=>{if(Eg.test(a)){const r=Eg.exec(a)[1],l=r?.substring(0,r.indexOf(":"));if(l)return"arbitrary.."+l}},yT=a=>{const{theme:r,prefix:l}=a,s={nextPart:new Map,validators:[]};return vT(Object.entries(a.classGroups),l).forEach(([f,p])=>{Uf(p,s,f,r)}),s},Uf=(a,r,l,s)=>{a.forEach(c=>{if(typeof c=="string"){const f=c===""?r:Cg(r,c);f.classGroupId=l;return}if(typeof c=="function"){if(gT(c)){Uf(c(s),r,l,s);return}r.validators.push({validator:c,classGroupId:l});return}Object.entries(c).forEach(([f,p])=>{Uf(p,Cg(r,f),l,s)})})},Cg=(a,r)=>{let l=a;return r.split(pd).forEach(s=>{l.nextPart.has(s)||l.nextPart.set(s,{nextPart:new Map,validators:[]}),l=l.nextPart.get(s)}),l},gT=a=>a.isThemeGetter,vT=(a,r)=>r?a.map(([l,s])=>{const c=s.map(f=>typeof f=="string"?r+f:typeof f=="object"?Object.fromEntries(Object.entries(f).map(([p,h])=>[r+p,h])):f);return[l,c]}):a,bT=a=>{if(a<1)return{get:()=>{},set:()=>{}};let r=0,l=new Map,s=new Map;const c=(f,p)=>{l.set(f,p),r++,r>a&&(r=0,s=l,l=new Map)};return{get(f){let p=l.get(f);if(p!==void 0)return p;if((p=s.get(f))!==void 0)return c(f,p),p},set(f,p){l.has(f)?l.set(f,p):c(f,p)}}},tv="!",ST=a=>{const{separator:r,experimentalParseClassName:l}=a,s=r.length===1,c=r[0],f=r.length,p=h=>{const g=[];let y=0,E=0,_;for(let Y=0;Y<h.length;Y++){let ae=h[Y];if(y===0){if(ae===c&&(s||h.slice(Y,Y+f)===r)){g.push(h.slice(E,Y)),E=Y+f;continue}if(ae==="/"){_=Y;continue}}ae==="["?y++:ae==="]"&&y--}const z=g.length===0?h:h.substring(E),G=z.startsWith(tv),q=G?z.substring(1):z,Q=_&&_>E?_-E:void 0;return{modifiers:g,hasImportantModifier:G,baseClassName:q,maybePostfixModifierPosition:Q}};return l?h=>l({className:h,parseClassName:p}):p},_T=a=>{if(a.length<=1)return a;const r=[];let l=[];return a.forEach(s=>{s[0]==="["?(r.push(...l.sort(),s),l=[]):l.push(s)}),r.push(...l.sort()),r},ET=a=>({cache:bT(a.cacheSize),parseClassName:ST(a),...mT(a)}),CT=/\s+/,AT=(a,r)=>{const{parseClassName:l,getClassGroupId:s,getConflictingClassGroupIds:c}=r,f=[],p=a.trim().split(CT);let h="";for(let g=p.length-1;g>=0;g-=1){const y=p[g],{modifiers:E,hasImportantModifier:_,baseClassName:z,maybePostfixModifierPosition:G}=l(y);let q=!!G,Q=s(q?z.substring(0,G):z);if(!Q){if(!q){h=y+(h.length>0?" "+h:h);continue}if(Q=s(z),!Q){h=y+(h.length>0?" "+h:h);continue}q=!1}const Y=_T(E).join(":"),ae=_?Y+tv:Y,le=ae+Q;if(f.includes(le))continue;f.push(le);const J=c(Q,q);for(let Se=0;Se<J.length;++Se){const j=J[Se];f.push(ae+j)}h=y+(h.length>0?" "+h:h)}return h};function TT(){let a=0,r,l,s="";for(;a<arguments.length;)(r=arguments[a++])&&(l=nv(r))&&(s&&(s+=" "),s+=l);return s}const nv=a=>{if(typeof a=="string")return a;let r,l="";for(let s=0;s<a.length;s++)a[s]&&(r=nv(a[s]))&&(l&&(l+=" "),l+=r);return l};function Ag(a,...r){let l,s,c,f=p;function p(g){const y=r.reduce((E,_)=>_(E),a());return l=ET(y),s=l.cache.get,c=l.cache.set,f=h,h(g)}function h(g){const y=s(g);if(y)return y;const E=AT(g,l);return c(g,E),E}return function(){return f(TT.apply(null,arguments))}}const Xe=a=>{const r=l=>l[a]||[];return r.isThemeGetter=!0,r},av=/^\[(?:([a-z-]+):)?(.+)\]$/i,MT=/^\d+\/\d+$/,wT=new Set(["px","full","screen"]),OT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,RT=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,DT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,xT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,kT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$n=a=>ri(a)||wT.has(a)||MT.test(a),Ca=a=>mi(a,"length",IT),ri=a=>!!a&&!Number.isNaN(Number(a)),lf=a=>mi(a,"number",ri),dl=a=>!!a&&Number.isInteger(Number(a)),NT=a=>a.endsWith("%")&&ri(a.slice(0,-1)),he=a=>av.test(a),Aa=a=>OT.test(a),LT=new Set(["length","size","percentage"]),HT=a=>mi(a,LT,rv),UT=a=>mi(a,"position",rv),zT=new Set(["image","url"]),BT=a=>mi(a,zT,PT),jT=a=>mi(a,"",qT),pl=()=>!0,mi=(a,r,l)=>{const s=av.exec(a);return s?s[1]?typeof r=="string"?s[1]===r:r.has(s[1]):l(s[2]):!1},IT=a=>RT.test(a)&&!DT.test(a),rv=()=>!1,qT=a=>xT.test(a),PT=a=>kT.test(a),Tg=()=>{const a=Xe("colors"),r=Xe("spacing"),l=Xe("blur"),s=Xe("brightness"),c=Xe("borderColor"),f=Xe("borderRadius"),p=Xe("borderSpacing"),h=Xe("borderWidth"),g=Xe("contrast"),y=Xe("grayscale"),E=Xe("hueRotate"),_=Xe("invert"),z=Xe("gap"),G=Xe("gradientColorStops"),q=Xe("gradientColorStopPositions"),Q=Xe("inset"),Y=Xe("margin"),ae=Xe("opacity"),le=Xe("padding"),J=Xe("saturate"),Se=Xe("scale"),j=Xe("sepia"),ye=Xe("skew"),ee=Xe("space"),Ve=Xe("translate"),Pe=()=>["auto","contain","none"],Je=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",he,r],X=()=>[he,r],Ne=()=>["",$n,Ca],De=()=>["auto",ri,he],Ye=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],R=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],te=()=>["start","end","center","between","around","evenly","stretch"],ge=()=>["","0",he],ve=()=>["auto","avoid","all","avoid-page","page","left","right","column"],b=()=>[ri,he];return{cacheSize:500,separator:":",theme:{colors:[pl],spacing:[$n,Ca],blur:["none","",Aa,he],brightness:b(),borderColor:[a],borderRadius:["none","","full",Aa,he],borderSpacing:X(),borderWidth:Ne(),contrast:b(),grayscale:ge(),hueRotate:b(),invert:ge(),gap:X(),gradientColorStops:[a],gradientColorStopPositions:[NT,Ca],inset:oe(),margin:oe(),opacity:b(),padding:X(),saturate:b(),scale:b(),sepia:ge(),skew:b(),space:X(),translate:X()},classGroups:{aspect:[{aspect:["auto","square","video",he]}],container:["container"],columns:[{columns:[Aa]}],"break-after":[{"break-after":ve()}],"break-before":[{"break-before":ve()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Ye(),he]}],overflow:[{overflow:Je()}],"overflow-x":[{"overflow-x":Je()}],"overflow-y":[{"overflow-y":Je()}],overscroll:[{overscroll:Pe()}],"overscroll-x":[{"overscroll-x":Pe()}],"overscroll-y":[{"overscroll-y":Pe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[Q]}],"inset-x":[{"inset-x":[Q]}],"inset-y":[{"inset-y":[Q]}],start:[{start:[Q]}],end:[{end:[Q]}],top:[{top:[Q]}],right:[{right:[Q]}],bottom:[{bottom:[Q]}],left:[{left:[Q]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",dl,he]}],basis:[{basis:oe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",he]}],grow:[{grow:ge()}],shrink:[{shrink:ge()}],order:[{order:["first","last","none",dl,he]}],"grid-cols":[{"grid-cols":[pl]}],"col-start-end":[{col:["auto",{span:["full",dl,he]},he]}],"col-start":[{"col-start":De()}],"col-end":[{"col-end":De()}],"grid-rows":[{"grid-rows":[pl]}],"row-start-end":[{row:["auto",{span:[dl,he]},he]}],"row-start":[{"row-start":De()}],"row-end":[{"row-end":De()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",he]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",he]}],gap:[{gap:[z]}],"gap-x":[{"gap-x":[z]}],"gap-y":[{"gap-y":[z]}],"justify-content":[{justify:["normal",...te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[le]}],px:[{px:[le]}],py:[{py:[le]}],ps:[{ps:[le]}],pe:[{pe:[le]}],pt:[{pt:[le]}],pr:[{pr:[le]}],pb:[{pb:[le]}],pl:[{pl:[le]}],m:[{m:[Y]}],mx:[{mx:[Y]}],my:[{my:[Y]}],ms:[{ms:[Y]}],me:[{me:[Y]}],mt:[{mt:[Y]}],mr:[{mr:[Y]}],mb:[{mb:[Y]}],ml:[{ml:[Y]}],"space-x":[{"space-x":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",he,r]}],"min-w":[{"min-w":[he,r,"min","max","fit"]}],"max-w":[{"max-w":[he,r,"none","full","min","max","fit","prose",{screen:[Aa]},Aa]}],h:[{h:[he,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[he,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[he,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[he,r,"auto","min","max","fit"]}],"font-size":[{text:["base",Aa,Ca]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",lf]}],"font-family":[{font:[pl]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",he]}],"line-clamp":[{"line-clamp":["none",ri,lf]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$n,he]}],"list-image":[{"list-image":["none",he]}],"list-style-type":[{list:["none","disc","decimal",he]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[ae]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[ae]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...R(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$n,Ca]}],"underline-offset":[{"underline-offset":["auto",$n,he]}],"text-decoration-color":[{decoration:[a]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:X()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",he]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",he]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[ae]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ye(),UT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",HT]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},BT]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[q]}],"gradient-via-pos":[{via:[q]}],"gradient-to-pos":[{to:[q]}],"gradient-from":[{from:[G]}],"gradient-via":[{via:[G]}],"gradient-to":[{to:[G]}],rounded:[{rounded:[f]}],"rounded-s":[{"rounded-s":[f]}],"rounded-e":[{"rounded-e":[f]}],"rounded-t":[{"rounded-t":[f]}],"rounded-r":[{"rounded-r":[f]}],"rounded-b":[{"rounded-b":[f]}],"rounded-l":[{"rounded-l":[f]}],"rounded-ss":[{"rounded-ss":[f]}],"rounded-se":[{"rounded-se":[f]}],"rounded-ee":[{"rounded-ee":[f]}],"rounded-es":[{"rounded-es":[f]}],"rounded-tl":[{"rounded-tl":[f]}],"rounded-tr":[{"rounded-tr":[f]}],"rounded-br":[{"rounded-br":[f]}],"rounded-bl":[{"rounded-bl":[f]}],"border-w":[{border:[h]}],"border-w-x":[{"border-x":[h]}],"border-w-y":[{"border-y":[h]}],"border-w-s":[{"border-s":[h]}],"border-w-e":[{"border-e":[h]}],"border-w-t":[{"border-t":[h]}],"border-w-r":[{"border-r":[h]}],"border-w-b":[{"border-b":[h]}],"border-w-l":[{"border-l":[h]}],"border-opacity":[{"border-opacity":[ae]}],"border-style":[{border:[...R(),"hidden"]}],"divide-x":[{"divide-x":[h]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[h]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[ae]}],"divide-style":[{divide:R()}],"border-color":[{border:[c]}],"border-color-x":[{"border-x":[c]}],"border-color-y":[{"border-y":[c]}],"border-color-s":[{"border-s":[c]}],"border-color-e":[{"border-e":[c]}],"border-color-t":[{"border-t":[c]}],"border-color-r":[{"border-r":[c]}],"border-color-b":[{"border-b":[c]}],"border-color-l":[{"border-l":[c]}],"divide-color":[{divide:[c]}],"outline-style":[{outline:["",...R()]}],"outline-offset":[{"outline-offset":[$n,he]}],"outline-w":[{outline:[$n,Ca]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:Ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[ae]}],"ring-offset-w":[{"ring-offset":[$n,Ca]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",Aa,jT]}],"shadow-color":[{shadow:[pl]}],opacity:[{opacity:[ae]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[l]}],brightness:[{brightness:[s]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",Aa,he]}],grayscale:[{grayscale:[y]}],"hue-rotate":[{"hue-rotate":[E]}],invert:[{invert:[_]}],saturate:[{saturate:[J]}],sepia:[{sepia:[j]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[l]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[E]}],"backdrop-invert":[{"backdrop-invert":[_]}],"backdrop-opacity":[{"backdrop-opacity":[ae]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[j]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[p]}],"border-spacing-x":[{"border-spacing-x":[p]}],"border-spacing-y":[{"border-spacing-y":[p]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",he]}],duration:[{duration:b()}],ease:[{ease:["linear","in","out","in-out",he]}],delay:[{delay:b()}],animate:[{animate:["none","spin","ping","pulse","bounce",he]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Se]}],"scale-x":[{"scale-x":[Se]}],"scale-y":[{"scale-y":[Se]}],rotate:[{rotate:[dl,he]}],"translate-x":[{"translate-x":[Ve]}],"translate-y":[{"translate-y":[Ve]}],"skew-x":[{"skew-x":[ye]}],"skew-y":[{"skew-y":[ye]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",he]}],accent:[{accent:["auto",a]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",he]}],"caret-color":[{caret:[a]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":X()}],"scroll-mx":[{"scroll-mx":X()}],"scroll-my":[{"scroll-my":X()}],"scroll-ms":[{"scroll-ms":X()}],"scroll-me":[{"scroll-me":X()}],"scroll-mt":[{"scroll-mt":X()}],"scroll-mr":[{"scroll-mr":X()}],"scroll-mb":[{"scroll-mb":X()}],"scroll-ml":[{"scroll-ml":X()}],"scroll-p":[{"scroll-p":X()}],"scroll-px":[{"scroll-px":X()}],"scroll-py":[{"scroll-py":X()}],"scroll-ps":[{"scroll-ps":X()}],"scroll-pe":[{"scroll-pe":X()}],"scroll-pt":[{"scroll-pt":X()}],"scroll-pr":[{"scroll-pr":X()}],"scroll-pb":[{"scroll-pb":X()}],"scroll-pl":[{"scroll-pl":X()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",he]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[$n,Ca,lf]}],stroke:[{stroke:[a,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},GT=(a,{cacheSize:r,prefix:l,separator:s,experimentalParseClassName:c,extend:f={},override:p={}})=>{yl(a,"cacheSize",r),yl(a,"prefix",l),yl(a,"separator",s),yl(a,"experimentalParseClassName",c);for(const h in p)FT(a[h],p[h]);for(const h in f)VT(a[h],f[h]);return a},yl=(a,r,l)=>{l!==void 0&&(a[r]=l)},FT=(a,r)=>{if(r)for(const l in r)yl(a,l,r[l])},VT=(a,r)=>{if(r)for(const l in r){const s=r[l];s!==void 0&&(a[l]=(a[l]||[]).concat(s))}},YT=(a,...r)=>typeof a=="function"?Ag(Tg,a,...r):Ag(()=>GT(Tg(),a),...r);var $T=YT({prefix:"cds-"});function Ha(...a){return $T(J0(a))}var QT=pT("cds-inline-flex cds-items-center cds-justify-center cds-gap-2 cds-whitespace-nowrap cds-rounded-xl cds-text-sm cds-font-medium cds-transition-all cds-duration-300 focus-visible:cds-outline-none focus-visible:cds-ring-2 focus-visible:cds-ring-ring focus-visible:cds-ring-offset-2 focus-visible:cds-ring-offset-background disabled:cds-pointer-events-none disabled:cds-opacity-50 [&_svg]:cds-pointer-events-none [&_svg]:cds-size-4 [&_svg]:cds-shrink-0",{variants:{variant:{default:"cds-bg-primary cds-text-primary-foreground hover:cds-bg-primary/90 cds-shadow-md cds-shadow-primary/20",destructive:"cds-bg-destructive cds-text-destructive-foreground hover:cds-bg-destructive/90",outline:"cds-border cds-border-input cds-bg-background cds-text-fg hover:cds-bg-accent hover:cds-text-accent-foreground",surface:"cds-bg-surface cds-text-fg hover:cds-bg-surface/80",ghost:"cds-text-fg hover:cds-bg-accent hover:cds-text-accent-foreground",link:"cds-text-primary cds-underline-offset-4 hover:cds-underline",hero:"cds-bg-gradient-to-r cds-from-cta-from cds-to-cta-to cds-text-cta-foreground cds-font-semibold cds-shadow-lg cds-shadow-glow/25 hover:cds-shadow-xl hover:cds-shadow-glow/30 hover:cds-scale-[1.02] active:cds-scale-[0.98]",glass:"cds-bg-surface-elevated cds-border cds-border-glass-border cds-text-fg hover:cds-bg-surface-muted cds-shadow-sm"},size:{default:"cds-h-10 cds-px-4 cds-py-2",sm:"cds-h-9 cds-rounded-lg cds-px-3",lg:"cds-h-12 cds-rounded-xl cds-px-8 cds-text-base",xl:"cds-h-14 cds-rounded-2xl cds-px-10 cds-text-base",icon:"cds-h-10 cds-w-10"}},defaultVariants:{variant:"default",size:"default"}}),XT=T.forwardRef(({className:a,variant:r,size:l,asChild:s=!1,...c},f)=>{let p=Ha(QT({variant:r,size:l}),a);return A.jsx(s?oT:"button",{className:p,ref:f,...c})});XT.displayName="Button";var ZT="cds-w-full cds-rounded-lg cds-border cds-border-input cds-bg-background cds-px-3 cds-py-2.5 cds-text-base cds-text-fg placeholder:cds-text-fg-muted/70 focus:cds-border-primary focus:cds-outline-none focus:cds-ring-2 focus:cds-ring-ring/40 disabled:cds-cursor-not-allowed disabled:cds-opacity-50",ci="focus-visible:cds-outline-none focus-visible:cds-ring-2 focus-visible:cds-ring-ring focus-visible:cds-ring-offset-2 focus-visible:cds-ring-offset-background",md=T.forwardRef(({className:a,...r},l)=>A.jsx("input",{ref:l,className:Ha(ZT,a),...r}));md.displayName="Input";var iv=T.forwardRef(({className:a,...r},l)=>A.jsx("label",{ref:l,className:Ha("cds-mb-1 cds-block cds-text-sm cds-font-semibold cds-text-fg",a),...r}));iv.displayName="Label";var WT=({onClick:a,disabled:r,children:l="Continue",className:s})=>A.jsx("button",{type:"button",disabled:r,onClick:a,className:Ha("cds-mt-2 cds-w-full cds-rounded-xl cds-bg-accent cds-px-6 cds-py-3.5 cds-text-base cds-font-bold cds-text-accent-foreground cds-transition-colors hover:cds-bg-accent/90 disabled:cds-cursor-not-allowed disabled:cds-opacity-50",ci,s),children:l}),Mg=({message:a})=>a?A.jsx("p",{role:"alert",className:"cds-mt-2 cds-text-sm cds-font-medium cds-text-destructive",children:a}):null,zf="(512) 640-2609",lv="tel:+15126402609",ov=({label:a,hint:r,error:l,className:s,children:c})=>{let f=T.useId(),p=r?`${f}-hint`:void 0,h=l?`${f}-error`:void 0;return A.jsxs("div",{className:Ha("cds-mb-4",s),children:[A.jsx(iv,{htmlFor:f,children:a}),c({id:f,hintId:p,errorId:h}),r?A.jsx("p",{id:p,className:"cds-mt-1 cds-text-xs cds-text-fg-muted",children:r}):null,l?A.jsx("p",{id:h,role:"alert",className:"cds-mt-1 cds-text-xs cds-font-medium cds-text-destructive",children:l}):null]})},KT=[[500,599,"NY"],[1e3,2799,"MA"],[2800,2999,"RI"],[3e3,3899,"NH"],[3900,4999,"ME"],[5e3,5999,"VT"],[6e3,6999,"CT"],[7e3,8999,"NJ"],[1e4,14999,"NY"],[15e3,19699,"PA"],[19700,19999,"DE"],[2e4,20599,"DC"],[20600,21999,"MD"],[22e3,24699,"VA"],[24700,26899,"WV"],[27e3,28999,"NC"],[29e3,29999,"SC"],[3e4,31999,"GA"],[32e3,34999,"FL"],[35e3,36999,"AL"],[37e3,38599,"TN"],[38600,39799,"MS"],[39800,39999,"GA"],[4e4,42799,"KY"],[43e3,45999,"OH"],[46e3,47999,"IN"],[48e3,49799,"MI"],[5e4,52899,"IA"],[53e3,54999,"WI"],[55e3,56799,"MN"],[57e3,57799,"SD"],[58e3,58899,"ND"],[59e3,59999,"MT"],[6e4,62999,"IL"],[63e3,65899,"MO"],[66e3,67999,"KS"],[68e3,69399,"NE"],[7e4,71499,"LA"],[71600,72999,"AR"],[73e3,73300,"OK"],[73301,73301,"TX"],[73302,74999,"OK"],[75e3,79999,"TX"],[8e4,81699,"CO"],[82e3,83199,"WY"],[83200,83899,"ID"],[84e3,84799,"UT"],[85e3,86599,"AZ"],[87e3,88499,"NM"],[88500,88599,"TX"],[88900,89899,"NV"],[9e4,96199,"CA"],[96700,96899,"HI"],[97e3,97999,"OR"],[98e3,99499,"WA"],[99500,99999,"AK"]],Wo=a=>{if(!/^\d{5}$/.test(a))return;let r=Number(a);return KT.find(([l,s])=>r>=l&&r<=s)?.[2]},ts=a=>/^\d{5}$/.test(String(a??"").replace(/\D/g,"")),Bf=a=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(String(a??"").trim()),JT=({label:a,value:r,onChange:l,error:s,hint:c,className:f})=>A.jsx(ov,{label:a,error:s,hint:c,className:f,children:({id:p,hintId:h,errorId:g})=>A.jsx(md,{id:p,type:"text",inputMode:"numeric",autoComplete:"postal-code",value:r,"aria-invalid":s?!0:void 0,"aria-describedby":[h,g].filter(Boolean).join(" ")||void 0,onChange:y=>l(y.target.value.replace(/\D/g,"").slice(0,5)),className:s?"cds-border-destructive":void 0})}),eM=({label:a,value:r,onChange:l,error:s,hint:c,className:f})=>A.jsx(ov,{label:a,error:s,hint:c,className:f,children:({id:p,hintId:h,errorId:g})=>A.jsx(md,{id:p,type:"email",inputMode:"email",autoComplete:"email",placeholder:"you@example.com",value:r,"aria-invalid":s?!0:void 0,"aria-describedby":[h,g].filter(Boolean).join(" ")||void 0,onChange:y=>l(y.target.value),className:s?"cds-border-destructive":void 0})}),tM={h:222,s:47,l:6},nM=(a,r,l)=>Math.min(l,Math.max(r,a)),wg=(a,r,l)=>{let s=a/255,c=r/255,f=l/255,p=Math.max(s,c,f),h=Math.min(s,c,f),g=p-h,y=(p+h)/2;if(g===0)return{h:0,s:0,l:y*100};let E=g/(1-Math.abs(2*y-1)),_;return _=p===s?(c-f)/g%6:p===c?(f-s)/g+2:(s-c)/g+4,_*=60,_<0&&(_+=360),{h:_,s:E*100,l:y*100}},aM=({h:a,s:r,l})=>{let s=r/100,c=l/100,f=(1-Math.abs(2*c-1))*s,p=(a%360+360)%360/60,h=f*(1-Math.abs(p%2-1)),g=c-f/2,y;return y=p<1?[f,h,0]:p<2?[h,f,0]:p<3?[0,f,h]:p<4?[0,h,f]:p<5?[h,0,f]:[f,0,h],[Math.round((y[0]+g)*255),Math.round((y[1]+g)*255),Math.round((y[2]+g)*255)]},rM=a=>{let r=a.trim().toLowerCase(),l=/^#([0-9a-f]{3}|[0-9a-f]{6})$/.exec(r);if(l?.[1]){let p=l[1],h=p.length===3?p.split("").map(y=>y+y).join(""):p,g=Number.parseInt(h,16);return wg(g>>16&255,g>>8&255,g&255)}let s=/^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)/.exec(r);if(s?.[1]&&s[2]&&s[3])return wg(Number(s[1]),Number(s[2]),Number(s[3]));let c=/^hsla?\(\s*([\d.]+)(?:deg)?[\s,]+([\d.]+)%[\s,]+([\d.]+)%/.exec(r);if(c?.[1]&&c[2]&&c[3])return{h:Number(c[1]),s:Number(c[2]),l:Number(c[3])};let f=/^([\d.]+)\s+([\d.]+)%\s+([\d.]+)%$/.exec(r);return f?.[1]&&f[2]&&f[3]?{h:Number(f[1]),s:Number(f[2]),l:Number(f[3])}:null},iM=({h:a,s:r,l})=>`${Math.round(a)} ${Math.round(r)}% ${Math.round(l)}%`,Og=a=>{let[r,l,s]=aM(a),c=f=>{let p=f/255;return p<=.03928?p/12.92:((p+.055)/1.055)**2.4};return .2126*c(r)+.7152*c(l)+.0722*c(s)},jf=(a,r)=>{let l=Og(a),s=Og(r),c=Math.max(l,s),f=Math.min(l,s);return(c+.05)/(f+.05)},lM=a=>{let r={h:a.h,s:Math.min(a.s,15),l:98},l={h:a.h,s:Math.min(a.s,40),l:12};return jf(r,a)>=jf(l,a)?r:l},oM=(a,r=3.2)=>{let l={h:a.h,s:nM(a.s*.9,0,100),l:a.l};for(;l.l<92&&jf(l,tM)<r;)l.l+=2;return l},us=(a,r)=>a?rM(a):null,of=(a,r,l)=>{let s=us(a);return{light:s,dark:us(r)??(s?oM(s):null)}},Ko=(a,r,l)=>{l&&a.set(`--cds-${r}`,iM(l))},Rg=(a,r)=>{let l=new Map,s=(g,y)=>r==="light"?g:y;a.radius&&l.set("--cds-radius",a.radius);let c=of(a.primary,a.primaryDark),f=of(a.accent,a.accentDark),p=of(a.destructive,a.destructiveDark);for(let[g,y]of[["primary",c],["accent",f],["destructive",p]]){let E=s(y.light,y.dark);Ko(l,g,E),E&&Ko(l,`${g}-foreground`,lM(E))}let h=[["background",a.background,a.backgroundDark],["surface",a.surface,a.surfaceDark],["text",a.text,a.textDark],["text-muted",a.textMuted,a.textMutedDark],["border",a.border,a.borderDark],["input",a.input,a.inputDark]];for(let[g,y,E]of h)Ko(l,g,us(s(y,E)));return Ko(l,"ring",us(s(a.ring,a.ringDark))??s(c.light,c.dark)),l},sf=(a,r,l="")=>r.size===0?"":`${l}${a} {
72
+ */var yg;function rT(){if(yg)return He;yg=1;var a=typeof Symbol=="function"&&Symbol.for,r=a?Symbol.for("react.element"):60103,l=a?Symbol.for("react.portal"):60106,s=a?Symbol.for("react.fragment"):60107,c=a?Symbol.for("react.strict_mode"):60108,f=a?Symbol.for("react.profiler"):60114,p=a?Symbol.for("react.provider"):60109,h=a?Symbol.for("react.context"):60110,g=a?Symbol.for("react.async_mode"):60111,y=a?Symbol.for("react.concurrent_mode"):60111,E=a?Symbol.for("react.forward_ref"):60112,_=a?Symbol.for("react.suspense"):60113,z=a?Symbol.for("react.suspense_list"):60120,G=a?Symbol.for("react.memo"):60115,q=a?Symbol.for("react.lazy"):60116,Q=a?Symbol.for("react.block"):60121,Y=a?Symbol.for("react.fundamental"):60117,ae=a?Symbol.for("react.responder"):60118,le=a?Symbol.for("react.scope"):60119;function J(j){if(typeof j=="object"&&j!==null){var ye=j.$$typeof;switch(ye){case r:switch(j=j.type,j){case g:case y:case s:case f:case c:case _:return j;default:switch(j=j&&j.$$typeof,j){case h:case E:case q:case G:case p:return j;default:return ye}}case l:return ye}}}function Se(j){return J(j)===y}return He.AsyncMode=g,He.ConcurrentMode=y,He.ContextConsumer=h,He.ContextProvider=p,He.Element=r,He.ForwardRef=E,He.Fragment=s,He.Lazy=q,He.Memo=G,He.Portal=l,He.Profiler=f,He.StrictMode=c,He.Suspense=_,He.isAsyncMode=function(j){return Se(j)||J(j)===g},He.isConcurrentMode=Se,He.isContextConsumer=function(j){return J(j)===h},He.isContextProvider=function(j){return J(j)===p},He.isElement=function(j){return typeof j=="object"&&j!==null&&j.$$typeof===r},He.isForwardRef=function(j){return J(j)===E},He.isFragment=function(j){return J(j)===s},He.isLazy=function(j){return J(j)===q},He.isMemo=function(j){return J(j)===G},He.isPortal=function(j){return J(j)===l},He.isProfiler=function(j){return J(j)===f},He.isStrictMode=function(j){return J(j)===c},He.isSuspense=function(j){return J(j)===_},He.isValidElementType=function(j){return typeof j=="string"||typeof j=="function"||j===s||j===y||j===f||j===c||j===_||j===z||typeof j=="object"&&j!==null&&(j.$$typeof===q||j.$$typeof===G||j.$$typeof===p||j.$$typeof===h||j.$$typeof===E||j.$$typeof===Y||j.$$typeof===ae||j.$$typeof===le||j.$$typeof===Q)},He.typeOf=J,He}var gg;function iT(){return gg||(gg=1,rf.exports=rT()),rf.exports}var lf,vg;function lT(){if(vg)return lf;vg=1;var a=iT(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},f={};f[a.ForwardRef]=s,f[a.Memo]=c;function p(q){return a.isMemo(q)?c:f[q.$$typeof]||r}var h=Object.defineProperty,g=Object.getOwnPropertyNames,y=Object.getOwnPropertySymbols,E=Object.getOwnPropertyDescriptor,_=Object.getPrototypeOf,z=Object.prototype;function G(q,Q,Y){if(typeof Q!="string"){if(z){var ae=_(Q);ae&&ae!==z&&G(q,ae,Y)}var le=g(Q);y&&(le=le.concat(y(Q)));for(var J=p(q),Se=p(Q),j=0;j<le.length;++j){var ye=le[j];if(!l[ye]&&!(Y&&Y[ye])&&!(Se&&Se[ye])&&!(J&&J[ye])){var ee=E(Q,ye);try{h(q,ye,ee)}catch{}}}}return q}return lf=G,lf}lT();const oT=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,bg={componentStack:null,error:null,eventId:null};class fd extends T.Component{constructor(r){super(r),fd.prototype.__init.call(this),this.state=bg,this._openFallbackReportDialog=!0;const l=dt();l&&r.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=l.on("afterSendEvent",s=>{!s.type&&this._lastEventId&&s.event_id===this._lastEventId&&mg({...r.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(r,l){const{componentStack:s}=l,c=s??void 0,{beforeCapture:f,onError:p,showDialog:h,dialogOptions:g}=this.props;Es(y=>{f&&f(y,r,c);const E=this.props.handled!=null?this.props.handled:!!this.props.fallback,_=aT(r,l,{mechanism:{handled:E}});p&&p(r,c,_),h&&(this._lastEventId=_,this._openFallbackReportDialog&&mg({...g,eventId:_})),this.setState({error:r,componentStack:s,eventId:_})})}componentDidMount(){const{onMount:r}=this.props;r&&r()}componentWillUnmount(){const{error:r,componentStack:l,eventId:s}=this.state,{onUnmount:c}=this.props;c&&c(r,l,s),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}__init(){this.resetErrorBoundary=()=>{const{onReset:r}=this.props,{error:l,componentStack:s,eventId:c}=this.state;r&&r(l,s,c),this.setState(bg)}}render(){const{fallback:r,children:l}=this.props,s=this.state;if(s.error){let c;return typeof r=="function"?c=T.createElement(r,{error:s.error,componentStack:s.componentStack,resetError:this.resetErrorBoundary,eventId:s.eventId}):c=r,T.isValidElement(c)?c:(r&&oT&&ie.warn("fallback did not produce a valid ReactElement"),null)}return typeof l=="function"?l():l}}var sT=Object.defineProperty,dd=(a,r)=>sT(a,"name",{value:r,configurable:!0});function Hf(a,r){if(typeof a=="function")return a(r);a!=null&&(a.current=r)}dd(Hf,"setRef");function V0(...a){return r=>{let l=!1;const s=a.map(c=>{const f=Hf(c,r);return!l&&typeof f=="function"&&(l=!0),f});if(l)return()=>{for(let c=0;c<s.length;c++){const f=s[c];typeof f=="function"?f():Hf(a[c],null)}}}}dd(V0,"composeRefs");function Y0(...a){return T.useCallback(V0(...a),a)}dd(Y0,"useComposedRefs");var uT=Object.defineProperty,yn=(a,r)=>uT(a,"name",{value:r,configurable:!0});function $0(a){const r=T.forwardRef((l,s)=>{let{children:c,...f}=l,p=null,h=!1;const g=[];Uf(c)&&typeof Zo=="function"&&(c=Zo(c._payload)),T.Children.forEach(c,z=>{if(W0(z)){h=!0;const G=z;let q="child"in G.props?G.props.child:G.props.children;Uf(q)&&typeof Zo=="function"&&(q=Zo(q._payload)),p=dT(G,q),g.push(p?.props?.children)}else g.push(z)}),p?p=T.cloneElement(p,void 0,g):!h&&T.Children.count(c)===1&&T.isValidElement(c)&&(p=c);const y=p?Z0(p):void 0,E=Y0(s,y);if(!p){if(c||c===0)throw new Error(h?hT(a):mT(a));return c}const _=X0(f,p.props??{});return p.type!==T.Fragment&&(_.ref=s?E:y),T.cloneElement(p,_)});return r.displayName=`${a}.Slot`,r}yn($0,"createSlot");var cT=$0("Slot"),Q0=Symbol.for("radix.slottable");function fT(a){const r=yn(l=>"child"in l?l.children(l.child):l.children,"Slottable");return r.displayName=`${a}.Slottable`,r.__radixId=Q0,r}yn(fT,"createSlottable");var dT=yn((a,r)=>{if("child"in a.props){const l=a.props.child;return T.isValidElement(l)?T.cloneElement(l,void 0,a.props.children(l.props.children)):null}return T.isValidElement(r)?r:null},"getSlottableElementFromSlottable");function X0(a,r){const l={...r};for(const s in r){const c=a[s],f=r[s];/^on[A-Z]/.test(s)?c&&f?l[s]=(...h)=>{const g=f(...h);return c(...h),g}:c&&(l[s]=c):s==="style"?l[s]={...c,...f}:s==="className"&&(l[s]=[c,f].filter(Boolean).join(" "))}return{...a,...l}}yn(X0,"mergeProps");function Z0(a){let r=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,l=r&&"isReactWarning"in r&&r.isReactWarning;return l?a.ref:(r=Object.getOwnPropertyDescriptor(a,"ref")?.get,l=r&&"isReactWarning"in r&&r.isReactWarning,l?a.props.ref:a.props.ref||a.ref)}yn(Z0,"getElementRef");function W0(a){return T.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Q0}yn(W0,"isSlottable");var pT=Symbol.for("react.lazy");function Uf(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===pT&&"_payload"in a&&K0(a._payload)}yn(Uf,"isLazyComponent");function K0(a){return typeof a=="object"&&a!==null&&"then"in a}yn(K0,"isPromiseLike");var mT=yn(a=>`${a} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),hT=yn(a=>`${a} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),Zo=w_[" use ".trim().toString()];function J0(a){var r,l,s="";if(typeof a=="string"||typeof a=="number")s+=a;else if(typeof a=="object")if(Array.isArray(a)){var c=a.length;for(r=0;r<c;r++)a[r]&&(l=J0(a[r]))&&(s&&(s+=" "),s+=l)}else for(l in a)a[l]&&(s&&(s+=" "),s+=l);return s}function ev(){for(var a,r,l=0,s="",c=arguments.length;l<c;l++)(a=arguments[l])&&(r=J0(a))&&(s&&(s+=" "),s+=r);return s}const Sg=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,_g=ev,yT=(a,r)=>l=>{var s;if(r?.variants==null)return _g(a,l?.class,l?.className);const{variants:c,defaultVariants:f}=r,p=Object.keys(c).map(y=>{const E=l?.[y],_=f?.[y];if(E===null)return null;const z=Sg(E)||Sg(_);return c[y][z]}),h=l&&Object.entries(l).reduce((y,E)=>{let[_,z]=E;return z===void 0||(y[_]=z),y},{}),g=r==null||(s=r.compoundVariants)===null||s===void 0?void 0:s.reduce((y,E)=>{let{class:_,className:z,...G}=E;return Object.entries(G).every(q=>{let[Q,Y]=q;return Array.isArray(Y)?Y.includes({...f,...h}[Q]):{...f,...h}[Q]===Y})?[...y,_,z]:y},[]);return _g(a,p,g,l?.class,l?.className)},pd="-",gT=a=>{const r=bT(a),{conflictingClassGroups:l,conflictingClassGroupModifiers:s}=a;return{getClassGroupId:p=>{const h=p.split(pd);return h[0]===""&&h.length!==1&&h.shift(),tv(h,r)||vT(p)},getConflictingClassGroupIds:(p,h)=>{const g=l[p]||[];return h&&s[p]?[...g,...s[p]]:g}}},tv=(a,r)=>{if(a.length===0)return r.classGroupId;const l=a[0],s=r.nextPart.get(l),c=s?tv(a.slice(1),s):void 0;if(c)return c;if(r.validators.length===0)return;const f=a.join(pd);return r.validators.find(({validator:p})=>p(f))?.classGroupId},Eg=/^\[(.+)\]$/,vT=a=>{if(Eg.test(a)){const r=Eg.exec(a)[1],l=r?.substring(0,r.indexOf(":"));if(l)return"arbitrary.."+l}},bT=a=>{const{theme:r,prefix:l}=a,s={nextPart:new Map,validators:[]};return _T(Object.entries(a.classGroups),l).forEach(([f,p])=>{zf(p,s,f,r)}),s},zf=(a,r,l,s)=>{a.forEach(c=>{if(typeof c=="string"){const f=c===""?r:Cg(r,c);f.classGroupId=l;return}if(typeof c=="function"){if(ST(c)){zf(c(s),r,l,s);return}r.validators.push({validator:c,classGroupId:l});return}Object.entries(c).forEach(([f,p])=>{zf(p,Cg(r,f),l,s)})})},Cg=(a,r)=>{let l=a;return r.split(pd).forEach(s=>{l.nextPart.has(s)||l.nextPart.set(s,{nextPart:new Map,validators:[]}),l=l.nextPart.get(s)}),l},ST=a=>a.isThemeGetter,_T=(a,r)=>r?a.map(([l,s])=>{const c=s.map(f=>typeof f=="string"?r+f:typeof f=="object"?Object.fromEntries(Object.entries(f).map(([p,h])=>[r+p,h])):f);return[l,c]}):a,ET=a=>{if(a<1)return{get:()=>{},set:()=>{}};let r=0,l=new Map,s=new Map;const c=(f,p)=>{l.set(f,p),r++,r>a&&(r=0,s=l,l=new Map)};return{get(f){let p=l.get(f);if(p!==void 0)return p;if((p=s.get(f))!==void 0)return c(f,p),p},set(f,p){l.has(f)?l.set(f,p):c(f,p)}}},nv="!",CT=a=>{const{separator:r,experimentalParseClassName:l}=a,s=r.length===1,c=r[0],f=r.length,p=h=>{const g=[];let y=0,E=0,_;for(let Y=0;Y<h.length;Y++){let ae=h[Y];if(y===0){if(ae===c&&(s||h.slice(Y,Y+f)===r)){g.push(h.slice(E,Y)),E=Y+f;continue}if(ae==="/"){_=Y;continue}}ae==="["?y++:ae==="]"&&y--}const z=g.length===0?h:h.substring(E),G=z.startsWith(nv),q=G?z.substring(1):z,Q=_&&_>E?_-E:void 0;return{modifiers:g,hasImportantModifier:G,baseClassName:q,maybePostfixModifierPosition:Q}};return l?h=>l({className:h,parseClassName:p}):p},AT=a=>{if(a.length<=1)return a;const r=[];let l=[];return a.forEach(s=>{s[0]==="["?(r.push(...l.sort(),s),l=[]):l.push(s)}),r.push(...l.sort()),r},TT=a=>({cache:ET(a.cacheSize),parseClassName:CT(a),...gT(a)}),MT=/\s+/,wT=(a,r)=>{const{parseClassName:l,getClassGroupId:s,getConflictingClassGroupIds:c}=r,f=[],p=a.trim().split(MT);let h="";for(let g=p.length-1;g>=0;g-=1){const y=p[g],{modifiers:E,hasImportantModifier:_,baseClassName:z,maybePostfixModifierPosition:G}=l(y);let q=!!G,Q=s(q?z.substring(0,G):z);if(!Q){if(!q){h=y+(h.length>0?" "+h:h);continue}if(Q=s(z),!Q){h=y+(h.length>0?" "+h:h);continue}q=!1}const Y=AT(E).join(":"),ae=_?Y+nv:Y,le=ae+Q;if(f.includes(le))continue;f.push(le);const J=c(Q,q);for(let Se=0;Se<J.length;++Se){const j=J[Se];f.push(ae+j)}h=y+(h.length>0?" "+h:h)}return h};function OT(){let a=0,r,l,s="";for(;a<arguments.length;)(r=arguments[a++])&&(l=av(r))&&(s&&(s+=" "),s+=l);return s}const av=a=>{if(typeof a=="string")return a;let r,l="";for(let s=0;s<a.length;s++)a[s]&&(r=av(a[s]))&&(l&&(l+=" "),l+=r);return l};function Ag(a,...r){let l,s,c,f=p;function p(g){const y=r.reduce((E,_)=>_(E),a());return l=TT(y),s=l.cache.get,c=l.cache.set,f=h,h(g)}function h(g){const y=s(g);if(y)return y;const E=wT(g,l);return c(g,E),E}return function(){return f(OT.apply(null,arguments))}}const Xe=a=>{const r=l=>l[a]||[];return r.isThemeGetter=!0,r},rv=/^\[(?:([a-z-]+):)?(.+)\]$/i,RT=/^\d+\/\d+$/,DT=new Set(["px","full","screen"]),xT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,kT=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,NT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,LT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,HT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$n=a=>ri(a)||DT.has(a)||RT.test(a),Ca=a=>mi(a,"length",GT),ri=a=>!!a&&!Number.isNaN(Number(a)),of=a=>mi(a,"number",ri),dl=a=>!!a&&Number.isInteger(Number(a)),UT=a=>a.endsWith("%")&&ri(a.slice(0,-1)),he=a=>rv.test(a),Aa=a=>xT.test(a),zT=new Set(["length","size","percentage"]),BT=a=>mi(a,zT,iv),jT=a=>mi(a,"position",iv),IT=new Set(["image","url"]),qT=a=>mi(a,IT,VT),PT=a=>mi(a,"",FT),pl=()=>!0,mi=(a,r,l)=>{const s=rv.exec(a);return s?s[1]?typeof r=="string"?s[1]===r:r.has(s[1]):l(s[2]):!1},GT=a=>kT.test(a)&&!NT.test(a),iv=()=>!1,FT=a=>LT.test(a),VT=a=>HT.test(a),Tg=()=>{const a=Xe("colors"),r=Xe("spacing"),l=Xe("blur"),s=Xe("brightness"),c=Xe("borderColor"),f=Xe("borderRadius"),p=Xe("borderSpacing"),h=Xe("borderWidth"),g=Xe("contrast"),y=Xe("grayscale"),E=Xe("hueRotate"),_=Xe("invert"),z=Xe("gap"),G=Xe("gradientColorStops"),q=Xe("gradientColorStopPositions"),Q=Xe("inset"),Y=Xe("margin"),ae=Xe("opacity"),le=Xe("padding"),J=Xe("saturate"),Se=Xe("scale"),j=Xe("sepia"),ye=Xe("skew"),ee=Xe("space"),Ve=Xe("translate"),Pe=()=>["auto","contain","none"],Je=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto",he,r],X=()=>[he,r],Ne=()=>["",$n,Ca],De=()=>["auto",ri,he],Ye=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],R=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],te=()=>["start","end","center","between","around","evenly","stretch"],ge=()=>["","0",he],ve=()=>["auto","avoid","all","avoid-page","page","left","right","column"],b=()=>[ri,he];return{cacheSize:500,separator:":",theme:{colors:[pl],spacing:[$n,Ca],blur:["none","",Aa,he],brightness:b(),borderColor:[a],borderRadius:["none","","full",Aa,he],borderSpacing:X(),borderWidth:Ne(),contrast:b(),grayscale:ge(),hueRotate:b(),invert:ge(),gap:X(),gradientColorStops:[a],gradientColorStopPositions:[UT,Ca],inset:oe(),margin:oe(),opacity:b(),padding:X(),saturate:b(),scale:b(),sepia:ge(),skew:b(),space:X(),translate:X()},classGroups:{aspect:[{aspect:["auto","square","video",he]}],container:["container"],columns:[{columns:[Aa]}],"break-after":[{"break-after":ve()}],"break-before":[{"break-before":ve()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Ye(),he]}],overflow:[{overflow:Je()}],"overflow-x":[{"overflow-x":Je()}],"overflow-y":[{"overflow-y":Je()}],overscroll:[{overscroll:Pe()}],"overscroll-x":[{"overscroll-x":Pe()}],"overscroll-y":[{"overscroll-y":Pe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[Q]}],"inset-x":[{"inset-x":[Q]}],"inset-y":[{"inset-y":[Q]}],start:[{start:[Q]}],end:[{end:[Q]}],top:[{top:[Q]}],right:[{right:[Q]}],bottom:[{bottom:[Q]}],left:[{left:[Q]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",dl,he]}],basis:[{basis:oe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",he]}],grow:[{grow:ge()}],shrink:[{shrink:ge()}],order:[{order:["first","last","none",dl,he]}],"grid-cols":[{"grid-cols":[pl]}],"col-start-end":[{col:["auto",{span:["full",dl,he]},he]}],"col-start":[{"col-start":De()}],"col-end":[{"col-end":De()}],"grid-rows":[{"grid-rows":[pl]}],"row-start-end":[{row:["auto",{span:[dl,he]},he]}],"row-start":[{"row-start":De()}],"row-end":[{"row-end":De()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",he]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",he]}],gap:[{gap:[z]}],"gap-x":[{"gap-x":[z]}],"gap-y":[{"gap-y":[z]}],"justify-content":[{justify:["normal",...te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[le]}],px:[{px:[le]}],py:[{py:[le]}],ps:[{ps:[le]}],pe:[{pe:[le]}],pt:[{pt:[le]}],pr:[{pr:[le]}],pb:[{pb:[le]}],pl:[{pl:[le]}],m:[{m:[Y]}],mx:[{mx:[Y]}],my:[{my:[Y]}],ms:[{ms:[Y]}],me:[{me:[Y]}],mt:[{mt:[Y]}],mr:[{mr:[Y]}],mb:[{mb:[Y]}],ml:[{ml:[Y]}],"space-x":[{"space-x":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",he,r]}],"min-w":[{"min-w":[he,r,"min","max","fit"]}],"max-w":[{"max-w":[he,r,"none","full","min","max","fit","prose",{screen:[Aa]},Aa]}],h:[{h:[he,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[he,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[he,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[he,r,"auto","min","max","fit"]}],"font-size":[{text:["base",Aa,Ca]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",of]}],"font-family":[{font:[pl]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",he]}],"line-clamp":[{"line-clamp":["none",ri,of]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$n,he]}],"list-image":[{"list-image":["none",he]}],"list-style-type":[{list:["none","disc","decimal",he]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[ae]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[ae]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...R(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$n,Ca]}],"underline-offset":[{"underline-offset":["auto",$n,he]}],"text-decoration-color":[{decoration:[a]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:X()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",he]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",he]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[ae]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ye(),jT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",BT]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},qT]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[q]}],"gradient-via-pos":[{via:[q]}],"gradient-to-pos":[{to:[q]}],"gradient-from":[{from:[G]}],"gradient-via":[{via:[G]}],"gradient-to":[{to:[G]}],rounded:[{rounded:[f]}],"rounded-s":[{"rounded-s":[f]}],"rounded-e":[{"rounded-e":[f]}],"rounded-t":[{"rounded-t":[f]}],"rounded-r":[{"rounded-r":[f]}],"rounded-b":[{"rounded-b":[f]}],"rounded-l":[{"rounded-l":[f]}],"rounded-ss":[{"rounded-ss":[f]}],"rounded-se":[{"rounded-se":[f]}],"rounded-ee":[{"rounded-ee":[f]}],"rounded-es":[{"rounded-es":[f]}],"rounded-tl":[{"rounded-tl":[f]}],"rounded-tr":[{"rounded-tr":[f]}],"rounded-br":[{"rounded-br":[f]}],"rounded-bl":[{"rounded-bl":[f]}],"border-w":[{border:[h]}],"border-w-x":[{"border-x":[h]}],"border-w-y":[{"border-y":[h]}],"border-w-s":[{"border-s":[h]}],"border-w-e":[{"border-e":[h]}],"border-w-t":[{"border-t":[h]}],"border-w-r":[{"border-r":[h]}],"border-w-b":[{"border-b":[h]}],"border-w-l":[{"border-l":[h]}],"border-opacity":[{"border-opacity":[ae]}],"border-style":[{border:[...R(),"hidden"]}],"divide-x":[{"divide-x":[h]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[h]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[ae]}],"divide-style":[{divide:R()}],"border-color":[{border:[c]}],"border-color-x":[{"border-x":[c]}],"border-color-y":[{"border-y":[c]}],"border-color-s":[{"border-s":[c]}],"border-color-e":[{"border-e":[c]}],"border-color-t":[{"border-t":[c]}],"border-color-r":[{"border-r":[c]}],"border-color-b":[{"border-b":[c]}],"border-color-l":[{"border-l":[c]}],"divide-color":[{divide:[c]}],"outline-style":[{outline:["",...R()]}],"outline-offset":[{"outline-offset":[$n,he]}],"outline-w":[{outline:[$n,Ca]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:Ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[ae]}],"ring-offset-w":[{"ring-offset":[$n,Ca]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",Aa,PT]}],"shadow-color":[{shadow:[pl]}],opacity:[{opacity:[ae]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[l]}],brightness:[{brightness:[s]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",Aa,he]}],grayscale:[{grayscale:[y]}],"hue-rotate":[{"hue-rotate":[E]}],invert:[{invert:[_]}],saturate:[{saturate:[J]}],sepia:[{sepia:[j]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[l]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[E]}],"backdrop-invert":[{"backdrop-invert":[_]}],"backdrop-opacity":[{"backdrop-opacity":[ae]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[j]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[p]}],"border-spacing-x":[{"border-spacing-x":[p]}],"border-spacing-y":[{"border-spacing-y":[p]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",he]}],duration:[{duration:b()}],ease:[{ease:["linear","in","out","in-out",he]}],delay:[{delay:b()}],animate:[{animate:["none","spin","ping","pulse","bounce",he]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Se]}],"scale-x":[{"scale-x":[Se]}],"scale-y":[{"scale-y":[Se]}],rotate:[{rotate:[dl,he]}],"translate-x":[{"translate-x":[Ve]}],"translate-y":[{"translate-y":[Ve]}],"skew-x":[{"skew-x":[ye]}],"skew-y":[{"skew-y":[ye]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",he]}],accent:[{accent:["auto",a]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",he]}],"caret-color":[{caret:[a]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":X()}],"scroll-mx":[{"scroll-mx":X()}],"scroll-my":[{"scroll-my":X()}],"scroll-ms":[{"scroll-ms":X()}],"scroll-me":[{"scroll-me":X()}],"scroll-mt":[{"scroll-mt":X()}],"scroll-mr":[{"scroll-mr":X()}],"scroll-mb":[{"scroll-mb":X()}],"scroll-ml":[{"scroll-ml":X()}],"scroll-p":[{"scroll-p":X()}],"scroll-px":[{"scroll-px":X()}],"scroll-py":[{"scroll-py":X()}],"scroll-ps":[{"scroll-ps":X()}],"scroll-pe":[{"scroll-pe":X()}],"scroll-pt":[{"scroll-pt":X()}],"scroll-pr":[{"scroll-pr":X()}],"scroll-pb":[{"scroll-pb":X()}],"scroll-pl":[{"scroll-pl":X()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",he]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[$n,Ca,of]}],stroke:[{stroke:[a,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},YT=(a,{cacheSize:r,prefix:l,separator:s,experimentalParseClassName:c,extend:f={},override:p={}})=>{yl(a,"cacheSize",r),yl(a,"prefix",l),yl(a,"separator",s),yl(a,"experimentalParseClassName",c);for(const h in p)$T(a[h],p[h]);for(const h in f)QT(a[h],f[h]);return a},yl=(a,r,l)=>{l!==void 0&&(a[r]=l)},$T=(a,r)=>{if(r)for(const l in r)yl(a,l,r[l])},QT=(a,r)=>{if(r)for(const l in r){const s=r[l];s!==void 0&&(a[l]=(a[l]||[]).concat(s))}},XT=(a,...r)=>typeof a=="function"?Ag(Tg,a,...r):Ag(()=>YT(Tg(),a),...r);var ZT=XT({prefix:"cds-"});function Ha(...a){return ZT(ev(a))}var WT=yT("cds-inline-flex cds-items-center cds-justify-center cds-gap-2 cds-whitespace-nowrap cds-rounded-xl cds-text-sm cds-font-medium cds-transition-all cds-duration-300 focus-visible:cds-outline-none focus-visible:cds-ring-2 focus-visible:cds-ring-ring focus-visible:cds-ring-offset-2 focus-visible:cds-ring-offset-background disabled:cds-pointer-events-none disabled:cds-opacity-50 [&_svg]:cds-pointer-events-none [&_svg]:cds-size-4 [&_svg]:cds-shrink-0",{variants:{variant:{default:"cds-bg-primary cds-text-primary-foreground hover:cds-bg-primary/90 cds-shadow-md cds-shadow-primary/20",destructive:"cds-bg-destructive cds-text-destructive-foreground hover:cds-bg-destructive/90",outline:"cds-border cds-border-input cds-bg-background cds-text-fg hover:cds-bg-accent hover:cds-text-accent-foreground",surface:"cds-bg-surface cds-text-fg hover:cds-bg-surface/80",ghost:"cds-text-fg hover:cds-bg-accent hover:cds-text-accent-foreground",link:"cds-text-primary cds-underline-offset-4 hover:cds-underline",hero:"cds-bg-gradient-to-r cds-from-cta-from cds-to-cta-to cds-text-cta-foreground cds-font-semibold cds-shadow-lg cds-shadow-glow/25 hover:cds-shadow-xl hover:cds-shadow-glow/30 hover:cds-scale-[1.02] active:cds-scale-[0.98]",glass:"cds-bg-surface-elevated cds-border cds-border-glass-border cds-text-fg hover:cds-bg-surface-muted cds-shadow-sm"},size:{default:"cds-h-10 cds-px-4 cds-py-2",sm:"cds-h-9 cds-rounded-lg cds-px-3",lg:"cds-h-12 cds-rounded-xl cds-px-8 cds-text-base",xl:"cds-h-14 cds-rounded-2xl cds-px-10 cds-text-base",icon:"cds-h-10 cds-w-10"}},defaultVariants:{variant:"default",size:"default"}}),KT=T.forwardRef(({className:a,variant:r,size:l,asChild:s=!1,...c},f)=>{let p=Ha(WT({variant:r,size:l}),a);return A.jsx(s?cT:"button",{className:p,ref:f,...c})});KT.displayName="Button";var JT="cds-w-full cds-rounded-lg cds-border cds-border-input cds-bg-background cds-px-3 cds-py-2.5 cds-text-base cds-text-fg placeholder:cds-text-fg-muted/70 focus:cds-border-primary focus:cds-outline-none focus:cds-ring-2 focus:cds-ring-ring/40 disabled:cds-cursor-not-allowed disabled:cds-opacity-50",ci="focus-visible:cds-outline-none focus-visible:cds-ring-2 focus-visible:cds-ring-ring focus-visible:cds-ring-offset-2 focus-visible:cds-ring-offset-background",md=T.forwardRef(({className:a,...r},l)=>A.jsx("input",{ref:l,className:Ha(JT,a),...r}));md.displayName="Input";var lv=T.forwardRef(({className:a,...r},l)=>A.jsx("label",{ref:l,className:Ha("cds-mb-1 cds-block cds-text-sm cds-font-semibold cds-text-fg",a),...r}));lv.displayName="Label";var eM=({onClick:a,disabled:r,children:l="Continue",className:s})=>A.jsx("button",{type:"button",disabled:r,onClick:a,className:Ha("cds-mt-2 cds-w-full cds-rounded-xl cds-bg-accent cds-px-6 cds-py-3.5 cds-text-base cds-font-bold cds-text-accent-foreground cds-transition-colors hover:cds-bg-accent/90 disabled:cds-cursor-not-allowed disabled:cds-opacity-50",ci,s),children:l}),Mg=({message:a})=>a?A.jsx("p",{role:"alert",className:"cds-mt-2 cds-text-sm cds-font-medium cds-text-destructive",children:a}):null,Bf="(512) 640-2609",ov="tel:+15126402609",sv=({label:a,hint:r,error:l,className:s,children:c})=>{let f=T.useId(),p=r?`${f}-hint`:void 0,h=l?`${f}-error`:void 0;return A.jsxs("div",{className:Ha("cds-mb-4",s),children:[A.jsx(lv,{htmlFor:f,children:a}),c({id:f,hintId:p,errorId:h}),r?A.jsx("p",{id:p,className:"cds-mt-1 cds-text-xs cds-text-fg-muted",children:r}):null,l?A.jsx("p",{id:h,role:"alert",className:"cds-mt-1 cds-text-xs cds-font-medium cds-text-destructive",children:l}):null]})},tM=[[500,599,"NY"],[1e3,2799,"MA"],[2800,2999,"RI"],[3e3,3899,"NH"],[3900,4999,"ME"],[5e3,5999,"VT"],[6e3,6999,"CT"],[7e3,8999,"NJ"],[1e4,14999,"NY"],[15e3,19699,"PA"],[19700,19999,"DE"],[2e4,20599,"DC"],[20600,21999,"MD"],[22e3,24699,"VA"],[24700,26899,"WV"],[27e3,28999,"NC"],[29e3,29999,"SC"],[3e4,31999,"GA"],[32e3,34999,"FL"],[35e3,36999,"AL"],[37e3,38599,"TN"],[38600,39799,"MS"],[39800,39999,"GA"],[4e4,42799,"KY"],[43e3,45999,"OH"],[46e3,47999,"IN"],[48e3,49799,"MI"],[5e4,52899,"IA"],[53e3,54999,"WI"],[55e3,56799,"MN"],[57e3,57799,"SD"],[58e3,58899,"ND"],[59e3,59999,"MT"],[6e4,62999,"IL"],[63e3,65899,"MO"],[66e3,67999,"KS"],[68e3,69399,"NE"],[7e4,71499,"LA"],[71600,72999,"AR"],[73e3,73300,"OK"],[73301,73301,"TX"],[73302,74999,"OK"],[75e3,79999,"TX"],[8e4,81699,"CO"],[82e3,83199,"WY"],[83200,83899,"ID"],[84e3,84799,"UT"],[85e3,86599,"AZ"],[87e3,88499,"NM"],[88500,88599,"TX"],[88900,89899,"NV"],[9e4,96199,"CA"],[96700,96899,"HI"],[97e3,97999,"OR"],[98e3,99499,"WA"],[99500,99999,"AK"]],Wo=a=>{if(!/^\d{5}$/.test(a))return;let r=Number(a);return tM.find(([l,s])=>r>=l&&r<=s)?.[2]},ts=a=>/^\d{5}$/.test(String(a??"").replace(/\D/g,"")),jf=a=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(String(a??"").trim()),nM=({label:a,value:r,onChange:l,error:s,hint:c,className:f})=>A.jsx(sv,{label:a,error:s,hint:c,className:f,children:({id:p,hintId:h,errorId:g})=>A.jsx(md,{id:p,type:"text",inputMode:"numeric",autoComplete:"postal-code",value:r,"aria-invalid":s?!0:void 0,"aria-describedby":[h,g].filter(Boolean).join(" ")||void 0,onChange:y=>l(y.target.value.replace(/\D/g,"").slice(0,5)),className:s?"cds-border-destructive":void 0})}),aM=({label:a,value:r,onChange:l,error:s,hint:c,className:f})=>A.jsx(sv,{label:a,error:s,hint:c,className:f,children:({id:p,hintId:h,errorId:g})=>A.jsx(md,{id:p,type:"email",inputMode:"email",autoComplete:"email",placeholder:"you@example.com",value:r,"aria-invalid":s?!0:void 0,"aria-describedby":[h,g].filter(Boolean).join(" ")||void 0,onChange:y=>l(y.target.value),className:s?"cds-border-destructive":void 0})}),rM={h:222,s:47,l:6},iM=(a,r,l)=>Math.min(l,Math.max(r,a)),wg=(a,r,l)=>{let s=a/255,c=r/255,f=l/255,p=Math.max(s,c,f),h=Math.min(s,c,f),g=p-h,y=(p+h)/2;if(g===0)return{h:0,s:0,l:y*100};let E=g/(1-Math.abs(2*y-1)),_;return _=p===s?(c-f)/g%6:p===c?(f-s)/g+2:(s-c)/g+4,_*=60,_<0&&(_+=360),{h:_,s:E*100,l:y*100}},lM=({h:a,s:r,l})=>{let s=r/100,c=l/100,f=(1-Math.abs(2*c-1))*s,p=(a%360+360)%360/60,h=f*(1-Math.abs(p%2-1)),g=c-f/2,y;return y=p<1?[f,h,0]:p<2?[h,f,0]:p<3?[0,f,h]:p<4?[0,h,f]:p<5?[h,0,f]:[f,0,h],[Math.round((y[0]+g)*255),Math.round((y[1]+g)*255),Math.round((y[2]+g)*255)]},oM=a=>{let r=a.trim().toLowerCase(),l=/^#([0-9a-f]{3}|[0-9a-f]{6})$/.exec(r);if(l?.[1]){let p=l[1],h=p.length===3?p.split("").map(y=>y+y).join(""):p,g=Number.parseInt(h,16);return wg(g>>16&255,g>>8&255,g&255)}let s=/^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)/.exec(r);if(s?.[1]&&s[2]&&s[3])return wg(Number(s[1]),Number(s[2]),Number(s[3]));let c=/^hsla?\(\s*([\d.]+)(?:deg)?[\s,]+([\d.]+)%[\s,]+([\d.]+)%/.exec(r);if(c?.[1]&&c[2]&&c[3])return{h:Number(c[1]),s:Number(c[2]),l:Number(c[3])};let f=/^([\d.]+)\s+([\d.]+)%\s+([\d.]+)%$/.exec(r);return f?.[1]&&f[2]&&f[3]?{h:Number(f[1]),s:Number(f[2]),l:Number(f[3])}:null},sM=({h:a,s:r,l})=>`${Math.round(a)} ${Math.round(r)}% ${Math.round(l)}%`,Og=a=>{let[r,l,s]=lM(a),c=f=>{let p=f/255;return p<=.03928?p/12.92:((p+.055)/1.055)**2.4};return .2126*c(r)+.7152*c(l)+.0722*c(s)},If=(a,r)=>{let l=Og(a),s=Og(r),c=Math.max(l,s),f=Math.min(l,s);return(c+.05)/(f+.05)},uM=a=>{let r={h:a.h,s:Math.min(a.s,15),l:98},l={h:a.h,s:Math.min(a.s,40),l:12};return If(r,a)>=If(l,a)?r:l},cM=(a,r=3.2)=>{let l={h:a.h,s:iM(a.s*.9,0,100),l:a.l};for(;l.l<92&&If(l,rM)<r;)l.l+=2;return l},us=(a,r)=>a?oM(a):null,sf=(a,r,l)=>{let s=us(a);return{light:s,dark:us(r)??(s?cM(s):null)}},Ko=(a,r,l)=>{l&&a.set(`--cds-${r}`,sM(l))},Rg=(a,r)=>{let l=new Map,s=(g,y)=>r==="light"?g:y;a.radius&&l.set("--cds-radius",a.radius);let c=sf(a.primary,a.primaryDark),f=sf(a.accent,a.accentDark),p=sf(a.destructive,a.destructiveDark);for(let[g,y]of[["primary",c],["accent",f],["destructive",p]]){let E=s(y.light,y.dark);Ko(l,g,E),E&&Ko(l,`${g}-foreground`,uM(E))}let h=[["background",a.background,a.backgroundDark],["surface",a.surface,a.surfaceDark],["text",a.text,a.textDark],["text-muted",a.textMuted,a.textMutedDark],["border",a.border,a.borderDark],["input",a.input,a.inputDark]];for(let[g,y,E]of h)Ko(l,g,us(s(y,E)));return Ko(l,"ring",us(s(a.ring,a.ringDark))??s(c.light,c.dark)),l},uf=(a,r,l="")=>r.size===0?"":`${l}${a} {
73
73
  ${[...r].map(([s,c])=>`${l} ${s}: ${c};`).join(`
74
74
  `)}
75
75
  ${l}}
76
- `,sM=(a,r)=>{let l=Rg(a,"light"),s=Rg(a,"dark"),c=[`${r}[data-cds-theme='dark']`,`.dark ${r}:not([data-cds-theme='light']):not([data-cds-theme='dark'])`].join(`,
77
- `),f=sf(`${r}[data-cds-theme='auto']`,s," ");return[sf(r,l),sf(c,s),f?`@media (prefers-color-scheme: dark) {
76
+ `,fM=(a,r)=>{let l=Rg(a,"light"),s=Rg(a,"dark"),c=[`${r}[data-cds-theme='dark']`,`.dark ${r}:not([data-cds-theme='light']):not([data-cds-theme='dark'])`].join(`,
77
+ `),f=uf(`${r}[data-cds-theme='auto']`,s," ");return[uf(r,l),uf(c,s),f?`@media (prefers-color-scheme: dark) {
78
78
  ${f}}
79
79
  `:""].filter(Boolean).join(`
80
- `)},Dg="cds-theme-overrides",xg=new WeakMap,If=new Map,qf=new Map,kg=0,uM=()=>{for(let[a,r]of qf){let l=r.deref();(!l||!l.isConnected)&&(qf.delete(a),If.delete(a))}},cM=a=>{let r=a.getElementById(Dg);if(r instanceof HTMLStyleElement)return r;let l=a.createElement("style");return l.id=Dg,a.head.appendChild(l),l},fM=(a,r)=>{a.classList.add("credify-ui"),r.mode?a.setAttribute("data-cds-theme",r.mode):a.hasAttribute("data-cds-theme")||a.setAttribute("data-cds-theme","light");let l=xg.get(a);l||(kg+=1,l=`cds-scope-${kg}`,xg.set(a,l)),a.setAttribute("data-cds-scope",l),qf.set(l,new WeakRef(a)),uM(),If.set(l,sM(r,`[data-cds-scope='${l}']`)),cM(a.ownerDocument).textContent=[...If.values()].join(`
81
- `)},sv=T.createContext({Link:"a",portalContainer:null}),tR=()=>T.useContext(sv).portalContainer,dM=({children:a,linkComponent:r="a",theme:l,mode:s,className:c,portalContainer:f=null})=>{let p=T.useRef(null),h=s??l?.mode??"light",g=l?JSON.stringify({...l,mode:h}):"",y=T.useRef(l);y.current=l,T.useEffect(()=>{let _=p.current,z=y.current;_&&z&&fM(_,{...z,mode:h})},[g]);let E=T.useMemo(()=>({Link:r,portalContainer:f}),[r,f]);return A.jsx(sv.Provider,{value:E,children:A.jsx("div",{ref:p,className:["credify-ui",c].filter(Boolean).join(" "),"data-cds-theme":h,children:a})})},Pf={},pM=a=>{Pf=a},Ng=!1,uf,mM=()=>uf||(uf=new Promise(a=>{if(!Pf.apiKey||typeof window>"u"){a(!1);return}if(window.google?.maps?.places){a(!0);return}if(Ng){let l=Date.now(),s=()=>{window.google?.maps?.places?a(!0):Date.now()-l>8e3?a(!1):setTimeout(s,100)};s();return}Ng=!0;let r=document.createElement("script");r.async=!0,r.src=`https://maps.googleapis.com/maps/api/js?key=${encodeURIComponent(Pf.apiKey)}&libraries=places&loading=async&callback=credifyPlacesReady`,r.onerror=()=>a(!1),window.credifyPlacesReady=()=>a(!!window.google?.maps?.places),document.head.appendChild(r)}),uf),nR=async()=>{if(!await mM()||!window.google?.maps?.places)return null;let a=new window.google.maps.places.AutocompleteService;return r=>new Promise(l=>{a.getPlacePredictions({input:r,componentRestrictions:{country:"us"}},s=>l((s??[]).slice(0,5)))})},Lg,aR=a=>new Promise(r=>{if(typeof window>"u"||!window.google?.maps?.places){r(null);return}Lg||=document.createElement("div"),new window.google.maps.places.PlacesService(Lg).getDetails({placeId:a,fields:["address_components"]},(l,s)=>{if(s!=="OK"||!l?.address_components){r(null);return}let c=l.address_components.find(f=>f.types.includes("postal_code"));r(c?.short_name??c?.long_name??null)})}),rR=a=>{let r=a.split(",").map(f=>f.trim()).filter(f=>f&&f.toUpperCase()!=="USA"),l=r[0]??"",s=r[r.length-1]??"",c=/^([A-Z]{2})(?:\s+(\d{5}))?$/.exec(s);return{line_1:l,city:(c?r[r.length-2]:r[1])??"",state:c?.[1]??"",postal_code:c?.[2]??""}},hM={Zip:{title:"Let's start with your ZIP code",subtitle:"It tells us which carriers can write a policy where you live.",short:"ZIP"},Email:{title:"Where should we send your quotes?",subtitle:"We email your quotes so you can come back to them later.",short:"Email"},Product:{title:"What's the address?",short:"Address"},Name:{title:"Who are we quoting?",subtitle:"Carriers need the name and date of birth on the policy.",short:"About you"},Home:{title:"Tell us about your home",subtitle:"We've filled in what public records show — correct anything that looks off.",short:"Your home"},HomePolicy:{title:"How much coverage do you need?",subtitle:"We've filled in typical amounts for a home like yours. Change anything — a licensed agent can fine-tune it with you later.",short:"Home coverage"},Vehicle:{title:"Which vehicles are we covering?",subtitle:"Add every vehicle you want on the policy.",short:"Vehicles"},Driver:{title:"Who drives them?",subtitle:"Include everyone in your household who drives these vehicles.",short:"Drivers"},AutoCurrentCarrier:{title:"Your current coverage, then your new one",subtitle:"Prior coverage history is one of the biggest factors in your rate.",short:"Auto coverage"},BundlePolicy:{title:"Your home and auto coverage",subtitle:"Set both sides of the bundle here.",short:"Coverage"},Demographics:{title:"About you, the applicant",subtitle:"These are your own details — the person the policy is issued to.",short:"Applicant info"},Ssn:{title:"Your Social Security number",subtitle:"Optional in most states, and it usually lowers your quote by improving the match.",short:"Applicant SSN"},Phone:{title:"Where can we reach you?",subtitle:"We'll text a code only when you choose a quote to move forward with.",short:"Phone"},SMSVerification:{title:"Verify your phone",subtitle:"Enter the 6-digit code we just texted you.",short:"Verify"}},yM=a=>({title:a.replace(/([a-z])([A-Z])/g,"$1 $2"),short:a.replace(/([a-z])([A-Z])/g,"$1 $2")}),gM={Home:{title:"What's your property address?",subtitle:"Carriers rate your home on its exact location.",short:"Address"},Auto:{title:"Where do you keep your vehicles?",subtitle:"Your garaging address drives most of your auto rate.",short:"Address"},Bundle:{title:"What's your property address?",subtitle:"We use it for both the home policy and where your vehicles are kept.",short:"Address"}},vM={Demographics:"These are your own details — the person the policy is issued to, not another driver.",Ssn:"The applicant's SSN, not a driver's. Optional in most states, and it usually lowers your quote by improving the match."},bM=new Set(["Auto","Bundle"]),SM=(a,r)=>{if(a==="Product"&&r)return gM[r];let l=hM[a]??yM(a),s=vM[a];return s&&r&&bM.has(r)?{...l,subtitle:s}:l},_M=new Set(["SMSVerification","Phone"]),EM={title:"Review your answers",subtitle:"Carriers price from exactly this — a quick check now avoids surprises later.",short:"Review"},CM={title:"Your quotes",short:"Quotes"},AM={Auto:{label:"Auto insurance",heading:"Compare real auto quotes",pageTitle:"Auto insurance quotes"},Home:{label:"Home insurance",heading:"Compare real home quotes",pageTitle:"Home insurance quotes"},Bundle:{label:"Home + auto bundle",heading:"Bundle home and auto",pageTitle:"Home and auto bundle quotes"}},TM=null,uv=()=>TM;const MM="modulepreload",wM=function(a){return"/iframe/"+a},Hg={},fe=function(r,l,s){let c=Promise.resolve();if(l&&l.length>0){let g=function(y){return Promise.all(y.map(E=>Promise.resolve(E).then(_=>({status:"fulfilled",value:_}),_=>({status:"rejected",reason:_}))))};document.getElementsByTagName("link");const p=document.querySelector("meta[property=csp-nonce]"),h=p?.nonce||p?.getAttribute("nonce");c=g(l.map(y=>{if(y=wM(y),y in Hg)return;Hg[y]=!0;const E=y.endsWith(".css"),_=E?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${_}`))return;const z=document.createElement("link");if(z.rel=E?"stylesheet":MM,E||(z.as="script"),z.crossOrigin="",z.href=y,h&&z.setAttribute("nonce",h),document.head.appendChild(z),E)return new Promise((G,q)=>{z.addEventListener("load",G),z.addEventListener("error",()=>q(new Error(`Unable to preload CSS for ${y}`)))})}))}function f(p){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=p,window.dispatchEvent(h),!h.defaultPrevented)throw p}return c.then(p=>{for(const h of p||[])h.status==="rejected"&&f(h.reason);return r().catch(f)})};var Ug=Object.defineProperty,cv=(a,r)=>{let l={};for(var s in a)Ug(l,s,{get:a[s],enumerable:!0});return Ug(l,Symbol.toStringTag,{value:"Module"}),l};/**
80
+ `)},Dg="cds-theme-overrides",xg=new WeakMap,qf=new Map,Pf=new Map,kg=0,dM=()=>{for(let[a,r]of Pf){let l=r.deref();(!l||!l.isConnected)&&(Pf.delete(a),qf.delete(a))}},pM=a=>{let r=a.getElementById(Dg);if(r instanceof HTMLStyleElement)return r;let l=a.createElement("style");return l.id=Dg,a.head.appendChild(l),l},mM=(a,r)=>{a.classList.add("credify-ui"),r.mode?a.setAttribute("data-cds-theme",r.mode):a.hasAttribute("data-cds-theme")||a.setAttribute("data-cds-theme","light");let l=xg.get(a);l||(kg+=1,l=`cds-scope-${kg}`,xg.set(a,l)),a.setAttribute("data-cds-scope",l),Pf.set(l,new WeakRef(a)),dM(),qf.set(l,fM(r,`[data-cds-scope='${l}']`)),pM(a.ownerDocument).textContent=[...qf.values()].join(`
81
+ `)},uv=T.createContext({Link:"a",portalContainer:null}),rR=()=>T.useContext(uv).portalContainer,hM=({children:a,linkComponent:r="a",theme:l,mode:s,className:c,portalContainer:f=null})=>{let p=T.useRef(null),h=s??l?.mode??"light",g=l?JSON.stringify({...l,mode:h}):"",y=T.useRef(l);y.current=l,T.useEffect(()=>{let _=p.current,z=y.current;_&&z&&mM(_,{...z,mode:h})},[g]);let E=T.useMemo(()=>({Link:r,portalContainer:f}),[r,f]);return A.jsx(uv.Provider,{value:E,children:A.jsx("div",{ref:p,className:["credify-ui",c].filter(Boolean).join(" "),"data-cds-theme":h,children:a})})},Gf={},yM=a=>{Gf=a},Ng=!1,cf,gM=()=>cf||(cf=new Promise(a=>{if(!Gf.apiKey||typeof window>"u"){a(!1);return}if(window.google?.maps?.places){a(!0);return}if(Ng){let l=Date.now(),s=()=>{window.google?.maps?.places?a(!0):Date.now()-l>8e3?a(!1):setTimeout(s,100)};s();return}Ng=!0;let r=document.createElement("script");r.async=!0,r.src=`https://maps.googleapis.com/maps/api/js?key=${encodeURIComponent(Gf.apiKey)}&libraries=places&loading=async&callback=credifyPlacesReady`,r.onerror=()=>a(!1),window.credifyPlacesReady=()=>a(!!window.google?.maps?.places),document.head.appendChild(r)}),cf),iR=async()=>{if(!await gM()||!window.google?.maps?.places)return null;let a=new window.google.maps.places.AutocompleteService;return r=>new Promise(l=>{a.getPlacePredictions({input:r,componentRestrictions:{country:"us"}},s=>l((s??[]).slice(0,5)))})},Lg,lR=a=>new Promise(r=>{if(typeof window>"u"||!window.google?.maps?.places){r(null);return}Lg||=document.createElement("div"),new window.google.maps.places.PlacesService(Lg).getDetails({placeId:a,fields:["address_components"]},(l,s)=>{if(s!=="OK"||!l?.address_components){r(null);return}let c=l.address_components.find(f=>f.types.includes("postal_code"));r(c?.short_name??c?.long_name??null)})}),oR=a=>{let r=a.split(",").map(f=>f.trim()).filter(f=>f&&f.toUpperCase()!=="USA"),l=r[0]??"",s=r[r.length-1]??"",c=/^([A-Z]{2})(?:\s+(\d{5}))?$/.exec(s);return{line_1:l,city:(c?r[r.length-2]:r[1])??"",state:c?.[1]??"",postal_code:c?.[2]??""}},vM={Zip:{title:"Let's start with your ZIP code",subtitle:"It tells us which carriers can write a policy where you live.",short:"ZIP"},Email:{title:"Where should we send your quotes?",subtitle:"We email your quotes so you can come back to them later.",short:"Email"},Product:{title:"What's the address?",short:"Address"},Name:{title:"Who are we quoting?",subtitle:"Carriers need the name and date of birth on the policy.",short:"About you"},Home:{title:"Tell us about your home",subtitle:"We've filled in what public records show — correct anything that looks off.",short:"Your home"},HomePolicy:{title:"How much coverage do you need?",subtitle:"We've filled in typical amounts for a home like yours. Change anything — a licensed agent can fine-tune it with you later.",short:"Home coverage"},Vehicle:{title:"Which vehicles are we covering?",subtitle:"Add every vehicle you want on the policy.",short:"Vehicles"},Driver:{title:"Who drives them?",subtitle:"Include everyone in your household who drives these vehicles.",short:"Drivers"},AutoCurrentCarrier:{title:"Your current coverage, then your new one",subtitle:"Prior coverage history is one of the biggest factors in your rate.",short:"Auto coverage"},BundlePolicy:{title:"Your home and auto coverage",subtitle:"Set both sides of the bundle here.",short:"Coverage"},Demographics:{title:"About you, the applicant",subtitle:"These are your own details — the person the policy is issued to.",short:"Applicant info"},Ssn:{title:"Your Social Security number",subtitle:"Optional in most states, and it usually lowers your quote by improving the match.",short:"Applicant SSN"},Phone:{title:"Where can we reach you?",subtitle:"We'll text a code only when you choose a quote to move forward with.",short:"Phone"},SMSVerification:{title:"Verify your phone",subtitle:"Enter the 6-digit code we just texted you.",short:"Verify"}},bM=a=>({title:a.replace(/([a-z])([A-Z])/g,"$1 $2"),short:a.replace(/([a-z])([A-Z])/g,"$1 $2")}),SM={Home:{title:"What's your property address?",subtitle:"Carriers rate your home on its exact location.",short:"Address"},Auto:{title:"Where do you keep your vehicles?",subtitle:"Your garaging address drives most of your auto rate.",short:"Address"},Bundle:{title:"What's your property address?",subtitle:"We use it for both the home policy and where your vehicles are kept.",short:"Address"}},_M={Demographics:"These are your own details — the person the policy is issued to, not another driver.",Ssn:"The applicant's SSN, not a driver's. Optional in most states, and it usually lowers your quote by improving the match."},EM=new Set(["Auto","Bundle"]),CM=(a,r)=>{if(a==="Product"&&r)return SM[r];let l=vM[a]??bM(a),s=_M[a];return s&&r&&EM.has(r)?{...l,subtitle:s}:l},AM=new Set(["SMSVerification","Phone"]),TM={title:"Review your answers",subtitle:"Carriers price from exactly this — a quick check now avoids surprises later.",short:"Review"},MM={title:"Your quotes",short:"Quotes"},wM={Auto:{label:"Auto insurance",heading:"Compare real auto quotes",pageTitle:"Auto insurance quotes"},Home:{label:"Home insurance",heading:"Compare real home quotes",pageTitle:"Home insurance quotes"},Bundle:{label:"Home + auto bundle",heading:"Bundle home and auto",pageTitle:"Home and auto bundle quotes"}},OM=null,cv=()=>OM;const RM="modulepreload",DM=function(a){return"/iframe/"+a},Hg={},fe=function(r,l,s){let c=Promise.resolve();if(l&&l.length>0){let g=function(y){return Promise.all(y.map(E=>Promise.resolve(E).then(_=>({status:"fulfilled",value:_}),_=>({status:"rejected",reason:_}))))};document.getElementsByTagName("link");const p=document.querySelector("meta[property=csp-nonce]"),h=p?.nonce||p?.getAttribute("nonce");c=g(l.map(y=>{if(y=DM(y),y in Hg)return;Hg[y]=!0;const E=y.endsWith(".css"),_=E?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${_}`))return;const z=document.createElement("link");if(z.rel=E?"stylesheet":RM,E||(z.as="script"),z.crossOrigin="",z.href=y,h&&z.setAttribute("nonce",h),document.head.appendChild(z),E)return new Promise((G,q)=>{z.addEventListener("load",G),z.addEventListener("error",()=>q(new Error(`Unable to preload CSS for ${y}`)))})}))}function f(p){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=p,window.dispatchEvent(h),!h.defaultPrevented)throw p}return c.then(p=>{for(const h of p||[])h.status==="rejected"&&f(h.reason);return r().catch(f)})};var Ug=Object.defineProperty,fv=(a,r)=>{let l={};for(var s in a)Ug(l,s,{get:a[s],enumerable:!0});return Ug(l,Symbol.toStringTag,{value:"Module"}),l};/**
82
82
  * @license lucide-react v0.562.0 - ISC
83
83
  *
84
84
  * This source code is licensed under the ISC license.
85
85
  * See the LICENSE file in the root directory of this source tree.
86
- */const OM=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),RM=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,l,s)=>s?s.toUpperCase():l.toLowerCase()),zg=a=>{const r=RM(a);return r.charAt(0).toUpperCase()+r.slice(1)},fv=(...a)=>a.filter((r,l,s)=>!!r&&r.trim()!==""&&s.indexOf(r)===l).join(" ").trim(),DM=a=>{for(const r in a)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};/**
86
+ */const xM=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),kM=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,l,s)=>s?s.toUpperCase():l.toLowerCase()),zg=a=>{const r=kM(a);return r.charAt(0).toUpperCase()+r.slice(1)},dv=(...a)=>a.filter((r,l,s)=>!!r&&r.trim()!==""&&s.indexOf(r)===l).join(" ").trim(),NM=a=>{for(const r in a)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};/**
87
87
  * @license lucide-react v0.562.0 - ISC
88
88
  *
89
89
  * This source code is licensed under the ISC license.
90
90
  * See the LICENSE file in the root directory of this source tree.
91
- */var xM={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
91
+ */var LM={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
92
92
  * @license lucide-react v0.562.0 - ISC
93
93
  *
94
94
  * This source code is licensed under the ISC license.
95
95
  * See the LICENSE file in the root directory of this source tree.
96
- */const kM=T.forwardRef(({color:a="currentColor",size:r=24,strokeWidth:l=2,absoluteStrokeWidth:s,className:c="",children:f,iconNode:p,...h},g)=>T.createElement("svg",{ref:g,...xM,width:r,height:r,stroke:a,strokeWidth:s?Number(l)*24/Number(r):l,className:fv("lucide",c),...!f&&!DM(h)&&{"aria-hidden":"true"},...h},[...p.map(([y,E])=>T.createElement(y,E)),...Array.isArray(f)?f:[f]]));/**
96
+ */const HM=T.forwardRef(({color:a="currentColor",size:r=24,strokeWidth:l=2,absoluteStrokeWidth:s,className:c="",children:f,iconNode:p,...h},g)=>T.createElement("svg",{ref:g,...LM,width:r,height:r,stroke:a,strokeWidth:s?Number(l)*24/Number(r):l,className:dv("lucide",c),...!f&&!NM(h)&&{"aria-hidden":"true"},...h},[...p.map(([y,E])=>T.createElement(y,E)),...Array.isArray(f)?f:[f]]));/**
97
97
  * @license lucide-react v0.562.0 - ISC
98
98
  *
99
99
  * This source code is licensed under the ISC license.
100
100
  * See the LICENSE file in the root directory of this source tree.
101
- */const NM=(a,r)=>{const l=T.forwardRef(({className:s,...c},f)=>T.createElement(kM,{ref:f,iconNode:r,className:fv(`lucide-${OM(zg(a))}`,`lucide-${a}`,s),...c}));return l.displayName=zg(a),l};/**
101
+ */const UM=(a,r)=>{const l=T.forwardRef(({className:s,...c},f)=>T.createElement(HM,{ref:f,iconNode:r,className:dv(`lucide-${xM(zg(a))}`,`lucide-${a}`,s),...c}));return l.displayName=zg(a),l};/**
102
102
  * @license lucide-react v0.562.0 - ISC
103
103
  *
104
104
  * This source code is licensed under the ISC license.
105
105
  * See the LICENSE file in the root directory of this source tree.
106
- */const LM=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],HM=NM("triangle-alert",LM);var dv={auto_prior_carrier_name:{NoPriorInsurance:"No Prior Insurance",TwentyFirstCentury:"21st Century",ACentral:"A.Central",AAA:"AAA",AARP:"AARP",Acadia:"Acadia",Ace:"Ace",Acuity:"Acuity",AdirondackInsExchange:"Adirondack Ins Exchange",Aegis:"Aegis",AIC:"AIC",AIG:"AIG",AlfaAlliance:"Alfa Alliance",Allied:"Allied",Allstate:"Allstate",AmericaFirst:"America First",AmericanCommerce:"American Commerce",AmericanFamily:"American Family",Amica:"Amica",ASILloyds:"ASI Lloyds",AustinMutual:"Austin Mutual",Autoone:"Autoone",AutoOwners:"Auto-Owners",BadgerMutual:"Badger Mutual",Balboa:"Balboa",Bankers:"Bankers",BeaconNational:"Beacon National",BrethernMutual:"Brethern Mutual",BristolWest:"Bristol West",CapitalInsuranceGroup:"Capital Insurance Group",Celina:"Celina",CentralMutualOfOH:"Central Mutual of OH",Chubb:"Chubb",Cincinnati:"Cincinnati",Clearcover:"Clearcover",CNA:"CNA",ColonialPenn:"Colonial Penn",ColoradoCasualty:"Colorado Casualty",Columbia:"Columbia",CommerceWest:"Commerce West",CommonwealthCasualty:"Commonwealth Casualty",Ameriprise:"CONNECT",ConstitutionalCasualty:"Constitutional Casualty",Cornerstone:"Cornerstone",Countrywide:"Countrywide",CSE:"CSE",Cumberland:"Cumberland",Dairyland:"Dairyland",Deerbrook:"Deerbrook",Direct:"Direct",Donegal:"Donegal",Drive:"Drive",Electric:"Electric",EMC:"EMC",Encompass:"Encompass",Erie:"Erie",Esurance:"Esurance",Explorer:"Explorer",FarmBureau:"Farm Bureau",Farmers:"Farmers",FiremansFund:"Firemans Fund",FirstAmerican:"First American",Foremost:"Foremost",Geico:"Geico",GeneralCasualty:"General Casualty",GermantownMutual:"Germantown Mutual",GMAC:"GMAC",Grange:"Grange",GreatAmerican:"Great American",Grinnell:"Grinnell",GuideOne:"Guide One",Hanover:"Hanover",Harbor:"Harbor",Harleysville:"Harleysville",HartfordOMNI:"Hartford OMNI",Hartford:"Hartford",HastingsMutual:"Hastings Mutual",HawkeyeSecurity:"Hawkeye Security",HDI:"HDI",HoraceMann:"Horace Mann",HoustonGeneral:"Houston General",IFA:"IFA",ImperialCasualty:"Imperial Casualty",IndianaFarmers:"Indiana Farmers",Indiana:"Indiana",Infinity:"Infinity",Insurequest:"Insurequest",Integon:"Integon",Integrity:"Integrity",Kemper:"Kemper",LibertyMutual:"Liberty Mutual",LibertyNorthwest:"Liberty Northwest",MainStreetAmerica:"Main Street America",Mapfre:"Mapfre",Mendota:"Mendota",MerchantsGroup:"Merchants Group",Mercury:"Mercury",Metlife:"MetLife",Metropolitan:"Metropolitan",MidContinent:"Mid-Continent",MidwesternIndemnity:"Midwestern Indemnity",Montgomery:"Montgomery",MSA:"MSA",MtWashington:"Mt. Washington",MutualBenefit:"Mutual Benefit",NationalGeneral:"National General",Nationwide:"Nationwide",NewYorkCentralMutual:"New York Central Mutual",NJManufacturers:"NJ Manufacturers",NJSkylands:"NJ Skylands",Northstar:"Northstar",Occidental:"Occidental",OhioCasualty:"Ohio Casualty",OmahaPC:"Omaha P/C",OneBeacon:"One Beacon",OregonMutual:"Oregon Mutual",Palisades:"Palisades",PeerlessMontgomery:"Peerless/Montgomery",Pekin:"Pekin",Pemco:"Pemco",PennNational:"Penn National",PlymouthRock:"Plymouth Rock",PreferredMutual:"Preferred Mutual",Proformance:"Proformance",Progressive:"Progressive",Prudential:"Prudential",Republic:"Republic",RockfordMutual:"Rockford Mutual",RoyalAndSunAlliance:"Royal and Sun Alliance",Safeco:"Safeco",SECURA:"SECURA",Selective:"Selective",SouthernCounty:"Southern County",SouthernMutual:"Southern Mutual",SouthernTrust:"Southern Trust",StPaulTravelers:"St. Paul/Travelers",StandardMutual:"Standard Mutual",StarCasualty:"Star Casualty",StateAuto:"State Auto",StateFarm:"State Farm",Fidelity:"Stillwater",Travelers:"Travelers",TWFG:"TWFG",Unigard:"Unigard",UnitedFireAndCasualty:"United Fire and Casualty",Unitrin:"Unitrin",Universal:"Universal",USAA:"USAA",UticaNational:"Utica National",Victoria:"Victoria",WestBend:"West Bend",WesternNational:"Western National",WesternReserveGroup:"Western Reserve Group",Westfield:"Westfield",WhiteMountains:"White Mountains",WilsonMutual:"Wilson Mutual",Windsor:"Windsor",Zurich:"Zurich",OtherStandard:"Other Standard",OtherNonStandard:"Other Non-Standard"},auto_prior_liability_limit:{Dontknow:"Don't Know",ThirtyToSixty:"30/60",FiftyToHundred:"50/100",HundredToHundred:"100/100",HundredToThreeHundred:"100/300",TwoHundredFiftyToFiveHundred:"250/500",ThreeHundredToThreeHundred:"300/300",FiveHundredToFiveHundred:"500/500",HundredCSL:"100CSL",ThreeHundredCSL:"300CSL",FiveHundredCSL:"500CSL"},auto_reason_for_no_insurance:{ActiveMilitaryDuty:"Active Military Duty",DrivingCompanyCar:"Driving A Company Car",DrivingCarOwnedByRelative:"Driving A Car Owned By A Relative",HasNotOwnedOrOperatedVehicle:"Has Not Owned Or Operated A Vehicle",OwnedVehParkedStoredOffRoadNotDriven:"Owned Veh Parked/Stored Off Road/Not Driven",NonPayment:"Non-Payment",Other:"Other"},residence_type:{OwnHome:"Own Home",OwnCondo:"Own Condo",RentHome:"Rent Home",RentCondo:"Rent Condo",RentApartment:"Rent Apartment",LiveWithParents:"Live With Parents"},home_prior_carrier_name:{TwentyFirstCentury:"21st Century",AAA:"AAA",Acuity:"Acuity",AdirondackInsExchange:"Adirondack Ins Exchange",AIG:"AIG",AlfaAlliance:"Alfa Alliance",AllianzOfAmerica:"Allianz of America",AllianzOfAmericaJefferson:"Allianz of America-Jefferson",Allied:"Allied",Allmerica:"Allmerica",Allstate:"Allstate",AmericaFirst:"America First",AmericanFamily:"American Family",AmericanCommerce:"American Commerce",Amica:"Amica",ASILloyds:"ASI Lloyds",Assurant:"Assurant",AtlasGeneralAgency:"Atlas General Agency",AustinMutual:"Austin Mutual",AutoOwners:"Auto-Owners",BadgerMutual:"Badger Mutual",Balboa:"Balboa",Bamboo:"Bamboo",BeaconNational:"Beacon National",BunkerHill:"Bunker Hill",CapitalInsuranceGroup:"Capital Insurance Group",CentralMutualOfOH:"Central Mutual of OH",ChubbInsurance:"Chubb",Cincinnati:"Cincinnati",Citizens:"Citizens",ColoradoCasualty:"Colorado Casualty",Ameriprise:"CONNECT",CSE:"CSE",Cumberland:"Cumberland",Cypress:"Cypress",Dairyland:"Dairyland",Donegal:"Donegal",Electric:"Electric",EMC:"EMC",Encompass:"Encompass",Erie:"Erie",Esurance:"Esurance",ExcelsiorInsuranceCompany:"Excelsior Insurance Company",FairPlan:"Fair Plan",FarmBureau:"Farm Bureau",Farmers:"Farmers",FiremansFund:"Firemans Fund",FirstAmerican:"First American",ForemostInsuranceCompany:"Foremost Insurance Company",Geico:"Geico",GeneralCasualty:"General Casualty",GermantownMutual:"Germantown Mutual",GMAC:"GMAC",Grange:"Grange",Grinnell:"Grinnell",GuideOne:"Guide One",Hanover:"Hanover",Harleysville:"Harleysville",Hartford:"Hartford",HartfordOMNI:"Hartford OMNI",HawkeyeSecurity:"Hawkeye Security",HippoInsuranceCompany:"Hippo Insurance Company",HomeownersOfAmerica:"Homeowners of America",Homesite:"Homesite",HoraceMann:"Horace Mann",HoustonGeneral:"Houston General",Indiana:"Indiana",IndianaFarmers:"Indiana Farmers",Integrity:"Integrity",Kemper:"Kemper",LibertyMutual:"Liberty Mutual",LibertyNorthwest:"Liberty Northwest",Lloyds:"Lloyds",MainStreetAmerica:"Main Street America",MarkelInsuranceCompany:"Markel Insurance Company",MerchantsGroup:"Merchants Group",Mercury:"Mercury",Metlife:"MetLife",MidwesternIndemnity:"Midwestern Indemnity",Montgomery:"Montgomery",MSA:"MSA",MutualBenefit:"Mutual Benefit",Tower:"National General",NatGenPremier:"NatGen Premier",Nationwide:"Nationwide",NationwideScottsdale:"Nationwide-Scottsdale",NewYorkCentralMutual:"New York Central Mutual",NJSkylands:"NJ Skylands",Northstar:"Northstar",OhioCasualty:"Ohio Casualty",OneBeacon:"One Beacon",OregonMutual:"Oregon Mutual",PeerlessMontgomery:"Peerless/Montgomery",Pekin:"Pekin",PennNational:"Penn National",PlymouthRock:"Plymouth Rock",PreferredMutual:"Preferred Mutual",Prudential:"Prudential",PureHighValue:"Pure High Value",Republic:"Republic",RoyalAndSunAlliance:"Royal and Sun Alliance",Safeco:"Safeco",SECURA:"SECURA",SouthernMutual:"Southern Mutual",SouthernTrust:"Southern Trust",StPaulTravelers:"St. Paul/Travelers",StandardMutual:"Standard Mutual",StateAuto:"State Auto",StateFarm:"State Farm",StateFarmFloridaInsuranceCompany:"State Farm Florida Insurance Company",Fidelity:"Stillwater",SunshineStateInsuranceCompany:"Sunshine State Insurance Company",Travelers:"Travelers",TWFG:"TWFG",Unigard:"Unigard",UnitedFireAndCasualty:"United Fire and Casualty",Unitrin:"Unitrin",Universal:"Universal",USAA:"USAA",UticaNational:"Utica National",Wellington:"Wellington",WestBend:"West Bend",WesternNational:"Western National",WesternReserveGroup:"Western Reserve Group",Westfield:"Westfield",WhiteMountains:"White Mountains",WilsonMutual:"Wilson Mutual",Zurich:"Zurich",Other:"Other",OtherNonStandard:"Other Non-Standard",OtherStandard:"Other Standard"},policy_bi:{Dontknow:"Don't Know",cov30to60:"30/60",cov35to70:"35/70",cov50to100:"50/100",cov100to100:"100/100",cov100to300:"100/300",cov250to500:"250/500",cov300to300:"300/300",cov500to500:"500/500",cov100CSL:"100 CSL",cov300CSL:"300 CSL",cov500CSL:"500 CSL"},policy_um:{Reject:"Reject",cov30to60:"30/60",cov35to70:"35/70",cov50to100:"50/100",cov100to100:"100/100",cov100to300:"100/300",cov250to500:"250/500",cov300to300:"300/300",cov500to500:"500/500",cov100CSL:"100 CSL",cov300CSL:"300 CSL",cov500CSL:"500 CSL"},policy_pd:{Dontknow:"Don't know",cov25000:"25,000",cov50000:"50,000",cov100000:"100,000",cov250000:"250,000",cov500000:"500,000"},policy_mp:{None:"None",cov500:"500",cov1000:"1,000",cov2000:"2,000",cov2500:"2,500",cov5000:"5,000",cov10000:"10,000",cov15000:"15,000",cov25000:"25,000",cov50000:"50,000",cov100000:"100,000"},policy_umpd:{cov25000:"25,000",cov35000:"35,000",cov50000:"50,000",cov100000:"100,000",cov200000:"200,000",cov250000:"250,000",cov300000:"300,000",cov500000:"500,000"},policy_pip:{cov15000:"15,000",cov2500:"2,500",cov5000:"5,000",cov10000:"10,000",cov25000:"25,000",cov50000:"50,000",cov100000:"100,000",cov250000:"250,000",cov75000:"75,000",cov150000:"150,000"},policy_auto_death_indemnity:{NoCoverage:"No Coverage",cov5000:"5,000",cov10000:"10,000"},vehicle_comp_deductible:{NoCoverage:"No Coverage",Zero:"0",Fifty:"50",Hundred:"100",TwoHunderd:"200",TwoHundredfifty:"250",FiveHundred:"500",SeventyFiveHundred:"750",Thousand:"1,000",TwoThousand:"2,000"},vehicle_coll_deductible:{NoCoverage:"No Coverage",Zero:"0",Fifty:"50",Hundred:"100",TwoHunderd:"200",TwoHundredfifty:"250",FiveHundred:"500",SeventyFiveHundred:"750",Thousand:"1,000",TwoThousand:"2,000"},vehicle_towing_and_labor:{NoCoverage:"No Coverage",TwentyFive:"25",Forty:"40",Fifty:"50",SeventyFive:"75",Eighty:"80",Hundred:"100",TwelveHundred:"120",TwoHundred:"200",Unlimited:"Unlimited"},vehicle_transportation_expense:{NoCoverage:"No Coverage",cov20to600:"20/600",cov25to750:"25/750",cov30to900:"30/900",cov40to1200:"40/1,200",cov50to1500:"50/1,500",cov100to3000:"100/3,000"},education_level:{NoHighSchoolDiploma:"No High School Diploma",HighSchoolDiploma:"High School Diploma",SomeCollegeNoDegree:"Some College - No Degree",VocationalTechnicalDegree:"Vocational Technical Degree",AssociatesDegree:"Associates Degree",Bachelors:"Bachelors",Masters:"Masters",Phd:"Phd",MedicalDegree:"Medical Degree",LawDegree:"Law Degree"},industry:{"Agriclt/Forestry/Fish":"Agriculture/Forestry/Fishing","Art/Design/Media":"Art/Design/Media","Banking/Finance/RE":"Banking/Finance/Real Estate","Business/Sales/Offi":"Business/Sales/Office","Construct/EnrgyTrds":"Construction/Energy Trades",Disabled:"Disabled","Education/Library":"Education/Library","Engr/Archt/Sci/Math":"Engineer/Architect/Science/Math","Government/Military":"Government/Military","Homemaker/Houseprsn":"Homemaker/House person","Info Tech":"Information Technology",Insurance:"Insurance","Lgl/Law Enfcmt/Sec":"Legal/Law Enforcement/Security","Maint/Rpr/Hsekeep":"Maintenance/Repair/Housekeeping","Mfg/Production":"Manufacturing/Production","Med/Soc Svcs/Relig":"Medical/Social Services/Religion",Other:"Other","Person.Care/Service":"Personal Care/Service","Rest/Hotel Services":"Restaurant/Hotel Services",Retired:"Retired","Sports/Recreation":"Sports/Recreation",Student:"Student","Trvl/Trnsprt/Warehs":"Travel/Transportation/Warehousing",Unemployed:"Unemployed"},occupation:{"Agr Inspect/Grader":"Agriculture Inspector/Grader",Arborist:"Arborist",Clerk:"Clerk","Equip. Operator":"Equipment Operator","Farm/Ranch Owner":"Farm/Ranch Owner","Farm/Ranch Worker":"Farm/Ranch Worker",Fisherman:"Fisherman",Florist:"Florist","Laborer/Worker":"Laborer/Worker","Landscape/NursryWkr":"Landscaper/Nursery Worker",Landscaper:"Landscaper",Logger:"Logger",Millworker:"Mill worker",Other:"Other",Ranger:"Ranger",Supervisor:"Supervisor","Timber Grader/Scale":"Timber Grader/Scale",Actor:"Actor","Admin Assist":"Administrative Assistant","Announcer/Broadcstr":"Announcer/Broadcaster","Artist/Animator":"Artist/Animator","Author/Writer":"Author/Writer","Choreography/Dancer":"Choreography/Dancer","Composer/Director":"Composer/Director",Curator:"Curator",Designer:"Designer",Editor:"Editor","Journalist/Reporter":"Journalist/Reporter","Musician/Singer":"Musician/Singer",Printer:"Printer",Producer:"Producer","Production Crew":"Production Crew",Projectionist:"Projectionist","Receptionist/Sec":"Receptionist/Secretary","Ticket Sales/Usher":"Ticket Sales/Usher","Accountant/Auditor":"Accountant/Auditor","Analyst/Broker":"Analyst/Broker",Bookkeeper:"Bookkeeper","Branch Manager":"Branch Manager",Collections:"Collections",Consultant:"Consultant",Controller:"Controller","CSR/Teller":"CSR/Teller","Director/Administr":"Director/Administrator",Executive:"Executive","Financial Advisor":"Financial Advisor","Investment Banker":"Investment Banker",Investor:"Investor","Loan/EscrowProcess":"Loan/Escrow Processor","Mgr-Credit/Loan":"Manager-Credit/Loan","Mgr-Portfolio/Prod.":"Manager-Portfolio/Production","Mgr-Property":"Manager-Property",Realtor:"Realtor","SalesAgt/Represent.":"Sales Agent/Representative","Trader,Finan Instru":"Trader, Financial Instruments",Underwriter:"Underwriter","Account Executive":"Account Executive",Buyer:"Buyer","Clerk-Office":"Clerk-Office",CSR:"Customer Service Representative","H.R. Representative":"H.R. Representative","Marketing Researchr":"Marketing Researcher","Messenger/Courier":"Messenger/Courier","Mgr - District":"Manager - District","Mgr - Finance":"Manager - Finance","Mgr-Dept/Store":"Manager - Department/Store","Mgr-General Opers":"Manager - General Operations","Mgr-H.R./PublicRel":"Manager - H.R./Public Relations","Mgr-Mkt/Sales":"Manager - Marketing/Sales","Mgr/Supervisr-Offic":"Manager/Supervisor - Office","Sales-Counter/Rentl":"Sales-Counter/Rental","Sales-Home Based":"Sales-Home Based","Sales-Mfg Rep":"Sales-Manufacture Rep","Sales-Retail/Whlsle":"Sales-Retail/Wholesale","Sales-Route/Vendor":"Sales-Route/Vendor","Boiler Oper/Maker":"Boiler Operator/Maker","Bricklayer/Mason":"Bricklayer/Mason",Carpenter:"Carpenter","Carpet Installer":"Carpet Installer","Concrete Worker":"Concrete Worker","Constrct Proj Mgr":"Construction - Project Manager",Contractor:"Contractor","Crane Operator":"Crane Operator","Electrician/Linesmn":"Electrician/Linesman","ElevatorTech/Instl":"Elevator Technician/Installer","FloorLayer/Finisher":"Floor Layer/Finisher","Foreman/Supervisor":"Foreman/Supervisor",Handyman:"Handyman","Heat/Air Technician":"Heat/Air Technician",Inspector:"Inspector",Metalworker:"Metalworker",Miner:"Miner","Oil/GasDril/RigOpr":"Oil/Gas Driller/Rig Operator",Painter:"Painter","Plstr/Drywall/Stuc":"Plaster/Drywall/Stucco",Plumber:"Plumber",Roofer:"Roofer",Disabled:"Disabled","Audio-Visual Tech.":"Audio-Visual Tech.","Child/DayCare Wrker":"Child/Daycare Worker",Counselor:"Counselor","Grad. Teaching/Asst":"Graduate Teaching Assistant","Instructor-Vocation":"Instructor-Vocation","Librarian/Curator":"Librarian/Curator","Professor, College":"Professor, College",Superintendent:"Superintendent","Teacher, College":"Teacher, College","Teacher, K-12":"Teacher, K-12","Teaching Asst/Aide":"Teaching Assistant/Aide",Tutor:"Tutor",Actuary:"Actuary",Analyst:"Analyst",Architect:"Architect","Clinical Data Coord.":"Clinical Data Coordinator",Drafter:"Drafter",Engineer:"Engineer","Manager-Project":"Manager-Project","Manager-R&D":"Manager-R&D",Mathematician:"Mathematician","Research Prog. Dir.":"Research Program Director",Researcher:"Researcher",Scientist:"Scientist",Sociologist:"Sociologist","Surveyor/Mapmaker":"Surveyor/Mapmaker",Technician:"Technician",Attorney:"Attorney","Chief Executive":"Chief Executive",Commissioner:"Commissioner","Council member":"Council member","Enlst Mil Prsnl E1-4":"Enlisted Military Personnel (E1-4)",Legislator:"Legislator","Mayor/City Manager":"Mayor/City Manager","Meter Reader":"Meter Reader","NCO (E5-9)":"NCO (E5-9)","Officer-Commissiond":"Officer-Commissioned","Officer-Warrant":"Officer-Warrant","Park Ranger":"Park Ranger",Planner:"Planner",Postmaster:"Postmaster",Regulator:"Regulator","US Postal Worker":"US Postal Worker","Homemaker/Houseprsn":"Homemaker/House person","Engineer-Hardware":"Engineer-Hardware","Engineer-Software":"Engineer-Software","Engineer-Systems":"Engineer-Systems","Manager-Systems":"Manager-Systems","Network Admin":"Network Administrator",Programmer:"Programmer","Project Coordinator":"Project Coordinator","Support Technician":"Support Technician","Systems Security":"Systems Security","Technical Writer":"Technical Writer","Web Developer":"Web Developer","Actuarial Clerk":"Actuarial Clerk","Agent/Broker":"Agent/Broker","Claims Adjuster":"Claims Adjuster","Product Manager":"Product Manager","Sales Rep":"Sales Representative","Airport Sec Ofcr":"Airport Security Officer","Animal Control Ofcr":"Animal Control Officer",Bailiff:"Bailiff","Corrections Officer":"Corrections Officer","Court Clrk/Reporter":"Court Clerk/Reporter","Deputy Sheriff":"Deputy Sheriff",Dispatcher:"Dispatcher",Examiner:"Examiner","Fed Agt/Marshall":"Federal Agent/Marshall","Fire Chief":"Fire Chief","Fire Fighter/Supv.":"Fire Fighter/Supervisor","Gaming Ofcr/Invest":"Gaming Officer/Investigator","Highway Patrol Ofcr":"Highway Patrol Officer","Judge/Hearing Ofcr":"Judge/Hearing Officer","Legal Asst./Sec":"Legal Assistant/Secretary","Paralegal/Law Clerk":"Paralegal/Law Clerk","Police Chief":"Police Chief","Police Det/Investgr":"Police Detective/Investigator","Police Offcr/Supvr":"Police Officer/Supervisor","Process Server":"Process Server","Prvt Invest/Detec.":"Private Investigator/Detective","Security Guard":"Security Guard",Sheriff:"Sheriff","Bldg Maint Engineer":"Building Maintenance Engineer","Custodian/Janitor":"Custodian/Janitor",Electrician:"Electrician","Field Service Tech.":"Field Service Technician","Heat/AirCond Repair":"Heat/Air Conditioner Repairman","Housekeeper/Maid":"Housekeeper/Maid","Lndscpe/Grnds Maint":"Landscape/Grounds Maintenance","Maint Mechanic":"Maintenance Mechanic",Mechanic:"Mechanic","Factory Worker":"Factory Worker","Furniture Finisher":"Furniture Finisher",Jeweler:"Jeweler","Machine Operator":"Machine Operator",Packer:"Packer","Plant Manager":"Plant Manager","Printer/Bookbinder":"Printer/Bookbinder","Quality Control":"Quality Control","Refining Operator":"Refining Operator",Shoemaker:"Shoemaker","Tailor/Custom Sewer":"Tailor/Custom Sewer","Textile Worker":"Textile Worker",Upholsterer:"Upholsterer","Assist-Med/Dent/Vet":"Assistant - Medic/Dent/Vet",Clergy:"Clergy","Client Care Worker":"Client Care Worker","Dental Hygenist":"Dental Hygienist",Dentist:"Dentist",Doctor:"Doctor","Hospice Volunteer":"Hospice Volunteer",Mortician:"Mortician","Nurse - C.N.A.":"Nurse - C.N.A.","Nurse - LPN":"Nurse - LPN","Nurse - RN":"Nurse - RN","Nurse Practitioner":"Nurse Practitioner",Optometrist:"Optometrist","Paramedic/EM Tech":"Paramedic/E.M. Technician",Pharmacist:"Pharmacist","Social Worker":"Social Worker","Support Services":"Support Services",Therapist:"Therapist",Veterinarian:"Veterinarian",Caregiver:"Caregiver","Dry Cleaner/Laundry":"Dry Cleaner/Laundry","Hair Stylist/Barber":"Hair Stylist/Barber",Housekeeper:"Housekeeper",Manicurist:"Manicurist",Masseuse:"Masseuse",Nanny:"Nanny","Pet Services":"Pet Services",Baker:"Baker",Bartender:"Bartender",Bellhop:"Bellhop","Bus Person":"Bus Person",Caterer:"Caterer",Chef:"Chef",Concessionaire:"Concessionaire",Concierge:"Concierge","Cook-Rest/Cafeteria":"Cook - Restaurant/Cafeteria","Cook/Wrkr-Fast Food":"Cook/Worker-Fast Food","Delivery Person":"Delivery Person","Desk Clerk":"Desk Clerk",Dishwasher:"Dishwasher","Food Prod/Packing":"Food Production/Packing","Host/Maitre d":"Host/Maitre d",Manager:"Manager",Valet:"Valet","Waiter/Waitress":"Waiter/Waitress","Wine Steward":"Wine Steward",Retired:"Retired","Activity/Recre.Asst":"Activity/Recreational Assistant",Agent:"Agent",Athlete:"Athlete","CampCounselor/Lead":"Camp Counselor/Lead",Coach:"Coach","Director, Program":"Director, Program","Event Mgr/Promoter":"Event Manager/Promoter","Life Guard":"Life Guard","Mgr - Fitness Club":"Manager - Fitness Club","Sales-Tkt/Mmbrshp":"Sales-Ticket/Membership","SportsBrdcstr/Journ":"Sports Broadcaster/Journalist","Trainer/Instructor":"Trainer/Instructor","Umpire/Referee":"Umpire/Referee","Graduate Student":"Graduate Student","High school":"High school",Undergraduate:"Undergraduate","Air Traffic Control":"Air Traffic Control","Airport Ops Crew":"Airport Operations Crew","Bellhop/Porter":"Bellhop/Porter","Crane Loader/Oper":"Crane Loader/Operator","Driver-Bus/Strcar":"Driver - Bus/Streetcar","Driver-Taxi/Limo":"Driver-Taxi/Limo","Driver-Truck/Delvry":"Driver-Truck/Delivery","Flight Attendant":"Flight Attendant","Forklift Operator":"Forklift Operator",Laborer:"Laborer",Longshoreman:"Longshoreman","Mate/Sailor":"Mate/Sailor","Mgr Warehse/Dist":"Manager - Warehouse/District","Parking Lot Attend":"Parking Lot Attendant","Pilot/Capt/Eng":"Pilot/Captain/Engineer","Railroad Worker":"Railroad Worker","Shipping/RecClk":"Shipping/Receiving Clerk","Subway/LgtRail Oper":"Subway/Light Rail Operator","Ticket Agent":"Ticket Agent","Transportation Spec":"Transportation Specialist",Unemployed:"Unemployed"},usage:{Business:"Business",Pleasure:"Pleasure",Farming:"Farming",To_FromWork:"To/From Work",To_FromSchool:"To/From School"},architectural_style:{TwoFamilyHome:"2-Family Home",American4square:"American 4-square",Basic:"Basic",BiLevel:"Bi-Level",Bungalow:"Bungalow",CapeCod:"Cape Cod",Colonial:"Colonial",ColonialSpanish:"Colonial - Spanish",CompletelyCustom:"Completely Custom",Contemporary:"Contemporary",ContractorModern:"Contractor Modern",Farmhouse:"Farmhouse",Folk:"Folk",Log:"Log",Mediterranean:"Mediterranean",Ranch:"Ranch",TriLevel:"Tri-Level",Tudor:"Tudor",Vernacular:"Vernacular",Victorian:"Victorian"},dwelling_type:{SingleFamilyHouse:"Single Family House",Townhouse:"Townhouse",Rowhouse:"Rowhouse",Duplex:"Duplex/Two Family Unit",Triplex:"Tri-plex/Three Family Unit",Fourplex:"Four-plex/Four Family Unit",MultFamily:"Multi-family (more than four units)"},occupancy_type:{OwnerPrimary:"Owner Primary",OwnerSecondary:"Owner Secondary",OwnerSeasonal:"Owner Seasonal"},construction_quality:{Basic:"Basic",Modest:"Modest",Average:"Average",AboveAverage:"Above Average",Expensive:"Expensive",VeryExpensive:"Very Expensive",Opulent:"Opulent"},construction_type:{Frame:"Frame",Masonry:"Masonry",MasonryVeneer:"Masonry Veneer",Log:"Log",Asbestos:"Asbestos",EFIS:"EFIS",HardiPlank:"HardiPlank",SuperiorFireResistive:"Superior Fire Resistive",SuperiorMasonryNonCombustible:"Superior Masonry Non Combustible",SuperiorNonCombustible:"Superior Non Combustible"},foundation_type:{Slab:"Slab",Basement:"Basement",CrawlSpace:"Crawl Space",PartialBasement:"Partial Basement",PiersPostsPiles:"Piers / Posts / Piles",Open:"Open"},located_over_water:{NotOverWater:"No",PartiallyOverWater:"Partially Over Water",FullyOrEntirelyOverWater:"Fully or Entirely Over Water"},number_of_stories:{One:"1",OneHalf:"1.5",Two:"2",TwoHalf:"2.5",Three:"3",ThreeHalf:"3.5",Four:"4",BiLevel:"Bi-Level",TriLevel:"Tri-Level"},exterior_wall_type:{VinylSiding:"Vinyl Siding",WoodFraming:"Wood Framing",BrickVeneer:"Brick Veneer",Stucco:"Stucco",AdobeBlock:"Adobe Block",AluminumSiding:"Aluminum Siding",CementFiberShingles:"Cement Fiber Shingles",Clapboard:"Clapboard",ConcreteBlock:"Concrete Block",HardboardSiding:"Hardboard Siding",InsulatedConcreteForms:"Insulated Concrete Forms",LightGaugeSteelFraming:"Light Gauge Steel Framing",LogsSolid:"Logs (Solid)",MasoniteSiding:"Masonite Siding",PreEngineeredMetal:"Pre-Engineered Metal",SolidBrickConstruction:"Solid Brick Construction",SolidConcrete:"Solid Concrete",StandardPoleFramed:"Standard Pole Framed",Stone:"Stone",StructuralInsulatedPanels:"Structural Insulated Panels",TimberFraming:"Timber Framing"},roof_material_type:{ASPHALT_SHINGLES:"Asphalt Shingles",ARCHITECTURAL_SHINGLES:"Architectural Shingles",METAL:"Metal",TILE_CONCRETE:"Tile (Concrete)",ASBESTOS:"Asbestos",BUILT_UP:"Built-Up",COMPOSITION:"Composition",CONCRETE:"Concrete",COPPER:"Copper",CORRUGATED_STEEL:"Corrugated Steel",FIBERGLASS:"Fiberglass",FOAM:"Foam",GRAVEL:"Gravel",MEMBRANE:"Membrane",MINERAL_FIBER_SHAKE:"Mineral Fiber Shake",PLASTIC:"Plastic",ROCK:"Rock",ROLLED_PAPER:"Rolled Paper",RUBBER:"Rubber",SLATE:"Slate",TAR:"Tar",TAR_GRAVEL:"Tar and Gravel",TILE_CLAY:"Tile (Clay)",TILE_MISSION:"Tile (Mission)",TILE_SPANISH:"Tile (Spanish)",TIN:"Tin",WOOD_FIBERGLASS_SHINGLES:"Wood/Fiberglass Shingles",WOOD_SHAKE:"Wood Shake",WOOD_SHINGLES:"Wood Shingles",OTHER:"Other"},roof_shape:{B_Gable:"Gable",C_Hip:"Hip",A_Flat:"Flat",D_Other:"Other"},roof_updated_type:{NotUpdated:"Not Updated",PartialUpdate:"Partial Update",CompleteUpdate:"Complete Update"},heating_type:{Electric:"Electric",Gas:"Gas",GasForcedAir:"Gas - Forced Air",GasHotWater:"Gas - Hot Water",Oil:"Oil",OilForcedAir:"Oil - Forced Air",OilHotWater:"Oil - Hot Water",SolidFuel:"Solid Fuel",HeatPump:"Heat Pump",Other:"Other"},oil_tank_location:{AboveGround:"Above Ground",BelowGround:"Below Ground"},basement_type:{Basement:"Below Grade Basement",SplitLevelBasement:"Split Level Basement",WalkoutBasement:"Walkout Basement"},plumbing_type:{EntirelyCopper:"Entirely Copper",EntirelyGalvanized:"Entirely Galvanized",EntirelyPEX:"Entirely PEX",EntirelyPVC:"Entirely PVC",Polybutylene:"Polybutylene"},personal_liability:{TwentyFive:"$25,000",Fifty:"$50,000",OneHundred:"$100,000",TwoHundred:"$200,000",ThreeHundred:"$300,000",FourHundred:"$400,000",FiveHundred:"$500,000"},dwelling_medical_payments:{cov1000:"$1,000",cov2000:"$2,000",cov3000:"$3,000",cov4000:"$4,000",cov5000:"$5,000"},all_perils_deductible:{TwoHundredFifty:"$250",FiveHundred:"$500",SevenHundredFifty:"$750",OneThousand:"$1,000",OneThousandFiveHundred:"$1,500",TwoThousand:"$2,000",TwoThousandFiveHundred:"$2,500",ThreeThousands:"$3,000",FourThousands:"$4,000",FiveThousands:"$5,000",OnePercent:"1%",TwoPercent:"2%",ThreePercent:"3%",FourPercent:"4%",FivePercent:"5%"},windstorm_deductible:{None:"None",OnePercent:"1%",TwoPercent:"2%",FivePercent:"5%",TenPercent:"10%"},distance_from_fire_hydrant_ft:{_0_500ft:"0-500 Feet",_501_1000ft:"501-1000 Feet",_1001ftAndGreater:"1001 Feet And Greater"},distance_from_fire_station_miles:{Lessthan5miles:"Less Than 5 Miles",Over5miles:"Over 5 Miles",NotAvailable:"Not Available"},employment_industry:{"Agriclt/Forestry/Fish":"Agriculture/Forestry/Fishing","Art/Design/Media":"Art/Design/Media","Banking/Finance/RE":"Banking/Finance/Real Estate","Business/Sales/Offi":"Business/Sales/Office","Construct/EnrgyTrds":"Construction/Energy Trades",Disabled:"Disabled","Education/Library":"Education/Library","Engr/Archt/Sci/Math":"Engineer/Architect/Science/Math","Government/Military":"Government/Military","Homemaker/Houseprsn":"Homemaker/House Person","Info Tech":"Information Technology",Insurance:"Insurance","Lgl/Law Enfcmt/Sec":"Legal/Law Enforcement/Security","Maint/Rpr/Hsekeep":"Maintenance/Repair/Housekeeping","Mfg/Production":"Manufacturing/Production","Med/Soc Svcs/Relig":"Medical/Social Services/Religion",Other:"Other","Person.Care/Service":"Personal Care/Service","Rest/Hotel Services":"Restaurant/Hotel Services",Retired:"Retired","Sports/Recreation":"Sports/Recreation",Student:"Student","Trvl/Trnsprt/Warehs":"Travel/Transportation/Warehousing",Unemployed:"Unemployed"},marital_status:{Single:"Single",Married:"Married",Seperated:"Separated",Divorced:"Divorced",Widowed:"Widowed",DomesticPartner:"Domestic Partner"},gender:{Female:"Female",Male:"Male"},co_applicant_employment_industry:{"Agriclt/Forestry/Fish":"Agriculture/Forestry/Fishing","Art/Design/Media":"Art/Design/Media","Banking/Finance/RE":"Banking/Finance/Real Estate","Business/Sales/Offi":"Business/Sales/Office","Construct/EnrgyTrds":"Construction/Energy Trades",Disabled:"Disabled","Education/Library":"Education/Library","Engr/Archt/Sci/Math":"Engineer/Architect/Science/Math","Government/Military":"Government/Military","Homemaker/Houseprsn":"Homemaker/House Person","Info Tech":"Information Technology",Insurance:"Insurance","Lgl/Law Enfcmt/Sec":"Legal/Law Enforcement/Security","Maint/Rpr/Hsekeep":"Maintenance/Repair/Housekeeping","Mfg/Production":"Manufacturing/Production","Med/Soc Svcs/Relig":"Medical/Social Services/Religion",Other:"Other","Person.Care/Service":"Personal Care/Service","Rest/Hotel Services":"Restaurant/Hotel Services",Retired:"Retired","Sports/Recreation":"Sports/Recreation",Student:"Student","Trvl/Trnsprt/Warehs":"Travel/Transportation/Warehousing",Unemployed:"Unemployed"},co_applicant_marital_status:{Single:"Single",Married:"Married",Seperated:"Separated",Divorced:"Divorced",Widowed:"Widowed",DomesticPartner:"Domestic Partner"},co_applicant_gender:{Female:"Female",Male:"Male"},description:{CONTAMINATION:"Contamination",CREDITCARD:"Credit Card",DAMAGETOPROPERTYOFOTHERS:"Damage To Property Of Others",DOGBITELIABILITY:"Dog Bite",EARTHMOVEMENT:"Earth Movement",EARTHQUAKE:"Earthquake",EXTENDEDCOVERAGEPERILS:"Extended Coverage Perils",FIRE:"Fire",FLOOD:"Flood",FREEZINGWATERINCLUDINGBURSTPIPES:"Freezing Water",HAIL:"Hail",HURRICANE:"Hurricane",LIABILITYALLOTHER:"Liability",LIGHTNING:"Lightning",MEDICALPAYMENTS:"Medical Payments",MYSTERIOUSDISAPPEARANCE:"Mysterious Disappearance",MYSTERIOUSDISAPPEARANCESCHEDULEDPROPERTY:"Mysterious Disappearance - Scheduled Property",PHYSICALDAMAGEALLOTHER:"Physical Damage",SINKHOLE:"Sinkhole",SLIPFALLLIABILITY:"Slip/Fall",SMOKE:"Smoke",THEFTSCHEDULEDPROPERTY:"Theft - Scheduled Property",THEFTBURGLARY:"Theft - Burglary",TORNADO:"Tornado",VANDALISMMALICIOUSMISCHIEF:"Vandalism",WATERDAMAGE:"Water Damage",WIND:"Wind",WORKERSCOMPENSATION:"Workers Compensation",ALLOTHER:"All Other"},tort_threshold:{Verbal_Threshold:"Limited right to sue",Zero_Threshold:"Unlimited right to sue"},pip_coverage_type:{Primary:"Primary",Secondary:"Secondary"},extended_medical:{cov1000:"$1,000",cov10000:"$10,000"},additional_pip:{cov100_10400_LIMITED:"100 - 10,400/ LIMITED",cov125_13000_LIMITED:"125 - 13,000/ LIMITED",cov175_18200_LIMITED:"175 - 18,200/ LIMITED",cov250_26000_LIMITED:"250 - 26,000/ LIMITED",cov400_41600_LIMITED:"400 - 41,600/ LIMITED",cov500_52000_LIMITED:"500 - 52,000/ LIMITED",cov600_62400_LIMITED:"600 - 62,400/ LIMITED",cov700_72800_LIMITED:"700 - 72,800/ LIMITED",cov100_UNLIMITED:"100/UNLIMITED",cov125_UNLIMITED:"125/UNLIMITED",cov175_UNLIMITED:"175/UNLIMITED",cov250_UNLIMITED:"250/UNLIMITED",cov400_UNLIMITED:"400/UNLIMITED",cov500_UNLIMITED:"500/UNLIMITED",cov600_UNLIMITED:"600/UNLIMITED",cov700_UNLIMITED:"700/UNLIMITED"},policy_pip_deductible:{cov250:"$250",cov500:"$500",cov1000:"$1,000",cov2000:"$2,000",cov2500:"$2,500"}},UM={None:"None","30000/60000/25000":"30/60k","30000/60000/30000":"30/60k","50000/100000/30000":"50/100k","50000/100000/50000":"50/100k","100000/300000/50000":"100/300k","100000/300000/100000":"100/300k","250000/500000/100000":"250/500k","250000/500000/250000":"250/500k","300000/500000/250000":"300/500k","300000/500000/300000":"300/500k","500000/500000/300000":"500k CSL","500000/500000/500000":"500k CSL","500000/1000000/300000":"500k/1M","500000/1000000/500000":"500k/1M"},zM={"Agriclt/Forestry/Fish":["Agr Inspect/Grader","Arborist","Clerk","Equip. Operator","Farm/Ranch Owner","Farm/Ranch Worker","Fisherman","Florist","Laborer/Worker","Landscape/NursryWkr","Landscaper","Logger","Millworker","Other","Ranger","Supervisor","Timber Grader/Scale"],"Art/Design/Media":["Actor","Admin Assist","Announcer/Broadcstr","Artist/Animator","Author/Writer","Choreography/Dancer","Clerk","Composer/Director","Curator","Designer","Editor","Journalist/Reporter","Musician/Singer","Other","Printer","Producer","Production Crew","Projectionist","Receptionist/Sec","Ticket Sales/Usher"],"Banking/Finance/RE":["Accountant/Auditor","Admin Assist","Analyst/Broker","Bookkeeper","Branch Manager","Clerk","Collections","Consultant","Controller","CSR/Teller","Director/Administr","Executive","Financial Advisor","Investment Banker","Investor","Loan/EscrowProcess","Mgr-Credit/Loan","Mgr-Portfolio/Prod.","Mgr-Property","Other","Realtor","Receptionist/Sec","SalesAgt/Represent.","Trader,Finan Instru","Underwriter"],"Business/Sales/Offi":["Account Executive","Admin Assist","Buyer","Clerk-Office","Consultant","CSR","Director/Administr","Executive","H.R. Representative","Marketing Researchr","Messenger/Courier","Mgr - District","Mgr - Finance","Mgr-Dept/Store","Mgr-General Opers","Mgr-H.R./PublicRel","Mgr-Mkt/Sales","Mgr/Supervisr-Offic","Other","Receptionist/Sec","Sales-Counter/Rentl","Sales-Home Based","Sales-Mfg Rep","Sales-Retail/Whlsle","Sales-Route/Vendor"],"Construct/EnrgyTrds":["Boiler Oper/Maker","Bricklayer/Mason","Carpenter","Carpet Installer","Concrete Worker","Constrct Proj Mgr","Contractor","Crane Operator","Electrician/Linesmn","ElevatorTech/Instl","Equip. Operator","FloorLayer/Finisher","Foreman/Supervisor","Handyman","Heat/Air Technician","Inspector","Laborer/Worker","Metalworker","Miner","Oil/GasDril/RigOpr","Other","Painter","Plstr/Drywall/Stuc","Plumber","Roofer"],Disabled:["Disabled"],"Education/Library":["Admin Assist","Audio-Visual Tech.","Child/DayCare Wrker","Clerk","Counselor","Grad. Teaching/Asst","Instructor-Vocation","Librarian/Curator","Other","Professor, College","Receptionist/Sec","Superintendent","Teacher, College","Teacher, K-12","Teaching Asst/Aide","Tutor"],"Engr/Archt/Sci/Math":["Actuary","Admin Assist","Analyst","Architect","Clerk","Clinical Data Coord.","Drafter","Engineer","Manager-Project","Manager-R&D","Mathematician","Other","Receptionist/Sec","Research Prog. Dir.","Researcher","Scientist","Sociologist","Surveyor/Mapmaker","Technician"],"Government/Military":["Accountant/Auditor","Admin Assist","Analyst","Attorney","Chief Executive","Clerk","Commissioner","Council member","Director/Administr","Enlst Mil Prsnl E1-4","Legislator","Mayor/City Manager","Meter Reader","NCO (E5-9)","Officer-Commissiond","Officer-Warrant","Other","Park Ranger","Planner","Postmaster","Receptionist/Sec","Regulator","US Postal Worker"],"Homemaker/Houseprsn":["Homemaker/Houseprsn"],"Info Tech":["Admin Assist","Analyst","Clerk","Director/Administr","Engineer-Hardware","Engineer-Software","Engineer-Systems","Executive","Manager-Systems","Network Admin","Other","Programmer","Project Coordinator","Receptionist/Sec","Support Technician","Systems Security","Technical Writer","Web Developer"],Insurance:["Accountant/Auditor","Actuarial Clerk","Actuary","Admin Assist","Agent/Broker","Analyst","Attorney","Claims Adjuster","Clerk","Commissioner","CSR","Director/Administr","Executive","Other","Product Manager","Receptionist/Sec","Sales Rep","Underwriter"],"Lgl/Law Enfcmt/Sec":["Airport Sec Ofcr","Animal Control Ofcr","Attorney","Bailiff","Corrections Officer","Court Clrk/Reporter","Deputy Sheriff","Dispatcher","Examiner","Fed Agt/Marshall","Fire Chief","Fire Fighter/Supv.","Gaming Ofcr/Invest","Highway Patrol Ofcr","Judge/Hearing Ofcr","Legal Asst./Sec","Other","Paralegal/Law Clerk","Police Chief","Police Det/Investgr","Police Offcr/Supvr","Process Server","Prvt Invest/Detec.","Security Guard","Sheriff"],"Maint/Rpr/Hsekeep":["Bldg Maint Engineer","Custodian/Janitor","Electrician","Field Service Tech.","Handyman","Heat/AirCond Repair","Housekeeper/Maid","Lndscpe/Grnds Maint","Maint Mechanic","Mechanic","Other"],"Mfg/Production":["Admin Assist","Clerk","Factory Worker","Foreman/Supervisor","Furniture Finisher","Inspector","Jeweler","Machine Operator","Other","Packer","Plant Manager","Printer/Bookbinder","Quality Control","Receptionist/Sec","Refining Operator","Shoemaker","Tailor/Custom Sewer","Textile Worker","Upholsterer"],"Med/Soc Svcs/Relig":["Admin Assist","Assist-Med/Dent/Vet","Clergy","Clerk","Client Care Worker","Dental Hygenist","Dentist","Doctor","Hospice Volunteer","Mortician","Nurse - C.N.A.","Nurse - LPN","Nurse - RN","Nurse Practitioner","Optometrist","Other","Paramedic/EM Tech","Pharmacist","Receptionist/Sec","Social Worker","Support Services","Technician","Therapist","Veterinarian"],Other:["Other"],"Person.Care/Service":["Caregiver","Dry Cleaner/Laundry","Hair Stylist/Barber","Housekeeper","Manicurist","Masseuse","Nanny","Other","Pet Services","Receptionist/Sec"],"Rest/Hotel Services":["Baker","Bartender","Bellhop","Bus Person","Caterer","Chef","Concessionaire","Concierge","Cook-Rest/Cafeteria","Cook/Wrkr-Fast Food","Delivery Person","Desk Clerk","Dishwasher","Food Prod/Packing","Host/Maitre d","Housekeeper/Maid","Manager","Other","Valet","Waiter/Waitress","Wine Steward"],Retired:["Retired"],"Sports/Recreation":["Activity/Recre.Asst","Admin Assist","Agent","Athlete","CampCounselor/Lead","Clerk","Coach","Concessionaire","Director, Program","Event Mgr/Promoter","Life Guard","Mgr - Fitness Club","Other","Park Ranger","Receptionist/Sec","Sales-Tkt/Mmbrshp","SportsBrdcstr/Journ","Trainer/Instructor","Umpire/Referee"],Student:["Graduate Student","High school","Other","Undergraduate"],"Trvl/Trnsprt/Warehs":["Admin Assist","Air Traffic Control","Airport Ops Crew","Bellhop/Porter","Clerk","Crane Loader/Oper","Dispatcher","Driver-Bus/Strcar","Driver-Taxi/Limo","Driver-Truck/Delvry","Flight Attendant","Forklift Operator","Laborer","Longshoreman","Mate/Sailor","Mgr Warehse/Dist","Other","Parking Lot Attend","Pilot/Capt/Eng","Railroad Worker","Receptionist/Sec","Shipping/RecClk","Subway/LgtRail Oper","Ticket Agent","Transportation Spec"],Unemployed:["Unemployed"]},pv={"Agr Inspect/Grader":"Agriculture Inspector/Grader",Arborist:"Arborist",Clerk:"Clerk","Equip. Operator":"Equipment Operator","Farm/Ranch Owner":"Farm/Ranch Owner","Farm/Ranch Worker":"Farm/Ranch Worker",Fisherman:"Fisherman",Florist:"Florist","Laborer/Worker":"Laborer/Worker","Landscape/NursryWkr":"Landscaper/Nursery Worker",Landscaper:"Landscaper",Logger:"Logger",Millworker:"Mill worker",Other:"Other",Ranger:"Ranger",Supervisor:"Supervisor","Timber Grader/Scale":"Timber Grader/Scale",Actor:"Actor","Admin Assist":"Administrative Assistant","Announcer/Broadcstr":"Announcer/Broadcaster","Artist/Animator":"Artist/Animator","Author/Writer":"Author/Writer","Choreography/Dancer":"Choreography/Dancer","Composer/Director":"Composer/Director",Curator:"Curator",Designer:"Designer",Editor:"Editor","Journalist/Reporter":"Journalist/Reporter","Musician/Singer":"Musician/Singer",Printer:"Printer",Producer:"Producer","Production Crew":"Production Crew",Projectionist:"Projectionist","Receptionist/Sec":"Receptionist/Secretary","Ticket Sales/Usher":"Ticket Sales/Usher","Accountant/Auditor":"Accountant/Auditor","Analyst/Broker":"Analyst/Broker",Bookkeeper:"Bookkeeper","Branch Manager":"Branch Manager",Collections:"Collections",Consultant:"Consultant",Controller:"Controller","CSR/Teller":"CSR/Teller","Director/Administr":"Director/Administrator",Executive:"Executive","Financial Advisor":"Financial Advisor","Investment Banker":"Investment Banker",Investor:"Investor","Loan/EscrowProcess":"Loan/Escrow Processor","Mgr-Credit/Loan":"Manager-Credit/Loan","Mgr-Portfolio/Prod.":"Manager-Portfolio/Production","Mgr-Property":"Manager-Property",Realtor:"Realtor","SalesAgt/Represent.":"Sales Agent/Representative","Trader,Finan Instru":"Trader, Financial Instruments",Underwriter:"Underwriter","Account Executive":"Account Executive",Buyer:"Buyer","Clerk-Office":"Clerk-Office",CSR:"Customer Service Representative","H.R. Representative":"H.R. Representative","Marketing Researchr":"Marketing Researcher","Messenger/Courier":"Messenger/Courier","Mgr - District":"Manager - District","Mgr - Finance":"Manager - Finance","Mgr-Dept/Store":"Manager - Department/Store","Mgr-General Opers":"Manager - General Operations","Mgr-H.R./PublicRel":"Manager - H.R./Public Relations","Mgr-Mkt/Sales":"Manager - Marketing/Sales","Mgr/Supervisr-Offic":"Manager/Supervisor - Office","Sales-Counter/Rentl":"Sales-Counter/Rental","Sales-Home Based":"Sales-Home Based","Sales-Mfg Rep":"Sales-Manufacture Rep","Sales-Retail/Whlsle":"Sales-Retail/Wholesale","Sales-Route/Vendor":"Sales-Route/Vendor","Boiler Oper/Maker":"Boiler Operator/Maker","Bricklayer/Mason":"Bricklayer/Mason",Carpenter:"Carpenter","Carpet Installer":"Carpet Installer","Concrete Worker":"Concrete Worker","Constrct Proj Mgr":"Construction - Project Manager",Contractor:"Contractor","Crane Operator":"Crane Operator","Electrician/Linesmn":"Electrician/Linesman","ElevatorTech/Instl":"Elevator Technician/Installer","FloorLayer/Finisher":"Floor Layer/Finisher","Foreman/Supervisor":"Foreman/Supervisor",Handyman:"Handyman","Heat/Air Technician":"Heat/Air Technician",Inspector:"Inspector",Metalworker:"Metalworker",Miner:"Miner","Oil/GasDril/RigOpr":"Oil/Gas Driller/Rig Operator",Painter:"Painter","Plstr/Drywall/Stuc":"Plaster/Drywall/Stucco",Plumber:"Plumber",Roofer:"Roofer",Disabled:"Disabled","Audio-Visual Tech.":"Audio-Visual Tech.","Child/DayCare Wrker":"Child/Daycare Worker",Counselor:"Counselor","Grad. Teaching/Asst":"Graduate Teaching Assistant","Instructor-Vocation":"Instructor-Vocation","Librarian/Curator":"Librarian/Curator","Professor, College":"Professor, College",Superintendent:"Superintendent","Teacher, College":"Teacher, College","Teacher, K-12":"Teacher, K-12","Teaching Asst/Aide":"Teaching Assistant/Aide",Tutor:"Tutor",Actuary:"Actuary",Analyst:"Analyst",Architect:"Architect","Clinical Data Coord.":"Clinical Data Coordinator",Drafter:"Drafter",Engineer:"Engineer","Manager-Project":"Manager-Project","Manager-R&D":"Manager-R&D",Mathematician:"Mathematician","Research Prog. Dir.":"Research Program Director",Researcher:"Researcher",Scientist:"Scientist",Sociologist:"Sociologist","Surveyor/Mapmaker":"Surveyor/Mapmaker",Technician:"Technician",Attorney:"Attorney","Chief Executive":"Chief Executive",Commissioner:"Commissioner","Council member":"Council member","Enlst Mil Prsnl E1-4":"Enlisted Military Personnel (E1-4)",Legislator:"Legislator","Mayor/City Manager":"Mayor/City Manager","Meter Reader":"Meter Reader","NCO (E5-9)":"NCO (E5-9)","Officer-Commissiond":"Officer-Commissioned","Officer-Warrant":"Officer-Warrant","Park Ranger":"Park Ranger",Planner:"Planner",Postmaster:"Postmaster",Regulator:"Regulator","US Postal Worker":"US Postal Worker","Homemaker/Houseprsn":"Homemaker/House person","Engineer-Hardware":"Engineer-Hardware","Engineer-Software":"Engineer-Software","Engineer-Systems":"Engineer-Systems","Manager-Systems":"Manager-Systems","Network Admin":"Network Administrator",Programmer:"Programmer","Project Coordinator":"Project Coordinator","Support Technician":"Support Technician","Systems Security":"Systems Security","Technical Writer":"Technical Writer","Web Developer":"Web Developer","Actuarial Clerk":"Actuarial Clerk","Agent/Broker":"Agent/Broker","Claims Adjuster":"Claims Adjuster","Product Manager":"Product Manager","Sales Rep":"Sales Representative","Airport Sec Ofcr":"Airport Security Officer","Animal Control Ofcr":"Animal Control Officer",Bailiff:"Bailiff","Corrections Officer":"Corrections Officer","Court Clrk/Reporter":"Court Clerk/Reporter","Deputy Sheriff":"Deputy Sheriff",Dispatcher:"Dispatcher",Examiner:"Examiner","Fed Agt/Marshall":"Federal Agent/Marshall","Fire Chief":"Fire Chief","Fire Fighter/Supv.":"Fire Fighter/Supervisor","Gaming Ofcr/Invest":"Gaming Officer/Investigator","Highway Patrol Ofcr":"Highway Patrol Officer","Judge/Hearing Ofcr":"Judge/Hearing Officer","Legal Asst./Sec":"Legal Assistant/Secretary","Paralegal/Law Clerk":"Paralegal/Law Clerk","Police Chief":"Police Chief","Police Det/Investgr":"Police Detective/Investigator","Police Offcr/Supvr":"Police Officer/Supervisor","Process Server":"Process Server","Prvt Invest/Detec.":"Private Investigator/Detective","Security Guard":"Security Guard",Sheriff:"Sheriff","Bldg Maint Engineer":"Building Maintenance Engineer","Custodian/Janitor":"Custodian/Janitor",Electrician:"Electrician","Field Service Tech.":"Field Service Technician","Heat/AirCond Repair":"Heat/Air Conditioner Repairman","Housekeeper/Maid":"Housekeeper/Maid","Lndscpe/Grnds Maint":"Landscape/Grounds Maintenance","Maint Mechanic":"Maintenance Mechanic",Mechanic:"Mechanic","Factory Worker":"Factory Worker","Furniture Finisher":"Furniture Finisher",Jeweler:"Jeweler","Machine Operator":"Machine Operator",Packer:"Packer","Plant Manager":"Plant Manager","Printer/Bookbinder":"Printer/Bookbinder","Quality Control":"Quality Control","Refining Operator":"Refining Operator",Shoemaker:"Shoemaker","Tailor/Custom Sewer":"Tailor/Custom Sewer","Textile Worker":"Textile Worker",Upholsterer:"Upholsterer","Assist-Med/Dent/Vet":"Assistant - Medic/Dent/Vet",Clergy:"Clergy","Client Care Worker":"Client Care Worker","Dental Hygenist":"Dental Hygienist",Dentist:"Dentist",Doctor:"Doctor","Hospice Volunteer":"Hospice Volunteer",Mortician:"Mortician","Nurse - C.N.A.":"Nurse - C.N.A.","Nurse - LPN":"Nurse - LPN","Nurse - RN":"Nurse - RN","Nurse Practitioner":"Nurse Practitioner",Optometrist:"Optometrist","Paramedic/EM Tech":"Paramedic/E.M. Technician",Pharmacist:"Pharmacist","Social Worker":"Social Worker","Support Services":"Support Services",Therapist:"Therapist",Veterinarian:"Veterinarian",Caregiver:"Caregiver","Dry Cleaner/Laundry":"Dry Cleaner/Laundry","Hair Stylist/Barber":"Hair Stylist/Barber",Housekeeper:"Housekeeper",Manicurist:"Manicurist",Masseuse:"Masseuse",Nanny:"Nanny","Pet Services":"Pet Services",Baker:"Baker",Bartender:"Bartender",Bellhop:"Bellhop","Bus Person":"Bus Person",Caterer:"Caterer",Chef:"Chef",Concessionaire:"Concessionaire",Concierge:"Concierge","Cook-Rest/Cafeteria":"Cook - Restaurant/Cafeteria","Cook/Wrkr-Fast Food":"Cook/Worker-Fast Food","Delivery Person":"Delivery Person","Desk Clerk":"Desk Clerk",Dishwasher:"Dishwasher","Food Prod/Packing":"Food Production/Packing","Host/Maitre d":"Host/Maitre d",Manager:"Manager",Valet:"Valet","Waiter/Waitress":"Waiter/Waitress","Wine Steward":"Wine Steward",Retired:"Retired","Activity/Recre.Asst":"Activity/Recreational Assistant",Agent:"Agent",Athlete:"Athlete","CampCounselor/Lead":"Camp Counselor/Lead",Coach:"Coach","Director, Program":"Director, Program","Event Mgr/Promoter":"Event Manager/Promoter","Life Guard":"Life Guard","Mgr - Fitness Club":"Manager - Fitness Club","Sales-Tkt/Mmbrshp":"Sales-Ticket/Membership","SportsBrdcstr/Journ":"Sports Broadcaster/Journalist","Trainer/Instructor":"Trainer/Instructor","Umpire/Referee":"Umpire/Referee","Graduate Student":"Graduate Student","High school":"High school",Undergraduate:"Undergraduate","Air Traffic Control":"Air Traffic Control","Airport Ops Crew":"Airport Operations Crew","Bellhop/Porter":"Bellhop/Porter","Crane Loader/Oper":"Crane Loader/Operator","Driver-Bus/Strcar":"Driver - Bus/Streetcar","Driver-Taxi/Limo":"Driver-Taxi/Limo","Driver-Truck/Delvry":"Driver-Truck/Delivery","Flight Attendant":"Flight Attendant","Forklift Operator":"Forklift Operator",Laborer:"Laborer",Longshoreman:"Longshoreman","Mate/Sailor":"Mate/Sailor","Mgr Warehse/Dist":"Manager - Warehouse/District","Parking Lot Attend":"Parking Lot Attendant","Pilot/Capt/Eng":"Pilot/Captain/Engineer","Railroad Worker":"Railroad Worker","Shipping/RecClk":"Shipping/Receiving Clerk","Subway/LgtRail Oper":"Subway/Light Rail Operator","Ticket Agent":"Ticket Agent","Transportation Spec":"Transportation Specialist",Unemployed:"Unemployed"},mv=new Set(["Disabled","Retired","Unemployed","Other"]),Bg=new Set(["AAA","AARP","AIG","AIC","CNA","USAA","SR22","PIP","UM","UMPD","BI","PD","MP"]),BM=new Set,vl=a=>{if(Bg.has(a)||/^[A-Z]{2}$/.test(a))return a;let r=a.replace(/^[A-Z]_(?=[A-Za-z])/,"");return/^[A-Z0-9_]+$/.test(r)?r.split("_").filter(Boolean).map(l=>Bg.has(l)?l:l.charAt(0)+l.slice(1).toLowerCase()).join(" "):r.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1 $2").replace(/_/g," ").trim()},hv=(a,r)=>dv[a]?.[r]||UM[r]||vl(r),jM=(a,r)=>(r??[]).map(l=>({value:l,label:hv(a,l)})),IM=a=>{let r=String(a??"").trim();return!r||mv.has(r)?null:zM[r]??null},qM=a=>pv[a]??vl(a),PM=()=>[...BM].sort(),yv={CollDeductible:{key:"vehicle_coll_deductible",label:"Collision deductible",entity:"vehicle"},CompDeductible:{key:"vehicle_comp_deductible",label:"Comprehensive deductible",entity:"vehicle"},TowingAndLabor:{key:"vehicle_towing_and_labor",label:"Towing and labor",entity:"vehicle"},TransportationExpense:{key:"vehicle_transportation_expense",label:"Rental reimbursement",entity:"vehicle"},FullGlass:{key:"vehicle_full_glass",label:"Full glass coverage",entity:"vehicle"},LoanLease:{key:"vehicle_loan_lease",label:"Loan/lease payoff",entity:"vehicle"},AnyModifications:{key:"vehicle_has_modifications",label:"Vehicle modifications",entity:"vehicle"},AntiTheft:{key:"anti_theft_type",label:"Anti-theft device",entity:"vehicle"},AntiLockBrakes:{key:"anti_lock_brakes",label:"Anti-lock brakes",entity:"vehicle"},PassiveRestraints:{key:"passive_restraint_type",label:"Passive restraints",entity:"vehicle"},DaytimeRunningLights:{key:"daytime_running_lights",label:"Daytime running lights",entity:"vehicle"},BodyStyle:{key:"body_style",label:"Body style",entity:"vehicle"},NumberOfMiles:{key:"annual_mileage",label:"Annual mileage",entity:"vehicle"},MilesToWork:{key:"miles_to_work",label:"Miles to work",entity:"vehicle"},OwnershipType:{key:"ownership_type",label:"Own, finance, or lease",entity:"vehicle"},PrimeryUseOfVehicle:{key:"usage",label:"How the vehicle is used",entity:"vehicle"},WasTheCarNew:{key:"new_when_purchased",label:"New when purchased",entity:"vehicle"},GarageAddressDifferent:{key:"vehicle_garaged_at_residence",label:"Where the vehicle is parked",entity:"vehicle"},CostNewValue:{key:"cost_new_value_cents",label:"Original cost",entity:"vehicle"},PLYear:{key:"year",label:"Vehicle year",entity:"vehicle"},PLMake:{key:"make",label:"Vehicle make",entity:"vehicle"},PLModel:{key:"model",label:"Vehicle model",entity:"vehicle"},VIN:{key:"vin",label:"VIN",entity:"vehicle"},DOB:{key:"date_of_birth",label:"Date of birth",entity:"driver"},DriverDateLicensed:{key:"date_first_licensed",label:"Date first licensed",entity:"driver"},DriverLicenseNumber:{key:"license_number",label:"License number",entity:"driver"},DriverStateLicensed:{key:"license_state",label:"License state",entity:"driver"},DriverLicenseStatus:{key:"license_status",label:"License status",entity:"driver"},DriversLicenseBeenSuspendedOrRevoked:{key:"last_5_years_license_suspended_or_revoked",label:"License suspended or revoked",entity:"driver"},DriverOccupationStr:{key:"occupation",label:"Occupation",entity:"driver"},DriverEmploymentIndustry:{key:"industry",label:"Industry",entity:"driver"},DriverEducation:{key:"education_level",label:"Education",entity:"driver"},DriverRelationshipToDriver:{key:"relationship_to_insured",label:"Relationship to you",entity:"driver"},DriverSSN:{key:"social_security_number",label:"Social Security number",entity:"driver"},SR:{key:"sr22",label:"SR-22 filing",entity:"driver"},IsDefensiveDriver:{key:"accident_prevention_course",label:"Defensive driving course",entity:"driver"},DefensiveDriverCourseDate:{key:"accident_prevention_course_date",label:"Defensive driving course date",entity:"driver"},Gender:{key:"gender",label:"Gender",entity:"driver"},BI:{key:"policy_bi",label:"Bodily injury limit",entity:"coverage"},PD:{key:"policy_pd",label:"Property damage limit",entity:"coverage"},UM:{key:"policy_um",label:"Uninsured/underinsured motorist limit",entity:"coverage"},UMPD:{key:"policy_umpd",label:"Uninsured motorist property damage",entity:"coverage"},MP:{key:"policy_mp",label:"Medical payments",entity:"coverage"},PIP:{key:"policy_pip",label:"Personal injury protection",entity:"coverage"},PIPDeductible:{key:"policy_pip_deductible",label:"PIP deductible",entity:"coverage"},AdditionalPIP:{key:"additional_pip",label:"Additional PIP",entity:"coverage"},AutoDeathIndemnity:{key:"policy_auto_death_indemnity",label:"Death indemnity",entity:"coverage"},TortThreshold:{key:"tort_threshold",label:"Lawsuit (tort) option",entity:"coverage"},HealthCare:{key:"pip_coverage_type",label:"PIP coverage type",entity:"coverage"},ExtendedMedical:{key:"extended_medical",label:"Extended medical",entity:"coverage"},HealthInsCoversAutoAccident:{key:"has_health_insurance_auto_accident",label:"Health insurance covers auto accidents",entity:"coverage"},EffectiveDate:{key:"effective_date",label:"Policy start date",entity:"coverage"},PLAllPerilsDeductible:{key:"all_perils_deductible",label:"Deductible",entity:"coverage"},WindstormDeductible:{key:"windstorm_deductible",label:"Windstorm deductible",entity:"coverage"},PLPersonalLiability:{key:"personal_liability",label:"Personal liability",entity:"coverage"},PLPersonalProperty:{key:"personal_property_coverage",label:"Personal property coverage",entity:"coverage"},PLOtherStructures:{key:"other_structures_coverage",label:"Other structures coverage",entity:"coverage"},PersonalLineReplacementCost:{key:"dwelling_replacement_cost",label:"Dwelling replacement cost",entity:"coverage"},DwellingMedicalPayments:{key:"dwelling_medical_payments",label:"Medical payments to others",entity:"coverage"},LossOfUse:{key:"loss_of_use_coverage",label:"Loss of use coverage",entity:"coverage"},NumberOfMortgagees:{key:"number_of_mortgagees",label:"Number of mortgages",entity:"coverage"},PLYearBuilt:{key:"year_built",label:"Year built",entity:"home"},PLSquareFootage:{key:"total_area_sq_ft",label:"Square footage",entity:"home"},PLTypeOfDwelling:{key:"dwelling_type",label:"Dwelling type",entity:"home"},PLConstructionType:{key:"construction_type",label:"Construction type",entity:"home"},PLNumberOfStories:{key:"number_of_stories",label:"Number of stories",entity:"home"},PLNumberOfUnits:{key:"number_of_units",label:"Number of units",entity:"home"},PLNumberOfUnitsInFirewall:{key:"number_of_units_in_firewall",label:"Units in firewall",entity:"home"},PLHeatingType:{key:"heating_type",label:"Heating type",entity:"home"},RoofType:{key:"roof_material_type",label:"Roof material",entity:"home"},MitRoofShape:{key:"roof_shape",label:"Roof shape",entity:"home"},PLRoofUpdated:{key:"roof_updated_type",label:"Roof update",entity:"home"},RoofUpdatedYear:{key:"year_roof_updated",label:"Year the roof was updated",entity:"home"},TypeOfFoundation:{key:"foundation_type",label:"Foundation type",entity:"home"},ExteriorWallsConstruction:{key:"exterior_wall_type",label:"Exterior walls",entity:"home"},ArchitectureStyle:{key:"architectural_style",label:"Architectural style",entity:"home"},ConstructionQuality:{key:"construction_quality",label:"Construction quality",entity:"home"},BasementType:{key:"basement_type",label:"Basement type",entity:"home"},OccupancyType:{key:"occupancy_type",label:"Occupancy",entity:"home"},TypeOfResidence:{key:"residence_type",label:"Residence type",entity:"home"},PurchaseDate:{key:"move_in_date",label:"Move-in date",entity:"home"},PurchasePrice:{key:"sale_price_cents",label:"Purchase price",entity:"home"},DistanceToFireHydrant:{key:"distance_from_fire_hydrant_ft",label:"Distance to fire hydrant",entity:"home"},DistanceToFireStation:{key:"distance_from_fire_station_miles",label:"Distance to fire station",entity:"home"},NumberOfDogsOnPremises:{key:"number_of_dogs",label:"Dogs on the property",entity:"home"},ViciousExoticAnimals:{key:"has_vicious_animals",label:"Vicious or exotic animals",entity:"home"},ShortTermRental:{key:"short_term_rental",label:"Short-term rental use",entity:"home"},GatedOrLimited:{key:"gated_community_discount",label:"Gated community",entity:"home"},BuildingOverWater:{key:"located_over_water",label:"Built over water",entity:"home"},HomeUnderConstruction:{key:"under_construction",label:"Under construction",entity:"home"},BusinessOrDaycare:{key:"has_business_on_premises",label:"Business on the property",entity:"home"},SmokeDetector:{key:"smoke_detectors",label:"Smoke detectors",entity:"home"},BurglarAlarm:{key:"burglar_alarm_system",label:"Burglar alarm",entity:"home"},BurglarAlarmType:{key:"burglar_alarm_system_type",label:"Burglar alarm type",entity:"home"},FireDetection:{key:"fire_detection_system",label:"Fire detection system",entity:"home"},FireDetectionType:{key:"fire_detection_system_type",label:"Fire detection type",entity:"home"},FireExtinguisher:{key:"fire_extinguisher",label:"Fire extinguisher",entity:"home"},DeadBoltLocks:{key:"deadbolt_locks",label:"Deadbolt locks",entity:"home"},SprinklerSystem:{key:"sprinkler_system",label:"Sprinkler system",entity:"home"},SprinklerSystemType:{key:"sprinkler_system_type",label:"Sprinkler system type",entity:"home"},ElectricCircuitBreaker:{key:"electric_circuit_breaker",label:"Circuit breakers",entity:"home"},PlumbingType:{key:"plumbing_type",label:"Plumbing type",entity:"home"},OilTankLocation:{key:"oil_tank_location",label:"Oil tank location",entity:"home"},TypeGarageCarport:{key:"garage_type",label:"Garage type",entity:"home"},StormShutters:{key:"storm_shutters",label:"Storm shutters",entity:"home"},MitCreditForm:{key:"mit_credit_form",label:"Wind mitigation form",entity:"home"},HeatingUpdateYN:{key:"heating_update_yn",label:"Heating updated",entity:"home"},PLHeatingUpdate:{key:"heating_update_type",label:"Heating update type",entity:"home"},HeatingUpdateYear:{key:"heating_update_year",label:"Year heating was updated",entity:"home"},PlumbingUpdateYN:{key:"plumbing_update_yn",label:"Plumbing updated",entity:"home"},PLPlumbingUpdated:{key:"plumbing_update_type",label:"Plumbing update type",entity:"home"},PlumbingUpdatedYear:{key:"plumbing_update_year",label:"Year plumbing was updated",entity:"home"},ElectricalUpdateYN:{key:"electrical_update_yn",label:"Electrical updated",entity:"home"},PLElectircalUpdated:{key:"electrical_update_type",label:"Electrical update type",entity:"home"},ElectircalUpdatedYear:{key:"electrical_update_year",label:"Year electrical was updated",entity:"home"},FirstName:{key:"first_name",label:"First name",entity:"applicant"},MiddleName:{key:"middle_name",label:"Middle name",entity:"applicant"},LastName:{key:"last_name",label:"Last name",entity:"applicant"},DateOfBirth:{key:"date_of_birth",label:"Date of birth",entity:"applicant"},PersonalLineGender:{key:"gender",label:"Gender",entity:"applicant"},MaritalStatus:{key:"marital_status",label:"Marital status",entity:"applicant"},Email:{key:"email",label:"Email address",entity:"applicant"},PrimaryPhoneNumber:{key:"phone",label:"Phone number",entity:"applicant"},SSN:{key:"social_security_number",label:"Social Security number",entity:"applicant"},OccupationStr:{key:"occupation",label:"Occupation",entity:"applicant"},EmploymentIndustry:{key:"industry",label:"Industry",entity:"applicant"},YearsAtAddress:{key:"years_at_address",label:"Years at this address",entity:"applicant"},MonthsAtAddress:{key:"months_at_address",label:"Months at this address",entity:"applicant"},IsMailAddress:{key:"is_mailing_address_different",label:"Mailing address",entity:"applicant"},CreditCheckPermission:{key:"order_credit_authorized",label:"Credit check permission",entity:"applicant"},IssuedCorporationOrTrustInd:{key:"is_corporation",label:"Corporation or trust",entity:"applicant"},AnyAdditionalInsured:{key:"has_co_applicant",label:"Co-applicant",entity:"applicant"},CoFirstName:{key:"co_applicant_first_name",label:"Co-applicant's first name",entity:"applicant"},CoMiddleName:{key:"co_applicant_middle_name",label:"Co-applicant's middle name",entity:"applicant"},CoLastName:{key:"co_applicant_last_name",label:"Co-applicant's last name",entity:"applicant"},CoDateOfBirth:{key:"co_applicant_date_of_birth",label:"Co-applicant's date of birth",entity:"applicant"},CoPersonalLineGender:{key:"co_applicant_gender",label:"Co-applicant's gender",entity:"applicant"},CoMaritalStatus:{key:"co_applicant_marital_status",label:"Co-applicant's marital status",entity:"applicant"},CoOccupationStr:{key:"co_applicant_occupation",label:"Co-applicant's occupation",entity:"applicant"},CoEmploymentIndustry:{key:"co_applicant_employment_industry",label:"Co-applicant's industry",entity:"applicant"},SelectRelationshipToClient:{key:"co_applicant_relationship",label:"Relationship to co-applicant",entity:"applicant"},CurrentPersonalAutoCarrier:{key:"auto_prior_carrier_name",label:"Current auto carrier",entity:"history"},PriorInsuranceCarrier:{key:"auto_prior_carrier_name",label:"Current auto carrier",entity:"history"},CurrentPersonalHomeownerCarrier:{key:"home_prior_carrier_name",label:"Current home carrier",entity:"history"},YearsWithPriorCarrierAuto:{key:"auto_prior_years",label:"Years with your auto carrier",entity:"history"},MonthsWithPriorCarrierAuto:{key:"auto_prior_months",label:"Months with your auto carrier",entity:"history"},YearsWithPriorCarrierHome:{key:"home_prior_years",label:"Years with your home carrier",entity:"history"},YearsWithContinuousCoverageAuto:{key:"auto_continuous_coverage_years",label:"Years of continuous auto coverage",entity:"history"},YearsWithContinuousCoverageHome:{key:"home_continuous_coverage_years",label:"Years of continuous home coverage",entity:"history"},PriorCarrierExpirationDateAuto:{key:"auto_prior_expiration_date",label:"Auto policy expiration date",entity:"history"},PriorCarrierExperationDate:{key:"home_prior_expiration_date",label:"Home policy expiration date",entity:"history"},SelectPriorLiabilityLimitsAuto:{key:"auto_prior_liability_limit",label:"Current liability limits",entity:"history"},SelectReasonNoPriorAutoInsurance:{key:"auto_reason_for_no_insurance",label:"Reason for no prior insurance",entity:"history"},CurrentAutoAnnualPremium:{key:"auto_current_annual_premium_cents",label:"Current annual premium",entity:"history"},LapsInCoverage:{key:"lapse_in_coverage",label:"Lapse in coverage",entity:"history"},AutoInsuranceCancelled:{key:"auto_cancelled_declined_refused_to_renew",label:"Auto policy cancelled or non-renewed",entity:"history"},PropertyInsuranceCancelled:{key:"property_insurance_cancelled",label:"Home policy cancelled or non-renewed",entity:"history"},ForeclosureOrRepossessionOrBankruptcy:{key:"named_insured_foreclosure_repo_bankruptcy",label:"Foreclosure, repossession, or bankruptcy",entity:"history"},InsuranceFraud:{key:"named_insured_convicted_insurance_fraud",label:"Insurance fraud conviction",entity:"history"},HomeAutoInsurance:{key:"multi_policy_discount",label:"Bundling discount",entity:"history"},AutoHomeInsurance:{key:"multi_policy_discount",label:"Bundling discount",entity:"history"}},Gf={};for(let a of Object.values(yv))a.key&&!Gf[a.key]&&(Gf[a.key]=a);var jg={PersonalVehicles:"vehicle",Vehicles:"vehicle",Drivers:"driver"},GM=/\[\?\([^)]*\)\]/g,FM=/\[\?\(@__id__\s*==\s*'([^']*)'\)\]/g,VM=new Set(["Id","SequenceNum","Assignments","IsDrv","DriverId","MainVehicleId"]),YM=a=>/^[a-z][a-z0-9_]*$/.test(a),gv=a=>{let r=(a??"").trim();if(!r)return{raw:r,entity:"general",label:"",isOpaque:!0};if(YM(r)){let h=Gf[r];return{raw:r,entity:h?.entity??"general",key:r,label:h?.label??vl(r),isOpaque:!h}}let l=[...r.matchAll(FM)].map(h=>h[1]),s=r.replace(GM,"").split(".").filter(Boolean),c=s[s.length-1]??r;if(VM.has(c))return{raw:r,entity:"general",label:"",isOpaque:!0};let f=s.find(h=>h in jg),p=yv[c];return{raw:r,entity:(f?jg[f]:void 0)??p?.entity??"general",entityId:l[l.length-1],key:p?.key,label:p?.label??vl(c),isOpaque:!p}},hd=[{question:"What's your ZIP code?",inputType:"text",key:"postal_code",required:!0}],vv="Zip|",bv=[{question:"What is your email address?",inputType:"email",key:"email",required:!0}],Sv="Email|",_v=new Set(["TX","NJ"]),cs={Auto:["Zip","Email","Product","Name","Vehicle","Driver","AutoCurrentCarrier","Demographics","Ssn","Phone"],Home:["Zip","Email","Product","Name","Home","HomePolicy","Demographics","Ssn","Phone"],Bundle:["Zip","Email","Product","Name","Home","Vehicle","Driver","BundlePolicy","Demographics","Ssn","Phone"]},hi={},Ev=a=>{hi=a},$M=()=>{hi={}},Es=a=>{try{a()}catch{}},An=(a,r)=>{Es(()=>hi.onQuoteFailure?.(a,r))},Cv=(a,r)=>{Es(()=>hi.onBreadcrumb?.(a,r))},Cs=(a,r)=>{Es(()=>hi.onTrack?.(a,r))},As=a=>{Es(()=>hi.onContext?.(a))},Av=a=>As({product:a}),Tv=a=>As({quoteId:a}),Mv=a=>As({stage:a}),Ta=a=>{if(a&&typeof a=="object"&&"statusCode"in a){let r=a.statusCode;if(typeof r=="number")return r}},fs=null,yd=a=>{fs=a},ln=()=>{if(!fs)throw Error("[credify-ui-kit] configureApi() must be called before using the API client.");return fs},wv=()=>{fs=null},rr=()=>{try{return!!ln().isMockActive?.()}catch{return!1}},gd=()=>{try{return!!ln().isTestActive?.()}catch{return!1}},Ts=()=>`${ln().storagePrefix}quote_id`,Ms=()=>`${ln().storagePrefix}auth_token`,Ov=Ts,Rv=Ms,QM="__mock",fi=a=>ln().isMockActive?.()?`${a}${QM}`:a,XM=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,Dv=a=>{try{return localStorage.getItem(a)}catch{return null}},xv=(a,r)=>{try{localStorage.setItem(a,r)}catch{}},Ig=a=>{try{localStorage.removeItem(a)}catch{}},Ua=()=>{let a=Dv(fi(Ts()));return a!==null&&!ln().isMockActive?.()&&!XM.test(a)?(di(),null):a},ws=a=>xv(fi(Ts()),a),Os=()=>Dv(fi(Ms())),Rs=a=>xv(fi(Ms()),a),di=()=>{Ig(fi(Ts())),Ig(fi(Ms()))},ZM=cv({buildResumeUrl:()=>vd,captureResumeTokenFromUrl:()=>Ds,consumeResumeToken:()=>Cl,hasResumeToken:()=>xs}),Ff="credify_rt",WM=["mock"],ds=null,Ds=a=>{try{if(typeof window>"u")return;let r=new URL(window.location.href),l=r.searchParams.get(Ff);if(!l)return;ds=l,r.searchParams.delete(Ff),window.history.replaceState(window.history.state,"",r.toString())}catch(r){a?.(r)}},xs=()=>ds!==null,Cl=()=>{let a=ds;return ds=null,a},vd=a=>{let r=new URL(window.location.href),l=WM.map(s=>[s,r.searchParams.get(s)]).filter(s=>s[1]!==null);r.search="",r.hash="";for(let[s,c]of l)r.searchParams.set(s,c);return r.searchParams.set(Ff,a),r.toString()},Vf,bd=a=>{Vf=a},qg=async a=>{try{let{ZIP_CITIES:r}=await fe(async()=>{const{ZIP_CITIES:l}=await import("./zipCities-CU_i9iT--B1AIvNRh.js");return{ZIP_CITIES:l}},[]);return r[a]??null}catch{return null}},ps=async a=>{if(!/^\d{5}$/.test(a))return null;let r=!1;try{r=!!ln().isMockActive?.()}catch{r=!1}if(r){let{MOCK_ZIP_CITIES:l}=await fe(()=>import("./fixtures-ijbZ16Zg-Dif2LDkg.js"),[]).then(s=>s.f);return l[a]??null}if(!Vf)return qg(a);try{return await Vf(a)}catch{return qg(a)}},KM=({disabled:a=!1,busy:r=!1,onChoose:l})=>{let[s,c]=T.useState(!1);return A.jsxs("section",{className:"cds-mb-4 cds-rounded-xl cds-border cds-border-border cds-bg-surface-elevated cds-p-4",children:[A.jsx("h3",{className:"cds-mb-3 cds-text-sm cds-font-bold cds-uppercase cds-tracking-wide cds-text-fg",children:"Communications consent"}),A.jsxs("label",{className:"cds-flex cds-cursor-pointer cds-items-start cds-gap-2 cds-text-sm cds-text-fg-muted",children:[A.jsx("input",{type:"checkbox",checked:s,disabled:a||r,onChange:f=>c(f.target.checked),className:"cds-mt-1 cds-h-4 cds-w-4 cds-shrink-0 cds-accent-brand-accent"}),A.jsx("span",{children:"I consent to communications from Credify Corporation (licensed insurance agency) and my selected carrier(s) at the phone number and email address I provided. This covers: support (including AI agents), carrier quote and service contact, automated rate shopping at or before renewal, policy renewal notifications, claims management, and Credify’s newsletter (which we may send by email, or by text message with a link to read it)."})]}),A.jsxs("div",{className:"cds-mt-3 cds-space-y-2 cds-text-xs cds-leading-relaxed cds-text-fg-muted",children:[A.jsx("p",{children:"These may use automated systems, emails or texts. Message frequency varies. Message & data rates may apply. Reply STOP to opt out of SMS; Reply HELP for help."}),A.jsx("p",{children:"Consent is not required to receive quotes or purchase insurance."}),A.jsxs("p",{children:["Credify Corporation – Texas #3309669."," ",A.jsx("a",{href:"/privacy-policy",target:"_blank",rel:"noreferrer",className:"cds-font-semibold cds-text-fg cds-underline",children:"Privacy Policy"})," ","|"," ",A.jsx("a",{href:"/terms-of-service",target:"_blank",rel:"noreferrer",className:"cds-font-semibold cds-text-fg cds-underline",children:"Terms of Service"})]})]}),A.jsxs("div",{className:"cds-mt-5 cds-grid cds-grid-cols-1 cds-gap-3 sm:cds-grid-cols-2",children:[A.jsx("button",{type:"button",disabled:!s||a||r,onClick:()=>l(!0),className:`cds-w-full cds-rounded-xl cds-bg-accent cds-px-6 cds-py-3.5 cds-text-base cds-font-bold cds-text-primary-foreground cds-transition hover:cds-bg-accent disabled:cds-cursor-not-allowed disabled:cds-bg-border disabled:hover:cds-bg-border ${ci}`,children:r?"Submitting…":"I Consent"}),A.jsx("button",{type:"button",disabled:a||r,onClick:()=>l(!1),className:`cds-w-full cds-rounded-xl cds-border cds-border-input cds-bg-surface-elevated cds-px-6 cds-py-3.5 cds-text-base cds-font-bold cds-text-fg cds-transition hover:cds-bg-surface-muted disabled:cds-cursor-not-allowed disabled:cds-opacity-50 disabled:hover:cds-bg-surface-elevated ${ci}`,children:"I Do Not Consent"})]})]})},JM=a=>{if(typeof window>"u")return null;try{return new URLSearchParams(window.location.search).get(a)}catch{return null}},Pg=[{stage:"Zip",key:"postal_code",normalize:a=>a.replace(/\D/g,"").slice(0,5),isValid:ts,fromUrl:()=>JM("zip")},{stage:"Email",key:"email",normalize:a=>a.trim(),isValid:Bf,fromUrl:()=>null}],ew=()=>{typeof document<"u"&&delete document.documentElement.dataset.credifyResuming},Gg=()=>({[vv]:hd,[Sv]:bv}),cf=a=>[...cs[a]],tw=6,nw=1500,aw=new Set(["HomePolicy","BundlePolicy"]),rw=new Set(["processing","completed","no_rates","failed"]),Fg=(a,r)=>{if(!r)return 0;if(rw.has(String(r.rates_status??"")))return a.length+1;let l=a.indexOf(r.current_stage);return l>0?l:0},iw=()=>{if(typeof window>"u")return!1;let a=new URLSearchParams(window.location.search).get("credify_test");return a!==null&&(a===""||/^(1|true|yes)$/i.test(a.trim()))},kv=()=>gd()||iw(),lw=()=>kv(),ff="78701",ow=()=>{let a=0;return r=>{r>tw||r<=a||(a=r,Cs("quote_step_completed",{stepIndex:r}))}},Nv=(a,r)=>{let[l,s]=T.useState(null),[c,f]=T.useState({product:a}),[p,h]=T.useState(()=>cf(a)),[g,y]=T.useState(Gg),[E,_]=T.useState(0),[z,G]=T.useState(!1),[q,Q]=T.useState(!1),[Y,ae]=T.useState(!1),[le,J]=T.useState(!1),[Se,j]=T.useState(),[ye,ee]=T.useState(!1),[Ve,Pe]=T.useState(!1),[Je,oe]=T.useState(!1),[X,Ne]=T.useState(!1),[De,Ye]=T.useState(!1),R=T.useRef(l),B=T.useRef(c),te=T.useRef(r?.prefill);T.useEffect(()=>{R.current=l,B.current=c,te.current=r?.prefill});let ge=T.useRef(ow()),ve=T.useRef(null),b=T.useMemo(()=>[...p.map(U=>({kind:"stage",stage:U})),{kind:"terminal",screen:"review"},{kind:"terminal",screen:"rates"}],[p]),L=T.useMemo(()=>Math.max(p.length,cs[a]?.length??0)+1,[p.length,a]),P=b[E],k=P?.kind==="stage"?P.stage:void 0,Z=String(c.state??"");T.useEffect(()=>{Av(a)},[a]),T.useEffect(()=>{Mv(k),k&&Cv(`stage: ${k}`,{screenIndex:E})},[k,E]),T.useEffect(()=>{Tv(l)},[l]);let se=T.useMemo(()=>{let U={};for(let I of p){let F=g[`${I}|${Z}`];F&&(U[I]=F)}return U},[p,g,Z]),pe=T.useMemo(()=>k?g[`${k}|${Z}`]??g[`${k}|`]??[]:[],[k,g,Z]),Ze=!!(k&&(`${k}|${Z}`in g||(k==="Zip"||k==="Email")&&`${k}|`in g)),Ge=T.useMemo(()=>({errorsByKey:{},itemErrors:[],issues:[],isValid:!0}),[]),[Kn,Ba]=T.useState(Ge),yi=T.useMemo(()=>k==="Zip"?ts(c.postal_code)?Ge:{errorsByKey:{postal_code:"Enter a 5-digit ZIP code."},itemErrors:[],issues:["Enter a 5-digit ZIP code."],isValid:!1}:k==="Email"?Bf(c.email)?Ge:{errorsByKey:{email:"Enter a valid email address."},itemErrors:[],issues:["Enter a valid email address."],isValid:!1}:k?Kn:Ge,[k,c.postal_code,c.email,Kn,Ge]);T.useEffect(()=>{if(!k||k==="Zip"||k==="Email")return;let U=!1;return fe(()=>import("./stage-knShj71W-BctzWtx2.js"),__vite__mapDeps([0,1,2,3,4])).then(I=>I.a).then(({validateStage:I})=>{U||Ba(I({questions:pe,values:c,stageKey:k}))}),()=>{U=!0}},[k,pe,c]);let Ct=T.useCallback(U=>{f(I=>{let F={...I,...U};return B.current=F,F})},[]),wn=T.useCallback((U,I)=>{if(U.city||U.__address_city)return;let F=String(U.postal_code??"").trim();ts(F)&&ps(F).then(V=>{if(!V||I())return;let W=B.current;W.city||W.__address_city||Ct({city:V,__address_city:V})})},[Ct]),On=T.useCallback(async U=>{let{getStagesForQuote:I}=await fe(async()=>{const{getStagesForQuote:W}=await Promise.resolve().then(()=>Ot);return{getStagesForQuote:W}},void 0),{stages:F}=await I(U??void 0),V=F.filter(W=>W!=="CanopyConnect");return h(V),V},[]),on=T.useCallback(async(U,I,F)=>{ae(!0);try{let{getQuestionsByStage:V}=await fe(async()=>{const{getQuestionsByStage:Le}=await Promise.resolve().then(()=>Ot);return{getQuestionsByStage:Le}},void 0),{questions:W}=await V(U,I??void 0),{ensureAutoCoverageSelections:ue}=await fe(()=>import("./vehicleCoverage-CBWORI1l-D_NVJvjm.js"),__vite__mapDeps([4,2,1,3])).then(Le=>Le.d),Te=ue(U,W);return y(Le=>({...Le,[`${U}|${F}`]:Te})),Te}catch(V){return j("We could not load this step. Please try again."),An(V,{phase:"stage_load",product:a,stage:U,quoteId:I,endpoint:"/get-questions-by-stage",statusCode:Ta(V)}),[]}finally{ae(!1)}},[a]),Tl=T.useCallback(async(U,I,F)=>{Ye(!0);try{await Promise.all(U.map(V=>on(V,I,F)))}finally{Ye(!1)}},[on]);T.useEffect(()=>{Ds(),Cs("quote_flow_start");let U=!1;return(async()=>{try{let I=Cl();if(I){Q(!0);try{let{redeemResumeToken:Le}=await fe(async()=>{const{redeemResumeToken:we}=await Promise.resolve().then(()=>Ot);return{redeemResumeToken:we}},void 0);await Le(I)}catch{U||j("That link has expired. Enter your ZIP code to pick up where you left off.")}}let F=Ua();F&&(R.current=F,s(F),Q(!0));let V=R.current,W,ue=cf(a);if(V)try{let{getQuote:Le}=await fe(async()=>{const{getQuote:lt}=await Promise.resolve().then(()=>Ot);return{getQuote:lt}},void 0),{quote:we}=await Le(V);if(!U&&we){W=we;let[{fromQuoteRecord:lt},{seedHomeCoverages:Dt}]=await Promise.all([fe(()=>import("./payload-DrGFAxms-DeQGFkZt.js"),__vite__mapDeps([5,1,6])).then(Mt=>Mt.o),fe(()=>import("./coverageDerivation-CV2ORogj-CA4KQiLs.js"),[]).then(Mt=>Mt.o)]),We=lt(we);f({...We,...Dt(We),product:a}),wn(We,()=>U)}}catch(Le){di(),U||s(null),R.current=null,An(Le,{phase:"quote_resume",product:a,quoteId:V,endpoint:"/get-quote",statusCode:Ta(Le)})}if(R.current&&(ue=await On(R.current),!U&&ue.length))if(W?.review_status==="pending_review")Ne(!0),Ye(!0),_(ue.length);else{let Le=Fg(ue,W);Le>0&&_(Le);let we=ue[Le]??ue[0];we&&we!=="Zip"&&we!=="Email"&&await on(we,R.current,String(B.current.state??""))}let Te=U?null:(await fe(async()=>{const{mockStepFromUrl:Le}=await import("./mockJump-hNzgzUmO-Dd1MY0fT.js");return{mockStepFromUrl:Le}},[])).mockStepFromUrl();Te!=null&&Te!==Fg(ue,W)&&(ve.current||await Promise.resolve(),await ve.current?.(Te))}catch(I){U||j("We could not start your quote. Please refresh and try again."),An(I,{phase:"quote_start",product:a,quoteId:R.current,statusCode:Ta(I)})}finally{U||(Q(!1),ew())}})(),()=>{U=!0}},[]);let gi=T.useRef(new Set);T.useEffect(()=>{if(!X)return;let U=p.filter(I=>{let F=`${I}|${Z}`;return!(F in g)&&!gi.current.has(F)});if(!U.length){Ye(!1);return}for(let I of U)gi.current.add(`${I}|${Z}`);Tl(U,R.current,Z)},[X,p,g,Z,Tl]),T.useEffect(()=>{!k||g[`${k}|${Z}`]||(k==="Zip"||k==="Email")&&g[`${k}|`]||on(k,R.current,Z)},[k,g,Z,on]);let it=T.useCallback(U=>{_(U),G(!1),j(void 0),rr()&&fe(async()=>{const{writeMockStepHash:I}=await import("./mockJump-hNzgzUmO-Dd1MY0fT.js");return{writeMockStepHash:I}},[]).then(({writeMockStepHash:I})=>{I(U)}),window.scrollTo(0,0)},[]),yn=T.useRef(null),gn=T.useCallback(async U=>{let I=R.current;if(I)return I;let F=(U??String(B.current.postal_code??"")).trim(),{createQuote:V}=await fe(async()=>{const{createQuote:ue}=await Promise.resolve().then(()=>Ot);return{createQuote:ue}},void 0),W=await V(F,lw());return R.current=W.quoteId,s(W.quoteId),W.quoteId},[]),Ml=T.useCallback(async U=>{let I=String(B.current.postal_code??"").trim();ps(I).then(ue=>{if(!ue)return;let Te=B.current;Ct({city:ue,...Te.__address_city?{}:{__address_city:ue}})});let F=Wo(I);if(!F)return!0;Ct({state:F,__address_state:B.current.__address_state??F});let{isSupportedState:V}=await fe(async()=>{const{isSupportedState:ue}=await Promise.resolve().then(()=>Ot);return{isSupportedState:ue}},void 0),{isSupported:W}=await V(F,U);return W?!0:(ee(!0),!1)},[Ct]),wl=T.useCallback(()=>(yn.current||=(async()=>{let U=await gn();if(!await Ml(U))return U;let[{stageSlice:I},{toQuotePayload:F},{updateQuote:V}]=await Promise.all([fe(()=>import("./stage-knShj71W-BctzWtx2.js"),__vite__mapDeps([0,1,2,3,4])).then(W=>W.a),fe(()=>import("./payload-DrGFAxms-DeQGFkZt.js"),__vite__mapDeps([5,1,6])).then(W=>W.o),fe(()=>Promise.resolve().then(()=>Ot),void 0)]);return await V({...F(I(g["Zip|"]??hd,B.current,"Zip")),current_stage:"Email"},!1,U),U})().catch(U=>{throw yn.current=null,U}),yn.current),[gn,Ml,g]),At=T.useCallback(async U=>{let I=B.current,[{parseAddress:F,normalizeStateCode:V},{isSupportedState:W}]=await Promise.all([fe(()=>import("./address-BEVwov8q-Bqt4jr_e.js"),[]).then(we=>we.i),fe(()=>Promise.resolve().then(()=>Ot),void 0)]),ue=F(String(I.address??"")),Te=V(String(I.__address_state??ue.state??I.state??""));if(!Te)return!0;Ct({state:Te});let{isSupported:Le}=await W(Te,U);return Le?!0:(ee(!0),!1)},[Ct]),Ol=T.useCallback(async U=>{if(a==="Auto"||Ve)return;let I=B.current,[{parseAddress:F},{prefillProperty:V},{seedHomeCoverages:W}]=await Promise.all([fe(()=>import("./address-BEVwov8q-Bqt4jr_e.js"),[]).then(we=>we.i),fe(()=>Promise.resolve().then(()=>Ot),void 0),fe(()=>import("./coverageDerivation-CV2ORogj-CA4KQiLs.js"),[]).then(we=>we.o)]),ue=F(String(I.address??"")),Te={address_line_1:String(I.__address_line_1??ue.line_1).trim(),city:String(I.__address_city??ue.city??I.city??"").trim(),state:String(I.__address_state??ue.state??I.state??"").trim(),postal_code:String(I.__address_postal_code??ue.postal_code??I.postal_code??"").trim()};if(!Te.address_line_1||!Te.city||!Te.state||!Te.postal_code)return;let Le=await V(U,Te);!Le.found||!Le.property||(f(we=>{let lt={...we};for(let[Dt,We]of Object.entries(Le.property??{})){if(We==null)continue;let Mt=lt[Dt];(Mt===void 0||Mt===""||Mt===null)&&(lt[Dt]=We)}return{...lt,...W(lt)}}),Pe(!0))},[a,Ve]),vi=T.useCallback(U=>{let I=p.indexOf(U);if(I>=0&&I+1<p.length)return p[I+1];let F=cs[a]??[],V=F.indexOf(U);return V>=0&&V+1<F.length?F[V+1]:void 0},[p,a]),hr=T.useCallback(async()=>{if(le||!k||!Ze)return;if(k==="Zip"){if(!ts(B.current.postal_code)){G(!0);return}let V=String(B.current.postal_code??"").trim(),W=Wo(V);if(W&&(Ct({state:W,__address_state:B.current.__address_state??W}),!_v.has(W))){ee(!0);return}ge.current(E+1),it(E+1),wl();return}let{stageSlice:U,validateStage:I}=await fe(()=>import("./stage-knShj71W-BctzWtx2.js"),__vite__mapDeps([0,1,2,3,4])).then(V=>V.a),F=k==="Email"?Bf(B.current.email)?{isValid:!0}:{isValid:!1}:I({questions:pe,values:B.current,stageKey:k});if(!F.isValid){k!=="Email"&&"errorsByKey"in F&&Ba(F),G(!0);return}J(!0),j(void 0);try{let V=yn.current?await yn.current:await gn();if(k==="Product"&&!await At(V))return;let[{toQuotePayload:W},{updateQuote:ue},{prefillSuggestions:Te},{seedHomeCoverages:Le}]=await Promise.all([fe(()=>import("./payload-DrGFAxms-DeQGFkZt.js"),__vite__mapDeps([5,1,6])).then(We=>We.o),fe(()=>Promise.resolve().then(()=>Ot),void 0),fe(()=>Promise.resolve().then(()=>Vg),void 0).then(We=>We.n),fe(()=>import("./coverageDerivation-CV2ORogj-CA4KQiLs.js"),[]).then(We=>We.o)]),we=U(pe,B.current,k);k==="Product"&&(we.product=a),k==="Phone"&&(we.suppress_verification_sms=!0);let lt=vi(k),Dt={...W(we),...lt?{current_stage:lt}:{}};if(Object.keys(Dt).length&&await ue(Dt,!1,V),ge.current(E+1),k==="Name"&&a!=="Home"&&Te.vehicle.prefetch(V),k==="Vehicle"&&Te.driver.prefetch(V),lt&&aw.has(lt)){let We=Le(B.current);Object.keys(We).length&&Ct(We)}if(k==="Product"){let We=await On(V);await Ol(V);let Mt=Math.min(E+1,We.length);it(Mt);return}it(E+1)}catch(V){let{CredifyApiError:W}=await fe(async()=>{const{CredifyApiError:Te}=await Promise.resolve().then(()=>Ot);return{CredifyApiError:Te}},void 0),ue=V instanceof W&&V.statusCode===404?"Your quote session expired. Please start again.":"Something went wrong saving your answers. Please try again.";j(ue),An(V,{phase:"answer_save",product:a,stage:k,quoteId:R.current,endpoint:"/update-quote",statusCode:Ta(V)})}finally{J(!1)}},[le,k,Ze,wl,gn,At,pe,a,E,On,vi,Ol,it,Ct]),yr=T.useCallback(()=>{E>0&&it(E-1)},[E,it]),Ns=T.useCallback(U=>{let I=b.findIndex(F=>F.kind==="stage"&&F.stage===U);I>=0&&it(I)},[b,it]),gr=T.useRef(!1),ja=T.useCallback(async U=>{if(!(!rr()||gr.current)){gr.current=!0,oe(!0),j(void 0);try{let I={...B.current,product:a},F=String(I.postal_code??"").trim(),V=/^\d{5}$/.test(F)?F:ff,W=await gn(V),[{isSupportedState:ue,updateQuote:Te},{toQuotePayload:Le}]=await Promise.all([fe(()=>Promise.resolve().then(()=>Ot),void 0),fe(()=>import("./payload-DrGFAxms-DeQGFkZt.js"),__vite__mapDeps([5,1,6])).then(sn=>sn.o)]),we=Wo(V)??"";we&&(await ue(we,W)).isSupported?I.postal_code=V:(I.postal_code=ff,we=Wo(ff)??"TX",await ue(we,W)),I.state=we,ee(!1),await Te({product:a,postal_code:I.postal_code},!1,W);let lt=await On(W),Dt=Math.max(0,Math.min(U,lt.length+1)),We=uv()?.autofillStage;if(!We)return;let{stageSlice:Mt}=await fe(()=>import("./stage-knShj71W-BctzWtx2.js"),__vite__mapDeps([0,1,2,3,4])).then(sn=>sn.a);for(let sn of lt.slice(0,Dt)){let Si=g[`${sn}|${we}`]??await on(sn,W,we);I=We(Si,I,sn);let un=Le(Mt(Si,I,sn));Object.keys(un).length&&await Te(un,!1,W)}f(I),B.current=I,Dt===lt.length+1&&await Te({},!0,W),it(Dt)}catch{j("The mock jump could not seed this step. Reload and try again.")}finally{gr.current=!1,oe(!1)}}},[a,gn,On,on,g,it]),Ls=T.useCallback(async()=>{rr()},[k,pe]);T.useEffect(()=>{ve.current=ja},[ja]),T.useEffect(()=>{if(!rr())return;let U=()=>{fe(async()=>{const{mockStepFromUrl:I}=await import("./mockJump-hNzgzUmO-Dd1MY0fT.js");return{mockStepFromUrl:I}},[]).then(({mockStepFromUrl:I})=>{let F=I();F!=null&&F!==E&&ja(F)})};return window.addEventListener("hashchange",U),()=>window.removeEventListener("hashchange",U)},[E,ja]);let Ia=T.useCallback(async U=>{if(le)return!1;let I=R.current;if(!I)return j("Your quote session expired. Please start again."),!1;J(!0),j(void 0);try{let F=typeof U=="boolean"?{communications_consent:U}:{},{updateQuote:V}=await fe(async()=>{const{updateQuote:ue}=await Promise.resolve().then(()=>Ot);return{updateQuote:ue}},void 0),W=await V(F,!0,I);return W.status==="submission_failed"?(j(W.message||"We could not submit your quote for rating."),An(Error(W.message||"Rating submission refused"),{phase:"rating_submit",product:a,quoteId:I,endpoint:"/update-quote"}),!1):(it(b.length-1),!0)}catch(F){return j("We could not submit your quote for rating. Please try again."),An(F,{phase:"rating_submit",product:a,quoteId:I,endpoint:"/update-quote",statusCode:Ta(F)}),!1}finally{J(!1)}},[le,b.length,it,a]),pt=T.useCallback(async()=>{let[{stageSlice:U},{toQuotePayload:I}]=await Promise.all([fe(()=>import("./stage-knShj71W-BctzWtx2.js"),__vite__mapDeps([0,1,2,3,4])).then(V=>V.a),fe(()=>import("./payload-DrGFAxms-DeQGFkZt.js"),__vite__mapDeps([5,1,6])).then(V=>V.o)]),F={};for(let V of p){if(_M.has(V))continue;let W=se[V];W?.length&&Object.assign(F,U(W,B.current,V))}return I(F)},[p,se]),vn=T.useCallback(async()=>{if(le)return!1;let U=R.current;if(!U)return j("Your quote session expired. Please start again."),!1;J(!0),j(void 0);try{let{isSupportedState:I,updateQuote:F}=await fe(async()=>{const{isSupportedState:ue,updateQuote:Te}=await Promise.resolve().then(()=>Ot);return{isSupportedState:ue,updateQuote:Te}},void 0),V=String(B.current.state??"");if(V){let{isSupported:ue}=await I(V,U);if(!ue)return ee(!0),!1}let W=await F({...await pt(),customer_review_confirmed:!0},!0,U);return W.status==="submission_failed"?(j(W.message||"We could not submit your quote for rating."),An(Error(W.message||"Rating submission refused"),{phase:"rating_submit",product:a,quoteId:U,endpoint:"/update-quote"}),!1):(it(b.length-1),!0)}catch(I){return j("We could not submit your quote. Please try again."),An(I,{phase:"rating_submit",product:a,quoteId:U,endpoint:"/update-quote",statusCode:Ta(I)}),!1}finally{J(!1)}},[le,pt,b.length,it,a]),yt=T.useRef(!1),Rl=T.useRef(pt);T.useEffect(()=>{Rl.current=pt}),T.useEffect(()=>{if(!X)return;if(!yt.current){yt.current=!0;return}let U=R.current;if(!U)return;let I=window.setTimeout(()=>{(async()=>{try{let{updateQuote:F}=await fe(async()=>{const{updateQuote:W}=await Promise.resolve().then(()=>Ot);return{updateQuote:W}},void 0),V=await Rl.current();Object.keys(V).length&&await F(V,!1,U)}catch(F){An(F,{phase:"answer_save",product:a,quoteId:U,endpoint:"/update-quote",statusCode:Ta(F)})}})()},nw);return()=>window.clearTimeout(I)},[X,c,a]);let Hs=T.useCallback(()=>{di(),Ne(!1),yt.current=!1,fe(()=>Promise.resolve().then(()=>Vg),void 0).then(U=>U.n).then(({resetPrefillSuggestions:U})=>{U()}),yn.current=null,s(null),R.current=null,f({product:a}),h(cf(a)),y(Gg()),ee(!1),Pe(!1),it(0)},[a,it]),bi=T.useCallback(U=>{let I=F=>{for(let V of F){if(V.key===U)return V;for(let W of V.conditionals??[]){let ue=I(W.conditionalQuestions??[]);if(ue)return ue}}};for(let F of p){let V=I(se[F]??[]);if(V)return{question:V,stage:F}}},[p,se]),vr=T.useCallback(U=>bi(U)?.stage,[bi]),Jn=T.useRef(null);T.useEffect(()=>{Jn.current===null&&(Jn.current=!!Ua())},[]);let bn=T.useRef({seeded:new Set,advanced:new Set});return T.useEffect(()=>{if(q||P?.kind!=="stage")return;let U=Pg.find(V=>V.stage===P.stage);if(!U||bn.current.seeded.has(U.stage)||B.current[U.key]||Jn.current!==!1)return;let I=te.current?.[U.key]??U.fromUrl(),F=I?U.normalize(I):"";!F||!U.isValid(F)||(bn.current.seeded.add(U.stage),Ct({[U.key]:F}))},[q,P,Ct]),T.useEffect(()=>{if(P?.kind!=="stage")return;let U=Pg.find(I=>I.stage===P.stage);U&&(!bn.current.seeded.has(U.stage)||bn.current.advanced.has(U.stage)||!Ze||le||U.isValid(c[U.key])&&(bn.current.advanced.add(U.stage),hr()))},[P,Ze,le,c,hr]),{product:a,quoteId:l,values:c,stages:p,questionsByStage:se,stageForField:vr,questionForField:bi,screens:b,screenIndex:E,stepTotal:L,current:P,questions:pe,validation:yi,showErrors:z,booting:q,loadingQuestions:Y,questionsReady:Ze,busy:le,error:Se,unsupportedState:ye,prefillApplied:Ve,patch:Ct,continueFromStage:hr,back:yr,goToStage:Ns,submitForRates:Ia,intakeReview:X,intakeQuestionsLoading:De,submitIntakeReview:vn,resetSession:Hs,mockJumping:Je,mockJumpTo:ja,mockAutofillStage:Ls}},Lv=()=>fe(()=>import("./question-list-DFjWa8ZA--GTrxgeK.js"),__vite__mapDeps([7,8,1,6,9,2,3,4,0,10,11,12,13,14])).then(a=>a.n),sw=T.lazy(()=>Lv().then(a=>({default:a.QuestionList}))),uw=T.lazy(()=>fe(()=>import("./household-prefill-CmtB9R3R-CrgN1qav.js"),__vite__mapDeps([15,9,1,2,14])).then(a=>a.n).then(a=>({default:a.HouseholdPrefill}))),cw=T.lazy(()=>fe(()=>import("./copy-applicant-offer-CqzfNhkJ-D6mTQGjz.js"),__vite__mapDeps([16,2,1,10,3,11])).then(a=>a.n).then(a=>({default:a.CopyApplicantOffer}))),fw=T.lazy(()=>fe(()=>import("./review-panel-C_WxX33U-BxLq8fbL.js").then(a=>a.r),__vite__mapDeps([17,0,1,2,3,4,13])).then(a=>a.i).then(a=>({default:a.ReviewPanel}))),dw=T.lazy(()=>fe(()=>import("./intake-review-panel-D27t8CZO-UOfbb2gR.js"),__vite__mapDeps([18,7,8,1,6,9,2,3,4,0,10,11,12,13,14,17])).then(a=>a.n).then(a=>({default:a.IntakeReviewPanel}))),pw=T.lazy(()=>fe(()=>import("./rates-panel-BSFiWEZX-Bw7hcmIi.js"),__vite__mapDeps([19,8,11,14])).then(a=>a.n).then(a=>({default:a.RatesPanel}))),mw=new Set(["Demographics","Ssn"]),ml=({label:a})=>A.jsxs("div",{className:"cds-py-10 cds-text-center","aria-live":"polite",children:[A.jsx("div",{className:"cds-mx-auto cds-mb-3 cds-h-7 cds-w-7 cds-animate-spin cds-rounded-full cds-border-4 cds-border-accent cds-border-t-transparent","aria-hidden":"true"}),A.jsx("p",{className:"cds-text-sm cds-text-fg-muted",children:a})]}),hw=({current:a,total:r,label:l})=>{let s=Math.round((a+1)/r*100);return A.jsxs("div",{className:"cds-mb-6",children:[A.jsxs("div",{className:"cds-mb-1.5 cds-flex cds-items-center cds-justify-between cds-text-xs cds-font-semibold cds-text-fg-muted",children:[A.jsx("span",{children:l}),A.jsxs("span",{children:["Step ",a+1," of ",r]})]}),A.jsx("div",{className:"cds-h-1.5 cds-w-full cds-overflow-hidden cds-rounded-full cds-bg-border",role:"progressbar","aria-valuenow":s,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Quote progress",children:A.jsx("div",{className:"cds-h-full cds-rounded-full cds-bg-accent cds-transition-all",style:{width:`${s}%`}})})]})},yw=()=>A.jsxs("div",{role:"note",className:"cds-mx-auto cds-mb-3 cds-flex cds-w-full cds-max-w-xl cds-items-center cds-gap-2 cds-rounded-lg cds-border cds-border-warning cds-bg-warning-surface cds-px-3 cds-py-2 cds-text-xs cds-text-warning-foreground",children:[A.jsx(HM,{"aria-hidden":"true",className:"cds-h-4 cds-w-4 cds-shrink-0 cds-text-warning"}),A.jsxs("span",{children:[A.jsx("span",{className:"cds-font-bold",children:"Test mode"})," — quotes started in this session are marked as tests and left out of reporting."]})]}),gw=({onRestart:a})=>A.jsxs("div",{className:"cds-py-8 cds-text-center",children:[A.jsx("h2",{className:"cds-mb-2 cds-text-2xl cds-font-bold cds-text-fg",children:"We're not in your state yet"}),A.jsx("p",{className:"cds-mb-6 cds-text-fg-muted",children:"We currently write policies in Texas and New Jersey. Give us a call and we'll point you to a licensed agent who can help."}),A.jsxs("a",{href:lv,onClick:()=>Cs("phone_call_click",{placement:"quote_unsupported_state",phone:zf}),className:Ha("cds-inline-block cds-rounded-xl cds-bg-accent cds-px-8 cds-py-3.5 cds-text-base cds-font-bold cds-text-accent-foreground hover:cds-bg-accent/90",ci),children:["Call ",zf]}),A.jsx("button",{type:"button",onClick:a,className:Ha("cds-mt-4 cds-block cds-w-full cds-text-sm cds-font-semibold cds-text-fg cds-underline",ci),children:"Try a different ZIP code"})]}),vw=new Set(["product"]),Hv=({product:a,suppressedKeys:r=vw,chrome:l=p=>A.jsx(A.Fragment,{children:p}),onScreenChange:s,onComplete:c,prefill:f})=>{let p=Nv(a,{prefill:f}),{booting:h,busy:g,current:y,error:E,intakeReview:_,intakeQuestionsLoading:z,mockJumping:G,questionsReady:q,patch:Q,questions:Y,questionsByStage:ae,quoteId:le,screenIndex:J,showErrors:Se,stepTotal:j,questionForField:ye,stages:ee,unsupportedState:Ve,validation:Pe,values:Je}=p;T.useEffect(()=>{y?.kind==="stage"&&y.stage!=="Zip"&&Lv()},[y]);let oe=AM[a],X=T.useCallback(k=>{let Z=ye(k);return Z?{label:Z.question.question,stage:Z.stage}:void 0},[ye]),Ne=T.useCallback(k=>{let Z=new Set;for(let se of k){let{key:pe}=gv(se.field),Ze=pe?ye(pe)?.stage:void 0;Ze&&Z.add(Ze)}return ee.find(se=>Z.has(se))},[ye,ee]),De=T.useMemo(()=>y?y.kind==="terminal"?y.screen==="review"?EM:CM:SM(y.stage,a):oe?{title:oe.heading,short:oe.label}:void 0,[y,oe,a]),Ye=T.useRef(null),R=T.useRef(!1);T.useEffect(()=>{!De||!y||(s?.(y,{title:De.title,index:J,total:j}),R.current&&Ye.current?.focus({preventScroll:!0}),R.current=!0)},[De,y,J,j]);let B=uv()?.DevPanel,te=rr()&&B?A.jsx(B,{product:a,stages:ee,screenIndex:J,currentStage:y?.kind==="stage"?y.stage:void 0,busy:G,onJump:k=>void p.mockJumpTo(k),onAutofill:()=>void p.mockAutofillStage()}):null,[ge]=T.useState(kv),ve=k=>l(A.jsxs(A.Fragment,{children:[ge?A.jsx(yw,{}):null,A.jsx("div",{ref:Ye,tabIndex:-1,"data-credify-step-body":!0,className:"cds-rounded-2xl cds-bg-surface-elevated cds-p-5 cds-shadow-sm cds-outline-none sm:cds-p-7",children:k}),te]}));if(h||G)return ve(A.jsxs("div",{className:"cds-py-12 cds-text-center","aria-live":"polite",children:[A.jsx("div",{className:"cds-mx-auto cds-mb-4 cds-h-8 cds-w-8 cds-animate-spin cds-rounded-full cds-border-4 cds-border-accent cds-border-t-transparent","aria-hidden":"true"}),A.jsx("p",{className:"cds-text-fg-muted",children:G?"Seeding mock answers…":"Loading your quote…"})]}));if(Ve)return ve(A.jsx(gw,{onRestart:p.resetSession}));if(!y||!De)return ve(A.jsxs("div",{className:"cds-py-8 cds-text-center",children:[A.jsx("h2",{className:"cds-mb-2 cds-text-xl cds-font-bold cds-text-fg",children:"We couldn't start your quote"}),A.jsx("p",{className:"cds-mb-6 cds-text-fg-muted",children:"Please refresh the page, or give us a call."}),A.jsx("a",{href:lv,className:"cds-font-semibold cds-text-fg cds-underline",children:zf})]}));let b=y.kind==="terminal"&&y.screen==="rates",L=_&&y.kind==="terminal"&&y.screen==="review",P=!b&&!L;return ve(A.jsxs(A.Fragment,{children:[P?A.jsx(hw,{current:J,total:j,label:oe.label}):null,J>0&&P?A.jsxs("button",{type:"button",onClick:p.back,className:Ha("cds-mb-3 cds-inline-flex cds-items-center cds-gap-1 cds-text-sm cds-font-semibold cds-text-fg hover:cds-underline",ci),children:[A.jsxs("svg",{"aria-hidden":"true",className:"cds-h-4 cds-w-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[A.jsx("path",{d:"m12 19-7-7 7-7"}),A.jsx("path",{d:"M19 12H5"})]}),"Back"]}):null,y.kind==="stage"?A.jsxs(A.Fragment,{children:[A.jsx("h1",{className:"cds-mb-1 cds-text-2xl cds-font-bold cds-text-fg",children:De.title}),De.subtitle?A.jsx("p",{className:"cds-mb-5 cds-text-sm cds-text-fg-muted",children:De.subtitle}):null,q?A.jsxs(A.Fragment,{children:[y.stage==="Vehicle"||y.stage==="Driver"?A.jsx(T.Suspense,{fallback:null,children:A.jsx(uw,{kind:y.stage==="Vehicle"?"vehicle":"driver",quoteId:le,values:Je,onApply:Q},y.stage)}):null,mw.has(y.stage)?A.jsx(T.Suspense,{fallback:null,children:A.jsx(cw,{stage:y.stage,questions:Y,values:Je,onPatch:Q},`copy-${y.stage}`)}):null,y.stage==="Zip"?A.jsx(JT,{label:Y[0]?.question??"What's your ZIP code?",value:String(Je.postal_code??""),error:Se?Pe.errorsByKey.postal_code:void 0,onChange:k=>Q({postal_code:k})}):y.stage==="Email"?A.jsx(eM,{label:Y[0]?.question??"What is your email address?",value:String(Je.email??""),error:Se?Pe.errorsByKey.email:void 0,onChange:k=>Q({email:k})}):A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(sw,{questions:Y,values:Je,errors:Se?Pe.errorsByKey:{},itemErrors:Se?Pe.itemErrors:[],stageKey:y.stage,quoteId:le,suppressedKeys:r,onPatch:Q})}),Se&&!Pe.isValid?A.jsx(Mg,{message:"Please complete the highlighted questions."}):null,A.jsx(Mg,{message:E}),A.jsx(WT,{disabled:g,onClick:()=>void p.continueFromStage(),children:g?"Saving…":"Continue"})]}):A.jsx(ml,{label:"Loading this step…"})]}):y.screen==="review"?_?A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(dw,{stages:ee,questionsByStage:ae,values:Je,quoteId:le,loading:z,busy:g,error:E,suppressedKeys:r,onPatch:Q,onConfirm:()=>void p.submitIntakeReview()})}):A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(fw,{stages:ee,questionsByStage:ae,values:Je,busy:g,error:E,suppressedKeys:r,onEditStage:p.goToStage,onConfirm:k=>void p.submitForRates(k)})}):A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(pw,{product:a,quoteId:le,describeField:X,onFixAnswers:k=>{let Z=Ne(k);p.goToStage(Z??ee[0])},onRetry:p.submitForRates,onBound:()=>c?.()})})]}))};const iR=Object.freeze(Object.defineProperty({__proto__:null,A:Tv,B:mv,C:Cv,D:$M,E:An,F:cs,G:hv,H:jM,I:_v,J:dv,K:PM,L:vv,M:Cs,N:Sv,O:As,P:bv,R:hd,S:wv,T:Ta,U:qM,V:vl,W:IM,_:ws,a:bd,b:rr,c:Cl,d:Rv,f:Ov,g:Rs,h:Ua,i:ps,j:Mv,k:Av,l:xs,m:Os,n:Nv,o:vd,p:di,q:pv,r:KM,s:Ds,t:Hv,u:ZM,v:yd,w:Ev,x:gd,y:ln,z:gv},Symbol.toStringTag,{value:"Module"}));var Al=class extends Error{statusCode;retryAfterSeconds;constructor(r,l,s){super(r),this.name="CredifyApiError",this.statusCode=l,this.retryAfterSeconds=s}},nt=async(a,r)=>{let l=ln();if(l.mockTransport){let h=await l.mockTransport(a,r);if(h!=null)return h}let s={"Content-Type":"application/json"},c=Os();c&&(s.Authorization=`Bearer ${c}`);let f=await(l.fetchImpl??fetch)(`${l.baseUrl}${a}`,{method:"POST",headers:s,body:JSON.stringify(r)}),p={};try{p=await f.json()}catch{}if(!f.ok){let h=typeof p.error=="string"&&p.error||`Request failed with status ${f.status}`,g=f.status===429?typeof p.retryAfterSeconds=="number"?p.retryAfterSeconds:60:void 0;throw new Al(h,f.status,g)}return p},Et=(a,r)=>r&&!Os()?{...a,quoteId:r}:a,bw=()=>ln().source,Sw=()=>{let{partner:a}=ln();return a?a.sub?{partner_id:a.id,sub_id:a.sub}:{partner_id:a.id}:{}},Uv=async(a,r=!1)=>{let l=await nt("/create-quote",{postal_code:a,source:bw(),...Sw(),...r?{is_test:!0}:{}});if(!l.quoteId)throw new Al("Invalid createQuote response",0);return ws(l.quoteId),{quoteId:l.quoteId}},zv=(a,r=!1,l)=>nt("/update-quote",Et({payload:a,getRates:r},l)).then(s=>s.status?s:{status:"success"}),Sd=a=>nt("/get-quote",Et({},a)),Bv=(a,r)=>nt("/is-supported-state",Et({state:a},r)),jv=(a,r)=>nt("/verify-quote",{action:"send",quoteId:a,phone:r}),Iv=async(a,r)=>{let l=await nt("/verify-quote",{quoteId:a,smsCode:r});return l.isVerified&&l.token&&Rs(l.token),{isVerified:!!l.isVerified}},qv=a=>nt("/get-rates",Et({},a)),Pv=async a=>{let r=await nt("/verify-quote",Et({action:"issue_resume_link"},a));if(!r.resumeToken)throw new Al("Invalid issueResumeLink response",0);return{resumeToken:r.resumeToken,expiresAt:r.expiresAt??null}},_d=async a=>{di();let r=await nt("/verify-quote",{action:"resume",resumeToken:a});if(!r.quoteId)throw new Al("Invalid resume response",0);return ws(r.quoteId),r.isVerified&&r.token&&Rs(r.token),{quoteId:r.quoteId}},Gv=(a,r)=>{let l=Array.isArray(a)?a:[a];return nt("/request-bind",{...l.length===1?{quoteRateId:l[0]}:{quoteRateIds:l},privacyNoticeAcknowledged:r}).then(s=>"success"in s?s:{success:!0})},Fv=async(a,r)=>{try{return await nt("/prefill-property",Et({...r},a))}catch{return{found:!1}}},Vv=a=>nt("/get-stages-for-quote",Et({},a)),Yv=(a,r)=>nt("/get-questions-by-stage",Et({stage:a},r)),Ed=(a,r)=>nt("/get-vehicle-options",Et({...a},r)),$v=(a,r)=>Ed({action:"vinDecode",vin:a},r),Cd=async a=>{try{let{suggestions:r}=await nt("/get-vehicle-options",Et({action:"vehiclePrefillSuggestions"},a));return r??[]}catch{return[]}},Qv=async(a,r)=>{try{let{items:l}=await nt("/get-vehicle-options",Et({action:"applyVehiclePrefill",selectedIds:a},r));return l??[]}catch{return[]}},Xv=async a=>{try{await nt("/get-vehicle-options",Et({action:"dismissVehiclePrefill"},a))}catch{}},Ad=async a=>{try{let{suggestions:r}=await nt("/get-vehicle-options",Et({action:"driverPrefillSuggestions"},a));return r??[]}catch{return[]}},Zv=async(a,r)=>{try{let{items:l}=await nt("/get-vehicle-options",Et({action:"applyDriverPrefill",selectedIds:a},r));return l??[]}catch{return[]}},Wv=async a=>{try{await nt("/get-vehicle-options",Et({action:"dismissDriverPrefill"},a))}catch{}},_w=cv({prefillSuggestions:()=>Td,resetPrefillSuggestions:()=>Md}),Kv=a=>{let r=new Map,l=new Map,s=c=>{let f=r.get(c);if(f)return f;let p=a(c).then(h=>(l.set(c,h),h)).catch(()=>(r.get(c)===p&&r.delete(c),[]));return r.set(c,p),p};return{fetch:s,peek:c=>l.get(c),prefetch:c=>{s(c)},reset:()=>{r.clear(),l.clear()}}},ns=Kv(Cd),as=Kv(Ad),Td={vehicle:{fetch:ns.fetch,peek:ns.peek,prefetch:ns.prefetch},driver:{fetch:as.fetch,peek:as.peek,prefetch:as.prefetch}},Md=()=>{ns.reset(),as.reset()};const Vg=Object.freeze(Object.defineProperty({__proto__:null,C:zv,E:nt,S:jv,T:Et,_:Bv,a:Qv,b:_d,c:Wv,d:Cd,f:Yv,g:Ed,h:Vv,i:Zv,l:Xv,m:qv,n:_w,o:Uv,p:Sd,r:Md,s:$v,t:Td,u:Ad,v:Pv,w:Iv,x:Gv,y:Fv},Symbol.toStringTag,{value:"Module"})),Ot=Object.freeze(Object.defineProperty({__proto__:null,AUTH_TOKEN_STORAGE_KEY:Rv,CredifyApiError:Al,QUOTE_ID_STORAGE_KEY:Ov,applyDriverPrefill:Zv,applyVehiclePrefill:Qv,bodyWithQuoteId:Et,buildResumeUrl:vd,captureResumeTokenFromUrl:Ds,cityFromZip:ps,clearQuoteSession:di,configureApi:yd,configureZipCityLookup:bd,consumeResumeToken:Cl,createQuote:Uv,decodeVin:$v,dismissDriverPrefill:Wv,dismissVehiclePrefill:Xv,fetchDriverPrefillSuggestions:Ad,fetchVehiclePrefillSuggestions:Cd,getApiConfig:ln,getQuestionsByStage:Yv,getQuote:Sd,getRates:qv,getStagesForQuote:Vv,getVehicleOptions:Ed,hasResumeToken:xs,isMockEnabled:rr,isSupportedState:Bv,isTestModeEnabled:gd,issueResumeLink:Pv,loadAuthToken:Os,loadQuoteId:Ua,post:nt,prefillProperty:Fv,prefillSuggestions:Td,redeemResumeToken:_d,requestBind:Gv,resetApiConfig:wv,resetPrefillSuggestions:Md,saveAuthToken:Rs,saveQuoteId:ws,sendSmsCode:jv,updateQuote:zv,verifySmsCode:Iv},Symbol.toStringTag,{value:"Module"}));var df={};const Ew="https://api.getcredify.com",Cw=()=>{try{if(typeof df<"u"&&df?.baseUrl)return df.baseUrl}catch{}return Ew},rs=Cw();var pf={};const Aw="mock";function Tw(){try{return typeof pf<"u"&&pf?.key?pf.key:void 0}catch{return}}function Yf(){const a=Tw();if(!a||typeof window>"u"||!window.location)return!1;try{return new URLSearchParams(window.location.search).get(Aw)===a}catch{return!1}}const Mw=()=>{const r=globalThis.process?.env?.NODE_ENV;return typeof r=="string"?r!=="production":!1};function ww(a,r){try{Mw()&&console.error(`[credify-widget] ${a}:`,r),pr(r instanceof Error?r:new Error(String(r)),{tags:{source:a,failure_type:"side_effect"},level:"warning"})}catch{}}let Ow=!1;function Rw(){return Ow}let Dw;function xw(){return Dw}const kw="credify-insurance-widget",Nw="1.0",Jv=25,eb=64*1024,Lw=`
107
- …[truncated]`;let Yg=!1,$g=null,Qg="",tb=Jv,$f=eb,gl=[];function Hw(a){return typeof a=="string"?a:a instanceof URL?a.href:a.url}function Uw(a,r){return r?.method?r.method.toUpperCase():typeof a!="string"&&!(a instanceof URL)&&a.method?a.method.toUpperCase():"GET"}function Xg(a){if(!a)return[];const r=[];if(Array.isArray(a))for(const[l,s]of a)r.push({name:l,value:String(s)});else if(typeof a.forEach=="function")a.forEach((l,s)=>r.push({name:s,value:l}));else for(const[l,s]of Object.entries(a))r.push({name:l,value:String(s)});return r}function zw(a){try{const r=[];return new URL(a).searchParams.forEach((l,s)=>r.push({name:s,value:l})),r}catch{return[]}}function Bw(a,r){const l=r?.body;return typeof l!="string"||l.length===0?void 0:{mimeType:a.find(c=>c.name.toLowerCase()==="content-type")?.value??"application/json",text:l}}function jw(a){const r=a.length;return r<=$f?{text:a,size:r}:{text:a.slice(0,$f)+Lw,size:r}}function Iw(a){gl.push(a),gl.length>tb&&gl.shift()}function qw(a){if(Yg)return!0;if(typeof window>"u"||typeof window.fetch!="function")return!1;Qg=a.baseUrl,tb=a.maxEntries??Jv,$f=a.maxBodyBytes??eb,$g=window.fetch.bind(window);const r=$g;return window.fetch=async(l,s)=>{let c;try{c=Hw(l)}catch{return r(l,s)}if(!c.startsWith(Qg))return r(l,s);const f=Xg(s?.headers??(typeof l!="string"&&!(l instanceof URL)?l.headers:void 0)),p={startedDateTime:new Date().toISOString(),time:-1,request:{method:Uw(l,s),url:c,httpVersion:"HTTP/1.1",headers:f,queryString:zw(c),cookies:[],headersSize:-1,bodySize:typeof s?.body=="string"?s.body.length:-1,postData:Bw(f,s)},response:Pw(),cache:{},timings:{send:0,wait:-1,receive:0}};Iw(p);const h=typeof performance<"u"?performance.now():0;let g;try{g=await r(l,s)}catch(E){const _=(typeof performance<"u"?performance.now():0)-h;throw p.time=Math.round(_),p.timings.wait=Math.round(_),p.response._error=E instanceof Error?E.message:String(E),E}const y=(typeof performance<"u"?performance.now():0)-h;p.time=Math.round(y),p.timings.wait=Math.round(y),p.response.status=g.status,p.response.statusText=g.statusText,p.response.headers=Xg(g.headers),p.response.content.mimeType=typeof g.headers?.get=="function"&&g.headers.get("content-type")||"";try{g.clone().text().then(_=>{const{text:z,size:G}=jw(_);p.response.content.text=z,p.response.content.size=G,p.response.bodySize=G}).catch(()=>{})}catch{}return g},Yg=!0,!0}function Pw(){return{status:0,statusText:"",httpVersion:"HTTP/1.1",headers:[],cookies:[],content:{size:0,mimeType:""},redirectURL:"",headersSize:-1,bodySize:-1}}function Gw(){return{log:{version:"1.2",creator:{name:kw,version:Nw},entries:gl.map(a=>({...a}))}}}function Fw(){return gl.length}const Vw=[/ssn/i,/social.?security/i,/(driver.?licen[cs]e|^dln$|^dl$)/i,/(date.?of.?birth|^dob$)/i,/^vin$/i,/(sms.?code|^otp$|^code$|verification.?code)/i,/phone/i,/^email$/i,/(first.?name|last.?name|full.?name)/i,/(^address$|street|^zip$|postal)/i,/(jwt|^token$|authorization|^auth$|api.?key|secret|password|credential)/i,/cookie/i],Yw=[/\b\d{3}-?\d{2}-?\d{4}\b/g,/\b[A-HJ-NPR-Z0-9]{17}\b/g,/eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/g,/\bsk_[A-Za-z0-9]{16,}\b/g,/\bBearer\s+[A-Za-z0-9._-]+/gi],Da="[REDACTED]",$w=8;function ks(a){for(const r of Vw)if(r.test(a))return!0;return!1}function xa(a){let r=a;for(const l of Yw)r=r.replace(l,Da);return r}function wa(a,r=0,l=new WeakSet){if(r>$w)return Da;if(a==null)return a;if(typeof a=="string")return xa(a);if(typeof a!="object")return a;if(l.has(a))return Da;if(l.add(a),Array.isArray(a))return a.map(f=>wa(f,r+1,l));const s=Object.getPrototypeOf(a);if(s!==null&&s!==Object.prototype)return a;const c={};for(const[f,p]of Object.entries(a)){if(ks(f)){c[f]=Da;continue}c[f]=wa(p,r+1,l)}return c}function Zg(a){if(a.request&&(a.request.data!==void 0&&(a.request.data=wa(a.request.data)),a.request.cookies!==void 0&&(a.request.cookies=Da),a.request.headers)){const r=a.request.headers;for(const l of Object.keys(r))ks(l)&&(r[l]=Da)}if(a.extra&&(a.extra=wa(a.extra)),a.contexts&&(a.contexts=wa(a.contexts)),a.tags&&(a.tags=wa(a.tags)),a.user){const{id:r,email:l,username:s}=a.user;a.user={...typeof r=="string"?{id:r}:{},...typeof l=="string"?{email:l}:{},...typeof s=="string"?{username:s}:{}}}if(Array.isArray(a.breadcrumbs))for(const r of a.breadcrumbs)r.data!==void 0&&(r.data=wa(r.data)),typeof r.message=="string"&&(r.message=xa(r.message));return typeof a.message=="string"&&(a.message=xa(a.message)),a}function Wg(a){for(const r of a)r.value=ks(r.name)?Da:xa(r.value)}function Kg(a){try{return JSON.stringify(wa(JSON.parse(a)))}catch{return xa(a)}}function Qw(a){const r=JSON.parse(JSON.stringify(a));for(const l of r.log.entries){Wg(l.request.headers),Wg(l.response.headers);for(const s of l.request.queryString)s.value=ks(s.name)?Da:xa(s.value);l.request.postData?.text&&(l.request.postData.text=Kg(l.request.postData.text)),l.response.content.text&&(l.response.content.text=Kg(l.response.content.text)),l.request.url=xa(l.request.url),l.response._error&&(l.response._error=xa(l.response._error))}return r}function Xw(a,r={}){try{id(l=>{l.setTag("failure_type","quote"),r.product&&l.setTag("product",r.product),r.stage&&l.setTag("stage",r.stage),r.quoteId&&l.setTag("quote_id",r.quoteId),r.phase&&l.setTag("phase",r.phase),r.endpoint&&l.setTag("endpoint",r.endpoint),typeof r.statusCode=="number"&&l.setTag("status_code",String(r.statusCode)),r.failureCode&&l.setTag("failure_code",r.failureCode);try{Fw()>0&&l.addAttachment({filename:"quote-failure.har",data:JSON.stringify(Qw(Gw())),contentType:"application/json"})}catch{}const s=a instanceof Error?a:new Error(r.message??"Quote failed");pr(s)})}catch{}}const Zw=(a,r)=>{try{return a()}catch{return r}};function wd(){return Zw(()=>Ua(),null)}const Ww=["widgetOpened","widgetClosed","stageViewed","stageCompleted","flowCompleted","ratesViewed","ratesBack","submissionFailed","telemetry"],ms={};function Kw(a){let r=ms[a];return r||(r=new Set,ms[a]=r),r}function nb(a,r){Kw(a).add(r)}function ab(a,r){ms[a]?.delete(r)}function mr(a,...r){const l=ms[a];if(!l||l.size===0)return;const s=r[0],c={quoteId:wd(),timestamp:Date.now()};for(const f of[...l])try{f(s,c)}catch(p){pr(p,{tags:{source:"widget-event-listener",event:a}})}}function Jw(){mr("widgetOpened")}function Jg(){mr("widgetClosed")}function eO(a){mr("stageViewed",a)}function tO(a){mr("stageCompleted",a)}function nO(){mr("flowCompleted")}function aO(a){mr("ratesViewed",a)}function rO(a,r){mr("telemetry",{event:a,properties:r})}var e0={apiKey:""};const iO=()=>{try{return typeof e0<"u"?e0?.apiKey:void 0}catch{return}};let t0=!1;const lO=async(a,r)=>null,rb=()=>{t0||(t0=!0,yd({baseUrl:rs,storagePrefix:"credify_",source:"widget",isMockActive:Yf,isTestActive:Rw,partner:xw(),mockTransport:(a,r)=>Yf()?lO():null}),Ev({onQuoteFailure:(a,r)=>Xw(a,{...r,quoteId:r.quoteId??void 0}),onBreadcrumb:(a,r)=>{try{La({category:"quote",message:a,data:r,level:"info"})}catch{}},onTrack:(a,r)=>rO(a,r),onContext:a=>{try{a.product&&ef("product",a.product),a.stage&&ef("stage",a.stage),"quoteId"in a&&ef("quote_id",a.quoteId??void 0)}catch{}}}),pM({apiKey:iO()}),bd(void 0))},n0="credify-widget-font",oO="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";function sO(){if(typeof document>"u"||document.getElementById(n0))return;const a=document.createElement("link");a.id=n0,a.rel="stylesheet",a.href=oO,document.head.appendChild(a)}const Od=a=>A.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:a}),uO=Od(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M3 10.5 12 3l9 7.5"}),A.jsx("path",{d:"M5 9.5V21h14V9.5"})]})),cO=Od(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M4 16.5V13l1.8-4.5A2 2 0 0 1 7.7 7h8.6a2 2 0 0 1 1.9 1.5L20 13v3.5"}),A.jsx("path",{d:"M4 16.5h16M7 20v-3.5M17 20v-3.5"})]})),fO=Od(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M3 8.5 9 4l6 4.5"}),A.jsx("path",{d:"M4.5 7.8V19h9V7.8"}),A.jsx("path",{d:"M14 19v-6h6.5v6z"})]})),dO=[{product:"Home",label:"Home",detail:"Cover the place you live",glyph:uO},{product:"Auto",label:"Auto",detail:"Cover your vehicles",glyph:cO},{product:"Bundle",label:"Home + Auto",detail:"Quote both home and auto coverage",glyph:fO}],pO=({onChoose:a})=>A.jsxs("div",{className:"credify-widget-chooser",children:[A.jsx("h1",{children:"What would you like to insure?"}),A.jsx("p",{children:"We'll ask a few questions and show you real prices from our carriers."}),A.jsx("div",{role:"group","aria-label":"What would you like to insure?",className:"credify-widget-chooser-options",children:dO.map(({product:r,label:l,detail:s,glyph:c})=>A.jsxs("button",{type:"button",onClick:()=>a(r),className:"credify-widget-chooser-option",children:[c,A.jsx("span",{className:"credify-widget-chooser-label",children:l}),A.jsx("span",{className:"credify-widget-chooser-detail",children:s})]},r))})]}),mO=a=>!a&&(xs()||!!Ua());var mf={blandWidgetId:"",cobrowseLicense:""};function hO(){try{return typeof mf<"u"&&mf?mf:{}}catch{return{}}}function yO(a){const r=hO(),l=r.blandWidgetId,s=r.cobrowseLicense;return{enabled:!!(l||s),blandWidgetId:l||void 0,cobrowseLicense:s||void 0,proactiveOnError:!0}}const hf=new Map;function ib(a){if(typeof document>"u")return Promise.reject(new Error("loadScript called without a document"));const r=hf.get(a);if(r)return r;if(document.querySelector(`script[src="${a}"]`))return Promise.resolve();const l=new Promise((s,c)=>{const f=document.createElement("script");f.src=a,f.async=!0,f.onload=()=>s(),f.onerror=()=>{hf.delete(a),c(new Error(`Failed to load script: ${a}`))},document.head.appendChild(f)});return hf.set(a,l),l}const lb="https://widget.bland.ai/loader.js",Rd="bland-widget-host",gO="#bland-widget-root > button",vO=20,bO=100;let bl=!1;function SO(){return typeof document>"u"?!1:!!window.blandSettings||!!document.querySelector(`script[src="${lb}"]`)||!!document.getElementById(Rd)}function _O(){return document.getElementById(Rd)?.shadowRoot?.querySelector(gO)??null}function EO(a,r){if(typeof window>"u"||SO())return;const l=wd();window.blandSettings={widget_id:a,request_data:{source:"credify-insurance-widget",entry_path:window.location.pathname,...l?{quote_id:l}:{},...r}},bl=!0,ib(lb).catch(s=>{bl=!1,pr(s,{tags:{source:"widget-bland-loader"}})})}async function ob(a,r){if(typeof window>"u")return!1;EO(a,r);for(let l=0;l<vO;l+=1){const s=_O();if(s){for(const c of["mousedown","mouseup","click"])s.dispatchEvent(new MouseEvent(c,{bubbles:!0,composed:!0}));return!0}await new Promise(c=>window.setTimeout(c,bO))}return pr(new Error("Bland launcher did not mount"),{tags:{source:"widget-bland-open",owned:String(bl)}}),!1}function CO(){typeof document>"u"||(bl&&(document.getElementById(Rd)?.remove(),delete window.blandSettings),bl=!1)}const AO="https://js.cobrowse.io/CobrowseIO.js";let Qf=!1;async function TO(a){await ib(AO);const r=window.CobrowseIO;if(!r)return null;if(!Qf){r.license=a,r.redactedViews=["input","select","textarea","[data-credify-redact]"],r.customData={quote_id:wd()??void 0,device_name:"Credify Insurance Widget"},r.confirmSession=()=>Promise.resolve(typeof window<"u"?window.confirm("Allow a Credify support agent to view your screen?"):!1);try{await r.client?.()}catch{}r.start?.(),Qf=!0}return r}async function MO(a){if(typeof window>"u")return null;try{const r=await TO(a);return r?.createSessionCode?await r.createSessionCode():null}catch{return null}}function wO(){try{window.CobrowseIO?.stop?.()}catch{}Qf=!1}let Tn=null,is=null,Xf=!1;function OO(a){kO();const r=yO();if(Tn=r,!!r.enabled&&r.proactiveOnError&&r.blandWidgetId){const l=s=>{Xf||(Xf=!0,ob(r.blandWidgetId,{last_quote_error:s?.reason??"unknown"}))};nb("submissionFailed",l),is=l}}function RO(){return!Tn?.enabled||!Tn.blandWidgetId?Promise.resolve(!1):ob(Tn.blandWidgetId)}function DO(){return!Tn?.enabled||!Tn.cobrowseLicense?Promise.resolve(null):MO(Tn.cobrowseLicense)}function xO(){return!!(Tn?.enabled&&Tn.cobrowseLicense)}function kO(){is&&(ab("submissionFailed",is),is=null),CO(),wO(),Xf=!1,Tn=null}const NO=({label:a="Share my screen"})=>{const[r,l]=T.useState(null),[s,c]=T.useState(!1),[f,p]=T.useState(!1),h=T.useCallback(async()=>{c(!0),p(!1);try{const g=await DO();g?l(g):p(!0)}catch{p(!0)}finally{c(!1)}},[]);return xO()?A.jsxs("span",{className:"credify-widget-share",children:[A.jsx("button",{type:"button",onClick:h,disabled:s||!!r,"aria-label":"Share your screen with an agent",className:"credify-widget-share-button",children:s?"Starting…":a}),r&&A.jsxs("span",{className:"credify-widget-share-code",children:["Read this code to your agent: ",A.jsx("strong",{children:r})]}),f&&A.jsx("span",{role:"alert",className:"credify-widget-share-error",children:"Couldn't start screen sharing. Please call us instead."})]}):null},LO="https://assets.getcredify.com",HO=()=>{try{if(typeof __CREDIFY_ASSETS__<"u"&&__CREDIFY_ASSETS__?.baseUrl)return __CREDIFY_ASSETS__.baseUrl}catch{}return LO};HO();function UO(){return Promise.resolve(null)}let zO;function BO(){return zO}const jO=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","),IO=new Set(["product"]),qO=a=>a==="Home"||a==="Auto"||a==="Bundle";function PO({isOpen:a,onClose:r,product:l}){rb(),sO();const[s,c]=T.useState(null);T.useEffect(()=>{let oe=!0;return UO().then(X=>{oe&&c(X)}),()=>{oe=!1}},[]);const f=T.useRef(null),[p,h]=T.useState(null),[g,y]=T.useState(),[E,_]=T.useState(()=>mO(l)),z=T.useRef(null),G=l??g,q=T.useRef(null),Q=T.useRef(null),[Y,ae]=T.useState(!1),[le,J]=T.useState(!1),Se=T.useRef(null),j=T.useCallback((oe,X)=>{const Ne=Se.current,De=oe.kind==="stage"?oe.stage:void 0;Ne&&Ne.stage&&X.index>Ne.index&&tO({stageKey:Ne.stage,stageTitle:Ne.stage,stepIndex:Ne.index,totalSteps:X.total}),De&&eO({stageKey:De,stageTitle:X.title,stepIndex:X.index,totalSteps:X.total}),oe.kind==="terminal"&&oe.screen==="rates"&&aO({rateCount:0}),Se.current={stage:De,index:X.index}},[]);T.useEffect(()=>{a&&Jw()},[a]),T.useEffect(()=>{if(!a||l||g)return;if(!z.current){const X=Cl();X&&(z.current=_d(X))}if(!z.current&&!Ua())return;let oe=!1;return _(!0),(async()=>{try{await z.current;const{quote:X}=await Sd(Ua()??void 0),Ne=X.product;!oe&&qO(Ne)&&y(Ne)}catch{}finally{oe||_(!1)}})(),()=>{oe=!0}},[a,l,g]);const ye=T.useCallback(()=>{if(le){Jg(),r();return}ae(!0)},[le,r]),ee=T.useCallback(()=>ae(!1),[]),Ve=T.useCallback(()=>{ae(!1),Jg(),r()},[r]),Pe=T.useCallback(oe=>{if(oe.key==="Escape"){oe.preventDefault(),Y?ee():ye();return}if(oe.key!=="Tab")return;const X=Y?q.current:f.current;if(!X)return;const Ne=Array.from(X.querySelectorAll(jO)).filter(B=>B.offsetParent!==null||B===document.activeElement);if(Ne.length===0)return;const De=Ne[0],Ye=Ne[Ne.length-1],R=document.activeElement;oe.shiftKey&&R===De?(oe.preventDefault(),Ye.focus()):!oe.shiftKey&&R===Ye&&(oe.preventDefault(),De.focus())},[Y,ee,ye]);T.useEffect(()=>{if(a)return window.addEventListener("keydown",Pe),()=>window.removeEventListener("keydown",Pe)},[a,Pe]),T.useEffect(()=>{if(!Y)return;const oe=window.setTimeout(()=>Q.current?.focus(),0);return()=>window.clearTimeout(oe)},[Y]),T.useEffect(()=>{a||(ae(!1),J(!1),y(void 0))},[a]);const Je=s?.logoUrl?A.jsx("img",{src:s.logoUrl,alt:s.firmName??"Partner logo"}):s?.firmName?A.jsx("span",{children:s.firmName}):null;return a?A.jsxs("div",{ref:f,className:"credify-widget-overlay",role:"dialog","aria-modal":"true","aria-labelledby":"insurance-modal-title",tabIndex:-1,children:[A.jsx("div",{className:"credify-widget-backdrop","aria-hidden":"true"}),A.jsxs("div",{ref:h,className:"credify-widget-panel",role:"document",children:[A.jsx("h2",{id:"insurance-modal-title",className:"credify-widget-sr-only",children:"Credify insurance quote"}),A.jsx("button",{onClick:ye,className:"credify-widget-close","aria-label":"Close quote form",type:"button",children:A.jsx("span",{"aria-hidden":"true",children:"×"})}),Je&&A.jsx("div",{className:"credify-widget-co-brand",children:Je}),A.jsx(dM,{theme:{mode:"light",accent:s?.brandColour??void 0},className:"credify-widget-scope",portalContainer:p,children:E?A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame credify-widget-chooser","aria-live":"polite",children:A.jsx("p",{children:"Loading your quote…"})})}):G?A.jsx(Hv,{product:G,prefill:BO(),suppressedKeys:IO,onScreenChange:j,onComplete:()=>{J(!0),nO()},chrome:oe=>A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame",children:oe})})}):A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame",children:A.jsx(pO,{onChoose:y})})})}),A.jsxs("div",{className:"credify-widget-footer",children:[A.jsx(NO,{label:"Need help? Share my screen"}),A.jsx("p",{children:"Insurance products offered through Credify Corporation, a licensed insurance agency."})]}),Y&&A.jsx("div",{className:"credify-widget-confirm-backdrop",role:"presentation",children:A.jsxs("div",{ref:q,className:"credify-widget-confirm",role:"alertdialog","aria-modal":"true","aria-labelledby":"close-confirm-title","aria-describedby":"close-confirm-description",tabIndex:-1,children:[A.jsx("h3",{id:"close-confirm-title",children:"Close this window?"}),A.jsx("p",{id:"close-confirm-description",children:"You can reopen it from this page whenever you're ready."}),A.jsxs("div",{className:"credify-widget-confirm-actions",children:[A.jsx("button",{ref:Q,type:"button",className:"credify-widget-confirm-cancel",onClick:ee,children:"Keep editing"}),A.jsx("button",{type:"button",className:"credify-widget-confirm-danger",onClick:Ve,children:"Close window"})]})]})})]})]}):null}function GO({onClose:a}){return A.jsxs("div",{className:"credify-widget-overlay",role:"dialog","aria-modal":"true",children:[A.jsx("div",{className:"credify-widget-backdrop","aria-hidden":"true"}),A.jsx("div",{className:"credify-widget-panel",role:"document",style:{height:"auto",maxHeight:"none"},children:A.jsxs("div",{className:"credify-widget-body",style:{textAlign:"center"},children:[A.jsx("h2",{style:{margin:"0 0 0.5rem",fontSize:"1.25rem",fontWeight:700,color:"#10233f"},children:"Something went wrong"}),A.jsx("p",{style:{margin:"0 0 1.25rem",fontSize:"0.9375rem",color:"#42566e"},children:"We could not load your quote. Please close this and try again, or call us on (512) 640-2609."}),A.jsx("button",{type:"button",onClick:a,className:"credify-widget-confirm-cancel",style:{padding:"0.625rem 1.5rem",borderRadius:"0.5rem",fontWeight:700,cursor:"pointer"},children:"Close"})]})})]})}var yf={dsn:"",environment:"production",release:"6d0bb6d3cb639be23befc378a8e40ef7438effa7"};function FO(){try{return typeof yf<"u"&&yf?yf:{}}catch{return{}}}let a0=!1;function VO(a,r){if(!a)return r;const l=Number(a);return Number.isFinite(l)&&l>=0&&l<=1?l:r}function YO(a={}){if(a0)return!0;if(typeof window>"u")return!1;const r=FO(),l=a.dsn??r.dsn;return!l||a.enabled===!1?!1:(qw({baseUrl:rs}),W1({dsn:l,environment:a.environment??r.environment??"production",release:a.release??r.release,sendDefaultPii:!1,maxBreadcrumbs:50,tracesSampleRate:a.tracesSampleRate??VO(r.tracesSampleRate,.1),tracePropagationTargets:[rs],replaysSessionSampleRate:0,replaysOnErrorSampleRate:1,integrations:s=>[...s.filter(c=>c.name!=="BrowserApiErrors"),P0({eventTarget:!1})],ignoreErrors:[/Java object is gone/,/Error invoking postMessage/],denyUrls:[/navigation_performance_logger/,/^iabjs:/],beforeSend:s=>Zg(s),beforeBreadcrumb:s=>s&&(Zg({breadcrumbs:[s]}),s)}),a0=!0,X1("replayIntegration").then(s=>{try{RC(s({maskAllText:!0,maskAllInputs:!0,blockAllMedia:!0,networkDetailAllowUrls:[rs],networkCaptureBodies:!1}))}catch{}}).catch(()=>{}),!0)}const r0="credify_product",i0="credify_product",$O={home:"Home","home-insurance":"Home",homeowners:"Home",auto:"Auto","auto-insurance":"Auto",car:"Auto",vehicle:"Auto",bundle:"Bundle","bundle-insurance":"Bundle"};function l0(a){if(a)return $O[a.trim().toLowerCase()]}let Zf,o0=!1;function QO(){try{if(typeof window>"u")return;Zf=l0(window.sessionStorage?.getItem(i0)),o0=!1;const a=new URL(window.location.href),r=a.searchParams.get(r0);if(r===null)return;const l=l0(r);if(l){Zf=l,o0=!0;try{window.sessionStorage?.setItem(i0,l)}catch{}}a.searchParams.delete(r0),window.history.replaceState(window.history.state,"",a.toString())}catch(a){ww("widget-product-param",a)}}function s0(){return Zf}function XO(){const[a,r]=T.useState(!1),[l,s]=T.useState(()=>(QO(),s0()));T.useEffect(()=>{rb(),YO(),OO()},[]);const c=T.useCallback(p=>{window.parent&&window.parent!==window&&window.parent.postMessage({type:p,source:"credify-insurance-widget"},"*")},[]);T.useEffect(()=>{const p=(g,y,E)=>{window.parent&&window.parent!==window&&window.parent.postMessage({type:"event",source:"credify-insurance-widget",event:g,data:y,meta:E},"*")},h=Ww.map(g=>{const y=(E,_)=>p(g,E,_);return nb(g,y),[g,y]});return()=>{for(const[g,y]of h)ab(g,y)}},[]),T.useEffect(()=>{const p=h=>{if(h.data?.source==="credify-insurance-widget")switch(h.data.type){case"open":r(!0),c("opened");break;case"close":r(!1),c("closed");break;case"init":h.data.product&&!s0()&&s(h.data.product),c("ready");break;case"support-open":RO();break}};return window.addEventListener("message",p),c("ready"),()=>{window.removeEventListener("message",p)}},[c]);const f=T.useCallback(()=>{r(!1),c("closed")},[c]);return A.jsx(fd,{fallback:A.jsx(GO,{onClose:f}),children:A.jsx(PO,{isOpen:a,onClose:f,product:l})})}var ZO=new Set(["/create-quote","/update-quote","/get-quote","/get-stages-for-quote","/get-questions-by-stage","/get-vehicle-options","/is-supported-state","/verify-quote","/get-rates","/request-bind","/prefill-property"]);let u0=!1;function WO(a){try{if(typeof a=="string")return new URL(a,window.location.href).pathname;if(a instanceof URL)return a.pathname;if(a instanceof Request)return new URL(a.url,window.location.href).pathname}catch{return null}return null}async function KO(a,r){try{if(r?.body&&typeof r.body=="string")return JSON.parse(r.body);if(a instanceof Request){const l=await a.clone().text();return l?JSON.parse(l):{}}}catch{return{}}return{}}function JO(){try{if(typeof document>"u"||document.getElementById("credify-mock-badge"))return;const a=()=>{const r=document.createElement("div");r.id="credify-mock-badge",r.textContent="MOCK MODE",r.setAttribute("aria-hidden","true"),r.style.cssText=["position:fixed","bottom:12px","left:12px","z-index:2147483647","background:#b91c1c","color:#fff","font:600 11px/1 system-ui,sans-serif","letter-spacing:0.08em","padding:6px 10px","border-radius:9999px","box-shadow:0 1px 4px rgba(0,0,0,0.3)","pointer-events:none","user-select:none"].join(";"),document.body.appendChild(r)};document.body?a():document.addEventListener("DOMContentLoaded",a,{once:!0})}catch{}}function eR(){if(u0||typeof window>"u"||typeof window.fetch!="function"||!Yf())return;u0=!0;const a=window.fetch.bind(window);window.fetch=async(r,l)=>{const s=WO(r);return!s||!ZO.has(s)||await KO(r,l),a(r,l)},JO(),typeof console<"u"&&console.info("[Credify] Mock mode active — all API calls are served from in-memory fixtures.")}eR();k_.createRoot(document.getElementById("root")).render(A.jsx(T.StrictMode,{children:A.jsx(XO,{})}));export{Ed as $,Zv as A,vv as B,rr as C,Qv as D,pv as E,di as F,An as G,Gv as H,Td as I,gv as J,Ta as K,V0 as L,Y0 as M,IM as N,Xv as O,KM as P,R_ as Q,T_ as R,rR as S,HM as T,aR as U,tR as V,ov as W,nR as X,qM as Y,jM as Z,fe as _,A as a,$v as a0,A_ as a1,iR as a2,Ot as a3,_M as b,SM as c,Ha as d,hv as e,ci as f,Mg as g,WT as h,cs as i,Wv as j,mv as k,NM as l,zf as m,Cs as n,lv as o,ZT as p,Sd as q,T as r,qv as s,cv as t,hd as u,Cv as v,dv as w,Iv as x,Al as y,jv as z};
106
+ */const zM=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],BM=UM("triangle-alert",zM);var pv={auto_prior_carrier_name:{NoPriorInsurance:"No Prior Insurance",TwentyFirstCentury:"21st Century",ACentral:"A.Central",AAA:"AAA",AARP:"AARP",Acadia:"Acadia",Ace:"Ace",Acuity:"Acuity",AdirondackInsExchange:"Adirondack Ins Exchange",Aegis:"Aegis",AIC:"AIC",AIG:"AIG",AlfaAlliance:"Alfa Alliance",Allied:"Allied",Allstate:"Allstate",AmericaFirst:"America First",AmericanCommerce:"American Commerce",AmericanFamily:"American Family",Amica:"Amica",ASILloyds:"ASI Lloyds",AustinMutual:"Austin Mutual",Autoone:"Autoone",AutoOwners:"Auto-Owners",BadgerMutual:"Badger Mutual",Balboa:"Balboa",Bankers:"Bankers",BeaconNational:"Beacon National",BrethernMutual:"Brethern Mutual",BristolWest:"Bristol West",CapitalInsuranceGroup:"Capital Insurance Group",Celina:"Celina",CentralMutualOfOH:"Central Mutual of OH",Chubb:"Chubb",Cincinnati:"Cincinnati",Clearcover:"Clearcover",CNA:"CNA",ColonialPenn:"Colonial Penn",ColoradoCasualty:"Colorado Casualty",Columbia:"Columbia",CommerceWest:"Commerce West",CommonwealthCasualty:"Commonwealth Casualty",Ameriprise:"CONNECT",ConstitutionalCasualty:"Constitutional Casualty",Cornerstone:"Cornerstone",Countrywide:"Countrywide",CSE:"CSE",Cumberland:"Cumberland",Dairyland:"Dairyland",Deerbrook:"Deerbrook",Direct:"Direct",Donegal:"Donegal",Drive:"Drive",Electric:"Electric",EMC:"EMC",Encompass:"Encompass",Erie:"Erie",Esurance:"Esurance",Explorer:"Explorer",FarmBureau:"Farm Bureau",Farmers:"Farmers",FiremansFund:"Firemans Fund",FirstAmerican:"First American",Foremost:"Foremost",Geico:"Geico",GeneralCasualty:"General Casualty",GermantownMutual:"Germantown Mutual",GMAC:"GMAC",Grange:"Grange",GreatAmerican:"Great American",Grinnell:"Grinnell",GuideOne:"Guide One",Hanover:"Hanover",Harbor:"Harbor",Harleysville:"Harleysville",HartfordOMNI:"Hartford OMNI",Hartford:"Hartford",HastingsMutual:"Hastings Mutual",HawkeyeSecurity:"Hawkeye Security",HDI:"HDI",HoraceMann:"Horace Mann",HoustonGeneral:"Houston General",IFA:"IFA",ImperialCasualty:"Imperial Casualty",IndianaFarmers:"Indiana Farmers",Indiana:"Indiana",Infinity:"Infinity",Insurequest:"Insurequest",Integon:"Integon",Integrity:"Integrity",Kemper:"Kemper",LibertyMutual:"Liberty Mutual",LibertyNorthwest:"Liberty Northwest",MainStreetAmerica:"Main Street America",Mapfre:"Mapfre",Mendota:"Mendota",MerchantsGroup:"Merchants Group",Mercury:"Mercury",Metlife:"MetLife",Metropolitan:"Metropolitan",MidContinent:"Mid-Continent",MidwesternIndemnity:"Midwestern Indemnity",Montgomery:"Montgomery",MSA:"MSA",MtWashington:"Mt. Washington",MutualBenefit:"Mutual Benefit",NationalGeneral:"National General",Nationwide:"Nationwide",NewYorkCentralMutual:"New York Central Mutual",NJManufacturers:"NJ Manufacturers",NJSkylands:"NJ Skylands",Northstar:"Northstar",Occidental:"Occidental",OhioCasualty:"Ohio Casualty",OmahaPC:"Omaha P/C",OneBeacon:"One Beacon",OregonMutual:"Oregon Mutual",Palisades:"Palisades",PeerlessMontgomery:"Peerless/Montgomery",Pekin:"Pekin",Pemco:"Pemco",PennNational:"Penn National",PlymouthRock:"Plymouth Rock",PreferredMutual:"Preferred Mutual",Proformance:"Proformance",Progressive:"Progressive",Prudential:"Prudential",Republic:"Republic",RockfordMutual:"Rockford Mutual",RoyalAndSunAlliance:"Royal and Sun Alliance",Safeco:"Safeco",SECURA:"SECURA",Selective:"Selective",SouthernCounty:"Southern County",SouthernMutual:"Southern Mutual",SouthernTrust:"Southern Trust",StPaulTravelers:"St. Paul/Travelers",StandardMutual:"Standard Mutual",StarCasualty:"Star Casualty",StateAuto:"State Auto",StateFarm:"State Farm",Fidelity:"Stillwater",Travelers:"Travelers",TWFG:"TWFG",Unigard:"Unigard",UnitedFireAndCasualty:"United Fire and Casualty",Unitrin:"Unitrin",Universal:"Universal",USAA:"USAA",UticaNational:"Utica National",Victoria:"Victoria",WestBend:"West Bend",WesternNational:"Western National",WesternReserveGroup:"Western Reserve Group",Westfield:"Westfield",WhiteMountains:"White Mountains",WilsonMutual:"Wilson Mutual",Windsor:"Windsor",Zurich:"Zurich",OtherStandard:"Other Standard",OtherNonStandard:"Other Non-Standard"},auto_prior_liability_limit:{Dontknow:"Don't Know",ThirtyToSixty:"30/60",FiftyToHundred:"50/100",HundredToHundred:"100/100",HundredToThreeHundred:"100/300",TwoHundredFiftyToFiveHundred:"250/500",ThreeHundredToThreeHundred:"300/300",FiveHundredToFiveHundred:"500/500",HundredCSL:"100CSL",ThreeHundredCSL:"300CSL",FiveHundredCSL:"500CSL"},auto_reason_for_no_insurance:{ActiveMilitaryDuty:"Active Military Duty",DrivingCompanyCar:"Driving A Company Car",DrivingCarOwnedByRelative:"Driving A Car Owned By A Relative",HasNotOwnedOrOperatedVehicle:"Has Not Owned Or Operated A Vehicle",OwnedVehParkedStoredOffRoadNotDriven:"Owned Veh Parked/Stored Off Road/Not Driven",NonPayment:"Non-Payment",Other:"Other"},residence_type:{OwnHome:"Own Home",OwnCondo:"Own Condo",RentHome:"Rent Home",RentCondo:"Rent Condo",RentApartment:"Rent Apartment",LiveWithParents:"Live With Parents"},home_prior_carrier_name:{TwentyFirstCentury:"21st Century",AAA:"AAA",Acuity:"Acuity",AdirondackInsExchange:"Adirondack Ins Exchange",AIG:"AIG",AlfaAlliance:"Alfa Alliance",AllianzOfAmerica:"Allianz of America",AllianzOfAmericaJefferson:"Allianz of America-Jefferson",Allied:"Allied",Allmerica:"Allmerica",Allstate:"Allstate",AmericaFirst:"America First",AmericanFamily:"American Family",AmericanCommerce:"American Commerce",Amica:"Amica",ASILloyds:"ASI Lloyds",Assurant:"Assurant",AtlasGeneralAgency:"Atlas General Agency",AustinMutual:"Austin Mutual",AutoOwners:"Auto-Owners",BadgerMutual:"Badger Mutual",Balboa:"Balboa",Bamboo:"Bamboo",BeaconNational:"Beacon National",BunkerHill:"Bunker Hill",CapitalInsuranceGroup:"Capital Insurance Group",CentralMutualOfOH:"Central Mutual of OH",ChubbInsurance:"Chubb",Cincinnati:"Cincinnati",Citizens:"Citizens",ColoradoCasualty:"Colorado Casualty",Ameriprise:"CONNECT",CSE:"CSE",Cumberland:"Cumberland",Cypress:"Cypress",Dairyland:"Dairyland",Donegal:"Donegal",Electric:"Electric",EMC:"EMC",Encompass:"Encompass",Erie:"Erie",Esurance:"Esurance",ExcelsiorInsuranceCompany:"Excelsior Insurance Company",FairPlan:"Fair Plan",FarmBureau:"Farm Bureau",Farmers:"Farmers",FiremansFund:"Firemans Fund",FirstAmerican:"First American",ForemostInsuranceCompany:"Foremost Insurance Company",Geico:"Geico",GeneralCasualty:"General Casualty",GermantownMutual:"Germantown Mutual",GMAC:"GMAC",Grange:"Grange",Grinnell:"Grinnell",GuideOne:"Guide One",Hanover:"Hanover",Harleysville:"Harleysville",Hartford:"Hartford",HartfordOMNI:"Hartford OMNI",HawkeyeSecurity:"Hawkeye Security",HippoInsuranceCompany:"Hippo Insurance Company",HomeownersOfAmerica:"Homeowners of America",Homesite:"Homesite",HoraceMann:"Horace Mann",HoustonGeneral:"Houston General",Indiana:"Indiana",IndianaFarmers:"Indiana Farmers",Integrity:"Integrity",Kemper:"Kemper",LibertyMutual:"Liberty Mutual",LibertyNorthwest:"Liberty Northwest",Lloyds:"Lloyds",MainStreetAmerica:"Main Street America",MarkelInsuranceCompany:"Markel Insurance Company",MerchantsGroup:"Merchants Group",Mercury:"Mercury",Metlife:"MetLife",MidwesternIndemnity:"Midwestern Indemnity",Montgomery:"Montgomery",MSA:"MSA",MutualBenefit:"Mutual Benefit",Tower:"National General",NatGenPremier:"NatGen Premier",Nationwide:"Nationwide",NationwideScottsdale:"Nationwide-Scottsdale",NewYorkCentralMutual:"New York Central Mutual",NJSkylands:"NJ Skylands",Northstar:"Northstar",OhioCasualty:"Ohio Casualty",OneBeacon:"One Beacon",OregonMutual:"Oregon Mutual",PeerlessMontgomery:"Peerless/Montgomery",Pekin:"Pekin",PennNational:"Penn National",PlymouthRock:"Plymouth Rock",PreferredMutual:"Preferred Mutual",Prudential:"Prudential",PureHighValue:"Pure High Value",Republic:"Republic",RoyalAndSunAlliance:"Royal and Sun Alliance",Safeco:"Safeco",SECURA:"SECURA",SouthernMutual:"Southern Mutual",SouthernTrust:"Southern Trust",StPaulTravelers:"St. Paul/Travelers",StandardMutual:"Standard Mutual",StateAuto:"State Auto",StateFarm:"State Farm",StateFarmFloridaInsuranceCompany:"State Farm Florida Insurance Company",Fidelity:"Stillwater",SunshineStateInsuranceCompany:"Sunshine State Insurance Company",Travelers:"Travelers",TWFG:"TWFG",Unigard:"Unigard",UnitedFireAndCasualty:"United Fire and Casualty",Unitrin:"Unitrin",Universal:"Universal",USAA:"USAA",UticaNational:"Utica National",Wellington:"Wellington",WestBend:"West Bend",WesternNational:"Western National",WesternReserveGroup:"Western Reserve Group",Westfield:"Westfield",WhiteMountains:"White Mountains",WilsonMutual:"Wilson Mutual",Zurich:"Zurich",Other:"Other",OtherNonStandard:"Other Non-Standard",OtherStandard:"Other Standard"},policy_bi:{Dontknow:"Don't Know",cov30to60:"30/60",cov35to70:"35/70",cov50to100:"50/100",cov100to100:"100/100",cov100to300:"100/300",cov250to500:"250/500",cov300to300:"300/300",cov500to500:"500/500",cov100CSL:"100 CSL",cov300CSL:"300 CSL",cov500CSL:"500 CSL"},policy_um:{Reject:"Reject",cov30to60:"30/60",cov35to70:"35/70",cov50to100:"50/100",cov100to100:"100/100",cov100to300:"100/300",cov250to500:"250/500",cov300to300:"300/300",cov500to500:"500/500",cov100CSL:"100 CSL",cov300CSL:"300 CSL",cov500CSL:"500 CSL"},policy_pd:{Dontknow:"Don't know",cov25000:"25,000",cov50000:"50,000",cov100000:"100,000",cov250000:"250,000",cov500000:"500,000"},policy_mp:{None:"None",cov500:"500",cov1000:"1,000",cov2000:"2,000",cov2500:"2,500",cov5000:"5,000",cov10000:"10,000",cov15000:"15,000",cov25000:"25,000",cov50000:"50,000",cov100000:"100,000"},policy_umpd:{cov25000:"25,000",cov35000:"35,000",cov50000:"50,000",cov100000:"100,000",cov200000:"200,000",cov250000:"250,000",cov300000:"300,000",cov500000:"500,000"},policy_pip:{cov15000:"15,000",cov2500:"2,500",cov5000:"5,000",cov10000:"10,000",cov25000:"25,000",cov50000:"50,000",cov100000:"100,000",cov250000:"250,000",cov75000:"75,000",cov150000:"150,000"},policy_auto_death_indemnity:{NoCoverage:"No Coverage",cov5000:"5,000",cov10000:"10,000"},vehicle_comp_deductible:{NoCoverage:"No Coverage",Zero:"0",Fifty:"50",Hundred:"100",TwoHunderd:"200",TwoHundredfifty:"250",FiveHundred:"500",SeventyFiveHundred:"750",Thousand:"1,000",TwoThousand:"2,000"},vehicle_coll_deductible:{NoCoverage:"No Coverage",Zero:"0",Fifty:"50",Hundred:"100",TwoHunderd:"200",TwoHundredfifty:"250",FiveHundred:"500",SeventyFiveHundred:"750",Thousand:"1,000",TwoThousand:"2,000"},vehicle_towing_and_labor:{NoCoverage:"No Coverage",TwentyFive:"25",Forty:"40",Fifty:"50",SeventyFive:"75",Eighty:"80",Hundred:"100",TwelveHundred:"120",TwoHundred:"200",Unlimited:"Unlimited"},vehicle_transportation_expense:{NoCoverage:"No Coverage",cov20to600:"20/600",cov25to750:"25/750",cov30to900:"30/900",cov40to1200:"40/1,200",cov50to1500:"50/1,500",cov100to3000:"100/3,000"},education_level:{NoHighSchoolDiploma:"No High School Diploma",HighSchoolDiploma:"High School Diploma",SomeCollegeNoDegree:"Some College - No Degree",VocationalTechnicalDegree:"Vocational Technical Degree",AssociatesDegree:"Associates Degree",Bachelors:"Bachelors",Masters:"Masters",Phd:"Phd",MedicalDegree:"Medical Degree",LawDegree:"Law Degree"},industry:{"Agriclt/Forestry/Fish":"Agriculture/Forestry/Fishing","Art/Design/Media":"Art/Design/Media","Banking/Finance/RE":"Banking/Finance/Real Estate","Business/Sales/Offi":"Business/Sales/Office","Construct/EnrgyTrds":"Construction/Energy Trades",Disabled:"Disabled","Education/Library":"Education/Library","Engr/Archt/Sci/Math":"Engineer/Architect/Science/Math","Government/Military":"Government/Military","Homemaker/Houseprsn":"Homemaker/House person","Info Tech":"Information Technology",Insurance:"Insurance","Lgl/Law Enfcmt/Sec":"Legal/Law Enforcement/Security","Maint/Rpr/Hsekeep":"Maintenance/Repair/Housekeeping","Mfg/Production":"Manufacturing/Production","Med/Soc Svcs/Relig":"Medical/Social Services/Religion",Other:"Other","Person.Care/Service":"Personal Care/Service","Rest/Hotel Services":"Restaurant/Hotel Services",Retired:"Retired","Sports/Recreation":"Sports/Recreation",Student:"Student","Trvl/Trnsprt/Warehs":"Travel/Transportation/Warehousing",Unemployed:"Unemployed"},occupation:{"Agr Inspect/Grader":"Agriculture Inspector/Grader",Arborist:"Arborist",Clerk:"Clerk","Equip. Operator":"Equipment Operator","Farm/Ranch Owner":"Farm/Ranch Owner","Farm/Ranch Worker":"Farm/Ranch Worker",Fisherman:"Fisherman",Florist:"Florist","Laborer/Worker":"Laborer/Worker","Landscape/NursryWkr":"Landscaper/Nursery Worker",Landscaper:"Landscaper",Logger:"Logger",Millworker:"Mill worker",Other:"Other",Ranger:"Ranger",Supervisor:"Supervisor","Timber Grader/Scale":"Timber Grader/Scale",Actor:"Actor","Admin Assist":"Administrative Assistant","Announcer/Broadcstr":"Announcer/Broadcaster","Artist/Animator":"Artist/Animator","Author/Writer":"Author/Writer","Choreography/Dancer":"Choreography/Dancer","Composer/Director":"Composer/Director",Curator:"Curator",Designer:"Designer",Editor:"Editor","Journalist/Reporter":"Journalist/Reporter","Musician/Singer":"Musician/Singer",Printer:"Printer",Producer:"Producer","Production Crew":"Production Crew",Projectionist:"Projectionist","Receptionist/Sec":"Receptionist/Secretary","Ticket Sales/Usher":"Ticket Sales/Usher","Accountant/Auditor":"Accountant/Auditor","Analyst/Broker":"Analyst/Broker",Bookkeeper:"Bookkeeper","Branch Manager":"Branch Manager",Collections:"Collections",Consultant:"Consultant",Controller:"Controller","CSR/Teller":"CSR/Teller","Director/Administr":"Director/Administrator",Executive:"Executive","Financial Advisor":"Financial Advisor","Investment Banker":"Investment Banker",Investor:"Investor","Loan/EscrowProcess":"Loan/Escrow Processor","Mgr-Credit/Loan":"Manager-Credit/Loan","Mgr-Portfolio/Prod.":"Manager-Portfolio/Production","Mgr-Property":"Manager-Property",Realtor:"Realtor","SalesAgt/Represent.":"Sales Agent/Representative","Trader,Finan Instru":"Trader, Financial Instruments",Underwriter:"Underwriter","Account Executive":"Account Executive",Buyer:"Buyer","Clerk-Office":"Clerk-Office",CSR:"Customer Service Representative","H.R. Representative":"H.R. Representative","Marketing Researchr":"Marketing Researcher","Messenger/Courier":"Messenger/Courier","Mgr - District":"Manager - District","Mgr - Finance":"Manager - Finance","Mgr-Dept/Store":"Manager - Department/Store","Mgr-General Opers":"Manager - General Operations","Mgr-H.R./PublicRel":"Manager - H.R./Public Relations","Mgr-Mkt/Sales":"Manager - Marketing/Sales","Mgr/Supervisr-Offic":"Manager/Supervisor - Office","Sales-Counter/Rentl":"Sales-Counter/Rental","Sales-Home Based":"Sales-Home Based","Sales-Mfg Rep":"Sales-Manufacture Rep","Sales-Retail/Whlsle":"Sales-Retail/Wholesale","Sales-Route/Vendor":"Sales-Route/Vendor","Boiler Oper/Maker":"Boiler Operator/Maker","Bricklayer/Mason":"Bricklayer/Mason",Carpenter:"Carpenter","Carpet Installer":"Carpet Installer","Concrete Worker":"Concrete Worker","Constrct Proj Mgr":"Construction - Project Manager",Contractor:"Contractor","Crane Operator":"Crane Operator","Electrician/Linesmn":"Electrician/Linesman","ElevatorTech/Instl":"Elevator Technician/Installer","FloorLayer/Finisher":"Floor Layer/Finisher","Foreman/Supervisor":"Foreman/Supervisor",Handyman:"Handyman","Heat/Air Technician":"Heat/Air Technician",Inspector:"Inspector",Metalworker:"Metalworker",Miner:"Miner","Oil/GasDril/RigOpr":"Oil/Gas Driller/Rig Operator",Painter:"Painter","Plstr/Drywall/Stuc":"Plaster/Drywall/Stucco",Plumber:"Plumber",Roofer:"Roofer",Disabled:"Disabled","Audio-Visual Tech.":"Audio-Visual Tech.","Child/DayCare Wrker":"Child/Daycare Worker",Counselor:"Counselor","Grad. Teaching/Asst":"Graduate Teaching Assistant","Instructor-Vocation":"Instructor-Vocation","Librarian/Curator":"Librarian/Curator","Professor, College":"Professor, College",Superintendent:"Superintendent","Teacher, College":"Teacher, College","Teacher, K-12":"Teacher, K-12","Teaching Asst/Aide":"Teaching Assistant/Aide",Tutor:"Tutor",Actuary:"Actuary",Analyst:"Analyst",Architect:"Architect","Clinical Data Coord.":"Clinical Data Coordinator",Drafter:"Drafter",Engineer:"Engineer","Manager-Project":"Manager-Project","Manager-R&D":"Manager-R&D",Mathematician:"Mathematician","Research Prog. Dir.":"Research Program Director",Researcher:"Researcher",Scientist:"Scientist",Sociologist:"Sociologist","Surveyor/Mapmaker":"Surveyor/Mapmaker",Technician:"Technician",Attorney:"Attorney","Chief Executive":"Chief Executive",Commissioner:"Commissioner","Council member":"Council member","Enlst Mil Prsnl E1-4":"Enlisted Military Personnel (E1-4)",Legislator:"Legislator","Mayor/City Manager":"Mayor/City Manager","Meter Reader":"Meter Reader","NCO (E5-9)":"NCO (E5-9)","Officer-Commissiond":"Officer-Commissioned","Officer-Warrant":"Officer-Warrant","Park Ranger":"Park Ranger",Planner:"Planner",Postmaster:"Postmaster",Regulator:"Regulator","US Postal Worker":"US Postal Worker","Homemaker/Houseprsn":"Homemaker/House person","Engineer-Hardware":"Engineer-Hardware","Engineer-Software":"Engineer-Software","Engineer-Systems":"Engineer-Systems","Manager-Systems":"Manager-Systems","Network Admin":"Network Administrator",Programmer:"Programmer","Project Coordinator":"Project Coordinator","Support Technician":"Support Technician","Systems Security":"Systems Security","Technical Writer":"Technical Writer","Web Developer":"Web Developer","Actuarial Clerk":"Actuarial Clerk","Agent/Broker":"Agent/Broker","Claims Adjuster":"Claims Adjuster","Product Manager":"Product Manager","Sales Rep":"Sales Representative","Airport Sec Ofcr":"Airport Security Officer","Animal Control Ofcr":"Animal Control Officer",Bailiff:"Bailiff","Corrections Officer":"Corrections Officer","Court Clrk/Reporter":"Court Clerk/Reporter","Deputy Sheriff":"Deputy Sheriff",Dispatcher:"Dispatcher",Examiner:"Examiner","Fed Agt/Marshall":"Federal Agent/Marshall","Fire Chief":"Fire Chief","Fire Fighter/Supv.":"Fire Fighter/Supervisor","Gaming Ofcr/Invest":"Gaming Officer/Investigator","Highway Patrol Ofcr":"Highway Patrol Officer","Judge/Hearing Ofcr":"Judge/Hearing Officer","Legal Asst./Sec":"Legal Assistant/Secretary","Paralegal/Law Clerk":"Paralegal/Law Clerk","Police Chief":"Police Chief","Police Det/Investgr":"Police Detective/Investigator","Police Offcr/Supvr":"Police Officer/Supervisor","Process Server":"Process Server","Prvt Invest/Detec.":"Private Investigator/Detective","Security Guard":"Security Guard",Sheriff:"Sheriff","Bldg Maint Engineer":"Building Maintenance Engineer","Custodian/Janitor":"Custodian/Janitor",Electrician:"Electrician","Field Service Tech.":"Field Service Technician","Heat/AirCond Repair":"Heat/Air Conditioner Repairman","Housekeeper/Maid":"Housekeeper/Maid","Lndscpe/Grnds Maint":"Landscape/Grounds Maintenance","Maint Mechanic":"Maintenance Mechanic",Mechanic:"Mechanic","Factory Worker":"Factory Worker","Furniture Finisher":"Furniture Finisher",Jeweler:"Jeweler","Machine Operator":"Machine Operator",Packer:"Packer","Plant Manager":"Plant Manager","Printer/Bookbinder":"Printer/Bookbinder","Quality Control":"Quality Control","Refining Operator":"Refining Operator",Shoemaker:"Shoemaker","Tailor/Custom Sewer":"Tailor/Custom Sewer","Textile Worker":"Textile Worker",Upholsterer:"Upholsterer","Assist-Med/Dent/Vet":"Assistant - Medic/Dent/Vet",Clergy:"Clergy","Client Care Worker":"Client Care Worker","Dental Hygenist":"Dental Hygienist",Dentist:"Dentist",Doctor:"Doctor","Hospice Volunteer":"Hospice Volunteer",Mortician:"Mortician","Nurse - C.N.A.":"Nurse - C.N.A.","Nurse - LPN":"Nurse - LPN","Nurse - RN":"Nurse - RN","Nurse Practitioner":"Nurse Practitioner",Optometrist:"Optometrist","Paramedic/EM Tech":"Paramedic/E.M. Technician",Pharmacist:"Pharmacist","Social Worker":"Social Worker","Support Services":"Support Services",Therapist:"Therapist",Veterinarian:"Veterinarian",Caregiver:"Caregiver","Dry Cleaner/Laundry":"Dry Cleaner/Laundry","Hair Stylist/Barber":"Hair Stylist/Barber",Housekeeper:"Housekeeper",Manicurist:"Manicurist",Masseuse:"Masseuse",Nanny:"Nanny","Pet Services":"Pet Services",Baker:"Baker",Bartender:"Bartender",Bellhop:"Bellhop","Bus Person":"Bus Person",Caterer:"Caterer",Chef:"Chef",Concessionaire:"Concessionaire",Concierge:"Concierge","Cook-Rest/Cafeteria":"Cook - Restaurant/Cafeteria","Cook/Wrkr-Fast Food":"Cook/Worker-Fast Food","Delivery Person":"Delivery Person","Desk Clerk":"Desk Clerk",Dishwasher:"Dishwasher","Food Prod/Packing":"Food Production/Packing","Host/Maitre d":"Host/Maitre d",Manager:"Manager",Valet:"Valet","Waiter/Waitress":"Waiter/Waitress","Wine Steward":"Wine Steward",Retired:"Retired","Activity/Recre.Asst":"Activity/Recreational Assistant",Agent:"Agent",Athlete:"Athlete","CampCounselor/Lead":"Camp Counselor/Lead",Coach:"Coach","Director, Program":"Director, Program","Event Mgr/Promoter":"Event Manager/Promoter","Life Guard":"Life Guard","Mgr - Fitness Club":"Manager - Fitness Club","Sales-Tkt/Mmbrshp":"Sales-Ticket/Membership","SportsBrdcstr/Journ":"Sports Broadcaster/Journalist","Trainer/Instructor":"Trainer/Instructor","Umpire/Referee":"Umpire/Referee","Graduate Student":"Graduate Student","High school":"High school",Undergraduate:"Undergraduate","Air Traffic Control":"Air Traffic Control","Airport Ops Crew":"Airport Operations Crew","Bellhop/Porter":"Bellhop/Porter","Crane Loader/Oper":"Crane Loader/Operator","Driver-Bus/Strcar":"Driver - Bus/Streetcar","Driver-Taxi/Limo":"Driver-Taxi/Limo","Driver-Truck/Delvry":"Driver-Truck/Delivery","Flight Attendant":"Flight Attendant","Forklift Operator":"Forklift Operator",Laborer:"Laborer",Longshoreman:"Longshoreman","Mate/Sailor":"Mate/Sailor","Mgr Warehse/Dist":"Manager - Warehouse/District","Parking Lot Attend":"Parking Lot Attendant","Pilot/Capt/Eng":"Pilot/Captain/Engineer","Railroad Worker":"Railroad Worker","Shipping/RecClk":"Shipping/Receiving Clerk","Subway/LgtRail Oper":"Subway/Light Rail Operator","Ticket Agent":"Ticket Agent","Transportation Spec":"Transportation Specialist",Unemployed:"Unemployed"},usage:{Business:"Business",Pleasure:"Pleasure",Farming:"Farming",To_FromWork:"To/From Work",To_FromSchool:"To/From School"},architectural_style:{TwoFamilyHome:"2-Family Home",American4square:"American 4-square",Basic:"Basic",BiLevel:"Bi-Level",Bungalow:"Bungalow",CapeCod:"Cape Cod",Colonial:"Colonial",ColonialSpanish:"Colonial - Spanish",CompletelyCustom:"Completely Custom",Contemporary:"Contemporary",ContractorModern:"Contractor Modern",Farmhouse:"Farmhouse",Folk:"Folk",Log:"Log",Mediterranean:"Mediterranean",Ranch:"Ranch",TriLevel:"Tri-Level",Tudor:"Tudor",Vernacular:"Vernacular",Victorian:"Victorian"},dwelling_type:{SingleFamilyHouse:"Single Family House",Townhouse:"Townhouse",Rowhouse:"Rowhouse",Duplex:"Duplex/Two Family Unit",Triplex:"Tri-plex/Three Family Unit",Fourplex:"Four-plex/Four Family Unit",MultFamily:"Multi-family (more than four units)"},occupancy_type:{OwnerPrimary:"Owner Primary",OwnerSecondary:"Owner Secondary",OwnerSeasonal:"Owner Seasonal"},construction_quality:{Basic:"Basic",Modest:"Modest",Average:"Average",AboveAverage:"Above Average",Expensive:"Expensive",VeryExpensive:"Very Expensive",Opulent:"Opulent"},construction_type:{Frame:"Frame",Masonry:"Masonry",MasonryVeneer:"Masonry Veneer",Log:"Log",Asbestos:"Asbestos",EFIS:"EFIS",HardiPlank:"HardiPlank",SuperiorFireResistive:"Superior Fire Resistive",SuperiorMasonryNonCombustible:"Superior Masonry Non Combustible",SuperiorNonCombustible:"Superior Non Combustible"},foundation_type:{Slab:"Slab",Basement:"Basement",CrawlSpace:"Crawl Space",PartialBasement:"Partial Basement",PiersPostsPiles:"Piers / Posts / Piles",Open:"Open"},located_over_water:{NotOverWater:"No",PartiallyOverWater:"Partially Over Water",FullyOrEntirelyOverWater:"Fully or Entirely Over Water"},number_of_stories:{One:"1",OneHalf:"1.5",Two:"2",TwoHalf:"2.5",Three:"3",ThreeHalf:"3.5",Four:"4",BiLevel:"Bi-Level",TriLevel:"Tri-Level"},exterior_wall_type:{VinylSiding:"Vinyl Siding",WoodFraming:"Wood Framing",BrickVeneer:"Brick Veneer",Stucco:"Stucco",AdobeBlock:"Adobe Block",AluminumSiding:"Aluminum Siding",CementFiberShingles:"Cement Fiber Shingles",Clapboard:"Clapboard",ConcreteBlock:"Concrete Block",HardboardSiding:"Hardboard Siding",InsulatedConcreteForms:"Insulated Concrete Forms",LightGaugeSteelFraming:"Light Gauge Steel Framing",LogsSolid:"Logs (Solid)",MasoniteSiding:"Masonite Siding",PreEngineeredMetal:"Pre-Engineered Metal",SolidBrickConstruction:"Solid Brick Construction",SolidConcrete:"Solid Concrete",StandardPoleFramed:"Standard Pole Framed",Stone:"Stone",StructuralInsulatedPanels:"Structural Insulated Panels",TimberFraming:"Timber Framing"},roof_material_type:{ASPHALT_SHINGLES:"Asphalt Shingles",ARCHITECTURAL_SHINGLES:"Architectural Shingles",METAL:"Metal",TILE_CONCRETE:"Tile (Concrete)",ASBESTOS:"Asbestos",BUILT_UP:"Built-Up",COMPOSITION:"Composition",CONCRETE:"Concrete",COPPER:"Copper",CORRUGATED_STEEL:"Corrugated Steel",FIBERGLASS:"Fiberglass",FOAM:"Foam",GRAVEL:"Gravel",MEMBRANE:"Membrane",MINERAL_FIBER_SHAKE:"Mineral Fiber Shake",PLASTIC:"Plastic",ROCK:"Rock",ROLLED_PAPER:"Rolled Paper",RUBBER:"Rubber",SLATE:"Slate",TAR:"Tar",TAR_GRAVEL:"Tar and Gravel",TILE_CLAY:"Tile (Clay)",TILE_MISSION:"Tile (Mission)",TILE_SPANISH:"Tile (Spanish)",TIN:"Tin",WOOD_FIBERGLASS_SHINGLES:"Wood/Fiberglass Shingles",WOOD_SHAKE:"Wood Shake",WOOD_SHINGLES:"Wood Shingles",OTHER:"Other"},roof_shape:{B_Gable:"Gable",C_Hip:"Hip",A_Flat:"Flat",D_Other:"Other"},roof_updated_type:{NotUpdated:"Not Updated",PartialUpdate:"Partial Update",CompleteUpdate:"Complete Update"},heating_type:{Electric:"Electric",Gas:"Gas",GasForcedAir:"Gas - Forced Air",GasHotWater:"Gas - Hot Water",Oil:"Oil",OilForcedAir:"Oil - Forced Air",OilHotWater:"Oil - Hot Water",SolidFuel:"Solid Fuel",HeatPump:"Heat Pump",Other:"Other"},oil_tank_location:{AboveGround:"Above Ground",BelowGround:"Below Ground"},basement_type:{Basement:"Below Grade Basement",SplitLevelBasement:"Split Level Basement",WalkoutBasement:"Walkout Basement"},plumbing_type:{EntirelyCopper:"Entirely Copper",EntirelyGalvanized:"Entirely Galvanized",EntirelyPEX:"Entirely PEX",EntirelyPVC:"Entirely PVC",Polybutylene:"Polybutylene"},personal_liability:{TwentyFive:"$25,000",Fifty:"$50,000",OneHundred:"$100,000",TwoHundred:"$200,000",ThreeHundred:"$300,000",FourHundred:"$400,000",FiveHundred:"$500,000"},dwelling_medical_payments:{cov1000:"$1,000",cov2000:"$2,000",cov3000:"$3,000",cov4000:"$4,000",cov5000:"$5,000"},all_perils_deductible:{TwoHundredFifty:"$250",FiveHundred:"$500",SevenHundredFifty:"$750",OneThousand:"$1,000",OneThousandFiveHundred:"$1,500",TwoThousand:"$2,000",TwoThousandFiveHundred:"$2,500",ThreeThousands:"$3,000",FourThousands:"$4,000",FiveThousands:"$5,000",OnePercent:"1%",TwoPercent:"2%",ThreePercent:"3%",FourPercent:"4%",FivePercent:"5%"},windstorm_deductible:{None:"None",OnePercent:"1%",TwoPercent:"2%",FivePercent:"5%",TenPercent:"10%"},distance_from_fire_hydrant_ft:{_0_500ft:"0-500 Feet",_501_1000ft:"501-1000 Feet",_1001ftAndGreater:"1001 Feet And Greater"},distance_from_fire_station_miles:{Lessthan5miles:"Less Than 5 Miles",Over5miles:"Over 5 Miles",NotAvailable:"Not Available"},employment_industry:{"Agriclt/Forestry/Fish":"Agriculture/Forestry/Fishing","Art/Design/Media":"Art/Design/Media","Banking/Finance/RE":"Banking/Finance/Real Estate","Business/Sales/Offi":"Business/Sales/Office","Construct/EnrgyTrds":"Construction/Energy Trades",Disabled:"Disabled","Education/Library":"Education/Library","Engr/Archt/Sci/Math":"Engineer/Architect/Science/Math","Government/Military":"Government/Military","Homemaker/Houseprsn":"Homemaker/House Person","Info Tech":"Information Technology",Insurance:"Insurance","Lgl/Law Enfcmt/Sec":"Legal/Law Enforcement/Security","Maint/Rpr/Hsekeep":"Maintenance/Repair/Housekeeping","Mfg/Production":"Manufacturing/Production","Med/Soc Svcs/Relig":"Medical/Social Services/Religion",Other:"Other","Person.Care/Service":"Personal Care/Service","Rest/Hotel Services":"Restaurant/Hotel Services",Retired:"Retired","Sports/Recreation":"Sports/Recreation",Student:"Student","Trvl/Trnsprt/Warehs":"Travel/Transportation/Warehousing",Unemployed:"Unemployed"},marital_status:{Single:"Single",Married:"Married",Seperated:"Separated",Divorced:"Divorced",Widowed:"Widowed",DomesticPartner:"Domestic Partner"},gender:{Female:"Female",Male:"Male"},co_applicant_employment_industry:{"Agriclt/Forestry/Fish":"Agriculture/Forestry/Fishing","Art/Design/Media":"Art/Design/Media","Banking/Finance/RE":"Banking/Finance/Real Estate","Business/Sales/Offi":"Business/Sales/Office","Construct/EnrgyTrds":"Construction/Energy Trades",Disabled:"Disabled","Education/Library":"Education/Library","Engr/Archt/Sci/Math":"Engineer/Architect/Science/Math","Government/Military":"Government/Military","Homemaker/Houseprsn":"Homemaker/House Person","Info Tech":"Information Technology",Insurance:"Insurance","Lgl/Law Enfcmt/Sec":"Legal/Law Enforcement/Security","Maint/Rpr/Hsekeep":"Maintenance/Repair/Housekeeping","Mfg/Production":"Manufacturing/Production","Med/Soc Svcs/Relig":"Medical/Social Services/Religion",Other:"Other","Person.Care/Service":"Personal Care/Service","Rest/Hotel Services":"Restaurant/Hotel Services",Retired:"Retired","Sports/Recreation":"Sports/Recreation",Student:"Student","Trvl/Trnsprt/Warehs":"Travel/Transportation/Warehousing",Unemployed:"Unemployed"},co_applicant_marital_status:{Single:"Single",Married:"Married",Seperated:"Separated",Divorced:"Divorced",Widowed:"Widowed",DomesticPartner:"Domestic Partner"},co_applicant_gender:{Female:"Female",Male:"Male"},description:{CONTAMINATION:"Contamination",CREDITCARD:"Credit Card",DAMAGETOPROPERTYOFOTHERS:"Damage To Property Of Others",DOGBITELIABILITY:"Dog Bite",EARTHMOVEMENT:"Earth Movement",EARTHQUAKE:"Earthquake",EXTENDEDCOVERAGEPERILS:"Extended Coverage Perils",FIRE:"Fire",FLOOD:"Flood",FREEZINGWATERINCLUDINGBURSTPIPES:"Freezing Water",HAIL:"Hail",HURRICANE:"Hurricane",LIABILITYALLOTHER:"Liability",LIGHTNING:"Lightning",MEDICALPAYMENTS:"Medical Payments",MYSTERIOUSDISAPPEARANCE:"Mysterious Disappearance",MYSTERIOUSDISAPPEARANCESCHEDULEDPROPERTY:"Mysterious Disappearance - Scheduled Property",PHYSICALDAMAGEALLOTHER:"Physical Damage",SINKHOLE:"Sinkhole",SLIPFALLLIABILITY:"Slip/Fall",SMOKE:"Smoke",THEFTSCHEDULEDPROPERTY:"Theft - Scheduled Property",THEFTBURGLARY:"Theft - Burglary",TORNADO:"Tornado",VANDALISMMALICIOUSMISCHIEF:"Vandalism",WATERDAMAGE:"Water Damage",WIND:"Wind",WORKERSCOMPENSATION:"Workers Compensation",ALLOTHER:"All Other"},tort_threshold:{Verbal_Threshold:"Limited right to sue",Zero_Threshold:"Unlimited right to sue"},pip_coverage_type:{Primary:"Primary",Secondary:"Secondary"},extended_medical:{cov1000:"$1,000",cov10000:"$10,000"},additional_pip:{cov100_10400_LIMITED:"100 - 10,400/ LIMITED",cov125_13000_LIMITED:"125 - 13,000/ LIMITED",cov175_18200_LIMITED:"175 - 18,200/ LIMITED",cov250_26000_LIMITED:"250 - 26,000/ LIMITED",cov400_41600_LIMITED:"400 - 41,600/ LIMITED",cov500_52000_LIMITED:"500 - 52,000/ LIMITED",cov600_62400_LIMITED:"600 - 62,400/ LIMITED",cov700_72800_LIMITED:"700 - 72,800/ LIMITED",cov100_UNLIMITED:"100/UNLIMITED",cov125_UNLIMITED:"125/UNLIMITED",cov175_UNLIMITED:"175/UNLIMITED",cov250_UNLIMITED:"250/UNLIMITED",cov400_UNLIMITED:"400/UNLIMITED",cov500_UNLIMITED:"500/UNLIMITED",cov600_UNLIMITED:"600/UNLIMITED",cov700_UNLIMITED:"700/UNLIMITED"},policy_pip_deductible:{cov250:"$250",cov500:"$500",cov1000:"$1,000",cov2000:"$2,000",cov2500:"$2,500"}},jM={None:"None","30000/60000/25000":"30/60k","30000/60000/30000":"30/60k","50000/100000/30000":"50/100k","50000/100000/50000":"50/100k","100000/300000/50000":"100/300k","100000/300000/100000":"100/300k","250000/500000/100000":"250/500k","250000/500000/250000":"250/500k","300000/500000/250000":"300/500k","300000/500000/300000":"300/500k","500000/500000/300000":"500k CSL","500000/500000/500000":"500k CSL","500000/1000000/300000":"500k/1M","500000/1000000/500000":"500k/1M"},IM={"Agriclt/Forestry/Fish":["Agr Inspect/Grader","Arborist","Clerk","Equip. Operator","Farm/Ranch Owner","Farm/Ranch Worker","Fisherman","Florist","Laborer/Worker","Landscape/NursryWkr","Landscaper","Logger","Millworker","Other","Ranger","Supervisor","Timber Grader/Scale"],"Art/Design/Media":["Actor","Admin Assist","Announcer/Broadcstr","Artist/Animator","Author/Writer","Choreography/Dancer","Clerk","Composer/Director","Curator","Designer","Editor","Journalist/Reporter","Musician/Singer","Other","Printer","Producer","Production Crew","Projectionist","Receptionist/Sec","Ticket Sales/Usher"],"Banking/Finance/RE":["Accountant/Auditor","Admin Assist","Analyst/Broker","Bookkeeper","Branch Manager","Clerk","Collections","Consultant","Controller","CSR/Teller","Director/Administr","Executive","Financial Advisor","Investment Banker","Investor","Loan/EscrowProcess","Mgr-Credit/Loan","Mgr-Portfolio/Prod.","Mgr-Property","Other","Realtor","Receptionist/Sec","SalesAgt/Represent.","Trader,Finan Instru","Underwriter"],"Business/Sales/Offi":["Account Executive","Admin Assist","Buyer","Clerk-Office","Consultant","CSR","Director/Administr","Executive","H.R. Representative","Marketing Researchr","Messenger/Courier","Mgr - District","Mgr - Finance","Mgr-Dept/Store","Mgr-General Opers","Mgr-H.R./PublicRel","Mgr-Mkt/Sales","Mgr/Supervisr-Offic","Other","Receptionist/Sec","Sales-Counter/Rentl","Sales-Home Based","Sales-Mfg Rep","Sales-Retail/Whlsle","Sales-Route/Vendor"],"Construct/EnrgyTrds":["Boiler Oper/Maker","Bricklayer/Mason","Carpenter","Carpet Installer","Concrete Worker","Constrct Proj Mgr","Contractor","Crane Operator","Electrician/Linesmn","ElevatorTech/Instl","Equip. Operator","FloorLayer/Finisher","Foreman/Supervisor","Handyman","Heat/Air Technician","Inspector","Laborer/Worker","Metalworker","Miner","Oil/GasDril/RigOpr","Other","Painter","Plstr/Drywall/Stuc","Plumber","Roofer"],Disabled:["Disabled"],"Education/Library":["Admin Assist","Audio-Visual Tech.","Child/DayCare Wrker","Clerk","Counselor","Grad. Teaching/Asst","Instructor-Vocation","Librarian/Curator","Other","Professor, College","Receptionist/Sec","Superintendent","Teacher, College","Teacher, K-12","Teaching Asst/Aide","Tutor"],"Engr/Archt/Sci/Math":["Actuary","Admin Assist","Analyst","Architect","Clerk","Clinical Data Coord.","Drafter","Engineer","Manager-Project","Manager-R&D","Mathematician","Other","Receptionist/Sec","Research Prog. Dir.","Researcher","Scientist","Sociologist","Surveyor/Mapmaker","Technician"],"Government/Military":["Accountant/Auditor","Admin Assist","Analyst","Attorney","Chief Executive","Clerk","Commissioner","Council member","Director/Administr","Enlst Mil Prsnl E1-4","Legislator","Mayor/City Manager","Meter Reader","NCO (E5-9)","Officer-Commissiond","Officer-Warrant","Other","Park Ranger","Planner","Postmaster","Receptionist/Sec","Regulator","US Postal Worker"],"Homemaker/Houseprsn":["Homemaker/Houseprsn"],"Info Tech":["Admin Assist","Analyst","Clerk","Director/Administr","Engineer-Hardware","Engineer-Software","Engineer-Systems","Executive","Manager-Systems","Network Admin","Other","Programmer","Project Coordinator","Receptionist/Sec","Support Technician","Systems Security","Technical Writer","Web Developer"],Insurance:["Accountant/Auditor","Actuarial Clerk","Actuary","Admin Assist","Agent/Broker","Analyst","Attorney","Claims Adjuster","Clerk","Commissioner","CSR","Director/Administr","Executive","Other","Product Manager","Receptionist/Sec","Sales Rep","Underwriter"],"Lgl/Law Enfcmt/Sec":["Airport Sec Ofcr","Animal Control Ofcr","Attorney","Bailiff","Corrections Officer","Court Clrk/Reporter","Deputy Sheriff","Dispatcher","Examiner","Fed Agt/Marshall","Fire Chief","Fire Fighter/Supv.","Gaming Ofcr/Invest","Highway Patrol Ofcr","Judge/Hearing Ofcr","Legal Asst./Sec","Other","Paralegal/Law Clerk","Police Chief","Police Det/Investgr","Police Offcr/Supvr","Process Server","Prvt Invest/Detec.","Security Guard","Sheriff"],"Maint/Rpr/Hsekeep":["Bldg Maint Engineer","Custodian/Janitor","Electrician","Field Service Tech.","Handyman","Heat/AirCond Repair","Housekeeper/Maid","Lndscpe/Grnds Maint","Maint Mechanic","Mechanic","Other"],"Mfg/Production":["Admin Assist","Clerk","Factory Worker","Foreman/Supervisor","Furniture Finisher","Inspector","Jeweler","Machine Operator","Other","Packer","Plant Manager","Printer/Bookbinder","Quality Control","Receptionist/Sec","Refining Operator","Shoemaker","Tailor/Custom Sewer","Textile Worker","Upholsterer"],"Med/Soc Svcs/Relig":["Admin Assist","Assist-Med/Dent/Vet","Clergy","Clerk","Client Care Worker","Dental Hygenist","Dentist","Doctor","Hospice Volunteer","Mortician","Nurse - C.N.A.","Nurse - LPN","Nurse - RN","Nurse Practitioner","Optometrist","Other","Paramedic/EM Tech","Pharmacist","Receptionist/Sec","Social Worker","Support Services","Technician","Therapist","Veterinarian"],Other:["Other"],"Person.Care/Service":["Caregiver","Dry Cleaner/Laundry","Hair Stylist/Barber","Housekeeper","Manicurist","Masseuse","Nanny","Other","Pet Services","Receptionist/Sec"],"Rest/Hotel Services":["Baker","Bartender","Bellhop","Bus Person","Caterer","Chef","Concessionaire","Concierge","Cook-Rest/Cafeteria","Cook/Wrkr-Fast Food","Delivery Person","Desk Clerk","Dishwasher","Food Prod/Packing","Host/Maitre d","Housekeeper/Maid","Manager","Other","Valet","Waiter/Waitress","Wine Steward"],Retired:["Retired"],"Sports/Recreation":["Activity/Recre.Asst","Admin Assist","Agent","Athlete","CampCounselor/Lead","Clerk","Coach","Concessionaire","Director, Program","Event Mgr/Promoter","Life Guard","Mgr - Fitness Club","Other","Park Ranger","Receptionist/Sec","Sales-Tkt/Mmbrshp","SportsBrdcstr/Journ","Trainer/Instructor","Umpire/Referee"],Student:["Graduate Student","High school","Other","Undergraduate"],"Trvl/Trnsprt/Warehs":["Admin Assist","Air Traffic Control","Airport Ops Crew","Bellhop/Porter","Clerk","Crane Loader/Oper","Dispatcher","Driver-Bus/Strcar","Driver-Taxi/Limo","Driver-Truck/Delvry","Flight Attendant","Forklift Operator","Laborer","Longshoreman","Mate/Sailor","Mgr Warehse/Dist","Other","Parking Lot Attend","Pilot/Capt/Eng","Railroad Worker","Receptionist/Sec","Shipping/RecClk","Subway/LgtRail Oper","Ticket Agent","Transportation Spec"],Unemployed:["Unemployed"]},mv={"Agr Inspect/Grader":"Agriculture Inspector/Grader",Arborist:"Arborist",Clerk:"Clerk","Equip. Operator":"Equipment Operator","Farm/Ranch Owner":"Farm/Ranch Owner","Farm/Ranch Worker":"Farm/Ranch Worker",Fisherman:"Fisherman",Florist:"Florist","Laborer/Worker":"Laborer/Worker","Landscape/NursryWkr":"Landscaper/Nursery Worker",Landscaper:"Landscaper",Logger:"Logger",Millworker:"Mill worker",Other:"Other",Ranger:"Ranger",Supervisor:"Supervisor","Timber Grader/Scale":"Timber Grader/Scale",Actor:"Actor","Admin Assist":"Administrative Assistant","Announcer/Broadcstr":"Announcer/Broadcaster","Artist/Animator":"Artist/Animator","Author/Writer":"Author/Writer","Choreography/Dancer":"Choreography/Dancer","Composer/Director":"Composer/Director",Curator:"Curator",Designer:"Designer",Editor:"Editor","Journalist/Reporter":"Journalist/Reporter","Musician/Singer":"Musician/Singer",Printer:"Printer",Producer:"Producer","Production Crew":"Production Crew",Projectionist:"Projectionist","Receptionist/Sec":"Receptionist/Secretary","Ticket Sales/Usher":"Ticket Sales/Usher","Accountant/Auditor":"Accountant/Auditor","Analyst/Broker":"Analyst/Broker",Bookkeeper:"Bookkeeper","Branch Manager":"Branch Manager",Collections:"Collections",Consultant:"Consultant",Controller:"Controller","CSR/Teller":"CSR/Teller","Director/Administr":"Director/Administrator",Executive:"Executive","Financial Advisor":"Financial Advisor","Investment Banker":"Investment Banker",Investor:"Investor","Loan/EscrowProcess":"Loan/Escrow Processor","Mgr-Credit/Loan":"Manager-Credit/Loan","Mgr-Portfolio/Prod.":"Manager-Portfolio/Production","Mgr-Property":"Manager-Property",Realtor:"Realtor","SalesAgt/Represent.":"Sales Agent/Representative","Trader,Finan Instru":"Trader, Financial Instruments",Underwriter:"Underwriter","Account Executive":"Account Executive",Buyer:"Buyer","Clerk-Office":"Clerk-Office",CSR:"Customer Service Representative","H.R. Representative":"H.R. Representative","Marketing Researchr":"Marketing Researcher","Messenger/Courier":"Messenger/Courier","Mgr - District":"Manager - District","Mgr - Finance":"Manager - Finance","Mgr-Dept/Store":"Manager - Department/Store","Mgr-General Opers":"Manager - General Operations","Mgr-H.R./PublicRel":"Manager - H.R./Public Relations","Mgr-Mkt/Sales":"Manager - Marketing/Sales","Mgr/Supervisr-Offic":"Manager/Supervisor - Office","Sales-Counter/Rentl":"Sales-Counter/Rental","Sales-Home Based":"Sales-Home Based","Sales-Mfg Rep":"Sales-Manufacture Rep","Sales-Retail/Whlsle":"Sales-Retail/Wholesale","Sales-Route/Vendor":"Sales-Route/Vendor","Boiler Oper/Maker":"Boiler Operator/Maker","Bricklayer/Mason":"Bricklayer/Mason",Carpenter:"Carpenter","Carpet Installer":"Carpet Installer","Concrete Worker":"Concrete Worker","Constrct Proj Mgr":"Construction - Project Manager",Contractor:"Contractor","Crane Operator":"Crane Operator","Electrician/Linesmn":"Electrician/Linesman","ElevatorTech/Instl":"Elevator Technician/Installer","FloorLayer/Finisher":"Floor Layer/Finisher","Foreman/Supervisor":"Foreman/Supervisor",Handyman:"Handyman","Heat/Air Technician":"Heat/Air Technician",Inspector:"Inspector",Metalworker:"Metalworker",Miner:"Miner","Oil/GasDril/RigOpr":"Oil/Gas Driller/Rig Operator",Painter:"Painter","Plstr/Drywall/Stuc":"Plaster/Drywall/Stucco",Plumber:"Plumber",Roofer:"Roofer",Disabled:"Disabled","Audio-Visual Tech.":"Audio-Visual Tech.","Child/DayCare Wrker":"Child/Daycare Worker",Counselor:"Counselor","Grad. Teaching/Asst":"Graduate Teaching Assistant","Instructor-Vocation":"Instructor-Vocation","Librarian/Curator":"Librarian/Curator","Professor, College":"Professor, College",Superintendent:"Superintendent","Teacher, College":"Teacher, College","Teacher, K-12":"Teacher, K-12","Teaching Asst/Aide":"Teaching Assistant/Aide",Tutor:"Tutor",Actuary:"Actuary",Analyst:"Analyst",Architect:"Architect","Clinical Data Coord.":"Clinical Data Coordinator",Drafter:"Drafter",Engineer:"Engineer","Manager-Project":"Manager-Project","Manager-R&D":"Manager-R&D",Mathematician:"Mathematician","Research Prog. Dir.":"Research Program Director",Researcher:"Researcher",Scientist:"Scientist",Sociologist:"Sociologist","Surveyor/Mapmaker":"Surveyor/Mapmaker",Technician:"Technician",Attorney:"Attorney","Chief Executive":"Chief Executive",Commissioner:"Commissioner","Council member":"Council member","Enlst Mil Prsnl E1-4":"Enlisted Military Personnel (E1-4)",Legislator:"Legislator","Mayor/City Manager":"Mayor/City Manager","Meter Reader":"Meter Reader","NCO (E5-9)":"NCO (E5-9)","Officer-Commissiond":"Officer-Commissioned","Officer-Warrant":"Officer-Warrant","Park Ranger":"Park Ranger",Planner:"Planner",Postmaster:"Postmaster",Regulator:"Regulator","US Postal Worker":"US Postal Worker","Homemaker/Houseprsn":"Homemaker/House person","Engineer-Hardware":"Engineer-Hardware","Engineer-Software":"Engineer-Software","Engineer-Systems":"Engineer-Systems","Manager-Systems":"Manager-Systems","Network Admin":"Network Administrator",Programmer:"Programmer","Project Coordinator":"Project Coordinator","Support Technician":"Support Technician","Systems Security":"Systems Security","Technical Writer":"Technical Writer","Web Developer":"Web Developer","Actuarial Clerk":"Actuarial Clerk","Agent/Broker":"Agent/Broker","Claims Adjuster":"Claims Adjuster","Product Manager":"Product Manager","Sales Rep":"Sales Representative","Airport Sec Ofcr":"Airport Security Officer","Animal Control Ofcr":"Animal Control Officer",Bailiff:"Bailiff","Corrections Officer":"Corrections Officer","Court Clrk/Reporter":"Court Clerk/Reporter","Deputy Sheriff":"Deputy Sheriff",Dispatcher:"Dispatcher",Examiner:"Examiner","Fed Agt/Marshall":"Federal Agent/Marshall","Fire Chief":"Fire Chief","Fire Fighter/Supv.":"Fire Fighter/Supervisor","Gaming Ofcr/Invest":"Gaming Officer/Investigator","Highway Patrol Ofcr":"Highway Patrol Officer","Judge/Hearing Ofcr":"Judge/Hearing Officer","Legal Asst./Sec":"Legal Assistant/Secretary","Paralegal/Law Clerk":"Paralegal/Law Clerk","Police Chief":"Police Chief","Police Det/Investgr":"Police Detective/Investigator","Police Offcr/Supvr":"Police Officer/Supervisor","Process Server":"Process Server","Prvt Invest/Detec.":"Private Investigator/Detective","Security Guard":"Security Guard",Sheriff:"Sheriff","Bldg Maint Engineer":"Building Maintenance Engineer","Custodian/Janitor":"Custodian/Janitor",Electrician:"Electrician","Field Service Tech.":"Field Service Technician","Heat/AirCond Repair":"Heat/Air Conditioner Repairman","Housekeeper/Maid":"Housekeeper/Maid","Lndscpe/Grnds Maint":"Landscape/Grounds Maintenance","Maint Mechanic":"Maintenance Mechanic",Mechanic:"Mechanic","Factory Worker":"Factory Worker","Furniture Finisher":"Furniture Finisher",Jeweler:"Jeweler","Machine Operator":"Machine Operator",Packer:"Packer","Plant Manager":"Plant Manager","Printer/Bookbinder":"Printer/Bookbinder","Quality Control":"Quality Control","Refining Operator":"Refining Operator",Shoemaker:"Shoemaker","Tailor/Custom Sewer":"Tailor/Custom Sewer","Textile Worker":"Textile Worker",Upholsterer:"Upholsterer","Assist-Med/Dent/Vet":"Assistant - Medic/Dent/Vet",Clergy:"Clergy","Client Care Worker":"Client Care Worker","Dental Hygenist":"Dental Hygienist",Dentist:"Dentist",Doctor:"Doctor","Hospice Volunteer":"Hospice Volunteer",Mortician:"Mortician","Nurse - C.N.A.":"Nurse - C.N.A.","Nurse - LPN":"Nurse - LPN","Nurse - RN":"Nurse - RN","Nurse Practitioner":"Nurse Practitioner",Optometrist:"Optometrist","Paramedic/EM Tech":"Paramedic/E.M. Technician",Pharmacist:"Pharmacist","Social Worker":"Social Worker","Support Services":"Support Services",Therapist:"Therapist",Veterinarian:"Veterinarian",Caregiver:"Caregiver","Dry Cleaner/Laundry":"Dry Cleaner/Laundry","Hair Stylist/Barber":"Hair Stylist/Barber",Housekeeper:"Housekeeper",Manicurist:"Manicurist",Masseuse:"Masseuse",Nanny:"Nanny","Pet Services":"Pet Services",Baker:"Baker",Bartender:"Bartender",Bellhop:"Bellhop","Bus Person":"Bus Person",Caterer:"Caterer",Chef:"Chef",Concessionaire:"Concessionaire",Concierge:"Concierge","Cook-Rest/Cafeteria":"Cook - Restaurant/Cafeteria","Cook/Wrkr-Fast Food":"Cook/Worker-Fast Food","Delivery Person":"Delivery Person","Desk Clerk":"Desk Clerk",Dishwasher:"Dishwasher","Food Prod/Packing":"Food Production/Packing","Host/Maitre d":"Host/Maitre d",Manager:"Manager",Valet:"Valet","Waiter/Waitress":"Waiter/Waitress","Wine Steward":"Wine Steward",Retired:"Retired","Activity/Recre.Asst":"Activity/Recreational Assistant",Agent:"Agent",Athlete:"Athlete","CampCounselor/Lead":"Camp Counselor/Lead",Coach:"Coach","Director, Program":"Director, Program","Event Mgr/Promoter":"Event Manager/Promoter","Life Guard":"Life Guard","Mgr - Fitness Club":"Manager - Fitness Club","Sales-Tkt/Mmbrshp":"Sales-Ticket/Membership","SportsBrdcstr/Journ":"Sports Broadcaster/Journalist","Trainer/Instructor":"Trainer/Instructor","Umpire/Referee":"Umpire/Referee","Graduate Student":"Graduate Student","High school":"High school",Undergraduate:"Undergraduate","Air Traffic Control":"Air Traffic Control","Airport Ops Crew":"Airport Operations Crew","Bellhop/Porter":"Bellhop/Porter","Crane Loader/Oper":"Crane Loader/Operator","Driver-Bus/Strcar":"Driver - Bus/Streetcar","Driver-Taxi/Limo":"Driver-Taxi/Limo","Driver-Truck/Delvry":"Driver-Truck/Delivery","Flight Attendant":"Flight Attendant","Forklift Operator":"Forklift Operator",Laborer:"Laborer",Longshoreman:"Longshoreman","Mate/Sailor":"Mate/Sailor","Mgr Warehse/Dist":"Manager - Warehouse/District","Parking Lot Attend":"Parking Lot Attendant","Pilot/Capt/Eng":"Pilot/Captain/Engineer","Railroad Worker":"Railroad Worker","Shipping/RecClk":"Shipping/Receiving Clerk","Subway/LgtRail Oper":"Subway/Light Rail Operator","Ticket Agent":"Ticket Agent","Transportation Spec":"Transportation Specialist",Unemployed:"Unemployed"},hv=new Set(["Disabled","Retired","Unemployed","Other"]),Bg=new Set(["AAA","AARP","AIG","AIC","CNA","USAA","SR22","PIP","UM","UMPD","BI","PD","MP"]),qM=new Set,vl=a=>{if(Bg.has(a)||/^[A-Z]{2}$/.test(a))return a;let r=a.replace(/^[A-Z]_(?=[A-Za-z])/,"");return/^[A-Z0-9_]+$/.test(r)?r.split("_").filter(Boolean).map(l=>Bg.has(l)?l:l.charAt(0)+l.slice(1).toLowerCase()).join(" "):r.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1 $2").replace(/_/g," ").trim()},yv=(a,r)=>pv[a]?.[r]||jM[r]||vl(r),PM=(a,r)=>(r??[]).map(l=>({value:l,label:yv(a,l)})),GM=a=>{let r=String(a??"").trim();return!r||hv.has(r)?null:IM[r]??null},FM=a=>mv[a]??vl(a),VM=()=>[...qM].sort(),gv={CollDeductible:{key:"vehicle_coll_deductible",label:"Collision deductible",entity:"vehicle"},CompDeductible:{key:"vehicle_comp_deductible",label:"Comprehensive deductible",entity:"vehicle"},TowingAndLabor:{key:"vehicle_towing_and_labor",label:"Towing and labor",entity:"vehicle"},TransportationExpense:{key:"vehicle_transportation_expense",label:"Rental reimbursement",entity:"vehicle"},FullGlass:{key:"vehicle_full_glass",label:"Full glass coverage",entity:"vehicle"},LoanLease:{key:"vehicle_loan_lease",label:"Loan/lease payoff",entity:"vehicle"},AnyModifications:{key:"vehicle_has_modifications",label:"Vehicle modifications",entity:"vehicle"},AntiTheft:{key:"anti_theft_type",label:"Anti-theft device",entity:"vehicle"},AntiLockBrakes:{key:"anti_lock_brakes",label:"Anti-lock brakes",entity:"vehicle"},PassiveRestraints:{key:"passive_restraint_type",label:"Passive restraints",entity:"vehicle"},DaytimeRunningLights:{key:"daytime_running_lights",label:"Daytime running lights",entity:"vehicle"},BodyStyle:{key:"body_style",label:"Body style",entity:"vehicle"},NumberOfMiles:{key:"annual_mileage",label:"Annual mileage",entity:"vehicle"},MilesToWork:{key:"miles_to_work",label:"Miles to work",entity:"vehicle"},OwnershipType:{key:"ownership_type",label:"Own, finance, or lease",entity:"vehicle"},PrimeryUseOfVehicle:{key:"usage",label:"How the vehicle is used",entity:"vehicle"},WasTheCarNew:{key:"new_when_purchased",label:"New when purchased",entity:"vehicle"},GarageAddressDifferent:{key:"vehicle_garaged_at_residence",label:"Where the vehicle is parked",entity:"vehicle"},CostNewValue:{key:"cost_new_value_cents",label:"Original cost",entity:"vehicle"},PLYear:{key:"year",label:"Vehicle year",entity:"vehicle"},PLMake:{key:"make",label:"Vehicle make",entity:"vehicle"},PLModel:{key:"model",label:"Vehicle model",entity:"vehicle"},VIN:{key:"vin",label:"VIN",entity:"vehicle"},DOB:{key:"date_of_birth",label:"Date of birth",entity:"driver"},DriverDateLicensed:{key:"date_first_licensed",label:"Date first licensed",entity:"driver"},DriverLicenseNumber:{key:"license_number",label:"License number",entity:"driver"},DriverStateLicensed:{key:"license_state",label:"License state",entity:"driver"},DriverLicenseStatus:{key:"license_status",label:"License status",entity:"driver"},DriversLicenseBeenSuspendedOrRevoked:{key:"last_5_years_license_suspended_or_revoked",label:"License suspended or revoked",entity:"driver"},DriverOccupationStr:{key:"occupation",label:"Occupation",entity:"driver"},DriverEmploymentIndustry:{key:"industry",label:"Industry",entity:"driver"},DriverEducation:{key:"education_level",label:"Education",entity:"driver"},DriverRelationshipToDriver:{key:"relationship_to_insured",label:"Relationship to you",entity:"driver"},DriverSSN:{key:"social_security_number",label:"Social Security number",entity:"driver"},SR:{key:"sr22",label:"SR-22 filing",entity:"driver"},IsDefensiveDriver:{key:"accident_prevention_course",label:"Defensive driving course",entity:"driver"},DefensiveDriverCourseDate:{key:"accident_prevention_course_date",label:"Defensive driving course date",entity:"driver"},Gender:{key:"gender",label:"Gender",entity:"driver"},BI:{key:"policy_bi",label:"Bodily injury limit",entity:"coverage"},PD:{key:"policy_pd",label:"Property damage limit",entity:"coverage"},UM:{key:"policy_um",label:"Uninsured/underinsured motorist limit",entity:"coverage"},UMPD:{key:"policy_umpd",label:"Uninsured motorist property damage",entity:"coverage"},MP:{key:"policy_mp",label:"Medical payments",entity:"coverage"},PIP:{key:"policy_pip",label:"Personal injury protection",entity:"coverage"},PIPDeductible:{key:"policy_pip_deductible",label:"PIP deductible",entity:"coverage"},AdditionalPIP:{key:"additional_pip",label:"Additional PIP",entity:"coverage"},AutoDeathIndemnity:{key:"policy_auto_death_indemnity",label:"Death indemnity",entity:"coverage"},TortThreshold:{key:"tort_threshold",label:"Lawsuit (tort) option",entity:"coverage"},HealthCare:{key:"pip_coverage_type",label:"PIP coverage type",entity:"coverage"},ExtendedMedical:{key:"extended_medical",label:"Extended medical",entity:"coverage"},HealthInsCoversAutoAccident:{key:"has_health_insurance_auto_accident",label:"Health insurance covers auto accidents",entity:"coverage"},EffectiveDate:{key:"effective_date",label:"Policy start date",entity:"coverage"},PLAllPerilsDeductible:{key:"all_perils_deductible",label:"Deductible",entity:"coverage"},WindstormDeductible:{key:"windstorm_deductible",label:"Windstorm deductible",entity:"coverage"},PLPersonalLiability:{key:"personal_liability",label:"Personal liability",entity:"coverage"},PLPersonalProperty:{key:"personal_property_coverage",label:"Personal property coverage",entity:"coverage"},PLOtherStructures:{key:"other_structures_coverage",label:"Other structures coverage",entity:"coverage"},PersonalLineReplacementCost:{key:"dwelling_replacement_cost",label:"Dwelling replacement cost",entity:"coverage"},DwellingMedicalPayments:{key:"dwelling_medical_payments",label:"Medical payments to others",entity:"coverage"},LossOfUse:{key:"loss_of_use_coverage",label:"Loss of use coverage",entity:"coverage"},NumberOfMortgagees:{key:"number_of_mortgagees",label:"Number of mortgages",entity:"coverage"},PLYearBuilt:{key:"year_built",label:"Year built",entity:"home"},PLSquareFootage:{key:"total_area_sq_ft",label:"Square footage",entity:"home"},PLTypeOfDwelling:{key:"dwelling_type",label:"Dwelling type",entity:"home"},PLConstructionType:{key:"construction_type",label:"Construction type",entity:"home"},PLNumberOfStories:{key:"number_of_stories",label:"Number of stories",entity:"home"},PLNumberOfUnits:{key:"number_of_units",label:"Number of units",entity:"home"},PLNumberOfUnitsInFirewall:{key:"number_of_units_in_firewall",label:"Units in firewall",entity:"home"},PLHeatingType:{key:"heating_type",label:"Heating type",entity:"home"},RoofType:{key:"roof_material_type",label:"Roof material",entity:"home"},MitRoofShape:{key:"roof_shape",label:"Roof shape",entity:"home"},PLRoofUpdated:{key:"roof_updated_type",label:"Roof update",entity:"home"},RoofUpdatedYear:{key:"year_roof_updated",label:"Year the roof was updated",entity:"home"},TypeOfFoundation:{key:"foundation_type",label:"Foundation type",entity:"home"},ExteriorWallsConstruction:{key:"exterior_wall_type",label:"Exterior walls",entity:"home"},ArchitectureStyle:{key:"architectural_style",label:"Architectural style",entity:"home"},ConstructionQuality:{key:"construction_quality",label:"Construction quality",entity:"home"},BasementType:{key:"basement_type",label:"Basement type",entity:"home"},OccupancyType:{key:"occupancy_type",label:"Occupancy",entity:"home"},TypeOfResidence:{key:"residence_type",label:"Residence type",entity:"home"},PurchaseDate:{key:"move_in_date",label:"Move-in date",entity:"home"},PurchasePrice:{key:"sale_price_cents",label:"Purchase price",entity:"home"},DistanceToFireHydrant:{key:"distance_from_fire_hydrant_ft",label:"Distance to fire hydrant",entity:"home"},DistanceToFireStation:{key:"distance_from_fire_station_miles",label:"Distance to fire station",entity:"home"},NumberOfDogsOnPremises:{key:"number_of_dogs",label:"Dogs on the property",entity:"home"},ViciousExoticAnimals:{key:"has_vicious_animals",label:"Vicious or exotic animals",entity:"home"},ShortTermRental:{key:"short_term_rental",label:"Short-term rental use",entity:"home"},GatedOrLimited:{key:"gated_community_discount",label:"Gated community",entity:"home"},BuildingOverWater:{key:"located_over_water",label:"Built over water",entity:"home"},HomeUnderConstruction:{key:"under_construction",label:"Under construction",entity:"home"},BusinessOrDaycare:{key:"has_business_on_premises",label:"Business on the property",entity:"home"},SmokeDetector:{key:"smoke_detectors",label:"Smoke detectors",entity:"home"},BurglarAlarm:{key:"burglar_alarm_system",label:"Burglar alarm",entity:"home"},BurglarAlarmType:{key:"burglar_alarm_system_type",label:"Burglar alarm type",entity:"home"},FireDetection:{key:"fire_detection_system",label:"Fire detection system",entity:"home"},FireDetectionType:{key:"fire_detection_system_type",label:"Fire detection type",entity:"home"},FireExtinguisher:{key:"fire_extinguisher",label:"Fire extinguisher",entity:"home"},DeadBoltLocks:{key:"deadbolt_locks",label:"Deadbolt locks",entity:"home"},SprinklerSystem:{key:"sprinkler_system",label:"Sprinkler system",entity:"home"},SprinklerSystemType:{key:"sprinkler_system_type",label:"Sprinkler system type",entity:"home"},ElectricCircuitBreaker:{key:"electric_circuit_breaker",label:"Circuit breakers",entity:"home"},PlumbingType:{key:"plumbing_type",label:"Plumbing type",entity:"home"},OilTankLocation:{key:"oil_tank_location",label:"Oil tank location",entity:"home"},TypeGarageCarport:{key:"garage_type",label:"Garage type",entity:"home"},StormShutters:{key:"storm_shutters",label:"Storm shutters",entity:"home"},MitCreditForm:{key:"mit_credit_form",label:"Wind mitigation form",entity:"home"},HeatingUpdateYN:{key:"heating_update_yn",label:"Heating updated",entity:"home"},PLHeatingUpdate:{key:"heating_update_type",label:"Heating update type",entity:"home"},HeatingUpdateYear:{key:"heating_update_year",label:"Year heating was updated",entity:"home"},PlumbingUpdateYN:{key:"plumbing_update_yn",label:"Plumbing updated",entity:"home"},PLPlumbingUpdated:{key:"plumbing_update_type",label:"Plumbing update type",entity:"home"},PlumbingUpdatedYear:{key:"plumbing_update_year",label:"Year plumbing was updated",entity:"home"},ElectricalUpdateYN:{key:"electrical_update_yn",label:"Electrical updated",entity:"home"},PLElectircalUpdated:{key:"electrical_update_type",label:"Electrical update type",entity:"home"},ElectircalUpdatedYear:{key:"electrical_update_year",label:"Year electrical was updated",entity:"home"},FirstName:{key:"first_name",label:"First name",entity:"applicant"},MiddleName:{key:"middle_name",label:"Middle name",entity:"applicant"},LastName:{key:"last_name",label:"Last name",entity:"applicant"},DateOfBirth:{key:"date_of_birth",label:"Date of birth",entity:"applicant"},PersonalLineGender:{key:"gender",label:"Gender",entity:"applicant"},MaritalStatus:{key:"marital_status",label:"Marital status",entity:"applicant"},Email:{key:"email",label:"Email address",entity:"applicant"},PrimaryPhoneNumber:{key:"phone",label:"Phone number",entity:"applicant"},SSN:{key:"social_security_number",label:"Social Security number",entity:"applicant"},OccupationStr:{key:"occupation",label:"Occupation",entity:"applicant"},EmploymentIndustry:{key:"industry",label:"Industry",entity:"applicant"},YearsAtAddress:{key:"years_at_address",label:"Years at this address",entity:"applicant"},MonthsAtAddress:{key:"months_at_address",label:"Months at this address",entity:"applicant"},IsMailAddress:{key:"is_mailing_address_different",label:"Mailing address",entity:"applicant"},CreditCheckPermission:{key:"order_credit_authorized",label:"Credit check permission",entity:"applicant"},IssuedCorporationOrTrustInd:{key:"is_corporation",label:"Corporation or trust",entity:"applicant"},AnyAdditionalInsured:{key:"has_co_applicant",label:"Co-applicant",entity:"applicant"},CoFirstName:{key:"co_applicant_first_name",label:"Co-applicant's first name",entity:"applicant"},CoMiddleName:{key:"co_applicant_middle_name",label:"Co-applicant's middle name",entity:"applicant"},CoLastName:{key:"co_applicant_last_name",label:"Co-applicant's last name",entity:"applicant"},CoDateOfBirth:{key:"co_applicant_date_of_birth",label:"Co-applicant's date of birth",entity:"applicant"},CoPersonalLineGender:{key:"co_applicant_gender",label:"Co-applicant's gender",entity:"applicant"},CoMaritalStatus:{key:"co_applicant_marital_status",label:"Co-applicant's marital status",entity:"applicant"},CoOccupationStr:{key:"co_applicant_occupation",label:"Co-applicant's occupation",entity:"applicant"},CoEmploymentIndustry:{key:"co_applicant_employment_industry",label:"Co-applicant's industry",entity:"applicant"},SelectRelationshipToClient:{key:"co_applicant_relationship",label:"Relationship to co-applicant",entity:"applicant"},CurrentPersonalAutoCarrier:{key:"auto_prior_carrier_name",label:"Current auto carrier",entity:"history"},PriorInsuranceCarrier:{key:"auto_prior_carrier_name",label:"Current auto carrier",entity:"history"},CurrentPersonalHomeownerCarrier:{key:"home_prior_carrier_name",label:"Current home carrier",entity:"history"},YearsWithPriorCarrierAuto:{key:"auto_prior_years",label:"Years with your auto carrier",entity:"history"},MonthsWithPriorCarrierAuto:{key:"auto_prior_months",label:"Months with your auto carrier",entity:"history"},YearsWithPriorCarrierHome:{key:"home_prior_years",label:"Years with your home carrier",entity:"history"},YearsWithContinuousCoverageAuto:{key:"auto_continuous_coverage_years",label:"Years of continuous auto coverage",entity:"history"},YearsWithContinuousCoverageHome:{key:"home_continuous_coverage_years",label:"Years of continuous home coverage",entity:"history"},PriorCarrierExpirationDateAuto:{key:"auto_prior_expiration_date",label:"Auto policy expiration date",entity:"history"},PriorCarrierExperationDate:{key:"home_prior_expiration_date",label:"Home policy expiration date",entity:"history"},SelectPriorLiabilityLimitsAuto:{key:"auto_prior_liability_limit",label:"Current liability limits",entity:"history"},SelectReasonNoPriorAutoInsurance:{key:"auto_reason_for_no_insurance",label:"Reason for no prior insurance",entity:"history"},CurrentAutoAnnualPremium:{key:"auto_current_annual_premium_cents",label:"Current annual premium",entity:"history"},LapsInCoverage:{key:"lapse_in_coverage",label:"Lapse in coverage",entity:"history"},AutoInsuranceCancelled:{key:"auto_cancelled_declined_refused_to_renew",label:"Auto policy cancelled or non-renewed",entity:"history"},PropertyInsuranceCancelled:{key:"property_insurance_cancelled",label:"Home policy cancelled or non-renewed",entity:"history"},ForeclosureOrRepossessionOrBankruptcy:{key:"named_insured_foreclosure_repo_bankruptcy",label:"Foreclosure, repossession, or bankruptcy",entity:"history"},InsuranceFraud:{key:"named_insured_convicted_insurance_fraud",label:"Insurance fraud conviction",entity:"history"},HomeAutoInsurance:{key:"multi_policy_discount",label:"Bundling discount",entity:"history"},AutoHomeInsurance:{key:"multi_policy_discount",label:"Bundling discount",entity:"history"}},Ff={};for(let a of Object.values(gv))a.key&&!Ff[a.key]&&(Ff[a.key]=a);var jg={PersonalVehicles:"vehicle",Vehicles:"vehicle",Drivers:"driver"},YM=/\[\?\([^)]*\)\]/g,$M=/\[\?\(@__id__\s*==\s*'([^']*)'\)\]/g,QM=new Set(["Id","SequenceNum","Assignments","IsDrv","DriverId","MainVehicleId"]),XM=a=>/^[a-z][a-z0-9_]*$/.test(a),vv=a=>{let r=(a??"").trim();if(!r)return{raw:r,entity:"general",label:"",isOpaque:!0};if(XM(r)){let h=Ff[r];return{raw:r,entity:h?.entity??"general",key:r,label:h?.label??vl(r),isOpaque:!h}}let l=[...r.matchAll($M)].map(h=>h[1]),s=r.replace(YM,"").split(".").filter(Boolean),c=s[s.length-1]??r;if(QM.has(c))return{raw:r,entity:"general",label:"",isOpaque:!0};let f=s.find(h=>h in jg),p=gv[c];return{raw:r,entity:(f?jg[f]:void 0)??p?.entity??"general",entityId:l[l.length-1],key:p?.key,label:p?.label??vl(c),isOpaque:!p}},hd=[{question:"What's your ZIP code?",inputType:"text",key:"postal_code",required:!0}],bv="Zip|",Sv=[{question:"What is your email address?",inputType:"email",key:"email",required:!0}],_v="Email|",Ev=new Set(["TX","NJ"]),cs={Auto:["Zip","Email","Product","Name","Vehicle","Driver","AutoCurrentCarrier","Demographics","Ssn","Phone"],Home:["Zip","Email","Product","Name","Home","HomePolicy","Demographics","Ssn","Phone"],Bundle:["Zip","Email","Product","Name","Home","Vehicle","Driver","BundlePolicy","Demographics","Ssn","Phone"]},hi={},Cv=a=>{hi=a},ZM=()=>{hi={}},Cs=a=>{try{a()}catch{}},Tn=(a,r)=>{Cs(()=>hi.onQuoteFailure?.(a,r))},Av=(a,r)=>{Cs(()=>hi.onBreadcrumb?.(a,r))},As=(a,r)=>{Cs(()=>hi.onTrack?.(a,r))},Ts=a=>{Cs(()=>hi.onContext?.(a))},Tv=a=>Ts({product:a}),Mv=a=>Ts({quoteId:a}),wv=a=>Ts({stage:a}),Ta=a=>{if(a&&typeof a=="object"&&"statusCode"in a){let r=a.statusCode;if(typeof r=="number")return r}},fs=null,yd=a=>{fs=a},ln=()=>{if(!fs)throw Error("[credify-ui-kit] configureApi() must be called before using the API client.");return fs},Ov=()=>{fs=null},rr=()=>{try{return!!ln().isMockActive?.()}catch{return!1}},gd=()=>{try{return!!ln().isTestActive?.()}catch{return!1}},Ms=()=>`${ln().storagePrefix}quote_id`,ws=()=>`${ln().storagePrefix}auth_token`,Rv=Ms,Dv=ws,WM="__mock",fi=a=>ln().isMockActive?.()?`${a}${WM}`:a,KM=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,xv=a=>{try{return localStorage.getItem(a)}catch{return null}},kv=(a,r)=>{try{localStorage.setItem(a,r)}catch{}},Ig=a=>{try{localStorage.removeItem(a)}catch{}},Ua=()=>{let a=xv(fi(Ms()));return a!==null&&!ln().isMockActive?.()&&!KM.test(a)?(di(),null):a},Os=a=>kv(fi(Ms()),a),Rs=()=>xv(fi(ws())),Ds=a=>kv(fi(ws()),a),di=()=>{Ig(fi(Ms())),Ig(fi(ws()))},JM=fv({buildResumeUrl:()=>vd,captureResumeTokenFromUrl:()=>xs,consumeResumeToken:()=>Cl,hasResumeToken:()=>ks}),Vf="credify_rt",ew=["mock"],ds=null,xs=a=>{try{if(typeof window>"u")return;let r=new URL(window.location.href),l=r.searchParams.get(Vf);if(!l)return;ds=l,r.searchParams.delete(Vf),window.history.replaceState(window.history.state,"",r.toString())}catch(r){a?.(r)}},ks=()=>ds!==null,Cl=()=>{let a=ds;return ds=null,a},vd=a=>{let r=new URL(window.location.href),l=ew.map(s=>[s,r.searchParams.get(s)]).filter(s=>s[1]!==null);r.search="",r.hash="";for(let[s,c]of l)r.searchParams.set(s,c);return r.searchParams.set(Vf,a),r.toString()},Yf,bd=a=>{Yf=a},qg=async a=>{try{let{ZIP_CITIES:r}=await fe(async()=>{const{ZIP_CITIES:l}=await import("./zipCities-CU_i9iT--B1AIvNRh.js");return{ZIP_CITIES:l}},[]);return r[a]??null}catch{return null}},ps=async a=>{if(!/^\d{5}$/.test(a))return null;let r=!1;try{r=!!ln().isMockActive?.()}catch{r=!1}if(r){let{MOCK_ZIP_CITIES:l}=await fe(()=>import("./fixtures-ijbZ16Zg-NuD06-4v.js"),[]).then(s=>s.f);return l[a]??null}if(!Yf)return qg(a);try{return await Yf(a)}catch{return qg(a)}},tw=({disabled:a=!1,busy:r=!1,onChoose:l})=>{let[s,c]=T.useState(!1);return A.jsxs("section",{className:"cds-mb-4 cds-rounded-xl cds-border cds-border-border cds-bg-surface-elevated cds-p-4",children:[A.jsx("h3",{className:"cds-mb-3 cds-text-sm cds-font-bold cds-uppercase cds-tracking-wide cds-text-fg",children:"Communications consent"}),A.jsxs("label",{className:"cds-flex cds-cursor-pointer cds-items-start cds-gap-2 cds-text-sm cds-text-fg-muted",children:[A.jsx("input",{type:"checkbox",checked:s,disabled:a||r,onChange:f=>c(f.target.checked),className:"cds-mt-1 cds-h-4 cds-w-4 cds-shrink-0 cds-accent-brand-accent"}),A.jsx("span",{children:"I consent to communications from Credify Corporation (licensed insurance agency) and my selected carrier(s) at the phone number and email address I provided. This covers: support (including AI agents), carrier quote and service contact, automated rate shopping at or before renewal, policy renewal notifications, claims management, and Credify’s newsletter (which we may send by email, or by text message with a link to read it)."})]}),A.jsxs("div",{className:"cds-mt-3 cds-space-y-2 cds-text-xs cds-leading-relaxed cds-text-fg-muted",children:[A.jsx("p",{children:"These may use automated systems, emails or texts. Message frequency varies. Message & data rates may apply. Reply STOP to opt out of SMS; Reply HELP for help."}),A.jsx("p",{children:"Consent is not required to receive quotes or purchase insurance."}),A.jsxs("p",{children:["Credify Corporation – Texas #3309669."," ",A.jsx("a",{href:"/privacy-policy",target:"_blank",rel:"noreferrer",className:"cds-font-semibold cds-text-fg cds-underline",children:"Privacy Policy"})," ","|"," ",A.jsx("a",{href:"/terms-of-service",target:"_blank",rel:"noreferrer",className:"cds-font-semibold cds-text-fg cds-underline",children:"Terms of Service"})]})]}),A.jsxs("div",{className:"cds-mt-5 cds-grid cds-grid-cols-1 cds-gap-3 sm:cds-grid-cols-2",children:[A.jsx("button",{type:"button",disabled:!s||a||r,onClick:()=>l(!0),className:`cds-w-full cds-rounded-xl cds-bg-accent cds-px-6 cds-py-3.5 cds-text-base cds-font-bold cds-text-primary-foreground cds-transition hover:cds-bg-accent disabled:cds-cursor-not-allowed disabled:cds-bg-border disabled:hover:cds-bg-border ${ci}`,children:r?"Submitting…":"I Consent"}),A.jsx("button",{type:"button",disabled:a||r,onClick:()=>l(!1),className:`cds-w-full cds-rounded-xl cds-border cds-border-input cds-bg-surface-elevated cds-px-6 cds-py-3.5 cds-text-base cds-font-bold cds-text-fg cds-transition hover:cds-bg-surface-muted disabled:cds-cursor-not-allowed disabled:cds-opacity-50 disabled:hover:cds-bg-surface-elevated ${ci}`,children:"I Do Not Consent"})]})]})},nw=a=>{if(typeof window>"u")return null;try{return new URLSearchParams(window.location.search).get(a)}catch{return null}},Pg=[{stage:"Zip",key:"postal_code",normalize:a=>a.replace(/\D/g,"").slice(0,5),isValid:ts,fromUrl:()=>nw("zip")},{stage:"Email",key:"email",normalize:a=>a.trim(),isValid:jf,fromUrl:()=>null}],aw=()=>{typeof document<"u"&&delete document.documentElement.dataset.credifyResuming},Gg=()=>({[bv]:hd,[_v]:Sv}),ff=a=>[...cs[a]],rw=6,iw=1500,lw=new Set(["HomePolicy","BundlePolicy"]),ow=new Set(["processing","completed","no_rates","failed"]),Fg=(a,r)=>{if(!r)return 0;if(ow.has(String(r.rates_status??"")))return a.length+1;let l=a.indexOf(r.current_stage);return l>0?l:0},sw=()=>{if(typeof window>"u")return!1;let a=new URLSearchParams(window.location.search).get("credify_test");return a!==null&&(a===""||/^(1|true|yes)$/i.test(a.trim()))},Nv=()=>gd()||sw(),uw=()=>Nv(),df="78701",cw=()=>{let a=0;return r=>{r>rw||r<=a||(a=r,As("quote_step_completed",{stepIndex:r}))}},Lv=(a,r)=>{let[l,s]=T.useState(null),[c,f]=T.useState({product:a}),[p,h]=T.useState(()=>ff(a)),[g,y]=T.useState(Gg),[E,_]=T.useState(0),[z,G]=T.useState(!1),[q,Q]=T.useState(!1),[Y,ae]=T.useState(!1),[le,J]=T.useState(!1),[Se,j]=T.useState(),[ye,ee]=T.useState(!1),[Ve,Pe]=T.useState(!1),[Je,oe]=T.useState(!1),[X,Ne]=T.useState(!1),[De,Ye]=T.useState(!1),R=T.useRef(l),B=T.useRef(c),te=T.useRef(r?.prefill);T.useEffect(()=>{R.current=l,B.current=c,te.current=r?.prefill});let ge=T.useRef(cw()),ve=T.useRef(null),b=T.useMemo(()=>[...p.map(U=>({kind:"stage",stage:U})),{kind:"terminal",screen:"review"},{kind:"terminal",screen:"rates"}],[p]),L=T.useMemo(()=>Math.max(p.length,cs[a]?.length??0)+1,[p.length,a]),P=b[E],k=P?.kind==="stage"?P.stage:void 0,Z=String(c.state??"");T.useEffect(()=>{Tv(a)},[a]),T.useEffect(()=>{wv(k),k&&Av(`stage: ${k}`,{screenIndex:E})},[k,E]),T.useEffect(()=>{Mv(l)},[l]);let se=T.useMemo(()=>{let U={};for(let I of p){let F=g[`${I}|${Z}`];F&&(U[I]=F)}return U},[p,g,Z]),pe=T.useMemo(()=>k?g[`${k}|${Z}`]??g[`${k}|`]??[]:[],[k,g,Z]),Ze=!!(k&&(`${k}|${Z}`in g||(k==="Zip"||k==="Email")&&`${k}|`in g)),Ge=T.useMemo(()=>({errorsByKey:{},itemErrors:[],issues:[],isValid:!0}),[]),[Kn,Ba]=T.useState(Ge),yi=T.useMemo(()=>k==="Zip"?ts(c.postal_code)?Ge:{errorsByKey:{postal_code:"Enter a 5-digit ZIP code."},itemErrors:[],issues:["Enter a 5-digit ZIP code."],isValid:!1}:k==="Email"?jf(c.email)?Ge:{errorsByKey:{email:"Enter a valid email address."},itemErrors:[],issues:["Enter a valid email address."],isValid:!1}:k?Kn:Ge,[k,c.postal_code,c.email,Kn,Ge]);T.useEffect(()=>{if(!k||k==="Zip"||k==="Email")return;let U=!1;return fe(()=>import("./stage-knShj71W-CEkRTdvw.js"),__vite__mapDeps([0,1,2,3,4])).then(I=>I.a).then(({validateStage:I})=>{U||Ba(I({questions:pe,values:c,stageKey:k}))}),()=>{U=!0}},[k,pe,c]);let Ct=T.useCallback(U=>{f(I=>{let F={...I,...U};return B.current=F,F})},[]),wn=T.useCallback((U,I)=>{if(U.city||U.__address_city)return;let F=String(U.postal_code??"").trim();ts(F)&&ps(F).then(V=>{if(!V||I())return;let W=B.current;W.city||W.__address_city||Ct({city:V,__address_city:V})})},[Ct]),On=T.useCallback(async U=>{let{getStagesForQuote:I}=await fe(async()=>{const{getStagesForQuote:W}=await Promise.resolve().then(()=>Ot);return{getStagesForQuote:W}},void 0),{stages:F}=await I(U??void 0),V=F.filter(W=>W!=="CanopyConnect");return h(V),V},[]),on=T.useCallback(async(U,I,F)=>{ae(!0);try{let{getQuestionsByStage:V}=await fe(async()=>{const{getQuestionsByStage:Le}=await Promise.resolve().then(()=>Ot);return{getQuestionsByStage:Le}},void 0),{questions:W}=await V(U,I??void 0),{ensureAutoCoverageSelections:ue}=await fe(()=>import("./vehicleCoverage-CBWORI1l-BqOK33e3.js"),__vite__mapDeps([4,2,1,3])).then(Le=>Le.d),Te=ue(U,W);return y(Le=>({...Le,[`${U}|${F}`]:Te})),Te}catch(V){return j("We could not load this step. Please try again."),Tn(V,{phase:"stage_load",product:a,stage:U,quoteId:I,endpoint:"/get-questions-by-stage",statusCode:Ta(V)}),[]}finally{ae(!1)}},[a]),Tl=T.useCallback(async(U,I,F)=>{Ye(!0);try{await Promise.all(U.map(V=>on(V,I,F)))}finally{Ye(!1)}},[on]);T.useEffect(()=>{xs(),As("quote_flow_start");let U=!1;return(async()=>{try{let I=Cl();if(I){Q(!0);try{let{redeemResumeToken:Le}=await fe(async()=>{const{redeemResumeToken:we}=await Promise.resolve().then(()=>Ot);return{redeemResumeToken:we}},void 0);await Le(I)}catch{U||j("That link has expired. Enter your ZIP code to pick up where you left off.")}}let F=Ua();F&&(R.current=F,s(F),Q(!0));let V=R.current,W,ue=ff(a);if(V)try{let{getQuote:Le}=await fe(async()=>{const{getQuote:lt}=await Promise.resolve().then(()=>Ot);return{getQuote:lt}},void 0),{quote:we}=await Le(V);if(!U&&we){W=we;let[{fromQuoteRecord:lt},{seedHomeCoverages:Dt}]=await Promise.all([fe(()=>import("./payload-DrGFAxms-DIGXNw5l.js"),__vite__mapDeps([5,1,6])).then(Mt=>Mt.o),fe(()=>import("./coverageDerivation-CV2ORogj-B7aNPljp.js"),[]).then(Mt=>Mt.o)]),We=lt(we);f({...We,...Dt(We),product:a}),wn(We,()=>U)}}catch(Le){di(),U||s(null),R.current=null,Tn(Le,{phase:"quote_resume",product:a,quoteId:V,endpoint:"/get-quote",statusCode:Ta(Le)})}if(R.current&&(ue=await On(R.current),!U&&ue.length))if(W?.review_status==="pending_review")Ne(!0),Ye(!0),_(ue.length);else{let Le=Fg(ue,W);Le>0&&_(Le);let we=ue[Le]??ue[0];we&&we!=="Zip"&&we!=="Email"&&await on(we,R.current,String(B.current.state??""))}let Te=U?null:(await fe(async()=>{const{mockStepFromUrl:Le}=await import("./mockJump-hNzgzUmO-CQ7eZ354.js");return{mockStepFromUrl:Le}},[])).mockStepFromUrl();Te!=null&&Te!==Fg(ue,W)&&(ve.current||await Promise.resolve(),await ve.current?.(Te))}catch(I){U||j("We could not start your quote. Please refresh and try again."),Tn(I,{phase:"quote_start",product:a,quoteId:R.current,statusCode:Ta(I)})}finally{U||(Q(!1),aw())}})(),()=>{U=!0}},[]);let gi=T.useRef(new Set);T.useEffect(()=>{if(!X)return;let U=p.filter(I=>{let F=`${I}|${Z}`;return!(F in g)&&!gi.current.has(F)});if(!U.length){Ye(!1);return}for(let I of U)gi.current.add(`${I}|${Z}`);Tl(U,R.current,Z)},[X,p,g,Z,Tl]),T.useEffect(()=>{!k||g[`${k}|${Z}`]||(k==="Zip"||k==="Email")&&g[`${k}|`]||on(k,R.current,Z)},[k,g,Z,on]);let it=T.useCallback(U=>{_(U),G(!1),j(void 0),rr()&&fe(async()=>{const{writeMockStepHash:I}=await import("./mockJump-hNzgzUmO-CQ7eZ354.js");return{writeMockStepHash:I}},[]).then(({writeMockStepHash:I})=>{I(U)}),window.scrollTo(0,0)},[]),gn=T.useRef(null),vn=T.useCallback(async U=>{let I=R.current;if(I)return I;let F=(U??String(B.current.postal_code??"")).trim(),{createQuote:V}=await fe(async()=>{const{createQuote:ue}=await Promise.resolve().then(()=>Ot);return{createQuote:ue}},void 0),W=await V(F,uw());return R.current=W.quoteId,s(W.quoteId),W.quoteId},[]),Ml=T.useCallback(async U=>{let I=String(B.current.postal_code??"").trim();ps(I).then(ue=>{if(!ue)return;let Te=B.current;Ct({city:ue,...Te.__address_city?{}:{__address_city:ue}})});let F=Wo(I);if(!F)return!0;Ct({state:F,__address_state:B.current.__address_state??F});let{isSupportedState:V}=await fe(async()=>{const{isSupportedState:ue}=await Promise.resolve().then(()=>Ot);return{isSupportedState:ue}},void 0),{isSupported:W}=await V(F,U);return W?!0:(ee(!0),!1)},[Ct]),wl=T.useCallback(()=>(gn.current||=(async()=>{let U=await vn();if(!await Ml(U))return U;let[{stageSlice:I},{toQuotePayload:F},{updateQuote:V}]=await Promise.all([fe(()=>import("./stage-knShj71W-CEkRTdvw.js"),__vite__mapDeps([0,1,2,3,4])).then(W=>W.a),fe(()=>import("./payload-DrGFAxms-DIGXNw5l.js"),__vite__mapDeps([5,1,6])).then(W=>W.o),fe(()=>Promise.resolve().then(()=>Ot),void 0)]);return await V({...F(I(g["Zip|"]??hd,B.current,"Zip")),current_stage:"Email"},!1,U),U})().catch(U=>{throw gn.current=null,U}),gn.current),[vn,Ml,g]),At=T.useCallback(async U=>{let I=B.current,[{parseAddress:F,normalizeStateCode:V},{isSupportedState:W}]=await Promise.all([fe(()=>import("./address-BEVwov8q-BiiIpq2c.js"),[]).then(we=>we.i),fe(()=>Promise.resolve().then(()=>Ot),void 0)]),ue=F(String(I.address??"")),Te=V(String(I.__address_state??ue.state??I.state??""));if(!Te)return!0;Ct({state:Te});let{isSupported:Le}=await W(Te,U);return Le?!0:(ee(!0),!1)},[Ct]),Ol=T.useCallback(async U=>{if(a==="Auto"||Ve)return;let I=B.current,[{parseAddress:F},{prefillProperty:V},{seedHomeCoverages:W}]=await Promise.all([fe(()=>import("./address-BEVwov8q-BiiIpq2c.js"),[]).then(we=>we.i),fe(()=>Promise.resolve().then(()=>Ot),void 0),fe(()=>import("./coverageDerivation-CV2ORogj-B7aNPljp.js"),[]).then(we=>we.o)]),ue=F(String(I.address??"")),Te={address_line_1:String(I.__address_line_1??ue.line_1).trim(),city:String(I.__address_city??ue.city??I.city??"").trim(),state:String(I.__address_state??ue.state??I.state??"").trim(),postal_code:String(I.__address_postal_code??ue.postal_code??I.postal_code??"").trim()};if(!Te.address_line_1||!Te.city||!Te.state||!Te.postal_code)return;let Le=await V(U,Te);!Le.found||!Le.property||(f(we=>{let lt={...we};for(let[Dt,We]of Object.entries(Le.property??{})){if(We==null)continue;let Mt=lt[Dt];(Mt===void 0||Mt===""||Mt===null)&&(lt[Dt]=We)}return{...lt,...W(lt)}}),Pe(!0))},[a,Ve]),vi=T.useCallback(U=>{let I=p.indexOf(U);if(I>=0&&I+1<p.length)return p[I+1];let F=cs[a]??[],V=F.indexOf(U);return V>=0&&V+1<F.length?F[V+1]:void 0},[p,a]),hr=T.useCallback(async()=>{if(le||!k||!Ze)return;if(k==="Zip"){if(!ts(B.current.postal_code)){G(!0);return}let V=String(B.current.postal_code??"").trim(),W=Wo(V);if(W&&(Ct({state:W,__address_state:B.current.__address_state??W}),!Ev.has(W))){ee(!0);return}ge.current(E+1),it(E+1),wl();return}let{stageSlice:U,validateStage:I}=await fe(()=>import("./stage-knShj71W-CEkRTdvw.js"),__vite__mapDeps([0,1,2,3,4])).then(V=>V.a),F=k==="Email"?jf(B.current.email)?{isValid:!0}:{isValid:!1}:I({questions:pe,values:B.current,stageKey:k});if(!F.isValid){k!=="Email"&&"errorsByKey"in F&&Ba(F),G(!0);return}J(!0),j(void 0);try{let V=gn.current?await gn.current:await vn();if(k==="Product"&&!await At(V))return;let[{toQuotePayload:W},{updateQuote:ue},{prefillSuggestions:Te},{seedHomeCoverages:Le}]=await Promise.all([fe(()=>import("./payload-DrGFAxms-DIGXNw5l.js"),__vite__mapDeps([5,1,6])).then(We=>We.o),fe(()=>Promise.resolve().then(()=>Ot),void 0),fe(()=>Promise.resolve().then(()=>Vg),void 0).then(We=>We.n),fe(()=>import("./coverageDerivation-CV2ORogj-B7aNPljp.js"),[]).then(We=>We.o)]),we=U(pe,B.current,k);k==="Product"&&(we.product=a),k==="Phone"&&(we.suppress_verification_sms=!0);let lt=vi(k),Dt={...W(we),...lt?{current_stage:lt}:{}};if(Object.keys(Dt).length&&await ue(Dt,!1,V),ge.current(E+1),k==="Name"&&a!=="Home"&&Te.vehicle.prefetch(V),k==="Vehicle"&&Te.driver.prefetch(V),lt&&lw.has(lt)){let We=Le(B.current);Object.keys(We).length&&Ct(We)}if(k==="Product"){let We=await On(V);await Ol(V);let Mt=Math.min(E+1,We.length);it(Mt);return}it(E+1)}catch(V){let{CredifyApiError:W}=await fe(async()=>{const{CredifyApiError:Te}=await Promise.resolve().then(()=>Ot);return{CredifyApiError:Te}},void 0),ue=V instanceof W&&V.statusCode===404?"Your quote session expired. Please start again.":"Something went wrong saving your answers. Please try again.";j(ue),Tn(V,{phase:"answer_save",product:a,stage:k,quoteId:R.current,endpoint:"/update-quote",statusCode:Ta(V)})}finally{J(!1)}},[le,k,Ze,wl,vn,At,pe,a,E,On,vi,Ol,it,Ct]),yr=T.useCallback(()=>{E>0&&it(E-1)},[E,it]),Ls=T.useCallback(U=>{let I=b.findIndex(F=>F.kind==="stage"&&F.stage===U);I>=0&&it(I)},[b,it]),gr=T.useRef(!1),ja=T.useCallback(async U=>{if(!(!rr()||gr.current)){gr.current=!0,oe(!0),j(void 0);try{let I={...B.current,product:a},F=String(I.postal_code??"").trim(),V=/^\d{5}$/.test(F)?F:df,W=await vn(V),[{isSupportedState:ue,updateQuote:Te},{toQuotePayload:Le}]=await Promise.all([fe(()=>Promise.resolve().then(()=>Ot),void 0),fe(()=>import("./payload-DrGFAxms-DIGXNw5l.js"),__vite__mapDeps([5,1,6])).then(sn=>sn.o)]),we=Wo(V)??"";we&&(await ue(we,W)).isSupported?I.postal_code=V:(I.postal_code=df,we=Wo(df)??"TX",await ue(we,W)),I.state=we,ee(!1),await Te({product:a,postal_code:I.postal_code},!1,W);let lt=await On(W),Dt=Math.max(0,Math.min(U,lt.length+1)),We=cv()?.autofillStage;if(!We)return;let{stageSlice:Mt}=await fe(()=>import("./stage-knShj71W-CEkRTdvw.js"),__vite__mapDeps([0,1,2,3,4])).then(sn=>sn.a);for(let sn of lt.slice(0,Dt)){let Si=g[`${sn}|${we}`]??await on(sn,W,we);I=We(Si,I,sn);let un=Le(Mt(Si,I,sn));Object.keys(un).length&&await Te(un,!1,W)}f(I),B.current=I,Dt===lt.length+1&&await Te({},!0,W),it(Dt)}catch{j("The mock jump could not seed this step. Reload and try again.")}finally{gr.current=!1,oe(!1)}}},[a,vn,On,on,g,it]),Hs=T.useCallback(async()=>{rr()},[k,pe]);T.useEffect(()=>{ve.current=ja},[ja]),T.useEffect(()=>{if(!rr())return;let U=()=>{fe(async()=>{const{mockStepFromUrl:I}=await import("./mockJump-hNzgzUmO-CQ7eZ354.js");return{mockStepFromUrl:I}},[]).then(({mockStepFromUrl:I})=>{let F=I();F!=null&&F!==E&&ja(F)})};return window.addEventListener("hashchange",U),()=>window.removeEventListener("hashchange",U)},[E,ja]);let Ia=T.useCallback(async U=>{if(le)return!1;let I=R.current;if(!I)return j("Your quote session expired. Please start again."),!1;J(!0),j(void 0);try{let F=typeof U=="boolean"?{communications_consent:U}:{},{updateQuote:V}=await fe(async()=>{const{updateQuote:ue}=await Promise.resolve().then(()=>Ot);return{updateQuote:ue}},void 0),W=await V(F,!0,I);return W.status==="submission_failed"?(j(W.message||"We could not submit your quote for rating."),Tn(Error(W.message||"Rating submission refused"),{phase:"rating_submit",product:a,quoteId:I,endpoint:"/update-quote"}),!1):(it(b.length-1),!0)}catch(F){return j("We could not submit your quote for rating. Please try again."),Tn(F,{phase:"rating_submit",product:a,quoteId:I,endpoint:"/update-quote",statusCode:Ta(F)}),!1}finally{J(!1)}},[le,b.length,it,a]),pt=T.useCallback(async()=>{let[{stageSlice:U},{toQuotePayload:I}]=await Promise.all([fe(()=>import("./stage-knShj71W-CEkRTdvw.js"),__vite__mapDeps([0,1,2,3,4])).then(V=>V.a),fe(()=>import("./payload-DrGFAxms-DIGXNw5l.js"),__vite__mapDeps([5,1,6])).then(V=>V.o)]),F={};for(let V of p){if(AM.has(V))continue;let W=se[V];W?.length&&Object.assign(F,U(W,B.current,V))}return I(F)},[p,se]),bn=T.useCallback(async()=>{if(le)return!1;let U=R.current;if(!U)return j("Your quote session expired. Please start again."),!1;J(!0),j(void 0);try{let{isSupportedState:I,updateQuote:F}=await fe(async()=>{const{isSupportedState:ue,updateQuote:Te}=await Promise.resolve().then(()=>Ot);return{isSupportedState:ue,updateQuote:Te}},void 0),V=String(B.current.state??"");if(V){let{isSupported:ue}=await I(V,U);if(!ue)return ee(!0),!1}let W=await F({...await pt(),customer_review_confirmed:!0},!0,U);return W.status==="submission_failed"?(j(W.message||"We could not submit your quote for rating."),Tn(Error(W.message||"Rating submission refused"),{phase:"rating_submit",product:a,quoteId:U,endpoint:"/update-quote"}),!1):(it(b.length-1),!0)}catch(I){return j("We could not submit your quote. Please try again."),Tn(I,{phase:"rating_submit",product:a,quoteId:U,endpoint:"/update-quote",statusCode:Ta(I)}),!1}finally{J(!1)}},[le,pt,b.length,it,a]),yt=T.useRef(!1),Rl=T.useRef(pt);T.useEffect(()=>{Rl.current=pt}),T.useEffect(()=>{if(!X)return;if(!yt.current){yt.current=!0;return}let U=R.current;if(!U)return;let I=window.setTimeout(()=>{(async()=>{try{let{updateQuote:F}=await fe(async()=>{const{updateQuote:W}=await Promise.resolve().then(()=>Ot);return{updateQuote:W}},void 0),V=await Rl.current();Object.keys(V).length&&await F(V,!1,U)}catch(F){Tn(F,{phase:"answer_save",product:a,quoteId:U,endpoint:"/update-quote",statusCode:Ta(F)})}})()},iw);return()=>window.clearTimeout(I)},[X,c,a]);let Us=T.useCallback(()=>{di(),Ne(!1),yt.current=!1,fe(()=>Promise.resolve().then(()=>Vg),void 0).then(U=>U.n).then(({resetPrefillSuggestions:U})=>{U()}),gn.current=null,s(null),R.current=null,f({product:a}),h(ff(a)),y(Gg()),ee(!1),Pe(!1),it(0)},[a,it]),bi=T.useCallback(U=>{let I=F=>{for(let V of F){if(V.key===U)return V;for(let W of V.conditionals??[]){let ue=I(W.conditionalQuestions??[]);if(ue)return ue}}};for(let F of p){let V=I(se[F]??[]);if(V)return{question:V,stage:F}}},[p,se]),vr=T.useCallback(U=>bi(U)?.stage,[bi]),Jn=T.useRef(null);T.useEffect(()=>{Jn.current===null&&(Jn.current=!!Ua())},[]);let Sn=T.useRef({seeded:new Set,advanced:new Set});return T.useEffect(()=>{if(q||P?.kind!=="stage")return;let U=Pg.find(V=>V.stage===P.stage);if(!U||Sn.current.seeded.has(U.stage)||B.current[U.key]||Jn.current!==!1)return;let I=te.current?.[U.key]??U.fromUrl(),F=I?U.normalize(I):"";!F||!U.isValid(F)||(Sn.current.seeded.add(U.stage),Ct({[U.key]:F}))},[q,P,Ct]),T.useEffect(()=>{if(P?.kind!=="stage")return;let U=Pg.find(I=>I.stage===P.stage);U&&(!Sn.current.seeded.has(U.stage)||Sn.current.advanced.has(U.stage)||!Ze||le||U.isValid(c[U.key])&&(Sn.current.advanced.add(U.stage),hr()))},[P,Ze,le,c,hr]),{product:a,quoteId:l,values:c,stages:p,questionsByStage:se,stageForField:vr,questionForField:bi,screens:b,screenIndex:E,stepTotal:L,current:P,questions:pe,validation:yi,showErrors:z,booting:q,loadingQuestions:Y,questionsReady:Ze,busy:le,error:Se,unsupportedState:ye,prefillApplied:Ve,patch:Ct,continueFromStage:hr,back:yr,goToStage:Ls,submitForRates:Ia,intakeReview:X,intakeQuestionsLoading:De,submitIntakeReview:bn,resetSession:Us,mockJumping:Je,mockJumpTo:ja,mockAutofillStage:Hs}},Hv=()=>fe(()=>import("./question-list-DFjWa8ZA-DbabOwyP.js"),__vite__mapDeps([7,8,1,6,9,2,3,4,0,10,11,12,13,14])).then(a=>a.n),fw=T.lazy(()=>Hv().then(a=>({default:a.QuestionList}))),dw=T.lazy(()=>fe(()=>import("./household-prefill-CmtB9R3R-0b9HYzDA.js"),__vite__mapDeps([15,9,1,2,14])).then(a=>a.n).then(a=>({default:a.HouseholdPrefill}))),pw=T.lazy(()=>fe(()=>import("./copy-applicant-offer-CqzfNhkJ-CVahKn8I.js"),__vite__mapDeps([16,2,1,10,3,11])).then(a=>a.n).then(a=>({default:a.CopyApplicantOffer}))),mw=T.lazy(()=>fe(()=>import("./review-panel-C_WxX33U-CxzpQutt.js").then(a=>a.r),__vite__mapDeps([17,0,1,2,3,4,13])).then(a=>a.i).then(a=>({default:a.ReviewPanel}))),hw=T.lazy(()=>fe(()=>import("./intake-review-panel-D27t8CZO-QuAzDm1O.js"),__vite__mapDeps([18,7,8,1,6,9,2,3,4,0,10,11,12,13,14,17])).then(a=>a.n).then(a=>({default:a.IntakeReviewPanel}))),yw=T.lazy(()=>fe(()=>import("./rates-panel-BSFiWEZX-GsRBXu7R.js"),__vite__mapDeps([19,8,11,14])).then(a=>a.n).then(a=>({default:a.RatesPanel}))),gw=new Set(["Demographics","Ssn"]),ml=({label:a})=>A.jsxs("div",{className:"cds-py-10 cds-text-center","aria-live":"polite",children:[A.jsx("div",{className:"cds-mx-auto cds-mb-3 cds-h-7 cds-w-7 cds-animate-spin cds-rounded-full cds-border-4 cds-border-accent cds-border-t-transparent","aria-hidden":"true"}),A.jsx("p",{className:"cds-text-sm cds-text-fg-muted",children:a})]}),vw=({current:a,total:r,label:l})=>{let s=Math.round((a+1)/r*100);return A.jsxs("div",{className:"cds-mb-6",children:[A.jsxs("div",{className:"cds-mb-1.5 cds-flex cds-items-center cds-justify-between cds-text-xs cds-font-semibold cds-text-fg-muted",children:[A.jsx("span",{children:l}),A.jsxs("span",{children:["Step ",a+1," of ",r]})]}),A.jsx("div",{className:"cds-h-1.5 cds-w-full cds-overflow-hidden cds-rounded-full cds-bg-border",role:"progressbar","aria-valuenow":s,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Quote progress",children:A.jsx("div",{className:"cds-h-full cds-rounded-full cds-bg-accent cds-transition-all",style:{width:`${s}%`}})})]})},bw=()=>A.jsxs("div",{role:"note",className:"cds-mx-auto cds-mb-3 cds-flex cds-w-full cds-max-w-xl cds-items-center cds-gap-2 cds-rounded-lg cds-border cds-border-warning cds-bg-warning-surface cds-px-3 cds-py-2 cds-text-xs cds-text-warning-foreground",children:[A.jsx(BM,{"aria-hidden":"true",className:"cds-h-4 cds-w-4 cds-shrink-0 cds-text-warning"}),A.jsxs("span",{children:[A.jsx("span",{className:"cds-font-bold",children:"Test mode"})," — quotes started in this session are marked as tests and left out of reporting."]})]}),Sw=({onRestart:a})=>A.jsxs("div",{className:"cds-py-8 cds-text-center",children:[A.jsx("h2",{className:"cds-mb-2 cds-text-2xl cds-font-bold cds-text-fg",children:"We're not in your state yet"}),A.jsx("p",{className:"cds-mb-6 cds-text-fg-muted",children:"We currently write policies in Texas and New Jersey. Give us a call and we'll point you to a licensed agent who can help."}),A.jsxs("a",{href:ov,onClick:()=>As("phone_call_click",{placement:"quote_unsupported_state",phone:Bf}),className:Ha("cds-inline-block cds-rounded-xl cds-bg-accent cds-px-8 cds-py-3.5 cds-text-base cds-font-bold cds-text-accent-foreground hover:cds-bg-accent/90",ci),children:["Call ",Bf]}),A.jsx("button",{type:"button",onClick:a,className:Ha("cds-mt-4 cds-block cds-w-full cds-text-sm cds-font-semibold cds-text-fg cds-underline",ci),children:"Try a different ZIP code"})]}),_w=new Set(["product"]),Uv=({product:a,suppressedKeys:r=_w,chrome:l=p=>A.jsx(A.Fragment,{children:p}),onScreenChange:s,onComplete:c,prefill:f})=>{let p=Lv(a,{prefill:f}),{booting:h,busy:g,current:y,error:E,intakeReview:_,intakeQuestionsLoading:z,mockJumping:G,questionsReady:q,patch:Q,questions:Y,questionsByStage:ae,quoteId:le,screenIndex:J,showErrors:Se,stepTotal:j,questionForField:ye,stages:ee,unsupportedState:Ve,validation:Pe,values:Je}=p;T.useEffect(()=>{y?.kind==="stage"&&y.stage!=="Zip"&&Hv()},[y]);let oe=wM[a],X=T.useCallback(k=>{let Z=ye(k);return Z?{label:Z.question.question,stage:Z.stage}:void 0},[ye]),Ne=T.useCallback(k=>{let Z=new Set;for(let se of k){let{key:pe}=vv(se.field),Ze=pe?ye(pe)?.stage:void 0;Ze&&Z.add(Ze)}return ee.find(se=>Z.has(se))},[ye,ee]),De=T.useMemo(()=>y?y.kind==="terminal"?y.screen==="review"?TM:MM:CM(y.stage,a):oe?{title:oe.heading,short:oe.label}:void 0,[y,oe,a]),Ye=T.useRef(null),R=T.useRef(!1);T.useEffect(()=>{!De||!y||(s?.(y,{title:De.title,index:J,total:j}),R.current&&Ye.current?.focus({preventScroll:!0}),R.current=!0)},[De,y,J,j]);let B=cv()?.DevPanel,te=rr()&&B?A.jsx(B,{product:a,stages:ee,screenIndex:J,currentStage:y?.kind==="stage"?y.stage:void 0,busy:G,onJump:k=>void p.mockJumpTo(k),onAutofill:()=>void p.mockAutofillStage()}):null,[ge]=T.useState(Nv),ve=k=>l(A.jsxs(A.Fragment,{children:[ge?A.jsx(bw,{}):null,A.jsx("div",{ref:Ye,tabIndex:-1,"data-credify-step-body":!0,className:"cds-rounded-2xl cds-bg-surface-elevated cds-p-5 cds-shadow-sm cds-outline-none sm:cds-p-7",children:k}),te]}));if(h||G)return ve(A.jsxs("div",{className:"cds-py-12 cds-text-center","aria-live":"polite",children:[A.jsx("div",{className:"cds-mx-auto cds-mb-4 cds-h-8 cds-w-8 cds-animate-spin cds-rounded-full cds-border-4 cds-border-accent cds-border-t-transparent","aria-hidden":"true"}),A.jsx("p",{className:"cds-text-fg-muted",children:G?"Seeding mock answers…":"Loading your quote…"})]}));if(Ve)return ve(A.jsx(Sw,{onRestart:p.resetSession}));if(!y||!De)return ve(A.jsxs("div",{className:"cds-py-8 cds-text-center",children:[A.jsx("h2",{className:"cds-mb-2 cds-text-xl cds-font-bold cds-text-fg",children:"We couldn't start your quote"}),A.jsx("p",{className:"cds-mb-6 cds-text-fg-muted",children:"Please refresh the page, or give us a call."}),A.jsx("a",{href:ov,className:"cds-font-semibold cds-text-fg cds-underline",children:Bf})]}));let b=y.kind==="terminal"&&y.screen==="rates",L=_&&y.kind==="terminal"&&y.screen==="review",P=!b&&!L;return ve(A.jsxs(A.Fragment,{children:[P?A.jsx(vw,{current:J,total:j,label:oe.label}):null,J>0&&P?A.jsxs("button",{type:"button",onClick:p.back,className:Ha("cds-mb-3 cds-inline-flex cds-items-center cds-gap-1 cds-text-sm cds-font-semibold cds-text-fg hover:cds-underline",ci),children:[A.jsxs("svg",{"aria-hidden":"true",className:"cds-h-4 cds-w-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[A.jsx("path",{d:"m12 19-7-7 7-7"}),A.jsx("path",{d:"M19 12H5"})]}),"Back"]}):null,y.kind==="stage"?A.jsxs(A.Fragment,{children:[A.jsx("h1",{className:"cds-mb-1 cds-text-2xl cds-font-bold cds-text-fg",children:De.title}),De.subtitle?A.jsx("p",{className:"cds-mb-5 cds-text-sm cds-text-fg-muted",children:De.subtitle}):null,q?A.jsxs(A.Fragment,{children:[y.stage==="Vehicle"||y.stage==="Driver"?A.jsx(T.Suspense,{fallback:null,children:A.jsx(dw,{kind:y.stage==="Vehicle"?"vehicle":"driver",quoteId:le,values:Je,onApply:Q},y.stage)}):null,gw.has(y.stage)?A.jsx(T.Suspense,{fallback:null,children:A.jsx(pw,{stage:y.stage,questions:Y,values:Je,onPatch:Q},`copy-${y.stage}`)}):null,y.stage==="Zip"?A.jsx(nM,{label:Y[0]?.question??"What's your ZIP code?",value:String(Je.postal_code??""),error:Se?Pe.errorsByKey.postal_code:void 0,onChange:k=>Q({postal_code:k})}):y.stage==="Email"?A.jsx(aM,{label:Y[0]?.question??"What is your email address?",value:String(Je.email??""),error:Se?Pe.errorsByKey.email:void 0,onChange:k=>Q({email:k})}):A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(fw,{questions:Y,values:Je,errors:Se?Pe.errorsByKey:{},itemErrors:Se?Pe.itemErrors:[],stageKey:y.stage,quoteId:le,suppressedKeys:r,onPatch:Q})}),Se&&!Pe.isValid?A.jsx(Mg,{message:"Please complete the highlighted questions."}):null,A.jsx(Mg,{message:E}),A.jsx(eM,{disabled:g,onClick:()=>void p.continueFromStage(),children:g?"Saving…":"Continue"})]}):A.jsx(ml,{label:"Loading this step…"})]}):y.screen==="review"?_?A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(hw,{stages:ee,questionsByStage:ae,values:Je,quoteId:le,loading:z,busy:g,error:E,suppressedKeys:r,onPatch:Q,onConfirm:()=>void p.submitIntakeReview()})}):A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(mw,{stages:ee,questionsByStage:ae,values:Je,busy:g,error:E,suppressedKeys:r,onEditStage:p.goToStage,onConfirm:k=>void p.submitForRates(k)})}):A.jsx(T.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(yw,{product:a,quoteId:le,describeField:X,onFixAnswers:k=>{let Z=Ne(k);p.goToStage(Z??ee[0])},onRetry:p.submitForRates,onBound:()=>c?.()})})]}))};const sR=Object.freeze(Object.defineProperty({__proto__:null,A:Mv,B:hv,C:Av,D:ZM,E:Tn,F:cs,G:yv,H:PM,I:Ev,J:pv,K:VM,L:bv,M:As,N:_v,O:Ts,P:Sv,R:hd,S:Ov,T:Ta,U:FM,V:vl,W:GM,_:Os,a:bd,b:rr,c:Cl,d:Dv,f:Rv,g:Ds,h:Ua,i:ps,j:wv,k:Tv,l:ks,m:Rs,n:Lv,o:vd,p:di,q:mv,r:tw,s:xs,t:Uv,u:JM,v:yd,w:Cv,x:gd,y:ln,z:vv},Symbol.toStringTag,{value:"Module"}));var Al=class extends Error{statusCode;retryAfterSeconds;constructor(r,l,s){super(r),this.name="CredifyApiError",this.statusCode=l,this.retryAfterSeconds=s}},nt=async(a,r)=>{let l=ln();if(l.mockTransport){let h=await l.mockTransport(a,r);if(h!=null)return h}let s={"Content-Type":"application/json"},c=Rs();c&&(s.Authorization=`Bearer ${c}`);let f=await(l.fetchImpl??fetch)(`${l.baseUrl}${a}`,{method:"POST",headers:s,body:JSON.stringify(r)}),p={};try{p=await f.json()}catch{}if(!f.ok){let h=typeof p.error=="string"&&p.error||`Request failed with status ${f.status}`,g=f.status===429?typeof p.retryAfterSeconds=="number"?p.retryAfterSeconds:60:void 0;throw new Al(h,f.status,g)}return p},Et=(a,r)=>r&&!Rs()?{...a,quoteId:r}:a,Ew=()=>ln().source,Cw=()=>{let{partner:a}=ln();return a?a.sub?{partner_id:a.id,sub_id:a.sub}:{partner_id:a.id}:{}},zv=async(a,r=!1)=>{let l=await nt("/create-quote",{postal_code:a,source:Ew(),...Cw(),...r?{is_test:!0}:{}});if(!l.quoteId)throw new Al("Invalid createQuote response",0);return Os(l.quoteId),{quoteId:l.quoteId}},Bv=(a,r=!1,l)=>nt("/update-quote",Et({payload:a,getRates:r},l)).then(s=>s.status?s:{status:"success"}),Sd=a=>nt("/get-quote",Et({},a)),jv=(a,r)=>nt("/is-supported-state",Et({state:a},r)),Iv=(a,r)=>nt("/verify-quote",{action:"send",quoteId:a,phone:r}),qv=async(a,r)=>{let l=await nt("/verify-quote",{quoteId:a,smsCode:r});return l.isVerified&&l.token&&Ds(l.token),{isVerified:!!l.isVerified}},Pv=a=>nt("/get-rates",Et({},a)),Gv=async a=>{let r=await nt("/verify-quote",Et({action:"issue_resume_link"},a));if(!r.resumeToken)throw new Al("Invalid issueResumeLink response",0);return{resumeToken:r.resumeToken,expiresAt:r.expiresAt??null}},_d=async a=>{di();let r=await nt("/verify-quote",{action:"resume",resumeToken:a});if(!r.quoteId)throw new Al("Invalid resume response",0);return Os(r.quoteId),r.isVerified&&r.token&&Ds(r.token),{quoteId:r.quoteId}},Fv=(a,r)=>{let l=Array.isArray(a)?a:[a];return nt("/request-bind",{...l.length===1?{quoteRateId:l[0]}:{quoteRateIds:l},privacyNoticeAcknowledged:r}).then(s=>"success"in s?s:{success:!0})},Vv=async(a,r)=>{try{return await nt("/prefill-property",Et({...r},a))}catch{return{found:!1}}},Yv=a=>nt("/get-stages-for-quote",Et({},a)),$v=(a,r)=>nt("/get-questions-by-stage",Et({stage:a},r)),Ed=(a,r)=>nt("/get-vehicle-options",Et({...a},r)),Qv=(a,r)=>Ed({action:"vinDecode",vin:a},r),Cd=async a=>{try{let{suggestions:r}=await nt("/get-vehicle-options",Et({action:"vehiclePrefillSuggestions"},a));return r??[]}catch{return[]}},Xv=async(a,r)=>{try{let{items:l}=await nt("/get-vehicle-options",Et({action:"applyVehiclePrefill",selectedIds:a},r));return l??[]}catch{return[]}},Zv=async a=>{try{await nt("/get-vehicle-options",Et({action:"dismissVehiclePrefill"},a))}catch{}},Ad=async a=>{try{let{suggestions:r}=await nt("/get-vehicle-options",Et({action:"driverPrefillSuggestions"},a));return r??[]}catch{return[]}},Wv=async(a,r)=>{try{let{items:l}=await nt("/get-vehicle-options",Et({action:"applyDriverPrefill",selectedIds:a},r));return l??[]}catch{return[]}},Kv=async a=>{try{await nt("/get-vehicle-options",Et({action:"dismissDriverPrefill"},a))}catch{}},Aw=fv({prefillSuggestions:()=>Td,resetPrefillSuggestions:()=>Md}),Jv=a=>{let r=new Map,l=new Map,s=c=>{let f=r.get(c);if(f)return f;let p=a(c).then(h=>(l.set(c,h),h)).catch(()=>(r.get(c)===p&&r.delete(c),[]));return r.set(c,p),p};return{fetch:s,peek:c=>l.get(c),prefetch:c=>{s(c)},reset:()=>{r.clear(),l.clear()}}},ns=Jv(Cd),as=Jv(Ad),Td={vehicle:{fetch:ns.fetch,peek:ns.peek,prefetch:ns.prefetch},driver:{fetch:as.fetch,peek:as.peek,prefetch:as.prefetch}},Md=()=>{ns.reset(),as.reset()};const Vg=Object.freeze(Object.defineProperty({__proto__:null,C:Bv,E:nt,S:Iv,T:Et,_:jv,a:Xv,b:_d,c:Kv,d:Cd,f:$v,g:Ed,h:Yv,i:Wv,l:Zv,m:Pv,n:Aw,o:zv,p:Sd,r:Md,s:Qv,t:Td,u:Ad,v:Gv,w:qv,x:Fv,y:Vv},Symbol.toStringTag,{value:"Module"})),Ot=Object.freeze(Object.defineProperty({__proto__:null,AUTH_TOKEN_STORAGE_KEY:Dv,CredifyApiError:Al,QUOTE_ID_STORAGE_KEY:Rv,applyDriverPrefill:Wv,applyVehiclePrefill:Xv,bodyWithQuoteId:Et,buildResumeUrl:vd,captureResumeTokenFromUrl:xs,cityFromZip:ps,clearQuoteSession:di,configureApi:yd,configureZipCityLookup:bd,consumeResumeToken:Cl,createQuote:zv,decodeVin:Qv,dismissDriverPrefill:Kv,dismissVehiclePrefill:Zv,fetchDriverPrefillSuggestions:Ad,fetchVehiclePrefillSuggestions:Cd,getApiConfig:ln,getQuestionsByStage:$v,getQuote:Sd,getRates:Pv,getStagesForQuote:Yv,getVehicleOptions:Ed,hasResumeToken:ks,isMockEnabled:rr,isSupportedState:jv,isTestModeEnabled:gd,issueResumeLink:Gv,loadAuthToken:Rs,loadQuoteId:Ua,post:nt,prefillProperty:Vv,prefillSuggestions:Td,redeemResumeToken:_d,requestBind:Fv,resetApiConfig:Ov,resetPrefillSuggestions:Md,saveAuthToken:Ds,saveQuoteId:Os,sendSmsCode:Iv,updateQuote:Bv,verifySmsCode:qv},Symbol.toStringTag,{value:"Module"}));var pf={};const Tw="https://api.getcredify.com",Mw=()=>{try{if(typeof pf<"u"&&pf?.baseUrl)return pf.baseUrl}catch{}return Tw},rs=Mw();var mf={};const ww="mock";function Ow(){try{return typeof mf<"u"&&mf?.key?mf.key:void 0}catch{return}}function $f(){const a=Ow();if(!a||typeof window>"u"||!window.location)return!1;try{return new URLSearchParams(window.location.search).get(ww)===a}catch{return!1}}const Rw=()=>{const r=globalThis.process?.env?.NODE_ENV;return typeof r=="string"?r!=="production":!1};function Dw(a,r){try{Rw()&&console.error(`[credify-widget] ${a}:`,r),pr(r instanceof Error?r:new Error(String(r)),{tags:{source:a,failure_type:"side_effect"},level:"warning"})}catch{}}let xw=!1;function kw(){return xw}let Nw;function Lw(){return Nw}const Hw="credify-insurance-widget",Uw="1.0",eb=25,tb=64*1024,zw=`
107
+ …[truncated]`;let Yg=!1,$g=null,Qg="",nb=eb,Qf=tb,gl=[];function Bw(a){return typeof a=="string"?a:a instanceof URL?a.href:a.url}function jw(a,r){return r?.method?r.method.toUpperCase():typeof a!="string"&&!(a instanceof URL)&&a.method?a.method.toUpperCase():"GET"}function Xg(a){if(!a)return[];const r=[];if(Array.isArray(a))for(const[l,s]of a)r.push({name:l,value:String(s)});else if(typeof a.forEach=="function")a.forEach((l,s)=>r.push({name:s,value:l}));else for(const[l,s]of Object.entries(a))r.push({name:l,value:String(s)});return r}function Iw(a){try{const r=[];return new URL(a).searchParams.forEach((l,s)=>r.push({name:s,value:l})),r}catch{return[]}}function qw(a,r){const l=r?.body;return typeof l!="string"||l.length===0?void 0:{mimeType:a.find(c=>c.name.toLowerCase()==="content-type")?.value??"application/json",text:l}}function Pw(a){const r=a.length;return r<=Qf?{text:a,size:r}:{text:a.slice(0,Qf)+zw,size:r}}function Gw(a){gl.push(a),gl.length>nb&&gl.shift()}function Fw(a){if(Yg)return!0;if(typeof window>"u"||typeof window.fetch!="function")return!1;Qg=a.baseUrl,nb=a.maxEntries??eb,Qf=a.maxBodyBytes??tb,$g=window.fetch.bind(window);const r=$g;return window.fetch=async(l,s)=>{let c;try{c=Bw(l)}catch{return r(l,s)}if(!c.startsWith(Qg))return r(l,s);const f=Xg(s?.headers??(typeof l!="string"&&!(l instanceof URL)?l.headers:void 0)),p={startedDateTime:new Date().toISOString(),time:-1,request:{method:jw(l,s),url:c,httpVersion:"HTTP/1.1",headers:f,queryString:Iw(c),cookies:[],headersSize:-1,bodySize:typeof s?.body=="string"?s.body.length:-1,postData:qw(f,s)},response:Vw(),cache:{},timings:{send:0,wait:-1,receive:0}};Gw(p);const h=typeof performance<"u"?performance.now():0;let g;try{g=await r(l,s)}catch(E){const _=(typeof performance<"u"?performance.now():0)-h;throw p.time=Math.round(_),p.timings.wait=Math.round(_),p.response._error=E instanceof Error?E.message:String(E),E}const y=(typeof performance<"u"?performance.now():0)-h;p.time=Math.round(y),p.timings.wait=Math.round(y),p.response.status=g.status,p.response.statusText=g.statusText,p.response.headers=Xg(g.headers),p.response.content.mimeType=typeof g.headers?.get=="function"&&g.headers.get("content-type")||"";try{g.clone().text().then(_=>{const{text:z,size:G}=Pw(_);p.response.content.text=z,p.response.content.size=G,p.response.bodySize=G}).catch(()=>{})}catch{}return g},Yg=!0,!0}function Vw(){return{status:0,statusText:"",httpVersion:"HTTP/1.1",headers:[],cookies:[],content:{size:0,mimeType:""},redirectURL:"",headersSize:-1,bodySize:-1}}function Yw(){return{log:{version:"1.2",creator:{name:Hw,version:Uw},entries:gl.map(a=>({...a}))}}}function $w(){return gl.length}const Qw=[/ssn/i,/social.?security/i,/(driver.?licen[cs]e|^dln$|^dl$)/i,/(date.?of.?birth|^dob$)/i,/^vin$/i,/(sms.?code|^otp$|^code$|verification.?code)/i,/phone/i,/^email$/i,/(first.?name|last.?name|full.?name)/i,/(^address$|street|^zip$|postal)/i,/(jwt|^token$|authorization|^auth$|api.?key|secret|password|credential)/i,/cookie/i],Xw=[/\b\d{3}-?\d{2}-?\d{4}\b/g,/\b[A-HJ-NPR-Z0-9]{17}\b/g,/eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/g,/\bsk_[A-Za-z0-9]{16,}\b/g,/\bBearer\s+[A-Za-z0-9._-]+/gi],Da="[REDACTED]",Zw=8;function Ns(a){for(const r of Qw)if(r.test(a))return!0;return!1}function xa(a){let r=a;for(const l of Xw)r=r.replace(l,Da);return r}function wa(a,r=0,l=new WeakSet){if(r>Zw)return Da;if(a==null)return a;if(typeof a=="string")return xa(a);if(typeof a!="object")return a;if(l.has(a))return Da;if(l.add(a),Array.isArray(a))return a.map(f=>wa(f,r+1,l));const s=Object.getPrototypeOf(a);if(s!==null&&s!==Object.prototype)return a;const c={};for(const[f,p]of Object.entries(a)){if(Ns(f)){c[f]=Da;continue}c[f]=wa(p,r+1,l)}return c}function Zg(a){if(a.request&&(a.request.data!==void 0&&(a.request.data=wa(a.request.data)),a.request.cookies!==void 0&&(a.request.cookies=Da),a.request.headers)){const r=a.request.headers;for(const l of Object.keys(r))Ns(l)&&(r[l]=Da)}if(a.extra&&(a.extra=wa(a.extra)),a.contexts&&(a.contexts=wa(a.contexts)),a.tags&&(a.tags=wa(a.tags)),a.user){const{id:r,email:l,username:s}=a.user;a.user={...typeof r=="string"?{id:r}:{},...typeof l=="string"?{email:l}:{},...typeof s=="string"?{username:s}:{}}}if(Array.isArray(a.breadcrumbs))for(const r of a.breadcrumbs)r.data!==void 0&&(r.data=wa(r.data)),typeof r.message=="string"&&(r.message=xa(r.message));return typeof a.message=="string"&&(a.message=xa(a.message)),a}function Wg(a){for(const r of a)r.value=Ns(r.name)?Da:xa(r.value)}function Kg(a){try{return JSON.stringify(wa(JSON.parse(a)))}catch{return xa(a)}}function Ww(a){const r=JSON.parse(JSON.stringify(a));for(const l of r.log.entries){Wg(l.request.headers),Wg(l.response.headers);for(const s of l.request.queryString)s.value=Ns(s.name)?Da:xa(s.value);l.request.postData?.text&&(l.request.postData.text=Kg(l.request.postData.text)),l.response.content.text&&(l.response.content.text=Kg(l.response.content.text)),l.request.url=xa(l.request.url),l.response._error&&(l.response._error=xa(l.response._error))}return r}function Kw(a,r={}){try{Es(l=>{l.setTag("failure_type","quote"),r.product&&l.setTag("product",r.product),r.stage&&l.setTag("stage",r.stage),r.quoteId&&l.setTag("quote_id",r.quoteId),r.phase&&l.setTag("phase",r.phase),r.endpoint&&l.setTag("endpoint",r.endpoint),typeof r.statusCode=="number"&&l.setTag("status_code",String(r.statusCode)),r.failureCode&&l.setTag("failure_code",r.failureCode);try{$w()>0&&l.addAttachment({filename:"quote-failure.har",data:JSON.stringify(Ww(Yw())),contentType:"application/json"})}catch{}const s=a instanceof Error?a:new Error(r.message??"Quote failed");pr(s)})}catch{}}const Jw=(a,r)=>{try{return a()}catch{return r}};function wd(){return Jw(()=>Ua(),null)}const eO=["widgetOpened","widgetClosed","stageViewed","stageCompleted","flowCompleted","ratesViewed","ratesBack","submissionFailed","telemetry"],ms={};function tO(a){let r=ms[a];return r||(r=new Set,ms[a]=r),r}function ab(a,r){tO(a).add(r)}function rb(a,r){ms[a]?.delete(r)}function mr(a,...r){const l=ms[a];if(!l||l.size===0)return;const s=r[0],c={quoteId:wd(),timestamp:Date.now()};for(const f of[...l])try{f(s,c)}catch(p){pr(p,{tags:{source:"widget-event-listener",event:a}})}}function nO(){mr("widgetOpened")}function Jg(){mr("widgetClosed")}function aO(a){mr("stageViewed",a)}function rO(a){mr("stageCompleted",a)}function iO(){mr("flowCompleted")}function lO(a){mr("ratesViewed",a)}function ib(a,r){mr("telemetry",{event:a,properties:r})}let e0=!1;const oO=()=>{if(e0||typeof window>"u")return;e0=!0;const a=window.gm_authFailure;window.gm_authFailure=()=>{try{Es(r=>{r.setLevel("warning"),r.setTag("failure_type","places"),r.setTag("places_failure","auth_failed"),r.setExtra("origin",window.location.origin),_C("Google Places key rejected (gm_authFailure)")})}catch{}ib("places_auth_failed",{origin:window.location.origin}),a?.()}};var t0={apiKey:""};const sO=()=>{try{return typeof t0<"u"?t0?.apiKey:void 0}catch{return}};let n0=!1;const uO=async(a,r)=>null,lb=()=>{n0||(n0=!0,yd({baseUrl:rs,storagePrefix:"credify_",source:"widget",isMockActive:$f,isTestActive:kw,partner:Lw(),mockTransport:(a,r)=>$f()?uO():null}),Cv({onQuoteFailure:(a,r)=>Kw(a,{...r,quoteId:r.quoteId??void 0}),onBreadcrumb:(a,r)=>{try{La({category:"quote",message:a,data:r,level:"info"})}catch{}},onTrack:(a,r)=>ib(a,r),onContext:a=>{try{a.product&&tf("product",a.product),a.stage&&tf("stage",a.stage),"quoteId"in a&&tf("quote_id",a.quoteId??void 0)}catch{}}}),yM({apiKey:sO()}),oO(),bd(void 0))},a0="credify-widget-font",cO="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";function fO(){if(typeof document>"u"||document.getElementById(a0))return;const a=document.createElement("link");a.id=a0,a.rel="stylesheet",a.href=cO,document.head.appendChild(a)}const Od=a=>A.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:a}),dO=Od(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M3 10.5 12 3l9 7.5"}),A.jsx("path",{d:"M5 9.5V21h14V9.5"})]})),pO=Od(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M4 16.5V13l1.8-4.5A2 2 0 0 1 7.7 7h8.6a2 2 0 0 1 1.9 1.5L20 13v3.5"}),A.jsx("path",{d:"M4 16.5h16M7 20v-3.5M17 20v-3.5"})]})),mO=Od(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M3 8.5 9 4l6 4.5"}),A.jsx("path",{d:"M4.5 7.8V19h9V7.8"}),A.jsx("path",{d:"M14 19v-6h6.5v6z"})]})),hO=[{product:"Home",label:"Home",detail:"Cover the place you live",glyph:dO},{product:"Auto",label:"Auto",detail:"Cover your vehicles",glyph:pO},{product:"Bundle",label:"Home + Auto",detail:"Quote both home and auto coverage",glyph:mO}],yO=({onChoose:a})=>A.jsxs("div",{className:"credify-widget-chooser",children:[A.jsx("h1",{children:"What would you like to insure?"}),A.jsx("p",{children:"We'll ask a few questions and show you real prices from our carriers."}),A.jsx("div",{role:"group","aria-label":"What would you like to insure?",className:"credify-widget-chooser-options",children:hO.map(({product:r,label:l,detail:s,glyph:c})=>A.jsxs("button",{type:"button",onClick:()=>a(r),className:"credify-widget-chooser-option",children:[c,A.jsx("span",{className:"credify-widget-chooser-label",children:l}),A.jsx("span",{className:"credify-widget-chooser-detail",children:s})]},r))})]}),gO=a=>!a&&(ks()||!!Ua());var hf={blandWidgetId:"",cobrowseLicense:""};function vO(){try{return typeof hf<"u"&&hf?hf:{}}catch{return{}}}function bO(a){const r=vO(),l=r.blandWidgetId,s=r.cobrowseLicense;return{enabled:!!(l||s),blandWidgetId:l||void 0,cobrowseLicense:s||void 0,proactiveOnError:!0}}const yf=new Map;function ob(a){if(typeof document>"u")return Promise.reject(new Error("loadScript called without a document"));const r=yf.get(a);if(r)return r;if(document.querySelector(`script[src="${a}"]`))return Promise.resolve();const l=new Promise((s,c)=>{const f=document.createElement("script");f.src=a,f.async=!0,f.onload=()=>s(),f.onerror=()=>{yf.delete(a),c(new Error(`Failed to load script: ${a}`))},document.head.appendChild(f)});return yf.set(a,l),l}const sb="https://widget.bland.ai/loader.js",Rd="bland-widget-host",SO="#bland-widget-root > button",_O=20,EO=100;let bl=!1;function CO(){return typeof document>"u"?!1:!!window.blandSettings||!!document.querySelector(`script[src="${sb}"]`)||!!document.getElementById(Rd)}function AO(){return document.getElementById(Rd)?.shadowRoot?.querySelector(SO)??null}function TO(a,r){if(typeof window>"u"||CO())return;const l=wd();window.blandSettings={widget_id:a,request_data:{source:"credify-insurance-widget",entry_path:window.location.pathname,...l?{quote_id:l}:{},...r}},bl=!0,ob(sb).catch(s=>{bl=!1,pr(s,{tags:{source:"widget-bland-loader"}})})}async function ub(a,r){if(typeof window>"u")return!1;TO(a,r);for(let l=0;l<_O;l+=1){const s=AO();if(s){for(const c of["mousedown","mouseup","click"])s.dispatchEvent(new MouseEvent(c,{bubbles:!0,composed:!0}));return!0}await new Promise(c=>window.setTimeout(c,EO))}return pr(new Error("Bland launcher did not mount"),{tags:{source:"widget-bland-open",owned:String(bl)}}),!1}function MO(){typeof document>"u"||(bl&&(document.getElementById(Rd)?.remove(),delete window.blandSettings),bl=!1)}const wO="https://js.cobrowse.io/CobrowseIO.js";let Xf=!1;async function OO(a){await ob(wO);const r=window.CobrowseIO;if(!r)return null;if(!Xf){r.license=a,r.redactedViews=["input","select","textarea","[data-credify-redact]"],r.customData={quote_id:wd()??void 0,device_name:"Credify Insurance Widget"},r.confirmSession=()=>Promise.resolve(typeof window<"u"?window.confirm("Allow a Credify support agent to view your screen?"):!1);try{await r.client?.()}catch{}r.start?.(),Xf=!0}return r}async function RO(a){if(typeof window>"u")return null;try{const r=await OO(a);return r?.createSessionCode?await r.createSessionCode():null}catch{return null}}function DO(){try{window.CobrowseIO?.stop?.()}catch{}Xf=!1}let Mn=null,is=null,Zf=!1;function xO(a){HO();const r=bO();if(Mn=r,!!r.enabled&&r.proactiveOnError&&r.blandWidgetId){const l=s=>{Zf||(Zf=!0,ub(r.blandWidgetId,{last_quote_error:s?.reason??"unknown"}))};ab("submissionFailed",l),is=l}}function kO(){return!Mn?.enabled||!Mn.blandWidgetId?Promise.resolve(!1):ub(Mn.blandWidgetId)}function NO(){return!Mn?.enabled||!Mn.cobrowseLicense?Promise.resolve(null):RO(Mn.cobrowseLicense)}function LO(){return!!(Mn?.enabled&&Mn.cobrowseLicense)}function HO(){is&&(rb("submissionFailed",is),is=null),MO(),DO(),Zf=!1,Mn=null}const UO=({label:a="Share my screen"})=>{const[r,l]=T.useState(null),[s,c]=T.useState(!1),[f,p]=T.useState(!1),h=T.useCallback(async()=>{c(!0),p(!1);try{const g=await NO();g?l(g):p(!0)}catch{p(!0)}finally{c(!1)}},[]);return LO()?A.jsxs("span",{className:"credify-widget-share",children:[A.jsx("button",{type:"button",onClick:h,disabled:s||!!r,"aria-label":"Share your screen with an agent",className:"credify-widget-share-button",children:s?"Starting…":a}),r&&A.jsxs("span",{className:"credify-widget-share-code",children:["Read this code to your agent: ",A.jsx("strong",{children:r})]}),f&&A.jsx("span",{role:"alert",className:"credify-widget-share-error",children:"Couldn't start screen sharing. Please call us instead."})]}):null},zO="https://assets.getcredify.com",BO=()=>{try{if(typeof __CREDIFY_ASSETS__<"u"&&__CREDIFY_ASSETS__?.baseUrl)return __CREDIFY_ASSETS__.baseUrl}catch{}return zO};BO();function jO(){return Promise.resolve(null)}let IO;function qO(){return IO}const PO=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","),GO=new Set(["product"]),FO=a=>a==="Home"||a==="Auto"||a==="Bundle";function VO({isOpen:a,onClose:r,product:l}){lb(),fO();const[s,c]=T.useState(null);T.useEffect(()=>{let oe=!0;return jO().then(X=>{oe&&c(X)}),()=>{oe=!1}},[]);const f=T.useRef(null),[p,h]=T.useState(null),[g,y]=T.useState(),[E,_]=T.useState(()=>gO(l)),z=T.useRef(null),G=l??g,q=T.useRef(null),Q=T.useRef(null),[Y,ae]=T.useState(!1),[le,J]=T.useState(!1),Se=T.useRef(null),j=T.useCallback((oe,X)=>{const Ne=Se.current,De=oe.kind==="stage"?oe.stage:void 0;Ne&&Ne.stage&&X.index>Ne.index&&rO({stageKey:Ne.stage,stageTitle:Ne.stage,stepIndex:Ne.index,totalSteps:X.total}),De&&aO({stageKey:De,stageTitle:X.title,stepIndex:X.index,totalSteps:X.total}),oe.kind==="terminal"&&oe.screen==="rates"&&lO({rateCount:0}),Se.current={stage:De,index:X.index}},[]);T.useEffect(()=>{a&&nO()},[a]),T.useEffect(()=>{if(!a||l||g)return;if(!z.current){const X=Cl();X&&(z.current=_d(X))}if(!z.current&&!Ua())return;let oe=!1;return _(!0),(async()=>{try{await z.current;const{quote:X}=await Sd(Ua()??void 0),Ne=X.product;!oe&&FO(Ne)&&y(Ne)}catch{}finally{oe||_(!1)}})(),()=>{oe=!0}},[a,l,g]);const ye=T.useCallback(()=>{if(le){Jg(),r();return}ae(!0)},[le,r]),ee=T.useCallback(()=>ae(!1),[]),Ve=T.useCallback(()=>{ae(!1),Jg(),r()},[r]),Pe=T.useCallback(oe=>{if(oe.key==="Escape"){oe.preventDefault(),Y?ee():ye();return}if(oe.key!=="Tab")return;const X=Y?q.current:f.current;if(!X)return;const Ne=Array.from(X.querySelectorAll(PO)).filter(B=>B.offsetParent!==null||B===document.activeElement);if(Ne.length===0)return;const De=Ne[0],Ye=Ne[Ne.length-1],R=document.activeElement;oe.shiftKey&&R===De?(oe.preventDefault(),Ye.focus()):!oe.shiftKey&&R===Ye&&(oe.preventDefault(),De.focus())},[Y,ee,ye]);T.useEffect(()=>{if(a)return window.addEventListener("keydown",Pe),()=>window.removeEventListener("keydown",Pe)},[a,Pe]),T.useEffect(()=>{if(!Y)return;const oe=window.setTimeout(()=>Q.current?.focus(),0);return()=>window.clearTimeout(oe)},[Y]),T.useEffect(()=>{a||(ae(!1),J(!1),y(void 0))},[a]);const Je=s?.logoUrl?A.jsx("img",{src:s.logoUrl,alt:s.firmName??"Partner logo"}):s?.firmName?A.jsx("span",{children:s.firmName}):null;return a?A.jsxs("div",{ref:f,className:"credify-widget-overlay",role:"dialog","aria-modal":"true","aria-labelledby":"insurance-modal-title",tabIndex:-1,children:[A.jsx("div",{className:"credify-widget-backdrop","aria-hidden":"true"}),A.jsxs("div",{ref:h,className:"credify-widget-panel",role:"document",children:[A.jsx("h2",{id:"insurance-modal-title",className:"credify-widget-sr-only",children:"Credify insurance quote"}),A.jsx("button",{onClick:ye,className:"credify-widget-close","aria-label":"Close quote form",type:"button",children:A.jsx("span",{"aria-hidden":"true",children:"×"})}),Je&&A.jsx("div",{className:"credify-widget-co-brand",children:Je}),A.jsx(hM,{theme:{mode:"light",accent:s?.brandColour??void 0},className:"credify-widget-scope",portalContainer:p,children:E?A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame credify-widget-chooser","aria-live":"polite",children:A.jsx("p",{children:"Loading your quote…"})})}):G?A.jsx(Uv,{product:G,prefill:qO(),suppressedKeys:GO,onScreenChange:j,onComplete:()=>{J(!0),iO()},chrome:oe=>A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame",children:oe})})}):A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame",children:A.jsx(yO,{onChoose:y})})})}),A.jsxs("div",{className:"credify-widget-footer",children:[A.jsx(UO,{label:"Need help? Share my screen"}),A.jsx("p",{children:"Insurance products offered through Credify Corporation, a licensed insurance agency."})]}),Y&&A.jsx("div",{className:"credify-widget-confirm-backdrop",role:"presentation",children:A.jsxs("div",{ref:q,className:"credify-widget-confirm",role:"alertdialog","aria-modal":"true","aria-labelledby":"close-confirm-title","aria-describedby":"close-confirm-description",tabIndex:-1,children:[A.jsx("h3",{id:"close-confirm-title",children:"Close this window?"}),A.jsx("p",{id:"close-confirm-description",children:"You can reopen it from this page whenever you're ready."}),A.jsxs("div",{className:"credify-widget-confirm-actions",children:[A.jsx("button",{ref:Q,type:"button",className:"credify-widget-confirm-cancel",onClick:ee,children:"Keep editing"}),A.jsx("button",{type:"button",className:"credify-widget-confirm-danger",onClick:Ve,children:"Close window"})]})]})})]})]}):null}function YO({onClose:a}){return A.jsxs("div",{className:"credify-widget-overlay",role:"dialog","aria-modal":"true",children:[A.jsx("div",{className:"credify-widget-backdrop","aria-hidden":"true"}),A.jsx("div",{className:"credify-widget-panel",role:"document",style:{height:"auto",maxHeight:"none"},children:A.jsxs("div",{className:"credify-widget-body",style:{textAlign:"center"},children:[A.jsx("h2",{style:{margin:"0 0 0.5rem",fontSize:"1.25rem",fontWeight:700,color:"#10233f"},children:"Something went wrong"}),A.jsx("p",{style:{margin:"0 0 1.25rem",fontSize:"0.9375rem",color:"#42566e"},children:"We could not load your quote. Please close this and try again, or call us on (512) 640-2609."}),A.jsx("button",{type:"button",onClick:a,className:"credify-widget-confirm-cancel",style:{padding:"0.625rem 1.5rem",borderRadius:"0.5rem",fontWeight:700,cursor:"pointer"},children:"Close"})]})})]})}var gf={dsn:"",environment:"production",release:"ba87cf1ff7f58d8460c6246e1b048e8da94bb6da"};function $O(){try{return typeof gf<"u"&&gf?gf:{}}catch{return{}}}let r0=!1;function QO(a,r){if(!a)return r;const l=Number(a);return Number.isFinite(l)&&l>=0&&l<=1?l:r}function XO(a={}){if(r0)return!0;if(typeof window>"u")return!1;const r=$O(),l=a.dsn??r.dsn;return!l||a.enabled===!1?!1:(Fw({baseUrl:rs}),eT({dsn:l,environment:a.environment??r.environment??"production",release:a.release??r.release,sendDefaultPii:!1,maxBreadcrumbs:50,tracesSampleRate:a.tracesSampleRate??QO(r.tracesSampleRate,.1),tracePropagationTargets:[rs],replaysSessionSampleRate:0,replaysOnErrorSampleRate:1,integrations:s=>[...s.filter(c=>c.name!=="BrowserApiErrors"),G0({eventTarget:!1})],ignoreErrors:[/Java object is gone/,/Error invoking postMessage/],denyUrls:[/navigation_performance_logger/,/^iabjs:/],beforeSend:s=>Zg(s),beforeBreadcrumb:s=>s&&(Zg({breadcrumbs:[s]}),s)}),r0=!0,K1("replayIntegration").then(s=>{try{kC(s({maskAllText:!0,maskAllInputs:!0,blockAllMedia:!0,networkDetailAllowUrls:[rs],networkCaptureBodies:!1}))}catch{}}).catch(()=>{}),!0)}const i0="credify_product",l0="credify_product",ZO={home:"Home","home-insurance":"Home",homeowners:"Home",auto:"Auto","auto-insurance":"Auto",car:"Auto",vehicle:"Auto",bundle:"Bundle","bundle-insurance":"Bundle"};function o0(a){if(a)return ZO[a.trim().toLowerCase()]}let Wf,s0=!1;function WO(){try{if(typeof window>"u")return;Wf=o0(window.sessionStorage?.getItem(l0)),s0=!1;const a=new URL(window.location.href),r=a.searchParams.get(i0);if(r===null)return;const l=o0(r);if(l){Wf=l,s0=!0;try{window.sessionStorage?.setItem(l0,l)}catch{}}a.searchParams.delete(i0),window.history.replaceState(window.history.state,"",a.toString())}catch(a){Dw("widget-product-param",a)}}function u0(){return Wf}function KO(){const[a,r]=T.useState(!1),[l,s]=T.useState(()=>(WO(),u0()));T.useEffect(()=>{lb(),XO(),xO()},[]);const c=T.useCallback(p=>{window.parent&&window.parent!==window&&window.parent.postMessage({type:p,source:"credify-insurance-widget"},"*")},[]);T.useEffect(()=>{const p=(g,y,E)=>{window.parent&&window.parent!==window&&window.parent.postMessage({type:"event",source:"credify-insurance-widget",event:g,data:y,meta:E},"*")},h=eO.map(g=>{const y=(E,_)=>p(g,E,_);return ab(g,y),[g,y]});return()=>{for(const[g,y]of h)rb(g,y)}},[]),T.useEffect(()=>{const p=h=>{if(h.data?.source==="credify-insurance-widget")switch(h.data.type){case"open":r(!0),c("opened");break;case"close":r(!1),c("closed");break;case"init":h.data.product&&!u0()&&s(h.data.product),c("ready");break;case"support-open":kO();break}};return window.addEventListener("message",p),c("ready"),()=>{window.removeEventListener("message",p)}},[c]);const f=T.useCallback(()=>{r(!1),c("closed")},[c]);return A.jsx(fd,{fallback:A.jsx(YO,{onClose:f}),children:A.jsx(VO,{isOpen:a,onClose:f,product:l})})}var JO=new Set(["/create-quote","/update-quote","/get-quote","/get-stages-for-quote","/get-questions-by-stage","/get-vehicle-options","/is-supported-state","/verify-quote","/get-rates","/request-bind","/prefill-property"]);let c0=!1;function eR(a){try{if(typeof a=="string")return new URL(a,window.location.href).pathname;if(a instanceof URL)return a.pathname;if(a instanceof Request)return new URL(a.url,window.location.href).pathname}catch{return null}return null}async function tR(a,r){try{if(r?.body&&typeof r.body=="string")return JSON.parse(r.body);if(a instanceof Request){const l=await a.clone().text();return l?JSON.parse(l):{}}}catch{return{}}return{}}function nR(){try{if(typeof document>"u"||document.getElementById("credify-mock-badge"))return;const a=()=>{const r=document.createElement("div");r.id="credify-mock-badge",r.textContent="MOCK MODE",r.setAttribute("aria-hidden","true"),r.style.cssText=["position:fixed","bottom:12px","left:12px","z-index:2147483647","background:#b91c1c","color:#fff","font:600 11px/1 system-ui,sans-serif","letter-spacing:0.08em","padding:6px 10px","border-radius:9999px","box-shadow:0 1px 4px rgba(0,0,0,0.3)","pointer-events:none","user-select:none"].join(";"),document.body.appendChild(r)};document.body?a():document.addEventListener("DOMContentLoaded",a,{once:!0})}catch{}}function aR(){if(c0||typeof window>"u"||typeof window.fetch!="function"||!$f())return;c0=!0;const a=window.fetch.bind(window);window.fetch=async(r,l)=>{const s=eR(r);return!s||!JO.has(s)||await tR(r,l),a(r,l)},nR(),typeof console<"u"&&console.info("[Credify] Mock mode active — all API calls are served from in-memory fixtures.")}aR();L_.createRoot(document.getElementById("root")).render(A.jsx(T.StrictMode,{children:A.jsx(KO,{})}));export{Ed as $,Wv as A,bv as B,rr as C,Xv as D,mv as E,di as F,Tn as G,Fv as H,Td as I,vv as J,Ta as K,Y0 as L,$0 as M,GM as N,Zv as O,tw as P,x_ as Q,w_ as R,oR as S,BM as T,lR as U,rR as V,sv as W,iR as X,FM as Y,PM as Z,fe as _,A as a,Qv as a0,M_ as a1,sR as a2,Ot as a3,AM as b,CM as c,Ha as d,yv as e,ci as f,Mg as g,eM as h,cs as i,Kv as j,hv as k,UM as l,Bf as m,As as n,ov as o,JT as p,Sd as q,T as r,Pv as s,fv as t,hd as u,Av as v,pv as w,qv as x,Al as y,Iv as z};