@getcredify/credify-insurance-widget 1.41.0 → 1.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +91 -0
- package/dist/address-BEVwov8q-C8G87tij.js +59 -0
- package/dist/api-C7f0dnt7.js +51 -0
- package/dist/car-B0hJrE0Z.js +26 -0
- package/dist/check-Dfh9u4c0.js +15 -0
- package/dist/copy-applicant-offer-B-BIN2o5-BX-QE7Ao.js +56 -0
- package/dist/copy-from-record-BNP6CFFR-Bcb9EW-a.js +189 -0
- package/dist/core-Po4qPIof-fZL0sXdW.js +417 -0
- package/dist/coverageDerivation-CV2ORogj-CAthw76f.js +76 -0
- package/dist/credify-insurance-widget.css +1 -1
- package/dist/{fixtures-ijbZ16Zg-CD1k11fg.js → fixtures-ijbZ16Zg-Csnryzo8.js} +1 -1
- package/dist/household-prefill-DVLBBva1-GGgzEdDL.js +151 -0
- package/dist/householdPrefill-DLm3pxFH-B34UGBGP.js +111 -0
- package/dist/iframe/assets/address-BEVwov8q-BpbNiia-.js +1 -0
- package/dist/iframe/assets/car-DkfXVYz0.js +6 -0
- package/dist/iframe/assets/check-l6TGSrXO.js +6 -0
- package/dist/iframe/assets/copy-applicant-offer-B-BIN2o5-cs-SCWuH.js +1 -0
- package/dist/iframe/assets/copy-from-record-BNP6CFFR-BtCRUQRw.js +6 -0
- package/dist/iframe/assets/core-Po4qPIof-jDmdAxP7.js +16 -0
- package/dist/iframe/assets/coverageDerivation-CV2ORogj-DhQFAhwv.js +1 -0
- package/dist/iframe/assets/dob-calendar-RIJ5S6YU-DO_r0-z3.js +1 -0
- package/dist/iframe/assets/{fixtures-ijbZ16Zg-Bj-DhqkB.js → fixtures-ijbZ16Zg-CUQxYANz.js} +1 -1
- package/dist/iframe/assets/household-prefill-DVLBBva1-DTK1EHT0.js +1 -0
- package/dist/iframe/assets/householdPrefill-DLm3pxFH-BM54Rqyd.js +6 -0
- package/dist/iframe/assets/iframe-BImWklE9.js +107 -0
- package/dist/iframe/assets/iframe-Bl0qTZgO.css +1 -0
- package/dist/iframe/assets/index-CNb9AhPB.js +6 -0
- package/dist/iframe/assets/intake-review-panel-B7rXvRvm-wNGntinn.js +1 -0
- package/dist/iframe/assets/{mockJump-CL8w249w-D4zKPVys.js → mockJump-DpXrnQUq-DKyp2H5R.js} +1 -1
- package/dist/iframe/assets/payload-JXpCaeS6-CcfrGvLo.js +1 -0
- package/dist/iframe/assets/question-list-ChcBzofd-D5ZVofFR.js +317 -0
- package/dist/iframe/assets/rates-panel-BaIzEqX6-GSsykLkc.js +17 -0
- package/dist/iframe/assets/review-panel-DYCuhwdo-CyBebe6T.js +6 -0
- package/dist/iframe/assets/stage-Bpq1A5xB-CwZgWOhp.js +1 -0
- package/dist/iframe/assets/types-LUGvo5ic-CB-wcgK3.js +1 -0
- package/dist/iframe/assets/validation-DRqHT-u7-pY2KjHw4.js +3 -0
- package/dist/iframe/assets/vehicleCoverage-BPJaWQyg-DBJ_jL3e.js +1 -0
- package/dist/iframe/assets/visibility-hEdBjgi7-_AUGO8E2.js +1 -0
- package/dist/iframe/iframe.html +2 -2
- package/dist/index-CQXR1Un8.js +354 -0
- package/dist/index.d.ts +17 -1
- package/dist/index.es.js +4 -4
- package/dist/index.umd.js +105 -115
- package/dist/intake-review-panel-B7rXvRvm-CDyR-rVg.js +186 -0
- package/dist/{mockJump-CL8w249w-KvYoZQMN.js → mockJump-DpXrnQUq-BaitU9aZ.js} +1 -1
- package/dist/payload-JXpCaeS6-pjITtvlm.js +128 -0
- package/dist/question-list-ChcBzofd-fVRN9fTl.js +6505 -0
- package/dist/rates-panel-BaIzEqX6-BULjKxqz.js +1001 -0
- package/dist/review-panel-DYCuhwdo-BImR4S06.js +903 -0
- package/dist/stage-Bpq1A5xB-Cphc07aC.js +197 -0
- package/dist/types-LUGvo5ic-CiVRcsV9.js +9 -0
- package/dist/utils/assets.d.ts +12 -0
- package/dist/utils/branding.d.ts +21 -0
- package/dist/utils/partner.d.ts +32 -0
- package/dist/utils/support/bland.d.ts +5 -0
- package/dist/validation-DRqHT-u7-CL2m7f4k.js +2852 -0
- package/dist/vehicleCoverage-BPJaWQyg-g7bBFmro.js +144 -0
- package/dist/visibility-hEdBjgi7-WW4BVjmf.js +198 -0
- package/dist/widget-BUAzkBEK.js +13061 -0
- package/package.json +2 -2
- package/dist/api-RBpxlUxA.js +0 -51
- package/dist/iframe/assets/dob-calendar-RIJ5S6YU-DkeMmMY0.js +0 -1
- package/dist/iframe/assets/iframe-CfQAC0Hv.js +0 -494
- package/dist/iframe/assets/iframe-DFqQdMHv.css +0 -1
- package/dist/widget-BEY4lY4B.js +0 -27319
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/stage-Bpq1A5xB-CwZgWOhp.js","assets/types-LUGvo5ic-CB-wcgK3.js","assets/visibility-hEdBjgi7-_AUGO8E2.js","assets/validation-DRqHT-u7-pY2KjHw4.js","assets/vehicleCoverage-BPJaWQyg-DBJ_jL3e.js","assets/payload-JXpCaeS6-CcfrGvLo.js","assets/address-BEVwov8q-BpbNiia-.js","assets/question-list-ChcBzofd-D5ZVofFR.js","assets/core-Po4qPIof-jDmdAxP7.js","assets/householdPrefill-DLm3pxFH-BM54Rqyd.js","assets/copy-from-record-BNP6CFFR-BtCRUQRw.js","assets/check-l6TGSrXO.js","assets/coverageDerivation-CV2ORogj-DhQFAhwv.js","assets/index-CNb9AhPB.js","assets/car-DkfXVYz0.js","assets/household-prefill-DVLBBva1-DTK1EHT0.js","assets/copy-applicant-offer-B-BIN2o5-cs-SCWuH.js","assets/review-panel-DYCuhwdo-CyBebe6T.js","assets/intake-review-panel-B7rXvRvm-wNGntinn.js","assets/rates-panel-BaIzEqX6-GSsykLkc.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
function v_(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 b_(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Gc={exports:{}},ul={};/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-jsx-runtime.production.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/var by;function S_(){if(by)return ul;by=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 m in c)m!=="key"&&(f[m]=c[m])}else f=c;return c=f.ref,{$$typeof:a,type:s,key:p,ref:c!==void 0?c:null,props:f}}return ul.Fragment=r,ul.jsx=l,ul.jsxs=l,ul}var Sy;function __(){return Sy||(Sy=1,Gc.exports=S_()),Gc.exports}var A=__(),Fc={exports:{}},pe={};/**
|
|
11
|
+
* @license React
|
|
12
|
+
* react.production.js
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/var _y;function E_(){if(_y)return pe;_y=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"),m=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),_=Symbol.for("react.activity"),L=Symbol.iterator;function P(b){return b===null||typeof b!="object"?null:(b=L&&b[L]||b["@@iterator"],typeof b=="function"?b:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},K=Object.assign,Y={};function X(b,T,U){this.props=b,this.context=T,this.refs=Y,this.updater=U||j}X.prototype.isReactComponent={},X.prototype.setState=function(b,T){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,T,"setState")},X.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};function oe(){}oe.prototype=X.prototype;function ne(b,T,U){this.props=b,this.context=T,this.refs=Y,this.updater=U||j}var ie=ne.prototype=new oe;ie.constructor=ne,K(ie,X.prototype),ie.isPureReactComponent=!0;var I=Array.isArray;function ue(){}var le={H:null,A:null,T:null,S:null},Ue=Object.prototype.hasOwnProperty;function Ie(b,T,U){var F=U.ref;return{$$typeof:a,type:b,key:T,ref:F!==void 0?F:null,props:U}}function Je(b,T){return Ie(b.type,T,b.props)}function ce(b){return typeof b=="object"&&b!==null&&b.$$typeof===a}function Z(b){var T={"=":"=0",":":"=2"};return"$"+b.replace(/[=:]/g,function(U){return T[U]})}var Te=/\/+/g;function Be(b,T){return typeof b=="object"&&b!==null&&b.key!=null?Z(""+b.key):T.toString(36)}function be(b){switch(b.status){case"fulfilled":return b.value;case"rejected":throw b.reason;default:switch(typeof b.status=="string"?b.then(ue,ue):(b.status="pending",b.then(function(T){b.status==="pending"&&(b.status="fulfilled",b.value=T)},function(T){b.status==="pending"&&(b.status="rejected",b.reason=T)})),b.status){case"fulfilled":return b.value;case"rejected":throw b.reason}}throw b}function R(b,T,U,F,te){var fe=typeof b;(fe==="undefined"||fe==="boolean")&&(b=null);var ve=!1;if(b===null)ve=!0;else switch(fe){case"bigint":case"string":case"number":ve=!0;break;case"object":switch(b.$$typeof){case a:case r:ve=!0;break;case C:return ve=b._init,R(ve(b._payload),T,U,F,te)}}if(ve)return te=te(b),ve=F===""?"."+Be(b,0):F,I(te)?(U="",ve!=null&&(U=ve.replace(Te,"$&/")+"/"),R(te,T,U,"",function(Ha){return Ha})):te!=null&&(ce(te)&&(te=Je(te,U+(te.key==null||b&&b.key===te.key?"":(""+te.key).replace(Te,"$&/")+"/")+ve)),T.push(te)),1;ve=0;var ft=F===""?".":F+":";if(I(b))for(var Xe=0;Xe<b.length;Xe++)F=b[Xe],fe=ft+Be(F,Xe),ve+=R(F,T,U,fe,te);else if(Xe=P(b),typeof Xe=="function")for(b=Xe.call(b),Xe=0;!(F=b.next()).done;)F=F.value,fe=ft+Be(F,Xe++),ve+=R(F,T,U,fe,te);else if(fe==="object"){if(typeof b.then=="function")return R(be(b),T,U,F,te);throw T=String(b),Error("Objects are not valid as a React child (found: "+(T==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":T)+"). If you meant to render a collection of children, use an array instead.")}return ve}function q(b,T,U){if(b==null)return b;var F=[],te=0;return R(b,F,"","",function(fe){return T.call(U,fe,te++)}),F}function J(b){if(b._status===-1){var T=b._result;T=T(),T.then(function(U){(b._status===0||b._status===-1)&&(b._status=1,b._result=U)},function(U){(b._status===0||b._status===-1)&&(b._status=2,b._result=U)}),b._status===-1&&(b._status=0,b._result=T)}if(b._status===1)return b._result.default;throw b._result}var se=typeof reportError=="function"?reportError:function(b){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var T=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(T))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",b);return}console.error(b)},Oe={map:q,forEach:function(b,T,U){q(b,function(){T.apply(this,arguments)},U)},count:function(b){var T=0;return q(b,function(){T++}),T},toArray:function(b){return q(b,function(T){return T})||[]},only:function(b){if(!ce(b))throw Error("React.Children.only expected to receive a single React element child.");return b}};return pe.Activity=_,pe.Children=Oe,pe.Component=X,pe.Fragment=l,pe.Profiler=c,pe.PureComponent=ne,pe.StrictMode=s,pe.Suspense=y,pe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=le,pe.__COMPILER_RUNTIME={__proto__:null,c:function(b){return le.H.useMemoCache(b)}},pe.cache=function(b){return function(){return b.apply(null,arguments)}},pe.cacheSignal=function(){return null},pe.cloneElement=function(b,T,U){if(b==null)throw Error("The argument must be a React element, but you passed "+b+".");var F=K({},b.props),te=b.key;if(T!=null)for(fe in T.key!==void 0&&(te=""+T.key),T)!Ue.call(T,fe)||fe==="key"||fe==="__self"||fe==="__source"||fe==="ref"&&T.ref===void 0||(F[fe]=T[fe]);var fe=arguments.length-2;if(fe===1)F.children=U;else if(1<fe){for(var ve=Array(fe),ft=0;ft<fe;ft++)ve[ft]=arguments[ft+2];F.children=ve}return Ie(b.type,te,F)},pe.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},pe.createElement=function(b,T,U){var F,te={},fe=null;if(T!=null)for(F in T.key!==void 0&&(fe=""+T.key),T)Ue.call(T,F)&&F!=="key"&&F!=="__self"&&F!=="__source"&&(te[F]=T[F]);var ve=arguments.length-2;if(ve===1)te.children=U;else if(1<ve){for(var ft=Array(ve),Xe=0;Xe<ve;Xe++)ft[Xe]=arguments[Xe+2];te.children=ft}if(b&&b.defaultProps)for(F in ve=b.defaultProps,ve)te[F]===void 0&&(te[F]=ve[F]);return Ie(b,fe,te)},pe.createRef=function(){return{current:null}},pe.forwardRef=function(b){return{$$typeof:m,render:b}},pe.isValidElement=ce,pe.lazy=function(b){return{$$typeof:C,_payload:{_status:-1,_result:b},_init:J}},pe.memo=function(b,T){return{$$typeof:g,type:b,compare:T===void 0?null:T}},pe.startTransition=function(b){var T=le.T,U={};le.T=U;try{var F=b(),te=le.S;te!==null&&te(U,F),typeof F=="object"&&F!==null&&typeof F.then=="function"&&F.then(ue,se)}catch(fe){se(fe)}finally{T!==null&&U.types!==null&&(T.types=U.types),le.T=T}},pe.unstable_useCacheRefresh=function(){return le.H.useCacheRefresh()},pe.use=function(b){return le.H.use(b)},pe.useActionState=function(b,T,U){return le.H.useActionState(b,T,U)},pe.useCallback=function(b,T){return le.H.useCallback(b,T)},pe.useContext=function(b){return le.H.useContext(b)},pe.useDebugValue=function(){},pe.useDeferredValue=function(b,T){return le.H.useDeferredValue(b,T)},pe.useEffect=function(b,T){return le.H.useEffect(b,T)},pe.useEffectEvent=function(b){return le.H.useEffectEvent(b)},pe.useId=function(){return le.H.useId()},pe.useImperativeHandle=function(b,T,U){return le.H.useImperativeHandle(b,T,U)},pe.useInsertionEffect=function(b,T){return le.H.useInsertionEffect(b,T)},pe.useLayoutEffect=function(b,T){return le.H.useLayoutEffect(b,T)},pe.useMemo=function(b,T){return le.H.useMemo(b,T)},pe.useOptimistic=function(b,T){return le.H.useOptimistic(b,T)},pe.useReducer=function(b,T,U){return le.H.useReducer(b,T,U)},pe.useRef=function(b){return le.H.useRef(b)},pe.useState=function(b){return le.H.useState(b)},pe.useSyncExternalStore=function(b,T,U){return le.H.useSyncExternalStore(b,T,U)},pe.useTransition=function(){return le.H.useTransition()},pe.version="19.2.7",pe}var Ey;function Qf(){return Ey||(Ey=1,Fc.exports=E_()),Fc.exports}var w=Qf();const C_=b_(w),A_=v_({__proto__:null,default:C_},[w]);var Vc={exports:{}},cl={},Yc={exports:{}},$c={};/**
|
|
19
|
+
* @license React
|
|
20
|
+
* scheduler.production.js
|
|
21
|
+
*
|
|
22
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the MIT license found in the
|
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/var Cy;function T_(){return Cy||(Cy=1,(function(a){function r(R,q){var J=R.length;R.push(q);e:for(;0<J;){var se=J-1>>>1,Oe=R[se];if(0<c(Oe,q))R[se]=q,R[J]=Oe,J=se;else break e}}function l(R){return R.length===0?null:R[0]}function s(R){if(R.length===0)return null;var q=R[0],J=R.pop();if(J!==q){R[0]=J;e:for(var se=0,Oe=R.length,b=Oe>>>1;se<b;){var T=2*(se+1)-1,U=R[T],F=T+1,te=R[F];if(0>c(U,J))F<Oe&&0>c(te,U)?(R[se]=te,R[F]=J,se=F):(R[se]=U,R[T]=J,se=T);else if(F<Oe&&0>c(te,J))R[se]=te,R[F]=J,se=F;else break e}}return q}function c(R,q){var J=R.sortIndex-q.sortIndex;return J!==0?J:R.id-q.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,m=p.now();a.unstable_now=function(){return p.now()-m}}var y=[],g=[],C=1,_=null,L=3,P=!1,j=!1,K=!1,Y=!1,X=typeof setTimeout=="function"?setTimeout:null,oe=typeof clearTimeout=="function"?clearTimeout:null,ne=typeof setImmediate<"u"?setImmediate:null;function ie(R){for(var q=l(g);q!==null;){if(q.callback===null)s(g);else if(q.startTime<=R)s(g),q.sortIndex=q.expirationTime,r(y,q);else break;q=l(g)}}function I(R){if(K=!1,ie(R),!j)if(l(y)!==null)j=!0,ue||(ue=!0,Z());else{var q=l(g);q!==null&&be(I,q.startTime-R)}}var ue=!1,le=-1,Ue=5,Ie=-1;function Je(){return Y?!0:!(a.unstable_now()-Ie<Ue)}function ce(){if(Y=!1,ue){var R=a.unstable_now();Ie=R;var q=!0;try{e:{j=!1,K&&(K=!1,oe(le),le=-1),P=!0;var J=L;try{t:{for(ie(R),_=l(y);_!==null&&!(_.expirationTime>R&&Je());){var se=_.callback;if(typeof se=="function"){_.callback=null,L=_.priorityLevel;var Oe=se(_.expirationTime<=R);if(R=a.unstable_now(),typeof Oe=="function"){_.callback=Oe,ie(R),q=!0;break t}_===l(y)&&s(y),ie(R)}else s(y);_=l(y)}if(_!==null)q=!0;else{var b=l(g);b!==null&&be(I,b.startTime-R),q=!1}}break e}finally{_=null,L=J,P=!1}q=void 0}}finally{q?Z():ue=!1}}}var Z;if(typeof ne=="function")Z=function(){ne(ce)};else if(typeof MessageChannel<"u"){var Te=new MessageChannel,Be=Te.port2;Te.port1.onmessage=ce,Z=function(){Be.postMessage(null)}}else Z=function(){X(ce,0)};function be(R,q){le=X(function(){R(a.unstable_now())},q)}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"):Ue=0<R?Math.floor(1e3/R):5},a.unstable_getCurrentPriorityLevel=function(){return L},a.unstable_next=function(R){switch(L){case 1:case 2:case 3:var q=3;break;default:q=L}var J=L;L=q;try{return R()}finally{L=J}},a.unstable_requestPaint=function(){Y=!0},a.unstable_runWithPriority=function(R,q){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var J=L;L=R;try{return q()}finally{L=J}},a.unstable_scheduleCallback=function(R,q,J){var se=a.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?se+J:se):J=se,R){case 1:var Oe=-1;break;case 2:Oe=250;break;case 5:Oe=1073741823;break;case 4:Oe=1e4;break;default:Oe=5e3}return Oe=J+Oe,R={id:C++,callback:q,priorityLevel:R,startTime:J,expirationTime:Oe,sortIndex:-1},J>se?(R.sortIndex=J,r(g,R),l(y)===null&&R===l(g)&&(K?(oe(le),le=-1):K=!0,be(I,J-se))):(R.sortIndex=Oe,r(y,R),j||P||(j=!0,ue||(ue=!0,Z()))),R},a.unstable_shouldYield=Je,a.unstable_wrapCallback=function(R){var q=L;return function(){var J=L;L=q;try{return R.apply(this,arguments)}finally{L=J}}}})($c)),$c}var Ay;function M_(){return Ay||(Ay=1,Yc.exports=T_()),Yc.exports}var Qc={exports:{}},At={};/**
|
|
27
|
+
* @license React
|
|
28
|
+
* react-dom.production.js
|
|
29
|
+
*
|
|
30
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
31
|
+
*
|
|
32
|
+
* This source code is licensed under the MIT license found in the
|
|
33
|
+
* LICENSE file in the root directory of this source tree.
|
|
34
|
+
*/var Ty;function O_(){if(Ty)return At;Ty=1;var a=Qf();function r(y){var g="https://react.dev/errors/"+y;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var C=2;C<arguments.length;C++)g+="&args[]="+encodeURIComponent(arguments[C])}return"Minified React error #"+y+"; visit "+g+" 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(y,g,C){var _=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:_==null?null:""+_,children:y,containerInfo:g,implementation:C}}var p=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(y,g){if(y==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return At.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,At.createPortal=function(y,g){var C=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(r(299));return f(y,g,null,C)},At.flushSync=function(y){var g=p.T,C=s.p;try{if(p.T=null,s.p=2,y)return y()}finally{p.T=g,s.p=C,s.d.f()}},At.preconnect=function(y,g){typeof y=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,s.d.C(y,g))},At.prefetchDNS=function(y){typeof y=="string"&&s.d.D(y)},At.preinit=function(y,g){if(typeof y=="string"&&g&&typeof g.as=="string"){var C=g.as,_=m(C,g.crossOrigin),L=typeof g.integrity=="string"?g.integrity:void 0,P=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;C==="style"?s.d.S(y,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:_,integrity:L,fetchPriority:P}):C==="script"&&s.d.X(y,{crossOrigin:_,integrity:L,fetchPriority:P,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},At.preinitModule=function(y,g){if(typeof y=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var C=m(g.as,g.crossOrigin);s.d.M(y,{crossOrigin:C,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&s.d.M(y)},At.preload=function(y,g){if(typeof y=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var C=g.as,_=m(C,g.crossOrigin);s.d.L(y,C,{crossOrigin:_,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},At.preloadModule=function(y,g){if(typeof y=="string")if(g){var C=m(g.as,g.crossOrigin);s.d.m(y,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:C,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else s.d.m(y)},At.requestFormReset=function(y){s.d.r(y)},At.unstable_batchedUpdates=function(y,g){return y(g)},At.useFormState=function(y,g,C){return p.H.useFormState(y,g,C)},At.useFormStatus=function(){return p.H.useHostTransitionStatus()},At.version="19.2.7",At}var My;function w_(){if(My)return Qc.exports;My=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=O_(),Qc.exports}/**
|
|
35
|
+
* @license React
|
|
36
|
+
* react-dom-client.production.js
|
|
37
|
+
*
|
|
38
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the MIT license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*/var Oy;function R_(){if(Oy)return cl;Oy=1;var a=M_(),r=Qf(),l=w_();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 m(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 y(e){if(f(e)!==e)throw Error(s(188))}function g(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 y(o),e;if(u===i)return y(o),t;u=u.sibling}throw Error(s(188))}if(n.return!==i.return)n=o,i=u;else{for(var d=!1,h=o.child;h;){if(h===n){d=!0,n=o,i=u;break}if(h===i){d=!0,i=o,n=u;break}h=h.sibling}if(!d){for(h=u.child;h;){if(h===n){d=!0,n=u,i=o;break}if(h===i){d=!0,i=u,n=o;break}h=h.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 C(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=C(e),t!==null)return t;e=e.sibling}return null}var _=Object.assign,L=Symbol.for("react.element"),P=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),K=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),oe=Symbol.for("react.consumer"),ne=Symbol.for("react.context"),ie=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),ue=Symbol.for("react.suspense_list"),le=Symbol.for("react.memo"),Ue=Symbol.for("react.lazy"),Ie=Symbol.for("react.activity"),Je=Symbol.for("react.memo_cache_sentinel"),ce=Symbol.iterator;function Z(e){return e===null||typeof e!="object"?null:(e=ce&&e[ce]||e["@@iterator"],typeof e=="function"?e:null)}var Te=Symbol.for("react.client.reference");function Be(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Te?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case K:return"Fragment";case X:return"Profiler";case Y:return"StrictMode";case I:return"Suspense";case ue:return"SuspenseList";case Ie:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case j:return"Portal";case ne:return e.displayName||"Context";case oe:return(e._context.displayName||"Context")+".Consumer";case ie:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case le:return t=e.displayName||null,t!==null?t:Be(e.type)||"Memo";case Ue:t=e._payload,e=e._init;try{return Be(e(t))}catch{}}return null}var be=Array.isArray,R=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},se=[],Oe=-1;function b(e){return{current:e}}function T(e){0>Oe||(e.current=se[Oe],se[Oe]=null,Oe--)}function U(e,t){Oe++,se[Oe]=e.current,e.current=t}var F=b(null),te=b(null),fe=b(null),ve=b(null);function ft(e,t){switch(U(fe,t),U(te,e),U(F,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Ph(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Ph(t),e=Gh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}T(F),U(F,e)}function Xe(){T(F),T(te),T(fe)}function Ha(e){e.memoizedState!==null&&U(ve,e);var t=F.current,n=Gh(t,e.type);t!==n&&(U(te,e),U(F,n))}function dt(e){te.current===e&&(T(F),T(te)),ve.current===e&&(T(ve),il._currentValue=J)}var gi,Qn;function Tt(e){if(gi===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);gi=t&&t[1]||"",Qn=-1<n.stack.indexOf(`
|
|
43
|
+
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
44
|
+
`+gi+e+Qn}var dr=!1;function pr(e,t){if(!e||dr)return"";dr=!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(x){var D=x}Reflect.construct(e,[],H)}else{try{H.call()}catch(x){D=x}e.call(H.prototype)}}else{try{throw Error()}catch(x){D=x}(H=e())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(x){if(x&&D&&typeof x.stack=="string")return[x.stack,D.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],h=u[1];if(d&&h){var v=d.split(`
|
|
45
|
+
`),O=h.split(`
|
|
46
|
+
`);for(o=i=0;i<v.length&&!v[i].includes("DetermineComponentFrameRoot");)i++;for(;o<O.length&&!O[o].includes("DetermineComponentFrameRoot");)o++;if(i===v.length||o===O.length)for(i=v.length-1,o=O.length-1;1<=i&&0<=o&&v[i]!==O[o];)o--;for(;1<=i&&0<=o;i--,o--)if(v[i]!==O[o]){if(i!==1||o!==1)do if(i--,o--,0>o||v[i]!==O[o]){var k=`
|
|
47
|
+
`+v[i].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),k}while(1<=i&&0<=o);break}}}finally{dr=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Tt(n):""}function pt(e,t){switch(e.tag){case 26:case 27:case 5:return Tt(e.type);case 16:return Tt("Lazy");case 13:return e.child!==t&&t!==null?Tt("Suspense Fallback"):Tt("Suspense");case 19:return Tt("SuspenseList");case 0:case 15:return pr(e.type,!1);case 11:return pr(e.type.render,!1);case 1:return pr(e.type,!0);case 31:return Tt("Activity");default:return""}}function An(e){try{var t="",n=null;do t+=pt(e,n),n=e,e=e.return;while(e);return t}catch(i){return`
|
|
48
|
+
Error generating stack: `+i.message+`
|
|
49
|
+
`+i.stack}}var yn=Object.prototype.hasOwnProperty,mr=a.unstable_scheduleCallback,hr=a.unstable_cancelCallback,Tl=a.unstable_shouldYield,Ml=a.unstable_requestPaint,Ct=a.unstable_now,vi=a.unstable_getCurrentPriorityLevel,Ol=a.unstable_ImmediatePriority,wl=a.unstable_UserBlockingPriority,Xn=a.unstable_NormalPriority,Ua=a.unstable_LowPriority,Rl=a.unstable_IdlePriority,ks=a.log,yr=a.unstable_setDisableYieldValue,Ba=null,yt=null;function sn(e){if(typeof ks=="function"&&yr(e),yt&&typeof yt.setStrictMode=="function")try{yt.setStrictMode(Ba,e)}catch{}}var Mt=Math.clz32?Math.clz32:za,bi=Math.log,Ns=Math.LN2;function za(e){return e>>>=0,e===0?32:31-(bi(e)/Ns|0)|0}var B=256,z=262144,V=4194304;function G(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 Q(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 h=i&134217727;return h!==0?(i=h&~u,i!==0?o=G(i):(d&=h,d!==0?o=G(d):n||(n=h&~e,n!==0&&(o=G(n))))):(h=i&~u,h!==0?o=G(h):d!==0?o=G(d):n||(n=i&~e,n!==0&&(o=G(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 de(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function xe(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 ke(){var e=V;return V<<=1,(V&62914560)===0&&(V=4194304),e}function we(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function We(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function zt(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 h=e.entanglements,v=e.expirationTimes,O=e.hiddenUpdates;for(n=d&~n;0<n;){var k=31-Mt(n),H=1<<k;h[k]=0,v[k]=-1;var D=O[k];if(D!==null)for(O[k]=null,k=0;k<D.length;k++){var x=D[k];x!==null&&(x.lane&=-536870913)}n&=~H}i!==0&&Ke(e,i,0),u!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=u&~(d&~t))}function Ke(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-Mt(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|n&261930}function Dt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-Mt(n),o=1<<i;o&t|e[i]&t&&(e[i]|=t),n&=~o}}function un(e,t){var n=t&-t;return n=(n&42)!==0?1:gr(n),(n&(e.suspendedLanes|t))!==0?0:n}function gr(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 vr(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Od(){var e=q.p;return e!==0?e:(e=window.event,e===void 0?32:dy(e.type))}function wd(e,t){var n=q.p;try{return q.p=e,t()}finally{q.p=n}}var Zn=Math.random().toString(36).slice(2),gt="__reactFiber$"+Zn,xt="__reactProps$"+Zn,br="__reactContainer$"+Zn,Ls="__reactEvents$"+Zn,ob="__reactListeners$"+Zn,sb="__reactHandles$"+Zn,Rd="__reactResources$"+Zn,Si="__reactMarker$"+Zn;function Hs(e){delete e[gt],delete e[xt],delete e[Ls],delete e[ob],delete e[sb]}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=Zh(e);e!==null;){if(n=e[gt])return n;e=Zh(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 _i(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[Rd];return t||(t=e[Rd]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function mt(e){e[Si]=!0}var Dd=new Set,xd={};function ja(e,t){Cr(e,t),Cr(e+"Capture",t)}function Cr(e,t){for(xd[e]=t,e=0;e<t.length;e++)Dd.add(t[e])}var ub=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]*$"),kd={},Nd={};function cb(e){return yn.call(Nd,e)?!0:yn.call(kd,e)?!1:ub.test(e)?Nd[e]=!0:(kd[e]=!0,!1)}function Dl(e,t,n){if(cb(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 Tn(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 $t(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ld(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function fb(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 Us(e){if(!e._valueTracker){var t=Ld(e)?"checked":"value";e._valueTracker=fb(e,t,""+e[t])}}function Hd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=Ld(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 db=/[\n"\\]/g;function Qt(e){return e.replace(db,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Bs(e,t,n,i,o,u,d,h){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=""+$t(t)):e.value!==""+$t(t)&&(e.value=""+$t(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?zs(e,d,$t(t)):n!=null?zs(e,d,$t(n)):i!=null&&e.removeAttribute("value"),o==null&&u!=null&&(e.defaultChecked=!!u),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?e.name=""+$t(h):e.removeAttribute("name")}function Ud(e,t,n,i,o,u,d,h){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)){Us(e);return}n=n!=null?""+$t(n):"",t=t!=null?""+$t(t):n,h||t===e.value||(e.value=t),e.defaultValue=t}i=i??o,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=h?e.checked:!!i,e.defaultChecked=!!i,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d),Us(e)}function zs(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=""+$t(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=""+$t(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+$t(n):""}function zd(e,t,n,i){if(t==null){if(i!=null){if(n!=null)throw Error(s(92));if(be(i)){if(1<i.length)throw Error(s(93));i=i[0]}n=i}n==null&&(n=""),t=n}n=$t(t),e.defaultValue=n,i=e.textContent,i===n&&i!==""&&i!==null&&(e.value=i),Us(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 pb=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 jd(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||pb.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Id(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&&jd(e,o,i)}else for(var u in t)t.hasOwnProperty(u)&&jd(e,u,t[u])}function js(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 mb=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"]]),hb=/^[\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 hb.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Mn(){}var Is=null;function qs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Mr=null,Or=null;function qd(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(Bs(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="'+Qt(""+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));Bs(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&&Hd(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 Ps=!1;function Pd(e,t,n){if(Ps)return e(t,n);Ps=!0;try{var i=e(t);return i}finally{if(Ps=!1,(Mr!==null||Or!==null)&&(_o(),Mr&&(t=Mr,e=Or,Or=Mr=null,qd(t),e)))for(t=0;t<e.length;t++)qd(e[t])}}function Ei(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 On=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Gs=!1;if(On)try{var Ci={};Object.defineProperty(Ci,"passive",{get:function(){Gs=!0}}),window.addEventListener("test",Ci,Ci),window.removeEventListener("test",Ci,Ci)}catch{Gs=!1}var Wn=null,Fs=null,Ll=null;function Gd(){if(Ll)return Ll;var e,t=Fs,n=t.length,i,o="value"in Wn?Wn.value:Wn.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 Fd(){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 h in e)e.hasOwnProperty(h)&&(n=e[h],this[h]=n?n(u):u[h]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Ul:Fd,this.isPropagationStopped=Fd,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 Ia={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bl=kt(Ia),Ai=_({},Ia,{view:0,detail:0}),yb=kt(Ai),Vs,Ys,Ti,zl=_({},Ai,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qs,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!==Ti&&(Ti&&e.type==="mousemove"?(Vs=e.screenX-Ti.screenX,Ys=e.screenY-Ti.screenY):Ys=Vs=0,Ti=e),Vs)},movementY:function(e){return"movementY"in e?e.movementY:Ys}}),Vd=kt(zl),gb=_({},zl,{dataTransfer:0}),vb=kt(gb),bb=_({},Ai,{relatedTarget:0}),$s=kt(bb),Sb=_({},Ia,{animationName:0,elapsedTime:0,pseudoElement:0}),_b=kt(Sb),Eb=_({},Ia,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Cb=kt(Eb),Ab=_({},Ia,{data:0}),Yd=kt(Ab),Tb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Mb={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 wb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ob[e])?!!t[e]:!1}function Qs(){return wb}var Rb=_({},Ai,{key:function(e){if(e.key){var t=Tb[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"?Mb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qs,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}}),Db=kt(Rb),xb=_({},zl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$d=kt(xb),kb=_({},Ai,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qs}),Nb=kt(kb),Lb=_({},Ia,{propertyName:0,elapsedTime:0,pseudoElement:0}),Hb=kt(Lb),Ub=_({},zl,{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(Ub),zb=_({},Ia,{newState:0,oldState:0}),jb=kt(zb),Ib=[9,13,27,32],Xs=On&&"CompositionEvent"in window,Mi=null;On&&"documentMode"in document&&(Mi=document.documentMode);var qb=On&&"TextEvent"in window&&!Mi,Qd=On&&(!Xs||Mi&&8<Mi&&11>=Mi),Xd=" ",Zd=!1;function Wd(e,t){switch(e){case"keyup":return Ib.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Kd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var wr=!1;function Pb(e,t){switch(e){case"compositionend":return Kd(t);case"keypress":return t.which!==32?null:(Zd=!0,Xd);case"textInput":return e=t.data,e===Xd&&Zd?null:e;default:return null}}function Gb(e,t){if(wr)return e==="compositionend"||!Xs&&Wd(e,t)?(e=Gd(),Ll=Fs=Wn=null,wr=!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 Qd&&t.locale!=="ko"?null:t.data;default:return null}}var Fb={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 Jd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Fb[e.type]:t==="textarea"}function ep(e,t,n,i){Mr?Or?Or.push(i):Or=[i]:Mr=i,t=wo(t,"onChange"),0<t.length&&(n=new Bl("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var Oi=null,wi=null;function Vb(e){Uh(e,0)}function jl(e){var t=_i(e);if(Hd(t))return e}function tp(e,t){if(e==="change")return t}var np=!1;if(On){var Zs;if(On){var Ws="oninput"in document;if(!Ws){var ap=document.createElement("div");ap.setAttribute("oninput","return;"),Ws=typeof ap.oninput=="function"}Zs=Ws}else Zs=!1;np=Zs&&(!document.documentMode||9<document.documentMode)}function rp(){Oi&&(Oi.detachEvent("onpropertychange",ip),wi=Oi=null)}function ip(e){if(e.propertyName==="value"&&jl(wi)){var t=[];ep(t,wi,e,qs(e)),Pd(Vb,t)}}function Yb(e,t,n){e==="focusin"?(rp(),Oi=t,wi=n,Oi.attachEvent("onpropertychange",ip)):e==="focusout"&&rp()}function $b(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return jl(wi)}function Qb(e,t){if(e==="click")return jl(t)}function Xb(e,t){if(e==="input"||e==="change")return jl(t)}function Zb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jt=typeof Object.is=="function"?Object.is:Zb;function Ri(e,t){if(jt(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(!yn.call(t,o)||!jt(e[o],t[o]))return!1}return!0}function lp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function op(e,t){var n=lp(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=lp(n)}}function sp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?sp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function up(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 Ks(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 Wb=On&&"documentMode"in document&&11>=document.documentMode,Rr=null,Js=null,Di=null,eu=!1;function cp(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;eu||Rr==null||Rr!==kl(i)||(i=Rr,"selectionStart"in i&&Ks(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}),Di&&Ri(Di,i)||(Di=i,i=wo(Js,"onSelect"),0<i.length&&(t=new Bl("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=Rr)))}function qa(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Dr={animationend:qa("Animation","AnimationEnd"),animationiteration:qa("Animation","AnimationIteration"),animationstart:qa("Animation","AnimationStart"),transitionrun:qa("Transition","TransitionRun"),transitionstart:qa("Transition","TransitionStart"),transitioncancel:qa("Transition","TransitionCancel"),transitionend:qa("Transition","TransitionEnd")},tu={},fp={};On&&(fp=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 Pa(e){if(tu[e])return tu[e];if(!Dr[e])return e;var t=Dr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in fp)return tu[e]=t[n];return e}var dp=Pa("animationend"),pp=Pa("animationiteration"),mp=Pa("animationstart"),Kb=Pa("transitionrun"),Jb=Pa("transitionstart"),eS=Pa("transitioncancel"),hp=Pa("transitionend"),yp=new Map,nu="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(" ");nu.push("scrollEnd");function cn(e,t){yp.set(e,t),ja(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)},Xt=[],xr=0,au=0;function ql(){for(var e=xr,t=au=xr=0;t<e;){var n=Xt[t];Xt[t++]=null;var i=Xt[t];Xt[t++]=null;var o=Xt[t];Xt[t++]=null;var u=Xt[t];if(Xt[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&&gp(n,o,u)}}function Pl(e,t,n,i){Xt[xr++]=e,Xt[xr++]=t,Xt[xr++]=n,Xt[xr++]=i,au|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function ru(e,t,n,i){return Pl(e,t,n,i),Gl(e)}function Ga(e,t){return Pl(e,null,null,t),Gl(e)}function gp(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-Mt(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<Ki)throw Ki=0,pc=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 tS(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 It(e,t,n,i){return new tS(e,t,n,i)}function iu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function wn(e,t){var n=e.alternate;return n===null?(n=It(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 vp(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")iu(e)&&(d=1);else if(typeof e=="string")d=l_(e,n,F.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Ie:return e=It(31,n,t,o),e.elementType=Ie,e.lanes=u,e;case K:return Fa(n.children,o,u,t);case Y:d=8,o|=24;break;case X:return e=It(12,n,t,o|2),e.elementType=X,e.lanes=u,e;case I:return e=It(13,n,t,o),e.elementType=I,e.lanes=u,e;case ue:return e=It(19,n,t,o),e.elementType=ue,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ne:d=10;break e;case oe:d=9;break e;case ie:d=11;break e;case le:d=14;break e;case Ue:d=16,i=null;break e}d=29,n=Error(s(130,e===null?"null":typeof e,"")),i=null}return t=It(d,n,t,o),t.elementType=e,t.type=i,t.lanes=u,t}function Fa(e,t,n,i){return e=It(7,e,i,t),e.lanes=n,e}function lu(e,t,n){return e=It(6,e,null,t),e.lanes=n,e}function bp(e){var t=It(18,null,null,0);return t.stateNode=e,t}function ou(e,t,n){return t=It(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Sp=new WeakMap;function Zt(e,t){if(typeof e=="object"&&e!==null){var n=Sp.get(e);return n!==void 0?n:(t={value:e,source:t,stack:An(t)},Sp.set(e,t),t)}return{value:e,source:t,stack:An(t)}}var Nr=[],Lr=0,Vl=null,xi=0,Wt=[],Kt=0,Kn=null,gn=1,vn="";function Rn(e,t){Nr[Lr++]=xi,Nr[Lr++]=Vl,Vl=e,xi=t}function _p(e,t,n){Wt[Kt++]=gn,Wt[Kt++]=vn,Wt[Kt++]=Kn,Kn=e;var i=gn;e=vn;var o=32-Mt(i)-1;i&=~(1<<o),n+=1;var u=32-Mt(t)+o;if(30<u){var d=o-o%5;u=(i&(1<<d)-1).toString(32),i>>=d,o-=d,gn=1<<32-Mt(t)+o|n<<o|i,vn=u+e}else gn=1<<u|n<<o|i,vn=e}function su(e){e.return!==null&&(Rn(e,1),_p(e,1,0))}function uu(e){for(;e===Vl;)Vl=Nr[--Lr],Nr[Lr]=null,xi=Nr[--Lr],Nr[Lr]=null;for(;e===Kn;)Kn=Wt[--Kt],Wt[Kt]=null,vn=Wt[--Kt],Wt[Kt]=null,gn=Wt[--Kt],Wt[Kt]=null}function Ep(e,t){Wt[Kt++]=gn,Wt[Kt++]=vn,Wt[Kt++]=Kn,gn=t.id,vn=t.overflow,Kn=e}var vt=null,Ye=null,Me=!1,Jn=null,Jt=!1,cu=Error(s(519));function ea(e){var t=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ki(Zt(t,e)),cu}function Cp(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<el.length;n++)Ee(el[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),Ud(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),zd(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||Ih(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=Mn),t=!0):t=!1,t||ea(e,!0)}function Ap(e){for(vt=e.return;vt;)switch(vt.tag){case 5:case 31:case 13:Jt=!1;return;case 27:case 3:Jt=!0;return;default:vt=vt.return}}function Hr(e){if(e!==vt)return!1;if(!Me)return Ap(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")||wc(e.type,e.memoizedProps)),n=!n),n&&Ye&&ea(e),Ap(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));Ye=Xh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));Ye=Xh(e)}else t===27?(t=Ye,ma(e.type)?(e=Nc,Nc=null,Ye=e):Ye=t):Ye=vt?tn(e.stateNode.nextSibling):null;return!0}function Va(){Ye=vt=null,Me=!1}function fu(){var e=Jn;return e!==null&&(Ut===null?Ut=e:Ut.push.apply(Ut,e),Jn=null),e}function ki(e){Jn===null?Jn=[e]:Jn.push(e)}var du=b(null),Ya=null,Dn=null;function ta(e,t,n){U(du,t._currentValue),t._currentValue=n}function xn(e){e._currentValue=du.current,T(du)}function pu(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 mu(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 h=u;u=o;for(var v=0;v<t.length;v++)if(h.context===t[v]){u.lanes|=n,h=u.alternate,h!==null&&(h.lanes|=n),pu(u.return,n,e),i||(d=null);break e}u=h.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),pu(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 h=o.type;jt(o.pendingProps.value,d.value)||(e!==null?e.push(h):e=[h])}}else if(o===ve.current){if(d=o.alternate,d===null)throw Error(s(387));d.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(il):e=[il])}o=o.return}e!==null&&mu(t,e,n,i),t.flags|=262144}function Yl(e){for(e=e.firstContext;e!==null;){if(!jt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function $a(e){Ya=e,Dn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function bt(e){return Tp(Ya,e)}function $l(e,t){return Ya===null&&$a(e),Tp(e,t)}function Tp(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Dn===null){if(e===null)throw Error(s(308));Dn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Dn=Dn.next=t;return n}var nS=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()})}},aS=a.unstable_scheduleCallback,rS=a.unstable_NormalPriority,it={$$typeof:ne,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function hu(){return{controller:new nS,data:new Map,refCount:0}}function Ni(e){e.refCount--,e.refCount===0&&aS(rS,function(){e.controller.abort()})}var Li=null,yu=0,Br=0,zr=null;function iS(e,t){if(Li===null){var n=Li=[];yu=0,Br=bc(),zr={status:"pending",value:void 0,then:function(i){n.push(i)}}}return yu++,t.then(Mp,Mp),t}function Mp(){if(--yu===0&&Li!==null){zr!==null&&(zr.status="fulfilled");var e=Li;Li=null,Br=0,zr=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function lS(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){ch=Ct(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&iS(e,t),Op!==null&&Op(e,t)};var Qa=b(null);function gu(){var e=Qa.current;return e!==null?e:Ve.pooledCache}function Ql(e,t){t===null?U(Qa,Qa.current):U(Qa,t.pool)}function wp(){var e=gu();return e===null?null:{parent:it._currentValue,pool:e}}var jr=Error(s(460)),vu=Error(s(474)),Xl=Error(s(542)),Zl={then:function(){}};function Rp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Dp(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Mn,Mn),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,kp(e),e;default:if(typeof t.status=="string")t.then(Mn,Mn);else{if(e=Ve,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,kp(e),e}throw Za=t,jr}}function Xa(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Za=n,jr):n}}var Za=null;function xp(){if(Za===null)throw Error(s(459));var e=Za;return Za=null,e}function kp(e){if(e===jr||e===Xl)throw Error(s(483))}var Ir=null,Hi=0;function Wl(e){var t=Hi;return Hi+=1,Ir===null&&(Ir=[]),Dp(Ir,e,t)}function Ui(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Kl(e,t){throw t.$$typeof===L?Error(s(525)):(e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Np(e){function t(E,S){if(e){var M=E.deletions;M===null?(E.deletions=[S],E.flags|=16):M.push(S)}}function n(E,S){if(!e)return null;for(;S!==null;)t(E,S),S=S.sibling;return null}function i(E){for(var S=new Map;E!==null;)E.key!==null?S.set(E.key,E):S.set(E.index,E),E=E.sibling;return S}function o(E,S){return E=wn(E,S),E.index=0,E.sibling=null,E}function u(E,S,M){return E.index=M,e?(M=E.alternate,M!==null?(M=M.index,M<S?(E.flags|=67108866,S):M):(E.flags|=67108866,S)):(E.flags|=1048576,S)}function d(E){return e&&E.alternate===null&&(E.flags|=67108866),E}function h(E,S,M,N){return S===null||S.tag!==6?(S=lu(M,E.mode,N),S.return=E,S):(S=o(S,M),S.return=E,S)}function v(E,S,M,N){var ee=M.type;return ee===K?k(E,S,M.props.children,N,M.key):S!==null&&(S.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===Ue&&Xa(ee)===S.type)?(S=o(S,M.props),Ui(S,M),S.return=E,S):(S=Fl(M.type,M.key,M.props,null,E.mode,N),Ui(S,M),S.return=E,S)}function O(E,S,M,N){return S===null||S.tag!==4||S.stateNode.containerInfo!==M.containerInfo||S.stateNode.implementation!==M.implementation?(S=ou(M,E.mode,N),S.return=E,S):(S=o(S,M.children||[]),S.return=E,S)}function k(E,S,M,N,ee){return S===null||S.tag!==7?(S=Fa(M,E.mode,N,ee),S.return=E,S):(S=o(S,M),S.return=E,S)}function H(E,S,M){if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return S=lu(""+S,E.mode,M),S.return=E,S;if(typeof S=="object"&&S!==null){switch(S.$$typeof){case P:return M=Fl(S.type,S.key,S.props,null,E.mode,M),Ui(M,S),M.return=E,M;case j:return S=ou(S,E.mode,M),S.return=E,S;case Ue:return S=Xa(S),H(E,S,M)}if(be(S)||Z(S))return S=Fa(S,E.mode,M,null),S.return=E,S;if(typeof S.then=="function")return H(E,Wl(S),M);if(S.$$typeof===ne)return H(E,$l(E,S),M);Kl(E,S)}return null}function D(E,S,M,N){var ee=S!==null?S.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return ee!==null?null:h(E,S,""+M,N);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case P:return M.key===ee?v(E,S,M,N):null;case j:return M.key===ee?O(E,S,M,N):null;case Ue:return M=Xa(M),D(E,S,M,N)}if(be(M)||Z(M))return ee!==null?null:k(E,S,M,N,null);if(typeof M.then=="function")return D(E,S,Wl(M),N);if(M.$$typeof===ne)return D(E,S,$l(E,M),N);Kl(E,M)}return null}function x(E,S,M,N,ee){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return E=E.get(M)||null,h(S,E,""+N,ee);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case P:return E=E.get(N.key===null?M:N.key)||null,v(S,E,N,ee);case j:return E=E.get(N.key===null?M:N.key)||null,O(S,E,N,ee);case Ue:return N=Xa(N),x(E,S,M,N,ee)}if(be(N)||Z(N))return E=E.get(M)||null,k(S,E,N,ee,null);if(typeof N.then=="function")return x(E,S,M,Wl(N),ee);if(N.$$typeof===ne)return x(E,S,M,$l(S,N),ee);Kl(S,N)}return null}function $(E,S,M,N){for(var ee=null,Re=null,W=S,ye=S=0,Ae=null;W!==null&&ye<M.length;ye++){W.index>ye?(Ae=W,W=null):Ae=W.sibling;var De=D(E,W,M[ye],N);if(De===null){W===null&&(W=Ae);break}e&&W&&De.alternate===null&&t(E,W),S=u(De,S,ye),Re===null?ee=De:Re.sibling=De,Re=De,W=Ae}if(ye===M.length)return n(E,W),Me&&Rn(E,ye),ee;if(W===null){for(;ye<M.length;ye++)W=H(E,M[ye],N),W!==null&&(S=u(W,S,ye),Re===null?ee=W:Re.sibling=W,Re=W);return Me&&Rn(E,ye),ee}for(W=i(W);ye<M.length;ye++)Ae=x(W,E,ye,M[ye],N),Ae!==null&&(e&&Ae.alternate!==null&&W.delete(Ae.key===null?ye:Ae.key),S=u(Ae,S,ye),Re===null?ee=Ae:Re.sibling=Ae,Re=Ae);return e&&W.forEach(function(ba){return t(E,ba)}),Me&&Rn(E,ye),ee}function ae(E,S,M,N){if(M==null)throw Error(s(151));for(var ee=null,Re=null,W=S,ye=S=0,Ae=null,De=M.next();W!==null&&!De.done;ye++,De=M.next()){W.index>ye?(Ae=W,W=null):Ae=W.sibling;var ba=D(E,W,De.value,N);if(ba===null){W===null&&(W=Ae);break}e&&W&&ba.alternate===null&&t(E,W),S=u(ba,S,ye),Re===null?ee=ba:Re.sibling=ba,Re=ba,W=Ae}if(De.done)return n(E,W),Me&&Rn(E,ye),ee;if(W===null){for(;!De.done;ye++,De=M.next())De=H(E,De.value,N),De!==null&&(S=u(De,S,ye),Re===null?ee=De:Re.sibling=De,Re=De);return Me&&Rn(E,ye),ee}for(W=i(W);!De.done;ye++,De=M.next())De=x(W,E,ye,De.value,N),De!==null&&(e&&De.alternate!==null&&W.delete(De.key===null?ye:De.key),S=u(De,S,ye),Re===null?ee=De:Re.sibling=De,Re=De);return e&&W.forEach(function(g_){return t(E,g_)}),Me&&Rn(E,ye),ee}function Ge(E,S,M,N){if(typeof M=="object"&&M!==null&&M.type===K&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case P:e:{for(var ee=M.key;S!==null;){if(S.key===ee){if(ee=M.type,ee===K){if(S.tag===7){n(E,S.sibling),N=o(S,M.props.children),N.return=E,E=N;break e}}else if(S.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===Ue&&Xa(ee)===S.type){n(E,S.sibling),N=o(S,M.props),Ui(N,M),N.return=E,E=N;break e}n(E,S);break}else t(E,S);S=S.sibling}M.type===K?(N=Fa(M.props.children,E.mode,N,M.key),N.return=E,E=N):(N=Fl(M.type,M.key,M.props,null,E.mode,N),Ui(N,M),N.return=E,E=N)}return d(E);case j:e:{for(ee=M.key;S!==null;){if(S.key===ee)if(S.tag===4&&S.stateNode.containerInfo===M.containerInfo&&S.stateNode.implementation===M.implementation){n(E,S.sibling),N=o(S,M.children||[]),N.return=E,E=N;break e}else{n(E,S);break}else t(E,S);S=S.sibling}N=ou(M,E.mode,N),N.return=E,E=N}return d(E);case Ue:return M=Xa(M),Ge(E,S,M,N)}if(be(M))return $(E,S,M,N);if(Z(M)){if(ee=Z(M),typeof ee!="function")throw Error(s(150));return M=ee.call(M),ae(E,S,M,N)}if(typeof M.then=="function")return Ge(E,S,Wl(M),N);if(M.$$typeof===ne)return Ge(E,S,$l(E,M),N);Kl(E,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,S!==null&&S.tag===6?(n(E,S.sibling),N=o(S,M),N.return=E,E=N):(n(E,S),N=lu(M,E.mode,N),N.return=E,E=N),d(E)):n(E,S)}return function(E,S,M,N){try{Hi=0;var ee=Ge(E,S,M,N);return Ir=null,ee}catch(W){if(W===jr||W===Xl)throw W;var Re=It(29,W,null,E.mode);return Re.lanes=N,Re.return=E,Re}finally{}}}var Wa=Np(!0),Lp=Np(!1),na=!1;function bu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Su(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 aa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ra(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(Ne&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),gp(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,Dt(e,n)}}function _u(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 Eu=!1;function zi(){if(Eu){var e=zr;if(e!==null)throw e}}function ji(e,t,n,i){Eu=!1;var o=e.updateQueue;na=!1;var u=o.firstBaseUpdate,d=o.lastBaseUpdate,h=o.shared.pending;if(h!==null){o.shared.pending=null;var v=h,O=v.next;v.next=null,d===null?u=O:d.next=O,d=v;var k=e.alternate;k!==null&&(k=k.updateQueue,h=k.lastBaseUpdate,h!==d&&(h===null?k.firstBaseUpdate=O:h.next=O,k.lastBaseUpdate=v))}if(u!==null){var H=o.baseState;d=0,k=O=v=null,h=u;do{var D=h.lane&-536870913,x=D!==h.lane;if(x?(Ce&D)===D:(i&D)===D){D!==0&&D===Br&&(Eu=!0),k!==null&&(k=k.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{var $=e,ae=h;D=t;var Ge=n;switch(ae.tag){case 1:if($=ae.payload,typeof $=="function"){H=$.call(Ge,H,D);break e}H=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=ae.payload,D=typeof $=="function"?$.call(Ge,H,D):$,D==null)break e;H=_({},H,D);break e;case 2:na=!0}}D=h.callback,D!==null&&(e.flags|=64,x&&(e.flags|=8192),x=o.callbacks,x===null?o.callbacks=[D]:x.push(D))}else x={lane:D,tag:h.tag,payload:h.payload,callback:h.callback,next:null},k===null?(O=k=x,v=H):k=k.next=x,d|=D;if(h=h.next,h===null){if(h=o.shared.pending,h===null)break;x=h,h=x.next,x.next=null,o.lastBaseUpdate=x,o.shared.pending=null}}while(!0);k===null&&(v=H),o.baseState=v,o.firstBaseUpdate=O,o.lastBaseUpdate=k,u===null&&(o.shared.lanes=0),ua|=d,e.lanes=d,e.memoizedState=H}}function Hp(e,t){if(typeof e!="function")throw Error(s(191,e));e.call(t)}function Up(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Hp(n[e],t)}var qr=b(null),Jl=b(0);function Bp(e,t){e=In,U(Jl,e),U(qr,t),In=e|t.baseLanes}function Cu(){U(Jl,In),U(qr,qr.current)}function Au(){In=Jl.current,T(qr),T(Jl)}var qt=b(null),en=null;function ia(e){var t=e.alternate;U(at,at.current&1),U(qt,e),en===null&&(t===null||qr.current!==null||t.memoizedState!==null)&&(en=e)}function Tu(e){U(at,at.current),U(qt,e),en===null&&(en=e)}function zp(e){e.tag===22?(U(at,at.current),U(qt,e),en===null&&(en=e)):la()}function la(){U(at,at.current),U(qt,qt.current)}function Pt(e){T(qt),en===e&&(en=null),T(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||xc(n)||kc(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 kn=0,he=null,qe=null,lt=null,to=!1,Pr=!1,Ka=!1,no=0,Ii=0,Gr=null,oS=0;function et(){throw Error(s(321))}function Mu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!jt(e[n],t[n]))return!1;return!0}function Ou(e,t,n,i,o,u){return kn=u,he=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,R.H=e===null||e.memoizedState===null?_m:Pu,Ka=!1,u=n(i,o),Ka=!1,Pr&&(u=Ip(t,n,i,o)),jp(e),u}function jp(e){R.H=Gi;var t=qe!==null&&qe.next!==null;if(kn=0,lt=qe=he=null,to=!1,Ii=0,Gr=null,t)throw Error(s(300));e===null||ot||(e=e.dependencies,e!==null&&Yl(e)&&(ot=!0))}function Ip(e,t,n,i){he=e;var o=0;do{if(Pr&&(Gr=null),Ii=0,Pr=!1,25<=o)throw Error(s(301));if(o+=1,lt=qe=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=Em,u=t(n,i)}while(Pr);return u}function sS(){var e=R.H,t=e.useState()[0];return t=typeof t.then=="function"?qi(t):t,e=e.useState()[0],(qe!==null?qe.memoizedState:null)!==e&&(he.flags|=1024),t}function wu(){var e=no!==0;return no=0,e}function Ru(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Du(e){if(to){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}to=!1}kn=0,lt=qe=he=null,Pr=!1,Ii=no=0,Gr=null}function Ot(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return lt===null?he.memoizedState=lt=e:lt=lt.next=e,lt}function rt(){if(qe===null){var e=he.alternate;e=e!==null?e.memoizedState:null}else e=qe.next;var t=lt===null?he.memoizedState:lt.next;if(t!==null)lt=t,qe=e;else{if(e===null)throw he.alternate===null?Error(s(467)):Error(s(310));qe=e,e={memoizedState:qe.memoizedState,baseState:qe.baseState,baseQueue:qe.baseQueue,queue:qe.queue,next:null},lt===null?he.memoizedState=lt=e:lt=lt.next=e}return lt}function ao(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function qi(e){var t=Ii;return Ii+=1,Gr===null&&(Gr=[]),e=Dp(Gr,e,t),t=he,(lt===null?t.memoizedState:lt.next)===null&&(t=t.alternate,R.H=t===null||t.memoizedState===null?_m:Pu),e}function ro(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return qi(e);if(e.$$typeof===ne)return bt(e)}throw Error(s(438,String(e)))}function xu(e){var t=null,n=he.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var i=he.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(),he.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 Nn(e,t){return typeof t=="function"?t(e):t}function io(e){var t=rt();return ku(t,qe,e)}function ku(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 h=d=null,v=null,O=t,k=!1;do{var H=O.lane&-536870913;if(H!==O.lane?(Ce&H)===H:(kn&H)===H){var D=O.revertLane;if(D===0)v!==null&&(v=v.next={lane:0,revertLane:0,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),H===Br&&(k=!0);else if((kn&D)===D){O=O.next,D===Br&&(k=!0);continue}else H={lane:0,revertLane:O.revertLane,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},v===null?(h=v=H,d=u):v=v.next=H,he.lanes|=D,ua|=D;H=O.action,Ka&&n(u,H),u=O.hasEagerState?O.eagerState:n(u,H)}else D={lane:H,revertLane:O.revertLane,gesture:O.gesture,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},v===null?(h=v=D,d=u):v=v.next=D,he.lanes|=H,ua|=H;O=O.next}while(O!==null&&O!==t);if(v===null?d=u:v.next=h,!jt(u,e.memoizedState)&&(ot=!0,k&&(n=zr,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 Nu(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);jt(u,t.memoizedState)||(ot=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),n.lastRenderedState=u}return[u,i]}function qp(e,t,n){var i=he,o=rt(),u=Me;if(u){if(n===void 0)throw Error(s(407));n=n()}else n=t();var d=!jt((qe||o).memoizedState,n);if(d&&(o.memoizedState=n,ot=!0),o=o.queue,Uu(Fp.bind(null,i,o,e),[e]),o.getSnapshot!==t||d||lt!==null&<.memoizedState.tag&1){if(i.flags|=2048,Fr(9,{destroy:void 0},Gp.bind(null,i,o,n,t),null),Ve===null)throw Error(s(349));u||(kn&127)!==0||Pp(i,t,n)}return n}function Pp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=he.updateQueue,t===null?(t=ao(),he.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Gp(e,t,n,i){t.value=n,t.getSnapshot=i,Vp(t)&&Yp(e)}function Fp(e,t,n){return n(function(){Vp(t)&&Yp(e)})}function Vp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!jt(e,n)}catch{return!0}}function Yp(e){var t=Ga(e,2);t!==null&&Bt(t,e,2)}function Lu(e){var t=Ot();if(typeof e=="function"){var n=e;if(e=n(),Ka){sn(!0);try{n()}finally{sn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nn,lastRenderedState:e},t}function $p(e,t,n,i){return e.baseState=n,ku(e,qe,typeof i=="function"?i:Nn)}function uS(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,Qp(t,u)):(u.next=n.next,t.pending=n.next=u)}}function Qp(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 h=n(o,i),v=R.S;v!==null&&v(d,h),Xp(e,t,h)}catch(O){Hu(e,t,O)}finally{u!==null&&d.types!==null&&(u.types=d.types),R.T=u}}else try{u=n(o,i),Xp(e,t,u)}catch(O){Hu(e,t,O)}}function Xp(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){Zp(e,t,i)},function(i){return Hu(e,t,i)}):Zp(e,t,n)}function Zp(e,t,n){t.status="fulfilled",t.value=n,Wp(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Qp(e,n)))}function Hu(e,t,n){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=n,Wp(t),t=t.next;while(t!==i)}e.action=null}function Wp(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Kp(e,t){return t}function Jp(e,t){if(Me){var n=Ve.formState;if(n!==null){e:{var i=he;if(Me){if(Ye){t:{for(var o=Ye,u=Jt;o.nodeType!==8;){if(!u){o=null;break t}if(o=tn(o.nextSibling),o===null){o=null;break t}}u=o.data,o=u==="F!"||u==="F"?o:null}if(o){Ye=tn(o.nextSibling),i=o.data==="F!";break e}}ea(i)}i=!1}i&&(t=n[0])}}return n=Ot(),n.memoizedState=n.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kp,lastRenderedState:t},n.queue=i,n=vm.bind(null,he,i),i.dispatch=n,i=Lu(!1),u=qu.bind(null,he,!1,i.queue),i=Ot(),o={state:t,dispatch:null,action:e,pending:null},i.queue=o,n=uS.bind(null,he,o,u,n),o.dispatch=n,i.memoizedState=e,[t,n,!1]}function em(e){var t=rt();return tm(t,qe,e)}function tm(e,t,n){if(t=ku(e,t,Kp)[0],e=io(Nn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=qi(t)}catch(d){throw d===jr?Xl:d}else i=t;t=rt();var o=t.queue,u=o.dispatch;return n!==t.memoizedState&&(he.flags|=2048,Fr(9,{destroy:void 0},cS.bind(null,o,n),null)),[i,u,e]}function cS(e,t){e.action=t}function nm(e){var t=rt(),n=qe;if(n!==null)return tm(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=he.updateQueue,t===null&&(t=ao(),he.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 am(){return rt().memoizedState}function lo(e,t,n,i){var o=Ot();he.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;qe!==null&&i!==null&&Mu(i,qe.memoizedState.deps)?o.memoizedState=Fr(t,u,n,i):(he.flags|=e,o.memoizedState=Fr(1|t,u,n,i))}function rm(e,t){lo(8390656,8,e,t)}function Uu(e,t){oo(2048,8,e,t)}function fS(e){he.flags|=4;var t=he.updateQueue;if(t===null)t=ao(),he.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function im(e){var t=rt().memoizedState;return fS({ref:t,nextImpl:e}),function(){if((Ne&2)!==0)throw Error(s(440));return t.impl.apply(void 0,arguments)}}function lm(e,t){return oo(4,2,e,t)}function om(e,t){return oo(4,4,e,t)}function sm(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 um(e,t,n){n=n!=null?n.concat([e]):null,oo(4,4,sm.bind(null,t,e),n)}function Bu(){}function cm(e,t){var n=rt();t=t===void 0?null:t;var i=n.memoizedState;return t!==null&&Mu(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function fm(e,t){var n=rt();t=t===void 0?null:t;var i=n.memoizedState;if(t!==null&&Mu(t,i[1]))return i[0];if(i=e(),Ka){sn(!0);try{e()}finally{sn(!1)}}return n.memoizedState=[i,t],i}function zu(e,t,n){return n===void 0||(kn&1073741824)!==0&&(Ce&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=dh(),he.lanes|=e,ua|=e,n)}function dm(e,t,n,i){return jt(n,t)?n:qr.current!==null?(e=zu(e,n,i),jt(e,t)||(ot=!0),e):(kn&42)===0||(kn&1073741824)!==0&&(Ce&261930)===0?(ot=!0,e.memoizedState=n):(e=dh(),he.lanes|=e,ua|=e,t)}function pm(e,t,n,i,o){var u=q.p;q.p=u!==0&&8>u?u:8;var d=R.T,h={};R.T=h,qu(e,!1,t,n);try{var v=o(),O=R.S;if(O!==null&&O(h,v),v!==null&&typeof v=="object"&&typeof v.then=="function"){var k=lS(v,i);Pi(e,t,k,Vt(e))}else Pi(e,t,i,Vt(e))}catch(H){Pi(e,t,{then:function(){},status:"rejected",reason:H},Vt())}finally{q.p=u,d!==null&&h.types!==null&&(d.types=h.types),R.T=d}}function dS(){}function ju(e,t,n,i){if(e.tag!==5)throw Error(s(476));var o=mm(e).queue;pm(e,o,t,J,n===null?dS:function(){return hm(e),n(i)})}function mm(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nn,lastRenderedState:J},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function hm(e){var t=mm(e);t.next===null&&(t=e.alternate.memoizedState),Pi(e,t.next.queue,{},Vt())}function Iu(){return bt(il)}function ym(){return rt().memoizedState}function gm(){return rt().memoizedState}function pS(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Vt();e=aa(n);var i=ra(t,e,n);i!==null&&(Bt(i,t,n),Bi(i,t,n)),t={cache:hu()},e.payload=t;return}t=t.return}}function mS(e,t,n){var i=Vt();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},so(e)?bm(t,n):(n=ru(e,t,n,i),n!==null&&(Bt(n,e,i),Sm(n,t,i)))}function vm(e,t,n){var i=Vt();Pi(e,t,n,i)}function Pi(e,t,n,i){var o={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(so(e))bm(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,h=u(d,n);if(o.hasEagerState=!0,o.eagerState=h,jt(h,d))return Pl(e,t,o,0),Ve===null&&ql(),!1}catch{}finally{}if(n=ru(e,t,o,i),n!==null)return Bt(n,e,i),Sm(n,t,i),!0}return!1}function qu(e,t,n,i){if(i={lane:2,revertLane:bc(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},so(e)){if(t)throw Error(s(479))}else t=ru(e,n,i,2),t!==null&&Bt(t,e,2)}function so(e){var t=e.alternate;return e===he||t!==null&&t===he}function bm(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 Sm(e,t,n){if((n&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,Dt(e,n)}}var Gi={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};Gi.useEffectEvent=et;var _m={readContext:bt,use:ro,useCallback:function(e,t){return Ot().memoizedState=[e,t===void 0?null:t],e},useContext:bt,useEffect:rm,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,lo(4194308,4,sm.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=Ot();t=t===void 0?null:t;var i=e();if(Ka){sn(!0);try{e()}finally{sn(!1)}}return n.memoizedState=[i,t],i},useReducer:function(e,t,n){var i=Ot();if(n!==void 0){var o=n(t);if(Ka){sn(!0);try{n(t)}finally{sn(!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=mS.bind(null,he,e),[i.memoizedState,e]},useRef:function(e){var t=Ot();return e={current:e},t.memoizedState=e},useState:function(e){e=Lu(e);var t=e.queue,n=vm.bind(null,he,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Bu,useDeferredValue:function(e,t){var n=Ot();return zu(n,e,t)},useTransition:function(){var e=Lu(!1);return e=pm.bind(null,he,e.queue,!0,!1),Ot().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var i=he,o=Ot();if(Me){if(n===void 0)throw Error(s(407));n=n()}else{if(n=t(),Ve===null)throw Error(s(349));(Ce&127)!==0||Pp(i,t,n)}o.memoizedState=n;var u={value:n,getSnapshot:t};return o.queue=u,rm(Fp.bind(null,i,u,e),[e]),i.flags|=2048,Fr(9,{destroy:void 0},Gp.bind(null,i,u,n,t),null),n},useId:function(){var e=Ot(),t=Ve.identifierPrefix;if(Me){var n=vn,i=gn;n=(i&~(1<<32-Mt(i)-1)).toString(32)+n,t="_"+t+"R_"+n,n=no++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=oS++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Iu,useFormState:Jp,useActionState:Jp,useOptimistic:function(e){var t=Ot();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=qu.bind(null,he,!0,n),n.dispatch=t,[e,t]},useMemoCache:xu,useCacheRefresh:function(){return Ot().memoizedState=pS.bind(null,he)},useEffectEvent:function(e){var t=Ot(),n={impl:e};return t.memoizedState=n,function(){if((Ne&2)!==0)throw Error(s(440));return n.impl.apply(void 0,arguments)}}},Pu={readContext:bt,use:ro,useCallback:cm,useContext:bt,useEffect:Uu,useImperativeHandle:um,useInsertionEffect:lm,useLayoutEffect:om,useMemo:fm,useReducer:io,useRef:am,useState:function(){return io(Nn)},useDebugValue:Bu,useDeferredValue:function(e,t){var n=rt();return dm(n,qe.memoizedState,e,t)},useTransition:function(){var e=io(Nn)[0],t=rt().memoizedState;return[typeof e=="boolean"?e:qi(e),t]},useSyncExternalStore:qp,useId:ym,useHostTransitionStatus:Iu,useFormState:em,useActionState:em,useOptimistic:function(e,t){var n=rt();return $p(n,qe,e,t)},useMemoCache:xu,useCacheRefresh:gm};Pu.useEffectEvent=im;var Em={readContext:bt,use:ro,useCallback:cm,useContext:bt,useEffect:Uu,useImperativeHandle:um,useInsertionEffect:lm,useLayoutEffect:om,useMemo:fm,useReducer:Nu,useRef:am,useState:function(){return Nu(Nn)},useDebugValue:Bu,useDeferredValue:function(e,t){var n=rt();return qe===null?zu(n,e,t):dm(n,qe.memoizedState,e,t)},useTransition:function(){var e=Nu(Nn)[0],t=rt().memoizedState;return[typeof e=="boolean"?e:qi(e),t]},useSyncExternalStore:qp,useId:ym,useHostTransitionStatus:Iu,useFormState:nm,useActionState:nm,useOptimistic:function(e,t){var n=rt();return qe!==null?$p(n,qe,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:xu,useCacheRefresh:gm};Em.useEffectEvent=im;function Gu(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 Fu={enqueueSetState:function(e,t,n){e=e._reactInternals;var i=Vt(),o=aa(i);o.payload=t,n!=null&&(o.callback=n),t=ra(e,o,i),t!==null&&(Bt(t,e,i),Bi(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=Vt(),o=aa(i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=ra(e,o,i),t!==null&&(Bt(t,e,i),Bi(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Vt(),i=aa(n);i.tag=2,t!=null&&(i.callback=t),t=ra(e,i,n),t!==null&&(Bt(t,e,n),Bi(t,e,n))}};function Cm(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?!Ri(n,i)||!Ri(o,u):!0}function Am(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&&Fu.enqueueReplaceState(t,t.state,null)}function Ja(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 Tm(e){Il(e)}function Mm(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 wm(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 Vu(e,t,n){return n=aa(n),n.tag=3,n.payload={element:null},n.callback=function(){uo(e,t)},n}function Rm(e){return e=aa(e),e.tag=3,e}function Dm(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(){wm(t,n,i)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){wm(t,n,i),typeof o!="function"&&(ca===null?ca=new Set([this]):ca.add(this));var h=i.stack;this.componentDidCatch(i.value,{componentStack:h!==null?h:""})})}function hS(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=qt.current,n!==null){switch(n.tag){case 31:case 13:return en===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),yc(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)),yc(e,i,o)),!1}throw Error(s(435,n.tag))}return yc(e,i,o),Eo(),!1}if(Me)return t=qt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==cu&&(e=Error(s(422),{cause:i}),ki(Zt(e,n)))):(i!==cu&&(t=Error(s(423),{cause:i}),ki(Zt(t,n))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,i=Zt(i,n),o=Vu(e.stateNode,i,o),_u(e,o),tt!==4&&(tt=2)),!1;var u=Error(s(520),{cause:i});if(u=Zt(u,n),Wi===null?Wi=[u]:Wi.push(u),tt!==4&&(tt=2),t===null)return!0;i=Zt(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,e=Vu(n.stateNode,i,e),_u(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"&&(ca===null||!ca.has(u))))return n.flags|=65536,o&=-o,n.lanes|=o,o=Rm(o),Dm(o,e,n,i),_u(n,o),!1}n=n.return}while(n!==null);return!1}var Yu=Error(s(461)),ot=!1;function St(e,t,n,i){t.child=e===null?Lp(t,null,n,i):Wa(t,e.child,n,i)}function xm(e,t,n,i,o){n=n.render;var u=t.ref;if("ref"in i){var d={};for(var h in i)h!=="ref"&&(d[h]=i[h])}else d=i;return $a(t),i=Ou(e,t,n,d,u,o),h=wu(),e!==null&&!ot?(Ru(e,t,o),Ln(e,t,o)):(Me&&h&&su(t),t.flags|=1,St(e,t,i,o),t.child)}function km(e,t,n,i,o){if(e===null){var u=n.type;return typeof u=="function"&&!iu(u)&&u.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=u,Nm(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,!ec(e,o)){var d=u.memoizedProps;if(n=n.compare,n=n!==null?n:Ri,n(d,i)&&e.ref===t.ref)return Ln(e,t,o)}return t.flags|=1,e=wn(u,i),e.ref=t.ref,e.return=t,t.child=e}function Nm(e,t,n,i,o){if(e!==null){var u=e.memoizedProps;if(Ri(u,i)&&e.ref===t.ref)if(ot=!1,t.pendingProps=i=u,ec(e,o))(e.flags&131072)!==0&&(ot=!0);else return t.lanes=e.lanes,Ln(e,t,o)}return $u(e,t,n,i,o)}function Lm(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 Hm(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):Cu(),zp(t);else return i=t.lanes=536870912,Hm(e,t,u!==null?u.baseLanes|n:n,n,i)}else u!==null?(Ql(t,u.cachePool),Bp(t,u),la(),t.memoizedState=null):(e!==null&&Ql(t,null),Cu(),la());return St(e,t,o,n),t.child}function Fi(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Hm(e,t,n,i,o){var u=gu();return u=u===null?null:{parent:it._currentValue,pool:u},t.memoizedState={baseLanes:n,cachePool:u},e!==null&&Ql(t,null),Cu(),zp(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 Um(e,t,n){return Wa(t,e.child,null,n),e=co(t,t.pendingProps),e.flags|=2,Pt(t),t.memoizedState=null,e}function yS(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,Fi(null,e);if(Tu(t),(e=Ye)?(e=Qh(e,Jt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Kn!==null?{id:gn,overflow:vn}:null,retryLane:536870912,hydrationErrors:null},n=bp(e),n.return=t,t.child=n,vt=t,Ye=null)):e=null,e===null)throw ea(t);return t.lanes=536870912,null}return co(t,i)}var u=e.memoizedState;if(u!==null){var d=u.dehydrated;if(Tu(t),o)if(t.flags&256)t.flags&=-257,t=Um(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(s(558));else if(ot||Ur(e,t,n,!1),o=(n&e.childLanes)!==0,ot||o){if(i=Ve,i!==null&&(d=un(i,n),d!==0&&d!==u.retryLane))throw u.retryLane=d,Ga(e,d),Bt(i,e,d),Yu;Eo(),t=Um(e,t,n)}else e=u.treeContext,Ye=tn(d.nextSibling),vt=t,Me=!0,Jn=null,Jt=!1,e!==null&&Ep(t,e),t=co(t,i),t.flags|=4096;return t}return e=wn(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 $u(e,t,n,i,o){return $a(t),n=Ou(e,t,n,i,void 0,o),i=wu(),e!==null&&!ot?(Ru(e,t,o),Ln(e,t,o)):(Me&&i&&su(t),t.flags|=1,St(e,t,n,o),t.child)}function Bm(e,t,n,i,o,u){return $a(t),t.updateQueue=null,n=Ip(t,i,n,o),jp(e),i=wu(),e!==null&&!ot?(Ru(e,t,u),Ln(e,t,u)):(Me&&i&&su(t),t.flags|=1,St(e,t,n,u),t.child)}function zm(e,t,n,i,o){if($a(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=Fu,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=i,u.state=t.memoizedState,u.refs={},bu(t),d=n.contextType,u.context=typeof d=="object"&&d!==null?bt(d):kr,u.state=t.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(Gu(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&&Fu.enqueueReplaceState(u,u.state,null),ji(t,i,u,o),zi(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){u=t.stateNode;var h=t.memoizedProps,v=Ja(n,h);u.props=v;var O=u.context,k=n.contextType;d=kr,typeof k=="object"&&k!==null&&(d=bt(k));var H=n.getDerivedStateFromProps;k=typeof H=="function"||typeof u.getSnapshotBeforeUpdate=="function",h=t.pendingProps!==h,k||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h||O!==d)&&Am(t,u,i,d),na=!1;var D=t.memoizedState;u.state=D,ji(t,i,u,o),zi(),O=t.memoizedState,h||D!==O||na?(typeof H=="function"&&(Gu(t,n,H,i),O=t.memoizedState),(v=na||Cm(t,n,v,i,D,O,d))?(k||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=O),u.props=i,u.state=O,u.context=d,i=v):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{u=t.stateNode,Su(e,t),d=t.memoizedProps,k=Ja(n,d),u.props=k,H=t.pendingProps,D=u.context,O=n.contextType,v=kr,typeof O=="object"&&O!==null&&(v=bt(O)),h=n.getDerivedStateFromProps,(O=typeof h=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(d!==H||D!==v)&&Am(t,u,i,v),na=!1,D=t.memoizedState,u.state=D,ji(t,i,u,o),zi();var x=t.memoizedState;d!==H||D!==x||na||e!==null&&e.dependencies!==null&&Yl(e.dependencies)?(typeof h=="function"&&(Gu(t,n,h,i),x=t.memoizedState),(k=na||Cm(t,n,k,i,D,x,v)||e!==null&&e.dependencies!==null&&Yl(e.dependencies))?(O||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(i,x,v),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(i,x,v)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||d===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&D===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=x),u.props=i,u.state=x,u.context=v,i=k):(typeof u.componentDidUpdate!="function"||d===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&D===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=Wa(t,e.child,null,o),t.child=Wa(t,null,n,o)):St(e,t,n,o),t.memoizedState=u.state,e=t.child):e=Ln(e,t,o),e}function jm(e,t,n,i){return Va(),t.flags|=256,St(e,t,n,i),t.child}var Qu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Xu(e){return{baseLanes:e,cachePool:wp()}}function Zu(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Ft),e}function Im(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?ia(t):la(),(e=Ye)?(e=Qh(e,Jt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Kn!==null?{id:gn,overflow:vn}:null,retryLane:536870912,hydrationErrors:null},n=bp(e),n.return=t,t.child=n,vt=t,Ye=null)):e=null,e===null)throw ea(t);return kc(e)?t.lanes=32:t.lanes=536870912,null}var h=i.children;return i=i.fallback,o?(la(),o=t.mode,h=po({mode:"hidden",children:h},o),i=Fa(i,o,n,null),h.return=t,i.return=t,h.sibling=i,t.child=h,i=t.child,i.memoizedState=Xu(n),i.childLanes=Zu(e,d,n),t.memoizedState=Qu,Fi(null,i)):(ia(t),Wu(t,h))}var v=e.memoizedState;if(v!==null&&(h=v.dehydrated,h!==null)){if(u)t.flags&256?(ia(t),t.flags&=-257,t=Ku(e,t,n)):t.memoizedState!==null?(la(),t.child=e.child,t.flags|=128,t=null):(la(),h=i.fallback,o=t.mode,i=po({mode:"visible",children:i.children},o),h=Fa(h,o,n,null),h.flags|=2,i.return=t,h.return=t,i.sibling=h,t.child=i,Wa(t,e.child,null,n),i=t.child,i.memoizedState=Xu(n),i.childLanes=Zu(e,d,n),t.memoizedState=Qu,t=Fi(null,i));else if(ia(t),kc(h)){if(d=h.nextSibling&&h.nextSibling.dataset,d)var O=d.dgst;d=O,i=Error(s(419)),i.stack="",i.digest=d,ki({value:i,source:null,stack:null}),t=Ku(e,t,n)}else if(ot||Ur(e,t,n,!1),d=(n&e.childLanes)!==0,ot||d){if(d=Ve,d!==null&&(i=un(d,n),i!==0&&i!==v.retryLane))throw v.retryLane=i,Ga(e,i),Bt(d,e,i),Yu;xc(h)||Eo(),t=Ku(e,t,n)}else xc(h)?(t.flags|=192,t.child=e.child,t=null):(e=v.treeContext,Ye=tn(h.nextSibling),vt=t,Me=!0,Jn=null,Jt=!1,e!==null&&Ep(t,e),t=Wu(t,i.children),t.flags|=4096);return t}return o?(la(),h=i.fallback,o=t.mode,v=e.child,O=v.sibling,i=wn(v,{mode:"hidden",children:i.children}),i.subtreeFlags=v.subtreeFlags&65011712,O!==null?h=wn(O,h):(h=Fa(h,o,n,null),h.flags|=2),h.return=t,i.return=t,i.sibling=h,t.child=i,Fi(null,i),i=t.child,h=e.child.memoizedState,h===null?h=Xu(n):(o=h.cachePool,o!==null?(v=it._currentValue,o=o.parent!==v?{parent:v,pool:v}:o):o=wp(),h={baseLanes:h.baseLanes|n,cachePool:o}),i.memoizedState=h,i.childLanes=Zu(e,d,n),t.memoizedState=Qu,Fi(e.child,i)):(ia(t),n=e.child,e=n.sibling,n=wn(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 Wu(e,t){return t=po({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function po(e,t){return e=It(22,e,null,t),e.lanes=0,e}function Ku(e,t,n){return Wa(t,e.child,null,n),e=Wu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function qm(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),pu(e.return,t,n)}function Ju(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 Pm(e,t,n){var i=t.pendingProps,o=i.revealOrder,u=i.tail;i=i.children;var d=at.current,h=(d&2)!==0;if(h?(d=d&1|2,t.flags|=128):d&=1,U(at,d),St(e,t,i,n),i=Me?xi:0,!h&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&qm(e,n,t);else if(e.tag===19)qm(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),Ju(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}Ju(t,!0,n,null,u,i);break;case"together":Ju(t,!1,null,null,void 0,i);break;default:t.memoizedState=null}return t.child}function Ln(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ua|=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=wn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=wn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ec(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Yl(e)))}function gS(e,t,n){switch(t.tag){case 3:ft(t,t.stateNode.containerInfo),ta(t,it,e.memoizedState.cache),Va();break;case 27:case 5:Ha(t);break;case 4:ft(t,t.stateNode.containerInfo);break;case 10:ta(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Tu(t),null;break;case 13:var i=t.memoizedState;if(i!==null)return i.dehydrated!==null?(ia(t),t.flags|=128,null):(n&t.child.childLanes)!==0?Im(e,t,n):(ia(t),e=Ln(e,t,n),e!==null?e.sibling:null);ia(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 Pm(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),U(at,at.current),i)break;return null;case 22:return t.lanes=0,Lm(e,t,n,t.pendingProps);case 24:ta(t,it,e.memoizedState.cache)}return Ln(e,t,n)}function Gm(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ot=!0;else{if(!ec(e,n)&&(t.flags&128)===0)return ot=!1,gS(e,t,n);ot=(e.flags&131072)!==0}else ot=!1,Me&&(t.flags&1048576)!==0&&_p(t,xi,t.index);switch(t.lanes=0,t.tag){case 16:e:{var i=t.pendingProps;if(e=Xa(t.elementType),t.type=e,typeof e=="function")iu(e)?(i=Ja(e,i),t.tag=1,t=zm(null,t,e,i,n)):(t.tag=0,t=$u(null,t,e,i,n));else{if(e!=null){var o=e.$$typeof;if(o===ie){t.tag=11,t=xm(null,t,e,i,n);break e}else if(o===le){t.tag=14,t=km(null,t,e,i,n);break e}}throw t=Be(e)||e,Error(s(306,t,""))}}return t;case 0:return $u(e,t,t.type,t.pendingProps,n);case 1:return i=t.type,o=Ja(i,t.pendingProps),zm(e,t,i,o,n);case 3:e:{if(ft(t,t.stateNode.containerInfo),e===null)throw Error(s(387));i=t.pendingProps;var u=t.memoizedState;o=u.element,Su(e,t),ji(t,i,null,n);var d=t.memoizedState;if(i=d.cache,ta(t,it,i),i!==u.cache&&mu(t,[it],n,!0),zi(),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=jm(e,t,i,n);break e}else if(i!==o){o=Zt(Error(s(424)),t),ki(o),t=jm(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(Ye=tn(e.firstChild),vt=t,Me=!0,Jn=null,Jt=!0,n=Lp(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Va(),i===o){t=Ln(e,t,n);break e}St(e,t,i,n)}t=t.child}return t;case 26:return fo(e,t),e===null?(n=ey(t.type,null,t.pendingProps,null))?t.memoizedState=n:Me||(n=t.type,e=t.pendingProps,i=Ro(fe.current).createElement(n),i[gt]=t,i[xt]=e,_t(i,n,e),mt(i),t.stateNode=i):t.memoizedState=ey(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ha(t),e===null&&Me&&(i=t.stateNode=Wh(t.type,t.pendingProps,fe.current),vt=t,Jt=!0,o=Ye,ma(t.type)?(Nc=o,Ye=tn(i.firstChild)):Ye=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=Ye)&&(i=$S(i,t.type,t.pendingProps,Jt),i!==null?(t.stateNode=i,vt=t,Ye=tn(i.firstChild),Jt=!1,o=!0):o=!1),o||ea(t)),Ha(t),o=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,i=u.children,wc(o,u)?i=null:d!==null&&wc(o,d)&&(t.flags|=32),t.memoizedState!==null&&(o=Ou(e,t,sS,null,null,n),il._currentValue=o),fo(e,t),St(e,t,i,n),t.child;case 6:return e===null&&Me&&((e=n=Ye)&&(n=QS(n,t.pendingProps,Jt),n!==null?(t.stateNode=n,vt=t,Ye=null,e=!0):e=!1),e||ea(t)),null;case 13:return Im(e,t,n);case 4:return ft(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Wa(t,null,i,n):St(e,t,i,n),t.child;case 11:return xm(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,ta(t,t.type,i.value),St(e,t,i.children,n),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,$a(t),o=bt(o),i=i(o),t.flags|=1,St(e,t,i,n),t.child;case 14:return km(e,t,t.type,t.pendingProps,n);case 15:return Nm(e,t,t.type,t.pendingProps,n);case 19:return Pm(e,t,n);case 31:return yS(e,t,n);case 22:return Lm(e,t,n,t.pendingProps);case 24:return $a(t),i=bt(it),e===null?(o=gu(),o===null&&(o=Ve,u=hu(),o.pooledCache=u,u.refCount++,u!==null&&(o.pooledCacheLanes|=n),o=u),t.memoizedState={parent:i,cache:o},bu(t),ta(t,it,o)):((e.lanes&n)!==0&&(Su(e,t),ji(t,null,null,n),zi()),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),ta(t,it,i)):(i=u.cache,ta(t,it,i),i!==o.cache&&mu(t,[it],n,!0))),St(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function Hn(e){e.flags|=4}function tc(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(yh())e.flags|=8192;else throw Za=Zl,vu}else e.flags&=-16777217}function Fm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!iy(t))if(yh())e.flags|=8192;else throw Za=Zl,vu}function mo(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ke():536870912,e.lanes|=t,Qr|=t)}function Vi(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 $e(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 vS(e,t,n){var i=t.pendingProps;switch(uu(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $e(t),null;case 1:return $e(t),null;case 3:return n=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),xn(it),Xe(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Hr(t)?Hn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,fu())),$e(t),null;case 26:var o=t.type,u=t.memoizedState;return e===null?(Hn(t),u!==null?($e(t),Fm(t,u)):($e(t),tc(t,o,null,i,n))):u?u!==e.memoizedState?(Hn(t),$e(t),Fm(t,u)):($e(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&Hn(t),$e(t),tc(t,o,e,i,n)),null;case 27:if(dt(t),n=fe.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Hn(t);else{if(!i){if(t.stateNode===null)throw Error(s(166));return $e(t),null}e=F.current,Hr(t)?Cp(t):(e=Wh(o,i,n),t.stateNode=e,Hn(t))}return $e(t),null;case 5:if(dt(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Hn(t);else{if(!i){if(t.stateNode===null)throw Error(s(166));return $e(t),null}if(u=F.current,Hr(t))Cp(t);else{var d=Ro(fe.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&&Hn(t)}}return $e(t),tc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Hn(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(s(166));if(e=fe.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||Ih(e.nodeValue,n)),e||ea(t,!0)}else e=Ro(e).createTextNode(i),e[gt]=t,t.stateNode=e}return $e(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 Va(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;$e(t),e=!1}else n=fu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Pt(t),t):(Pt(t),null);if((t.flags&128)!==0)throw Error(s(558))}return $e(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 Va(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;$e(t),o=!1}else o=fu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Pt(t),t):(Pt(t),null)}return Pt(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),$e(t),null);case 4:return Xe(),e===null&&Cc(t.stateNode.containerInfo),$e(t),null;case 10:return xn(t.type),$e(t),null;case 19:if(T(at),i=t.memoizedState,i===null)return $e(t),null;if(o=(t.flags&128)!==0,u=i.rendering,u===null)if(o)Vi(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,Vi(i,!1),e=u.updateQueue,t.updateQueue=e,mo(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)vp(n,e),n=n.sibling;return U(at,at.current&1|2),Me&&Rn(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&Ct()>bo&&(t.flags|=128,o=!0,Vi(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),Vi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!Me)return $e(t),null}else 2*Ct()-i.renderingStartTime>bo&&n!==536870912&&(t.flags|=128,o=!0,Vi(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=Ct(),e.sibling=null,n=at.current,U(at,o?n&1|2:n&1),Me&&Rn(t,i.treeForkCount),e):($e(t),null);case 22:case 23:return Pt(t),Au(),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&&($e(t),t.subtreeFlags&6&&(t.flags|=8192)):$e(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&&T(Qa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),xn(it),$e(t),null;case 25:return null;case 30:return null}throw Error(s(156,t.tag))}function bS(e,t){switch(uu(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return xn(it),Xe(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return dt(t),null;case 31:if(t.memoizedState!==null){if(Pt(t),t.alternate===null)throw Error(s(340));Va()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Pt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Va()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return T(at),null;case 4:return Xe(),null;case 10:return xn(t.type),null;case 22:case 23:return Pt(t),Au(),e!==null&&T(Qa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return xn(it),null;case 25:return null;default:return null}}function Vm(e,t){switch(uu(t),t.tag){case 3:xn(it),Xe();break;case 26:case 27:case 5:dt(t);break;case 4:Xe();break;case 31:t.memoizedState!==null&&Pt(t);break;case 13:Pt(t);break;case 19:T(at);break;case 10:xn(t.type);break;case 22:case 23:Pt(t),Au(),e!==null&&T(Qa);break;case 24:xn(it)}}function Yi(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(h){je(t,t.return,h)}}function oa(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,h=d.destroy;if(h!==void 0){d.destroy=void 0,o=t;var v=n,O=h;try{O()}catch(k){je(o,v,k)}}}i=i.next}while(i!==u)}}catch(k){je(t,t.return,k)}}function Ym(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Up(t,n)}catch(i){je(e,e.return,i)}}}function $m(e,t,n){n.props=Ja(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(i){je(e,t,i)}}function $i(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){je(e,t,o)}}function bn(e,t){var n=e.ref,i=e.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(o){je(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){je(e,t,o)}else n.current=null}function Qm(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){je(e,e.return,o)}}function nc(e,t,n){try{var i=e.stateNode;qS(i,e.type,n,t),i[xt]=t}catch(o){je(e,e.return,o)}}function Xm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ma(e.type)||e.tag===4}function ac(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xm(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&&ma(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 rc(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=Mn));else if(i!==4&&(i===27&&ma(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(rc(e,t,n),e=e.sibling;e!==null;)rc(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&&ma(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 Zm(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){je(e,e.return,u)}}var Un=!1,st=!1,ic=!1,Wm=typeof WeakSet=="function"?WeakSet:Set,ht=null;function SS(e,t){if(e=e.containerInfo,Mc=Uo,e=up(e),Ks(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,h=-1,v=-1,O=0,k=0,H=e,D=null;t:for(;;){for(var x;H!==n||o!==0&&H.nodeType!==3||(h=d+o),H!==u||i!==0&&H.nodeType!==3||(v=d+i),H.nodeType===3&&(d+=H.nodeValue.length),(x=H.firstChild)!==null;)D=H,H=x;for(;;){if(H===e)break t;if(D===n&&++O===o&&(h=d),D===u&&++k===i&&(v=d),(x=H.nextSibling)!==null)break;H=D,D=H.parentNode}H=x}n=h===-1||v===-1?null:{start:h,end:v}}else n=null}n=n||{start:0,end:0}}else n=null;for(Oc={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 $=Ja(n.type,o);e=i.getSnapshotBeforeUpdate($,u),i.__reactInternalSnapshotBeforeUpdate=e}catch(ae){je(n,n.return,ae)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Dc(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Dc(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 Km(e,t,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:zn(e,n),i&4&&Yi(5,n);break;case 1:if(zn(e,n),i&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(d){je(n,n.return,d)}else{var o=Ja(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(d){je(n,n.return,d)}}i&64&&Ym(n),i&512&&$i(n,n.return);break;case 3:if(zn(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{Up(e,t)}catch(d){je(n,n.return,d)}}break;case 27:t===null&&i&4&&Zm(n);case 26:case 5:zn(e,n),t===null&&i&4&&Qm(n),i&512&&$i(n,n.return);break;case 12:zn(e,n);break;case 31:zn(e,n),i&4&&th(e,n);break;case 13:zn(e,n),i&4&&nh(e,n),i&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=RS.bind(null,n),XS(e,n))));break;case 22:if(i=n.memoizedState!==null||Un,!i){t=t!==null&&t.memoizedState!==null||st,o=Un;var u=st;Un=i,(st=t)&&!u?jn(e,n,(n.subtreeFlags&8772)!==0):zn(e,n),Un=o,st=u}break;case 30:break;default:zn(e,n)}}function Jm(e){var t=e.alternate;t!==null&&(e.alternate=null,Jm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Hs(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 Ze=null,Nt=!1;function Bn(e,t,n){for(n=n.child;n!==null;)eh(e,t,n),n=n.sibling}function eh(e,t,n){if(yt&&typeof yt.onCommitFiberUnmount=="function")try{yt.onCommitFiberUnmount(Ba,n)}catch{}switch(n.tag){case 26:st||bn(n,t),Bn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:st||bn(n,t);var i=Ze,o=Nt;ma(n.type)&&(Ze=n.stateNode,Nt=!1),Bn(e,t,n),nl(n.stateNode),Ze=i,Nt=o;break;case 5:st||bn(n,t);case 6:if(i=Ze,o=Nt,Ze=null,Bn(e,t,n),Ze=i,Nt=o,Ze!==null)if(Nt)try{(Ze.nodeType===9?Ze.body:Ze.nodeName==="HTML"?Ze.ownerDocument.body:Ze).removeChild(n.stateNode)}catch(u){je(n,t,u)}else try{Ze.removeChild(n.stateNode)}catch(u){je(n,t,u)}break;case 18:Ze!==null&&(Nt?(e=Ze,Yh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),ni(e)):Yh(Ze,n.stateNode));break;case 4:i=Ze,o=Nt,Ze=n.stateNode.containerInfo,Nt=!0,Bn(e,t,n),Ze=i,Nt=o;break;case 0:case 11:case 14:case 15:oa(2,n,t),st||oa(4,n,t),Bn(e,t,n);break;case 1:st||(bn(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"&&$m(n,t,i)),Bn(e,t,n);break;case 21:Bn(e,t,n);break;case 22:st=(i=st)||n.memoizedState!==null,Bn(e,t,n),st=i;break;default:Bn(e,t,n)}}function th(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ni(e)}catch(n){je(t,t.return,n)}}}function nh(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){je(t,t.return,n)}}function _S(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Wm),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Wm),t;default:throw Error(s(435,e.tag))}}function yo(e,t){var n=_S(e);t.forEach(function(i){if(!n.has(i)){n.add(i);var o=DS.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,h=d;e:for(;h!==null;){switch(h.tag){case 27:if(ma(h.type)){Ze=h.stateNode,Nt=!1;break e}break;case 5:Ze=h.stateNode,Nt=!1;break e;case 3:case 4:Ze=h.stateNode.containerInfo,Nt=!0;break e}h=h.return}if(Ze===null)throw Error(s(160));eh(u,d,o),Ze=null,Nt=!1,u=o.alternate,u!==null&&(u.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)ah(t,e),t=t.sibling}var fn=null;function ah(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&&(oa(3,e,e.return),Yi(3,e),oa(5,e,e.return));break;case 1:Lt(t,e),Ht(e),i&512&&(st||n===null||bn(n,n.return)),i&64&&Un&&(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&&(st||n===null||bn(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[Si]||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=ay("link","href",o).get(i+(n.href||""));if(d){for(var h=0;h<d.length;h++)if(u=d[h],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(h,1);break t}}u=o.createElement(i),_t(u,i,n),o.head.appendChild(u);break;case"meta":if(d=ay("meta","content",o).get(i+(n.content||""))){for(h=0;h<d.length;h++)if(u=d[h],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(h,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 ry(o,e.type,e.stateNode);else e.stateNode=ny(o,i,e.memoizedProps);else u!==i?(u===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):u.count--,i===null?ry(o,e.type,e.stateNode):ny(o,i,e.memoizedProps)):i===null&&e.stateNode!==null&&nc(e,e.memoizedProps,n.memoizedProps)}break;case 27:Lt(t,e),Ht(e),i&512&&(st||n===null||bn(n,n.return)),n!==null&&i&4&&nc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Lt(t,e),Ht(e),i&512&&(st||n===null||bn(n,n.return)),e.flags&32){o=e.stateNode;try{Tr(o,"")}catch($){je(e,e.return,$)}}i&4&&e.stateNode!=null&&(o=e.memoizedProps,nc(e,o,n!==null?n.memoizedProps:o)),i&1024&&(ic=!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($){je(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($){je(e,e.return,$)}ic&&(ic=!1,rh(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=Ct()),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,O=Un,k=st;if(Un=O||o,st=k||v,Lt(t,e),st=k,Un=O,Ht(e),i&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(n===null||v||Un||st||er(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{h=v.stateNode;var H=v.memoizedProps.style,D=H!=null&&H.hasOwnProperty("display")?H.display:null;h.style.display=D==null||typeof D=="boolean"?"":(""+D).trim()}}catch($){je(v,v.return,$)}}}else if(t.tag===6){if(n===null){v=t;try{v.stateNode.nodeValue=o?"":v.memoizedProps}catch($){je(v,v.return,$)}}}else if(t.tag===18){if(n===null){v=t;try{var x=v.stateNode;o?$h(x,!0):$h(v.stateNode,!1)}catch($){je(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(Xm(i)){n=i;break}i=i.return}if(n==null)throw Error(s(160));switch(n.tag){case 27:var o=n.stateNode,u=ac(e);ho(e,u,o);break;case 5:var d=n.stateNode;n.flags&32&&(Tr(d,""),n.flags&=-33);var h=ac(e);ho(e,h,d);break;case 3:case 4:var v=n.stateNode.containerInfo,O=ac(e);rc(e,O,v);break;default:throw Error(s(161))}}catch(k){je(e,e.return,k)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function rh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;rh(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function zn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Km(e,t.alternate,t),t=t.sibling}function er(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:oa(4,t,t.return),er(t);break;case 1:bn(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&$m(t,t.return,n),er(t);break;case 27:nl(t.stateNode);case 26:case 5:bn(t,t.return),er(t);break;case 22:t.memoizedState===null&&er(t);break;case 30:er(t);break;default:er(t)}e=e.sibling}}function jn(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:jn(o,u,n),Yi(4,u);break;case 1:if(jn(o,u,n),i=u,o=i.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(O){je(i,i.return,O)}if(i=u,o=i.updateQueue,o!==null){var h=i.stateNode;try{var v=o.shared.hiddenCallbacks;if(v!==null)for(o.shared.hiddenCallbacks=null,o=0;o<v.length;o++)Hp(v[o],h)}catch(O){je(i,i.return,O)}}n&&d&64&&Ym(u),$i(u,u.return);break;case 27:Zm(u);case 26:case 5:jn(o,u,n),n&&i===null&&d&4&&Qm(u),$i(u,u.return);break;case 12:jn(o,u,n);break;case 31:jn(o,u,n),n&&d&4&&th(o,u);break;case 13:jn(o,u,n),n&&d&4&&nh(o,u);break;case 22:u.memoizedState===null&&jn(o,u,n),$i(u,u.return);break;case 30:break;default:jn(o,u,n)}t=t.sibling}}function lc(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&&Ni(n))}function oc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ni(e))}function dn(e,t,n,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ih(e,t,n,i),t=t.sibling}function ih(e,t,n,i){var o=t.flags;switch(t.tag){case 0:case 11:case 15:dn(e,t,n,i),o&2048&&Yi(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&&Ni(e)));break;case 12:if(o&2048){dn(e,t,n,i),e=t.stateNode;try{var u=t.memoizedProps,d=u.id,h=u.onPostCommit;typeof h=="function"&&h(d,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(v){je(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):Qi(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&&lc(d,t);break;case 24:dn(e,t,n,i),o&2048&&oc(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,h=n,v=i,O=d.flags;switch(d.tag){case 0:case 11:case 15:Vr(u,d,h,v,o),Yi(8,d);break;case 23:break;case 22:var k=d.stateNode;d.memoizedState!==null?k._visibility&2?Vr(u,d,h,v,o):Qi(u,d):(k._visibility|=2,Vr(u,d,h,v,o)),o&&O&2048&&lc(d.alternate,d);break;case 24:Vr(u,d,h,v,o),o&&O&2048&&oc(d.alternate,d);break;default:Vr(u,d,h,v,o)}t=t.sibling}}function Qi(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:Qi(n,i),o&2048&&lc(i.alternate,i);break;case 24:Qi(n,i),o&2048&&oc(i.alternate,i);break;default:Qi(n,i)}t=t.sibling}}var Xi=8192;function Yr(e,t,n){if(e.subtreeFlags&Xi)for(e=e.child;e!==null;)lh(e,t,n),e=e.sibling}function lh(e,t,n){switch(e.tag){case 26:Yr(e,t,n),e.flags&Xi&&e.memoizedState!==null&&o_(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=Xi,Xi=16777216,Yr(e,t,n),Xi=i):Yr(e,t,n));break;default:Yr(e,t,n)}}function oh(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 Zi(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,uh(i,e)}oh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)sh(e),e=e.sibling}function sh(e){switch(e.tag){case 0:case 11:case 15:Zi(e),e.flags&2048&&oa(9,e,e.return);break;case 3:Zi(e);break;case 12:Zi(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)):Zi(e);break;default:Zi(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,uh(i,e)}oh(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:oa(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 uh(e,t){for(;ht!==null;){var n=ht;switch(n.tag){case 0:case 11:case 15:oa(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:Ni(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(Jm(i),i===n){ht=null;break e}if(o!==null){o.return=u,ht=o;break e}ht=u}}}var ES={getCacheForType:function(e){var t=bt(it),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return bt(it).controller.signal}},CS=typeof WeakMap=="function"?WeakMap:Map,Ne=0,Ve=null,_e=null,Ce=0,ze=0,Gt=null,sa=!1,$r=!1,sc=!1,In=0,tt=0,ua=0,tr=0,uc=0,Ft=0,Qr=0,Wi=null,Ut=null,cc=!1,vo=0,ch=0,bo=1/0,So=null,ca=null,ut=0,fa=null,Xr=null,qn=0,fc=0,dc=null,fh=null,Ki=0,pc=null;function Vt(){return(Ne&2)!==0&&Ce!==0?Ce&-Ce:R.T!==null?bc():Od()}function dh(){if(Ft===0)if((Ce&536870912)===0||Me){var e=z;z<<=1,(z&3932160)===0&&(z=262144),Ft=e}else Ft=536870912;return e=qt.current,e!==null&&(e.flags|=32),Ft}function Bt(e,t,n){(e===Ve&&(ze===2||ze===9)||e.cancelPendingCommit!==null)&&(Zr(e,0),da(e,Ce,Ft,!1)),We(e,n),((Ne&2)===0||e!==Ve)&&(e===Ve&&((Ne&2)===0&&(tr|=n),tt===4&&da(e,Ce,Ft,!1)),Sn(e))}function ph(e,t,n){if((Ne&6)!==0)throw Error(s(327));var i=!n&&(t&127)===0&&(t&e.expiredLanes)===0||de(e,t),o=i?MS(e,t):hc(e,t,!0),u=i;do{if(o===0){$r&&!i&&da(e,t,0,!1);break}else{if(n=e.current.alternate,u&&!AS(n)){o=hc(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 h=e;o=Wi;var v=h.current.memoizedState.isDehydrated;if(v&&(Zr(h,d).flags|=256),d=hc(h,d,!1),d!==2){if(sc&&!v){h.errorRecoveryDisabledLanes|=u,tr|=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),da(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:da(i,t,Ft,!sa);break e;case 2:Ut=null;break;case 3:case 5:break;default:throw Error(s(329))}if((t&62914560)===t&&(o=vo+300-Ct(),10<o)){if(da(i,t,Ft,!sa),Q(i,0,!0)!==0)break e;qn=t,i.timeoutHandle=Fh(mh.bind(null,i,n,Ut,So,cc,t,Ft,tr,Qr,sa,u,"Throttled",-0,0),o);break e}mh(i,n,Ut,So,cc,t,Ft,tr,Qr,sa,u,null,-0,0)}}break}while(!0);Sn(e)}function mh(e,t,n,i,o,u,d,h,v,O,k,H,D,x){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:Mn},lh(t,u,H);var $=(u&62914560)===u?vo-Ct():(u&4194048)===u?ch-Ct():0;if($=s_(H,$),$!==null){qn=u,e.cancelPendingCommit=$(Eh.bind(null,e,t,u,n,i,o,d,h,v,k,H,null,D,x)),da(e,u,d,!O);return}}Eh(e,t,u,n,i,o,d,h,v)}function AS(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(!jt(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 da(e,t,n,i){t&=~uc,t&=~tr,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var o=t;0<o;){var u=31-Mt(o),d=1<<u;i[u]=-1,o&=~d}n!==0&&Ke(e,n,t)}function _o(){return(Ne&6)===0?(Ji(0),!1):!0}function mc(){if(_e!==null){if(ze===0)var e=_e.return;else e=_e,Dn=Ya=null,Du(e),Ir=null,Hi=0,e=_e;for(;e!==null;)Vm(e.alternate,e),e=e.return;_e=null}}function Zr(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,FS(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),qn=0,mc(),Ve=e,_e=n=wn(e.current,null),Ce=t,ze=0,Gt=null,sa=!1,$r=de(e,t),sc=!1,Qr=Ft=uc=tr=ua=tt=0,Ut=Wi=null,cc=!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-Mt(i),u=1<<o;t|=e[o],i&=~u}return In=t,ql(),n}function hh(e,t){he=null,R.H=Gi,t===jr||t===Xl?(t=xp(),ze=3):t===vu?(t=xp(),ze=4):ze=t===Yu?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Gt=t,_e===null&&(tt=1,uo(e,Zt(t,e.current)))}function yh(){var e=qt.current;return e===null?!0:(Ce&4194048)===Ce?en===null:(Ce&62914560)===Ce||(Ce&536870912)!==0?e===en:!1}function gh(){var e=R.H;return R.H=Gi,e===null?Gi:e}function vh(){var e=R.A;return R.A=ES,e}function Eo(){tt=4,sa||(Ce&4194048)!==Ce&&qt.current!==null||($r=!0),(ua&134217727)===0&&(tr&134217727)===0||Ve===null||da(Ve,Ce,Ft,!1)}function hc(e,t,n){var i=Ne;Ne|=2;var o=gh(),u=vh();(Ve!==e||Ce!==t)&&(So=null,Zr(e,t)),t=!1;var d=tt;e:do try{if(ze!==0&&_e!==null){var h=_e,v=Gt;switch(ze){case 8:mc(),d=6;break e;case 3:case 2:case 9:case 6:qt.current===null&&(t=!0);var O=ze;if(ze=0,Gt=null,Wr(e,h,v,O),n&&$r){d=0;break e}break;default:O=ze,ze=0,Gt=null,Wr(e,h,v,O)}}TS(),d=tt;break}catch(k){hh(e,k)}while(!0);return t&&e.shellSuspendCounter++,Dn=Ya=null,Ne=i,R.H=o,R.A=u,_e===null&&(Ve=null,Ce=0,ql()),d}function TS(){for(;_e!==null;)bh(_e)}function MS(e,t){var n=Ne;Ne|=2;var i=gh(),o=vh();Ve!==e||Ce!==t?(So=null,bo=Ct()+500,Zr(e,t)):$r=de(e,t);e:do try{if(ze!==0&&_e!==null){t=_e;var u=Gt;t:switch(ze){case 1:ze=0,Gt=null,Wr(e,t,u,1);break;case 2:case 9:if(Rp(u)){ze=0,Gt=null,Sh(t);break}t=function(){ze!==2&&ze!==9||Ve!==e||(ze=7),Sn(e)},u.then(t,t);break e;case 3:ze=7;break e;case 4:ze=5;break e;case 7:Rp(u)?(ze=0,Gt=null,Sh(t)):(ze=0,Gt=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 h=_e;if(d?iy(d):h.stateNode.complete){ze=0,Gt=null;var v=h.sibling;if(v!==null)_e=v;else{var O=h.return;O!==null?(_e=O,Co(O)):_e=null}break t}}ze=0,Gt=null,Wr(e,t,u,5);break;case 6:ze=0,Gt=null,Wr(e,t,u,6);break;case 8:mc(),tt=6;break e;default:throw Error(s(462))}}OS();break}catch(k){hh(e,k)}while(!0);return Dn=Ya=null,R.H=i,R.A=o,Ne=n,_e!==null?0:(Ve=null,Ce=0,ql(),tt)}function OS(){for(;_e!==null&&!Tl();)bh(_e)}function bh(e){var t=Gm(e.alternate,e,In);e.memoizedProps=e.pendingProps,t===null?Co(e):_e=t}function Sh(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:Du(t);default:Vm(n,t),t=_e=vp(t,In),t=Gm(n,t,In)}e.memoizedProps=e.pendingProps,t===null?Co(e):_e=t}function Wr(e,t,n,i){Dn=Ya=null,Du(t),Ir=null,Hi=0;var o=t.return;try{if(hS(e,o,t,n,Ce)){tt=1,uo(e,Zt(n,e.current)),_e=null;return}}catch(u){if(o!==null)throw _e=o,u;tt=1,uo(e,Zt(n,e.current)),_e=null;return}t.flags&32768?(Me||i===1?e=!0:$r||(Ce&536870912)!==0?e=!1:(sa=e=!0,(i===2||i===9||i===3||i===6)&&(i=qt.current,i!==null&&i.tag===13&&(i.flags|=16384))),_h(t,e)):Co(t)}function Co(e){var t=e;do{if((t.flags&32768)!==0){_h(t,sa);return}e=t.return;var n=vS(t.alternate,t,In);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 _h(e,t){do{var n=bS(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 Eh(e,t,n,i,o,u,d,h,v){e.cancelPendingCommit=null;do Ao();while(ut!==0);if((Ne&6)!==0)throw Error(s(327));if(t!==null){if(t===e.current)throw Error(s(177));if(u=t.lanes|t.childLanes,u|=au,zt(e,n,u,d,h,v),e===Ve&&(_e=Ve=null,Ce=0),Xr=t,fa=e,qn=n,fc=u,dc=o,fh=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,xS(Xn,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=q.p,q.p=2,d=Ne,Ne|=4;try{SS(e,t,n)}finally{Ne=d,q.p=o,R.T=i}}ut=1,Ch(),Ah(),Th()}}function Ch(){if(ut===1){ut=0;var e=fa,t=Xr,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=R.T,R.T=null;var i=q.p;q.p=2;var o=Ne;Ne|=4;try{ah(t,e);var u=Oc,d=up(e.containerInfo),h=u.focusedElem,v=u.selectionRange;if(d!==h&&h&&h.ownerDocument&&sp(h.ownerDocument.documentElement,h)){if(v!==null&&Ks(h)){var O=v.start,k=v.end;if(k===void 0&&(k=O),"selectionStart"in h)h.selectionStart=O,h.selectionEnd=Math.min(k,h.value.length);else{var H=h.ownerDocument||document,D=H&&H.defaultView||window;if(D.getSelection){var x=D.getSelection(),$=h.textContent.length,ae=Math.min(v.start,$),Ge=v.end===void 0?ae:Math.min(v.end,$);!x.extend&&ae>Ge&&(d=Ge,Ge=ae,ae=d);var E=op(h,ae),S=op(h,Ge);if(E&&S&&(x.rangeCount!==1||x.anchorNode!==E.node||x.anchorOffset!==E.offset||x.focusNode!==S.node||x.focusOffset!==S.offset)){var M=H.createRange();M.setStart(E.node,E.offset),x.removeAllRanges(),ae>Ge?(x.addRange(M),x.extend(S.node,S.offset)):(M.setEnd(S.node,S.offset),x.addRange(M))}}}}for(H=[],x=h;x=x.parentNode;)x.nodeType===1&&H.push({element:x,left:x.scrollLeft,top:x.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<H.length;h++){var N=H[h];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}Uo=!!Mc,Oc=Mc=null}finally{Ne=o,q.p=i,R.T=n}}e.current=t,ut=2}}function Ah(){if(ut===2){ut=0;var e=fa,t=Xr,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=R.T,R.T=null;var i=q.p;q.p=2;var o=Ne;Ne|=4;try{Km(e,t.alternate,t)}finally{Ne=o,q.p=i,R.T=n}}ut=3}}function Th(){if(ut===4||ut===3){ut=0,Ml();var e=fa,t=Xr,n=qn,i=fh;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ut=5:(ut=0,Xr=fa=null,Mh(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(ca=null),vr(n),t=t.stateNode,yt&&typeof yt.onCommitFiberRoot=="function")try{yt.onCommitFiberRoot(Ba,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=R.T,o=q.p,q.p=2,R.T=null;try{for(var u=e.onRecoverableError,d=0;d<i.length;d++){var h=i[d];u(h.value,{componentStack:h.stack})}}finally{R.T=t,q.p=o}}(qn&3)!==0&&Ao(),Sn(e),o=e.pendingLanes,(n&261930)!==0&&(o&42)!==0?e===pc?Ki++:(Ki=0,pc=e):Ki=0,Ji(0)}}function Mh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ni(t)))}function Ao(){return Ch(),Ah(),Th(),Oh()}function Oh(){if(ut!==5)return!1;var e=fa,t=fc;fc=0;var n=vr(qn),i=R.T,o=q.p;try{q.p=32>n?32:n,R.T=null,n=dc,dc=null;var u=fa,d=qn;if(ut=0,Xr=fa=null,qn=0,(Ne&6)!==0)throw Error(s(331));var h=Ne;if(Ne|=4,sh(u.current),ih(u,u.current,d,n),Ne=h,Ji(0,!1),yt&&typeof yt.onPostCommitFiberRoot=="function")try{yt.onPostCommitFiberRoot(Ba,u)}catch{}return!0}finally{q.p=o,R.T=i,Mh(e,t)}}function wh(e,t,n){t=Zt(n,t),t=Vu(e.stateNode,t,2),e=ra(e,t,2),e!==null&&(We(e,2),Sn(e))}function je(e,t,n){if(e.tag===3)wh(e,e,n);else for(;t!==null;){if(t.tag===3){wh(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(ca===null||!ca.has(i))){e=Zt(n,e),n=Rm(2),i=ra(t,n,2),i!==null&&(Dm(n,i,t,e),We(i,2),Sn(i));break}}t=t.return}}function yc(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new CS;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)||(sc=!0,o.add(n),e=wS.bind(null,e,t,n),t.then(e,e))}function wS(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ve===e&&(Ce&n)===n&&(tt===4||tt===3&&(Ce&62914560)===Ce&&300>Ct()-vo?(Ne&2)===0&&Zr(e,0):uc|=n,Qr===Ce&&(Qr=0)),Sn(e)}function Rh(e,t){t===0&&(t=ke()),e=Ga(e,t),e!==null&&(We(e,t),Sn(e))}function RS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Rh(e,n)}function DS(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),Rh(e,n)}function xS(e,t){return mr(e,t)}var To=null,Kr=null,gc=!1,Mo=!1,vc=!1,pa=0;function Sn(e){e!==Kr&&e.next===null&&(Kr===null?To=Kr=e:Kr=Kr.next=e),Mo=!0,gc||(gc=!0,NS())}function Ji(e,t){if(!vc&&Mo){vc=!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,h=i.pingedLanes;u=(1<<31-Mt(42|e)+1)-1,u&=o&~(d&~h),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(n=!0,Nh(i,u))}else u=Ce,u=Q(i,i===Ve?u:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(u&3)===0||de(i,u)||(n=!0,Nh(i,u));i=i.next}while(n);vc=!1}}function kS(){Dh()}function Dh(){Mo=gc=!1;var e=0;pa!==0&&GS()&&(e=pa);for(var t=Ct(),n=null,i=To;i!==null;){var o=i.next,u=xh(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}ut!==0&&ut!==5||Ji(e),pa!==0&&(pa=0)}function xh(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var d=31-Mt(u),h=1<<d,v=o[d];v===-1?((h&n)===0||(h&i)!==0)&&(o[d]=xe(h,t)):v<=t&&(e.expiredLanes|=h),u&=~h}if(t=Ve,n=Ce,n=Q(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,n===0||e===t&&(ze===2||ze===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&hr(i),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||de(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(i!==null&&hr(i),vr(n)){case 2:case 8:n=wl;break;case 32:n=Xn;break;case 268435456:n=Rl;break;default:n=Xn}return i=kh.bind(null,e),n=mr(n,i),e.callbackPriority=t,e.callbackNode=n,t}return i!==null&&i!==null&&hr(i),e.callbackPriority=2,e.callbackNode=null,2}function kh(e,t){if(ut!==0&&ut!==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=Q(e,e===Ve?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(ph(e,i,t),xh(e,Ct()),e.callbackNode!=null&&e.callbackNode===n?kh.bind(null,e):null)}function Nh(e,t){if(Ao())return null;ph(e,t,!0)}function NS(){VS(function(){(Ne&6)!==0?mr(Ol,kS):Dh()})}function bc(){if(pa===0){var e=Br;e===0&&(e=B,B<<=1,(B&261888)===0&&(B=256)),pa=e}return pa}function Lh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Nl(""+e)}function Hh(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 LS(e,t,n,i,o){if(t==="submit"&&n&&n.stateNode===o){var u=Lh((o[xt]||null).action),d=i.submitter;d&&(t=(t=d[xt]||null)?Lh(t.formAction):d.getAttribute("formAction"),t!==null&&(u=t,d=null));var h=new Bl("action","action",null,i,o);e.push({event:h,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(pa!==0){var v=d?Hh(o,d):new FormData(o);ju(n,{pending:!0,data:v,method:o.method,action:u},null,v)}}else typeof u=="function"&&(h.preventDefault(),v=d?Hh(o,d):new FormData(o),ju(n,{pending:!0,data:v,method:o.method,action:u},u,v))},currentTarget:o}]})}}for(var Sc=0;Sc<nu.length;Sc++){var _c=nu[Sc],HS=_c.toLowerCase(),US=_c[0].toUpperCase()+_c.slice(1);cn(HS,"on"+US)}cn(dp,"onAnimationEnd"),cn(pp,"onAnimationIteration"),cn(mp,"onAnimationStart"),cn("dblclick","onDoubleClick"),cn("focusin","onFocus"),cn("focusout","onBlur"),cn(Kb,"onTransitionRun"),cn(Jb,"onTransitionStart"),cn(eS,"onTransitionCancel"),cn(hp,"onTransitionEnd"),Cr("onMouseEnter",["mouseout","mouseover"]),Cr("onMouseLeave",["mouseout","mouseover"]),Cr("onPointerEnter",["pointerout","pointerover"]),Cr("onPointerLeave",["pointerout","pointerover"]),ja("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ja("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ja("onBeforeInput",["compositionend","keypress","textInput","paste"]),ja("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ja("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ja("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var el="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(el));function Uh(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 h=i[d],v=h.instance,O=h.currentTarget;if(h=h.listener,v!==u&&o.isPropagationStopped())break e;u=h,o.currentTarget=O;try{u(o)}catch(k){Il(k)}o.currentTarget=null,u=v}else for(d=0;d<i.length;d++){if(h=i[d],v=h.instance,O=h.currentTarget,h=h.listener,v!==u&&o.isPropagationStopped())break e;u=h,o.currentTarget=O;try{u(o)}catch(k){Il(k)}o.currentTarget=null,u=v}}}}function Ee(e,t){var n=t[Ls];n===void 0&&(n=t[Ls]=new Set);var i=e+"__bubble";n.has(i)||(Bh(t,e,2,!1),n.add(i))}function Ec(e,t,n){var i=0;t&&(i|=4),Bh(n,e,i,t)}var Oo="_reactListening"+Math.random().toString(36).slice(2);function Cc(e){if(!e[Oo]){e[Oo]=!0,Dd.forEach(function(n){n!=="selectionchange"&&(BS.has(n)||Ec(n,!1,e),Ec(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Oo]||(t[Oo]=!0,Ec("selectionchange",!1,t))}}function Bh(e,t,n,i){switch(dy(t)){case 2:var o=f_;break;case 8:o=d_;break;default:o=zc}n=o.bind(null,t,n,e),o=void 0,!Gs||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 Ac(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 h=i.stateNode.containerInfo;if(h===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(;h!==null;){if(d=Sr(h),d===null)return;if(v=d.tag,v===5||v===6||v===26||v===27){i=u=d;continue e}h=h.parentNode}}i=i.return}Pd(function(){var O=u,k=qs(n),H=[];e:{var D=yp.get(e);if(D!==void 0){var x=Bl,$=e;switch(e){case"keypress":if(Hl(n)===0)break e;case"keydown":case"keyup":x=Db;break;case"focusin":$="focus",x=$s;break;case"focusout":$="blur",x=$s;break;case"beforeblur":case"afterblur":x=$s;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":x=Vd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=vb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=Nb;break;case dp:case pp:case mp:x=_b;break;case hp:x=Hb;break;case"scroll":case"scrollend":x=yb;break;case"wheel":x=Bb;break;case"copy":case"cut":case"paste":x=Cb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=$d;break;case"toggle":case"beforetoggle":x=jb}var ae=(t&4)!==0,Ge=!ae&&(e==="scroll"||e==="scrollend"),E=ae?D!==null?D+"Capture":null:D;ae=[];for(var S=O,M;S!==null;){var N=S;if(M=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||M===null||E===null||(N=Ei(S,E),N!=null&&ae.push(tl(S,N,M))),Ge)break;S=S.return}0<ae.length&&(D=new x(D,$,null,n,k),H.push({event:D,listeners:ae}))}}if((t&7)===0){e:{if(D=e==="mouseover"||e==="pointerover",x=e==="mouseout"||e==="pointerout",D&&n!==Is&&($=n.relatedTarget||n.fromElement)&&(Sr($)||$[br]))break e;if((x||D)&&(D=k.window===k?k:(D=k.ownerDocument)?D.defaultView||D.parentWindow:window,x?($=n.relatedTarget||n.toElement,x=O,$=$?Sr($):null,$!==null&&(Ge=f($),ae=$.tag,$!==Ge||ae!==5&&ae!==27&&ae!==6)&&($=null)):(x=null,$=O),x!==$)){if(ae=Vd,N="onMouseLeave",E="onMouseEnter",S="mouse",(e==="pointerout"||e==="pointerover")&&(ae=$d,N="onPointerLeave",E="onPointerEnter",S="pointer"),Ge=x==null?D:_i(x),M=$==null?D:_i($),D=new ae(N,S+"leave",x,n,k),D.target=Ge,D.relatedTarget=M,N=null,Sr(k)===O&&(ae=new ae(E,S+"enter",$,n,k),ae.target=M,ae.relatedTarget=Ge,N=ae),Ge=N,x&&$)t:{for(ae=zS,E=x,S=$,M=0,N=E;N;N=ae(N))M++;N=0;for(var ee=S;ee;ee=ae(ee))N++;for(;0<M-N;)E=ae(E),M--;for(;0<N-M;)S=ae(S),N--;for(;M--;){if(E===S||S!==null&&E===S.alternate){ae=E;break t}E=ae(E),S=ae(S)}ae=null}else ae=null;x!==null&&zh(H,D,x,ae,!1),$!==null&&Ge!==null&&zh(H,Ge,$,ae,!0)}}e:{if(D=O?_i(O):window,x=D.nodeName&&D.nodeName.toLowerCase(),x==="select"||x==="input"&&D.type==="file")var Re=tp;else if(Jd(D))if(np)Re=Xb;else{Re=$b;var W=Yb}else x=D.nodeName,!x||x.toLowerCase()!=="input"||D.type!=="checkbox"&&D.type!=="radio"?O&&js(O.elementType)&&(Re=tp):Re=Qb;if(Re&&(Re=Re(e,O))){ep(H,Re,n,k);break e}W&&W(e,D,O),e==="focusout"&&O&&D.type==="number"&&O.memoizedProps.value!=null&&zs(D,"number",D.value)}switch(W=O?_i(O):window,e){case"focusin":(Jd(W)||W.contentEditable==="true")&&(Rr=W,Js=O,Di=null);break;case"focusout":Di=Js=Rr=null;break;case"mousedown":eu=!0;break;case"contextmenu":case"mouseup":case"dragend":eu=!1,cp(H,n,k);break;case"selectionchange":if(Wb)break;case"keydown":case"keyup":cp(H,n,k)}var ye;if(Xs)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 wr?Wd(e,n)&&(Ae="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Ae="onCompositionStart");Ae&&(Qd&&n.locale!=="ko"&&(wr||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&wr&&(ye=Gd()):(Wn=k,Fs="value"in Wn?Wn.value:Wn.textContent,wr=!0)),W=wo(O,Ae),0<W.length&&(Ae=new Yd(Ae,e,null,n,k),H.push({event:Ae,listeners:W}),ye?Ae.data=ye:(ye=Kd(n),ye!==null&&(Ae.data=ye)))),(ye=qb?Pb(e,n):Gb(e,n))&&(Ae=wo(O,"onBeforeInput"),0<Ae.length&&(W=new Yd("onBeforeInput","beforeinput",null,n,k),H.push({event:W,listeners:Ae}),W.data=ye)),LS(H,e,O,n,k)}Uh(H,t)})}function tl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function wo(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=Ei(e,n),o!=null&&i.unshift(tl(e,o,u)),o=Ei(e,t),o!=null&&i.push(tl(e,o,u))),e.tag===3)return i;e=e.return}return[]}function zS(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function zh(e,t,n,i,o){for(var u=t._reactName,d=[];n!==null&&n!==i;){var h=n,v=h.alternate,O=h.stateNode;if(h=h.tag,v!==null&&v===i)break;h!==5&&h!==26&&h!==27||O===null||(v=O,o?(O=Ei(n,u),O!=null&&d.unshift(tl(n,O,v))):o||(O=Ei(n,u),O!=null&&d.push(tl(n,O,v)))),n=n.return}d.length!==0&&e.push({event:t,listeners:d})}var jS=/\r\n?/g,IS=/\u0000|\uFFFD/g;function jh(e){return(typeof e=="string"?e:""+e).replace(jS,`
|
|
50
|
+
`).replace(IS,"")}function Ih(e,t){return t=jh(t),jh(e)===t}function Pe(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":Id(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"&&Pe(e,t,"name",o.name,o,null),Pe(e,t,"formEncType",o.formEncType,o,null),Pe(e,t,"formMethod",o.formMethod,o,null),Pe(e,t,"formTarget",o.formTarget,o,null)):(Pe(e,t,"encType",o.encType,o,null),Pe(e,t,"method",o.method,o,null),Pe(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=Mn);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":Tn(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":Tn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":Tn(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":Tn(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":Tn(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":Tn(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":Tn(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":Tn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":Tn(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=mb.get(n)||n,Dl(e,n,i))}}function Tc(e,t,n,i,o,u){switch(n){case"style":Id(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=Mn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!xd.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:Pe(e,t,u,d,n,null)}}o&&Pe(e,t,"srcSet",n.srcSet,n,null),i&&Pe(e,t,"src",n.src,n,null);return;case"input":Ee("invalid",e);var h=u=d=o=null,v=null,O=null;for(i in n)if(n.hasOwnProperty(i)){var k=n[i];if(k!=null)switch(i){case"name":o=k;break;case"type":d=k;break;case"checked":v=k;break;case"defaultChecked":O=k;break;case"value":u=k;break;case"defaultValue":h=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(s(137,t));break;default:Pe(e,t,i,k,n,null)}}Ud(e,u,h,v,O,d,o,!1);return;case"select":Ee("invalid",e),i=d=u=null;for(o in n)if(n.hasOwnProperty(o)&&(h=n[o],h!=null))switch(o){case"value":u=h;break;case"defaultValue":d=h;break;case"multiple":i=h;default:Pe(e,t,o,h,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)&&(h=n[d],h!=null))switch(d){case"value":i=h;break;case"defaultValue":o=h;break;case"children":u=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(s(91));break;default:Pe(e,t,d,h,n,null)}zd(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:Pe(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<el.length;i++)Ee(el[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(O in n)if(n.hasOwnProperty(O)&&(i=n[O],i!=null))switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:Pe(e,t,O,i,n,null)}return;default:if(js(t)){for(k in n)n.hasOwnProperty(k)&&(i=n[k],i!==void 0&&Tc(e,t,k,i,n,void 0));return}}for(h in n)n.hasOwnProperty(h)&&(i=n[h],i!=null&&Pe(e,t,h,i,n,null))}function qS(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,h=null,v=null,O=null,k=null;for(x in n){var H=n[x];if(n.hasOwnProperty(x)&&H!=null)switch(x){case"checked":break;case"value":break;case"defaultValue":v=H;default:i.hasOwnProperty(x)||Pe(e,t,x,null,i,H)}}for(var D in i){var x=i[D];if(H=n[D],i.hasOwnProperty(D)&&(x!=null||H!=null))switch(D){case"type":u=x;break;case"name":o=x;break;case"checked":O=x;break;case"defaultChecked":k=x;break;case"value":d=x;break;case"defaultValue":h=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(s(137,t));break;default:x!==H&&Pe(e,t,D,x,i,H)}}Bs(e,d,h,v,O,k,u,o);return;case"select":x=d=h=D=null;for(u in n)if(v=n[u],n.hasOwnProperty(u)&&v!=null)switch(u){case"value":break;case"multiple":x=v;default:i.hasOwnProperty(u)||Pe(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":D=u;break;case"defaultValue":h=u;break;case"multiple":d=u;default:u!==v&&Pe(e,t,o,u,i,v)}t=h,n=d,i=x,D!=null?Ar(e,!!n,D,!1):!!i!=!!n&&(t!=null?Ar(e,!!n,t,!0):Ar(e,!!n,n?[]:"",!1));return;case"textarea":x=D=null;for(h in n)if(o=n[h],n.hasOwnProperty(h)&&o!=null&&!i.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:Pe(e,t,h,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":D=o;break;case"defaultValue":x=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(s(91));break;default:o!==u&&Pe(e,t,d,o,i,u)}Bd(e,D,x);return;case"option":for(var $ in n)if(D=n[$],n.hasOwnProperty($)&&D!=null&&!i.hasOwnProperty($))switch($){case"selected":e.selected=!1;break;default:Pe(e,t,$,null,i,D)}for(v in i)if(D=i[v],x=n[v],i.hasOwnProperty(v)&&D!==x&&(D!=null||x!=null))switch(v){case"selected":e.selected=D&&typeof D!="function"&&typeof D!="symbol";break;default:Pe(e,t,v,D,i,x)}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 ae in n)D=n[ae],n.hasOwnProperty(ae)&&D!=null&&!i.hasOwnProperty(ae)&&Pe(e,t,ae,null,i,D);for(O in i)if(D=i[O],x=n[O],i.hasOwnProperty(O)&&D!==x&&(D!=null||x!=null))switch(O){case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(s(137,t));break;default:Pe(e,t,O,D,i,x)}return;default:if(js(t)){for(var Ge in n)D=n[Ge],n.hasOwnProperty(Ge)&&D!==void 0&&!i.hasOwnProperty(Ge)&&Tc(e,t,Ge,void 0,i,D);for(k in i)D=i[k],x=n[k],!i.hasOwnProperty(k)||D===x||D===void 0&&x===void 0||Tc(e,t,k,D,i,x);return}}for(var E in n)D=n[E],n.hasOwnProperty(E)&&D!=null&&!i.hasOwnProperty(E)&&Pe(e,t,E,null,i,D);for(H in i)D=i[H],x=n[H],!i.hasOwnProperty(H)||D===x||D==null&&x==null||Pe(e,t,H,D,i,x)}function qh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function PS(){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,h=o.duration;if(u&&h&&qh(d)){for(d=0,h=o.responseEnd,i+=1;i<n.length;i++){var v=n[i],O=v.startTime;if(O>h)break;var k=v.transferSize,H=v.initiatorType;k&&qh(H)&&(v=v.responseEnd,d+=k*(v<h?1:(h-O)/(v-O)))}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 Mc=null,Oc=null;function Ro(e){return e.nodeType===9?e:e.ownerDocument}function Ph(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 Gh(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 wc(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 Rc=null;function GS(){var e=window.event;return e&&e.type==="popstate"?e===Rc?!1:(Rc=e,!0):(Rc=null,!1)}var Fh=typeof setTimeout=="function"?setTimeout:void 0,FS=typeof clearTimeout=="function"?clearTimeout:void 0,Vh=typeof Promise=="function"?Promise:void 0,VS=typeof queueMicrotask=="function"?queueMicrotask:typeof Vh<"u"?function(e){return Vh.resolve(null).then(e).catch(YS)}:Fh;function YS(e){setTimeout(function(){throw e})}function ma(e){return e==="head"}function Yh(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")nl(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,nl(n);for(var u=n.firstChild;u;){var d=u.nextSibling,h=u.nodeName;u[Si]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=d}}else n==="body"&&nl(e.ownerDocument.body);n=o}while(n);ni(t)}function $h(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 Dc(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":Dc(n),Hs(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function $S(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[Si])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=tn(e.nextSibling),e===null)break}return null}function QS(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=tn(e.nextSibling),e===null))return null;return e}function Qh(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=tn(e.nextSibling),e===null))return null;return e}function xc(e){return e.data==="$?"||e.data==="$~"}function kc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function XS(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 tn(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 Nc=null;function Xh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return tn(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function Zh(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 Wh(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 nl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Hs(e)}var nn=new Map,Kh=new Set;function Do(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Pn=q.d;q.d={f:ZS,r:WS,D:KS,C:JS,L:e_,m:t_,X:a_,S:n_,M:r_};function ZS(){var e=Pn.f(),t=_o();return e||t}function WS(e){var t=_r(e);t!==null&&t.tag===5&&t.type==="form"?hm(t):Pn.r(e)}var Jr=typeof document>"u"?null:document;function Jh(e,t,n){var i=Jr;if(i&&typeof t=="string"&&t){var o=Qt(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof n=="string"&&(o+='[crossorigin="'+n+'"]'),Kh.has(o)||(Kh.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 KS(e){Pn.D(e),Jh("dns-prefetch",e,null)}function JS(e,t){Pn.C(e,t),Jh("preconnect",e,t)}function e_(e,t,n){Pn.L(e,t,n);var i=Jr;if(i&&e&&t){var o='link[rel="preload"][as="'+Qt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(o+='[imagesrcset="'+Qt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(o+='[imagesizes="'+Qt(n.imageSizes)+'"]')):o+='[href="'+Qt(e)+'"]';var u=o;switch(t){case"style":u=ei(e);break;case"script":u=ti(e)}nn.has(u)||(e=_({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),nn.set(u,e),i.querySelector(o)!==null||t==="style"&&i.querySelector(al(u))||t==="script"&&i.querySelector(rl(u))||(t=i.createElement("link"),_t(t,"link",e),mt(t),i.head.appendChild(t)))}}function t_(e,t){Pn.m(e,t);var n=Jr;if(n&&e){var i=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Qt(i)+'"][href="'+Qt(e)+'"]',u=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=ti(e)}if(!nn.has(u)&&(e=_({rel:"modulepreload",href:e},t),nn.set(u,e),n.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(rl(u)))return}i=n.createElement("link"),_t(i,"link",e),mt(i),n.head.appendChild(i)}}}function n_(e,t,n){Pn.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 h={loading:0,preload:null};if(d=i.querySelector(al(u)))h.loading=5;else{e=_({rel:"stylesheet",href:e,"data-precedence":t},n),(n=nn.get(u))&&Lc(e,n);var v=d=i.createElement("link");mt(v),_t(v,"link",e),v._p=new Promise(function(O,k){v.onload=O,v.onerror=k}),v.addEventListener("load",function(){h.loading|=1}),v.addEventListener("error",function(){h.loading|=2}),h.loading|=4,xo(d,t,i)}d={type:"stylesheet",instance:d,count:1,state:h},o.set(u,d)}}}function a_(e,t){Pn.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(rl(o)),u||(e=_({src:e,async:!0},t),(t=nn.get(o))&&Hc(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 r_(e,t){Pn.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(rl(o)),u||(e=_({src:e,async:!0,type:"module"},t),(t=nn.get(o))&&Hc(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 ey(e,t,n,i){var o=(o=fe.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(al(e)))&&!u._p&&(d.instance=u,d.state.loading=5),nn.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},nn.set(e,n),u||i_(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="'+Qt(e)+'"'}function al(e){return'link[rel="stylesheet"]['+e+"]"}function ty(e){return _({},e,{"data-precedence":e.precedence,precedence:null})}function i_(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="'+Qt(e)+'"]'}function rl(e){return"script[async]"+e}function ny(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+Qt(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(al(o));if(u)return t.state.loading|=4,t.instance=u,mt(u),u;i=ty(n),(o=nn.get(o))&&Lc(i,o),u=(e.ownerDocument||e).createElement("link"),mt(u);var d=u;return d._p=new Promise(function(h,v){d.onload=h,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(rl(u)))?(t.instance=o,mt(o),o):(i=n,(o=nn.get(u))&&(i=_({},n),Hc(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 h=i[d];if(h.dataset.precedence===t)u=h;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 Lc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Hc(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 ay(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[Si]||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 h=i.get(d);h?h.push(u):i.set(d,[u])}}return i}function ry(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function l_(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 iy(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function o_(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(al(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=ty(i),(o=nn.get(o))&&Lc(i,o),u=u.createElement("link"),mt(u);var d=u;d._p=new Promise(function(h,v){d.onload=h,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 Uc=0;function s_(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&&Uc===0&&(Uc=62500*PS());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>Uc?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(u_,e),Lo=null,No.call(e))}function u_(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 il={$$typeof:ne,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function c_(e,t,n,i,o,u,d,h,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=we(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=we(0),this.hiddenUpdates=we(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 ly(e,t,n,i,o,u,d,h,v,O,k,H){return e=new c_(e,t,n,d,v,O,k,H,h),t=1,u===!0&&(t|=24),u=It(3,null,null,t),e.current=u,u.stateNode=e,t=hu(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:i,isDehydrated:n,cache:t},bu(u),e}function oy(e){return e?(e=kr,e):kr}function sy(e,t,n,i,o,u){o=oy(o),i.context===null?i.context=o:i.pendingContext=o,i=aa(t),i.payload={element:n},u=u===void 0?null:u,u!==null&&(i.callback=u),n=ra(e,i,t),n!==null&&(Bt(n,e,t),Bi(n,e,t))}function uy(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Bc(e,t){uy(e,t),(e=e.alternate)&&uy(e,t)}function cy(e){if(e.tag===13||e.tag===31){var t=Ga(e,67108864);t!==null&&Bt(t,e,67108864),Bc(e,67108864)}}function fy(e){if(e.tag===13||e.tag===31){var t=Vt();t=gr(t);var n=Ga(e,t);n!==null&&Bt(n,e,t),Bc(e,t)}}var Uo=!0;function f_(e,t,n,i){var o=R.T;R.T=null;var u=q.p;try{q.p=2,zc(e,t,n,i)}finally{q.p=u,R.T=o}}function d_(e,t,n,i){var o=R.T;R.T=null;var u=q.p;try{q.p=8,zc(e,t,n,i)}finally{q.p=u,R.T=o}}function zc(e,t,n,i){if(Uo){var o=jc(i);if(o===null)Ac(e,t,i,Bo,n),py(e,i);else if(m_(o,e,t,n,i))i.stopPropagation();else if(py(e,i),t&4&&-1<p_.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=G(u.pendingLanes);if(d!==0){var h=u;for(h.pendingLanes|=2,h.entangledLanes|=2;d;){var v=1<<31-Mt(d);h.entanglements[1]|=v,d&=~v}Sn(u),(Ne&6)===0&&(bo=Ct()+500,Ji(0))}}break;case 31:case 13:h=Ga(u,2),h!==null&&Bt(h,u,2),_o(),Bc(u,2)}if(u=jc(i),u===null&&Ac(e,t,i,Bo,n),u===o)break;o=u}o!==null&&i.stopPropagation()}else Ac(e,t,i,null,n)}}function jc(e){return e=qs(e),Ic(e)}var Bo=null;function Ic(e){if(Bo=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=m(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 Bo=e,null}function dy(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(vi()){case Ol:return 2;case wl:return 8;case Xn:case Ua:return 32;case Rl:return 268435456;default:return 32}default:return 32}}var qc=!1,ha=null,ya=null,ga=null,ll=new Map,ol=new Map,va=[],p_="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 py(e,t){switch(e){case"focusin":case"focusout":ha=null;break;case"dragenter":case"dragleave":ya=null;break;case"mouseover":case"mouseout":ga=null;break;case"pointerover":case"pointerout":ll.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ol.delete(t.pointerId)}}function sl(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&&cy(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function m_(e,t,n,i,o){switch(t){case"focusin":return ha=sl(ha,e,t,n,i,o),!0;case"dragenter":return ya=sl(ya,e,t,n,i,o),!0;case"mouseover":return ga=sl(ga,e,t,n,i,o),!0;case"pointerover":var u=o.pointerId;return ll.set(u,sl(ll.get(u)||null,e,t,n,i,o)),!0;case"gotpointercapture":return u=o.pointerId,ol.set(u,sl(ol.get(u)||null,e,t,n,i,o)),!0}return!1}function my(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,wd(e.priority,function(){fy(n)});return}}else if(t===31){if(t=m(n),t!==null){e.blockedOn=t,wd(e.priority,function(){fy(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 zo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=jc(e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);Is=i,n.target.dispatchEvent(i),Is=null}else return t=_r(n),t!==null&&cy(t),e.blockedOn=n,!1;t.shift()}return!0}function hy(e,t,n){zo(e)&&n.delete(t)}function h_(){qc=!1,ha!==null&&zo(ha)&&(ha=null),ya!==null&&zo(ya)&&(ya=null),ga!==null&&zo(ga)&&(ga=null),ll.forEach(hy),ol.forEach(hy)}function jo(e,t){e.blockedOn===t&&(e.blockedOn=null,qc||(qc=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,h_)))}var Io=null;function yy(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(Ic(i||n)===null)continue;break}var u=_r(n);u!==null&&(e.splice(t,3),t-=3,ju(u,{pending:!0,data:o,method:n.method,action:i},i,o))}}))}function ni(e){function t(v){return jo(v,e)}ha!==null&&jo(ha,e),ya!==null&&jo(ya,e),ga!==null&&jo(ga,e),ll.forEach(t),ol.forEach(t);for(var n=0;n<va.length;n++){var i=va[n];i.blockedOn===e&&(i.blockedOn=null)}for(;0<va.length&&(n=va[0],n.blockedOn===null);)my(n),n.blockedOn===null&&va.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||yy(n);else if(d){var h=null;if(u&&u.hasAttribute("formAction")){if(o=u,d=u[xt]||null)h=d.formAction;else if(Ic(o)!==null)continue}else h=d.action;typeof h=="function"?n[i+1]=h:(n.splice(i,3),i-=3),yy(n)}}}function gy(){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 Pc(e){this._internalRoot=e}qo.prototype.render=Pc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));var n=t.current,i=Vt();sy(n,i,e,t,null,null)},qo.prototype.unmount=Pc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;sy(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=Od();e={blockedOn:null,target:e,priority:t};for(var n=0;n<va.length&&t!==0&&t<va[n].priority;n++);va.splice(n,0,e),n===0&&my(e)}};var vy=r.version;if(vy!=="19.2.7")throw Error(s(527,vy,"19.2.7"));q.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=g(t),e=e!==null?C(e):null,e=e===null?null:e.stateNode,e};var y_={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{Ba=Po.inject(y_),yt=Po}catch{}}return cl.createRoot=function(e,t){if(!c(e))throw Error(s(299));var n=!1,i="",o=Tm,u=Mm,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=ly(e,1,!1,null,null,n,i,null,o,u,d,gy),e[br]=t.current,Cc(e),new Pc(t)},cl.hydrateRoot=function(e,t,n){if(!c(e))throw Error(s(299));var i=!1,o="",u=Tm,d=Mm,h=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&&(h=n.onRecoverableError),n.formState!==void 0&&(v=n.formState)),t=ly(e,1,!0,t,n??null,i,o,v,u,d,h,gy),t.context=oy(null),n=t.current,i=Vt(),i=gr(i),o=aa(i),o.callback=null,ra(n,o,i),n=i,t.current.lanes=n,We(t,n),Sn(t),e[br]=t.current,Cc(e),new qo(t)},cl.version="19.2.7",cl}var wy;function D_(){if(wy)return Vc.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(),Vc.exports=R_(),Vc.exports}var x_=D_();const Fe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ta="8.55.2",Le=globalThis;function ms(a,r,l){const s=l||Le,c=s.__SENTRY__=s.__SENTRY__||{},f=c[Ta]=c[Ta]||{};return f[a]||(f[a]=r())}const or=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,k_="Sentry Logger ",hf=["debug","info","warn","error","log","assert","trace"],is={};function sr(a){if(!("console"in Le))return a();const r=Le.console,l={},s=Object.keys(is);s.forEach(c=>{const f=is[c];l[c]=r[c],r[c]=f});try{return a()}finally{s.forEach(c=>{r[c]=l[c]})}}function N_(){let a=!1;const r={enable:()=>{a=!0},disable:()=>{a=!1},isEnabled:()=>a};return or?hf.forEach(l=>{r[l]=(...s)=>{a&&sr(()=>{Le.console[l](`${k_}[${l}]:`,...s)})}}):hf.forEach(l=>{r[l]=()=>{}}),r}const re=ms("logger",N_),u0=50,ar="?",Ry=/\(error: (.*)\)/,Dy=/captureMessage|captureException/;function c0(...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 m=s;m<p.length;m++){const y=p[m];if(y.length>1024)continue;const g=Ry.test(y)?y.replace(Ry,"$1"):y;if(!g.match(/\S*Error: /)){for(const C of r){const _=C(g);if(_){f.push(_);break}}if(f.length>=u0+c)break}}return H_(f.slice(c))}}function L_(a){return Array.isArray(a)?c0(...a):a}function H_(a){if(!a.length)return[];const r=Array.from(a);return/sentryWrapped/.test(Go(r).function||"")&&r.pop(),r.reverse(),Dy.test(Go(r).function||"")&&(r.pop(),Dy.test(Go(r).function||"")&&r.pop()),r.slice(0,u0).map(l=>({...l,filename:l.filename||Go(r).filename,function:l.function||ar}))}function Go(a){return a[a.length-1]||{}}const Xc="<anonymous>";function Ra(a){try{return!a||typeof a!="function"?Xc:a.name||Xc}catch{return Xc}}function xy(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={},ky={};function ur(a,r){Jo[a]=Jo[a]||[],Jo[a].push(r)}function cr(a,r){if(!ky[a]){ky[a]=!0;try{r()}catch(l){or&&re.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){or&&re.error(`Error while triggering instrumentation handler.
|
|
52
|
+
Type: ${a}
|
|
53
|
+
Name: ${Ra(s)}
|
|
54
|
+
Error:`,c)}}let Zc=null;function U_(a){const r="error";ur(r,a),cr(r,B_)}function B_(){Zc=Le.onerror,Le.onerror=function(a,r,l,s,c){return mn("error",{column:s,error:c,line:l,msg:a,url:r}),Zc?Zc.apply(this,arguments):!1},Le.onerror.__SENTRY_INSTRUMENTED__=!0}let Wc=null;function z_(a){const r="unhandledrejection";ur(r,a),cr(r,j_)}function j_(){Wc=Le.onunhandledrejection,Le.onunhandledrejection=function(a){return mn("unhandledrejection",a),Wc?Wc.apply(this,arguments):!0},Le.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function hs(){return Xf(Le),Le}function Xf(a){const r=a.__SENTRY__=a.__SENTRY__||{};return r.version=r.version||Ta,r[Ta]=r[Ta]||{}}const f0=Object.prototype.toString;function ys(a){switch(f0.call(a)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return rr(a,Error)}}function pi(a,r){return f0.call(a)===`[object ${r}]`}function d0(a){return pi(a,"ErrorEvent")}function Ny(a){return pi(a,"DOMError")}function I_(a){return pi(a,"DOMException")}function Yn(a){return pi(a,"String")}function Zf(a){return typeof a=="object"&&a!==null&&"__sentry_template_string__"in a&&"__sentry_template_values__"in a}function Wf(a){return a===null||Zf(a)||typeof a!="object"&&typeof a!="function"}function ii(a){return pi(a,"Object")}function gs(a){return typeof Event<"u"&&rr(a,Event)}function q_(a){return typeof Element<"u"&&rr(a,Element)}function P_(a){return pi(a,"RegExp")}function vs(a){return!!(a&&a.then&&typeof a.then=="function")}function G_(a){return ii(a)&&"nativeEvent"in a&&"preventDefault"in a&&"stopPropagation"in a}function rr(a,r){try{return a instanceof r}catch{return!1}}function p0(a){return!!(typeof a=="object"&&a!==null&&(a.__isVue||a._isVue))}const Kf=Le,F_=80;function m0(a,r={}){if(!a)return"<unknown>";try{let l=a;const s=5,c=[];let f=0,p=0;const m=" > ",y=m.length;let g;const C=Array.isArray(r)?r:r.keyAttrs,_=!Array.isArray(r)&&r.maxStringLength||F_;for(;l&&f++<s&&(g=V_(l,C),!(g==="html"||f>1&&p+c.length*y+g.length>=_));)c.push(g),p+=g.length,l=l.parentNode;return c.reverse().join(m)}catch{return"<unknown>"}}function V_(a,r){const l=a,s=[];if(!l||!l.tagName)return"";if(Kf.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&&Yn(p)){const m=p.split(/\s+/);for(const y of m)s.push(`.${y}`)}}const f=["aria-label","type","name","title","alt"];for(const p of f){const m=l.getAttribute(p);m&&s.push(`[${p}="${m}"]`)}return s.join("")}function Y_(){try{return Kf.document.location.href}catch{return""}}function $_(a){if(!Kf.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 Ly(a,r){if(!Array.isArray(a))return"";const l=[];for(let s=0;s<a.length;s++){const c=a[s];try{p0(c)?l.push("[VueViewModel]"):l.push(String(c))}catch{l.push("[value cannot be serialized]")}}return l.join(r)}function Q_(a,r,l=!1){return Yn(a)?P_(r)?r.test(a):Yn(r)?l?a===r:a.includes(r):!1:!1}function bs(a,r=[],l=!1){return r.some(s=>Q_(a,s,l))}function Yt(a,r,l){if(!(r in a))return;const s=a[r],c=l(s);typeof c=="function"&&h0(c,s);try{a[r]=c}catch{or&&re.log(`Failed to replace method "${r}" in object`,a)}}function ir(a,r,l){try{Object.defineProperty(a,r,{value:l,writable:!0,configurable:!0})}catch{or&&re.log(`Failed to add non-enumerable property "${r}" to object`,a)}}function h0(a,r){try{const l=r.prototype||{};a.prototype=r.prototype=l,ir(a,"__sentry_original__",r)}catch{}}function Jf(a){return a.__sentry_original__}function y0(a){if(ys(a))return{message:a.message,name:a.name,stack:a.stack,...Uy(a)};if(gs(a)){const r={type:a.type,target:Hy(a.target),currentTarget:Hy(a.currentTarget),...Uy(a)};return typeof CustomEvent<"u"&&rr(a,CustomEvent)&&(r.detail=a.detail),r}else return a}function Hy(a){try{return q_(a)?m0(a):Object.prototype.toString.call(a)}catch{return"<unknown>"}}function Uy(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 X_(a,r=40){const l=Object.keys(y0(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 rn(a){return yf(a,new Map)}function yf(a,r){if(Z_(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]=yf(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(yf(c,r))}),s}return a}function Z_(a){if(!ii(a))return!1;try{const r=Object.getPrototypeOf(a).constructor.name;return!r||r==="Object"}catch{return!0}}const g0=1e3;function Sl(){return Date.now()/g0}function W_(){const{performance:a}=Le;if(!a||!a.now)return Sl;const r=Date.now()-a.now(),l=a.timeOrigin==null?r:a.timeOrigin;return()=>(l+a.now())/g0}const $n=W_();(()=>{const{performance:a}=Le;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,y=typeof p=="number"?Math.abs(p+l-s):r,g=y<r;return f||g?c<=y?a.timeOrigin:p:s})();function ln(){const a=Le,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 v0(a){return a.exception&&a.exception.values?a.exception.values[0]:void 0}function Ca(a){const{message:r,event_id:l}=a;if(r)return r;const s=v0(a);return s?s.type&&s.value?`${s.type}: ${s.value}`:s.type||s.value||l||"<unknown>":l||"<unknown>"}function gf(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=v0(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(K_(a))return!0;try{ir(a,"__sentry_captured__",!0)}catch{}return!1}function K_(a){try{return a.__sentry_captured__}catch{}}var Fn;(function(a){a[a.PENDING=0]="PENDING";const l=1;a[a.RESOLVED=l]="RESOLVED";const s=2;a[a.REJECTED=s]="REJECTED"})(Fn||(Fn={}));function lr(a){return new an(r=>{r(a)})}function ls(a){return new an((r,l)=>{l(a)})}class an{constructor(r){an.prototype.__init.call(this),an.prototype.__init2.call(this),an.prototype.__init3.call(this),an.prototype.__init4.call(this),this._state=Fn.PENDING,this._handlers=[];try{r(this._resolve,this._reject)}catch(l){this._reject(l)}}then(r,l){return new an((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 an((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(Fn.RESOLVED,r)}}__init2(){this._reject=r=>{this._setResult(Fn.REJECTED,r)}}__init3(){this._setResult=(r,l)=>{if(this._state===Fn.PENDING){if(vs(l)){l.then(this._resolve,this._reject);return}this._state=r,this._value=l,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===Fn.PENDING)return;const r=this._handlers.slice();this._handlers=[],r.forEach(l=>{l[0]||(this._state===Fn.RESOLVED&&l[1](this._value),this._state===Fn.REJECTED&&l[2](this._value),l[0]=!0)})}}}function J_(a){const r=$n(),l={sid:ln(),init:!0,timestamp:r,started:r,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>tE(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||$n(),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:ln()),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 eE(a,r){let l={};a.status==="ok"&&(l={status:"exited"}),oi(a,l)}function tE(a){return rn({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 zy(){return ln()}function vf(){return ln().substring(16)}function Ss(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]=Ss(s[c],r[c],l-1));return s}const bf="_sentrySpan";function jy(a,r){r?ir(a,bf,r):delete a[bf]}function Iy(a){return a[bf]}const nE=100;class ed{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:zy(),spanId:vf()}}clone(){const r=new ed;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,jy(r,Iy(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 Da?[l.getScopeData(),l.getRequestSession()]:ii(l)?[r,r.requestSession]:[],{tags:f,extra:p,user:m,contexts:y,level:g,fingerprint:C=[],propagationContext:_}=s||{};return this._tags={...this._tags,...f},this._extra={...this._extra,...p},this._contexts={...this._contexts,...y},m&&Object.keys(m).length&&(this._user=m),g&&(this._level=g),C.length&&(this._fingerprint=C),_&&(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,jy(this,void 0),this._attachments=[],this.setPropagationContext({traceId:zy()}),this._notifyScopeListeners(),this}addBreadcrumb(r,l){const s=typeof l=="number"?l:nE;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:Iy(this)}}setSDKProcessingMetadata(r){return this._sdkProcessingMetadata=Ss(this._sdkProcessingMetadata,r,2),this}setPropagationContext(r){return this._propagationContext={spanId:vf(),...r},this}getPropagationContext(){return this._propagationContext}captureException(r,l){const s=l&&l.event_id?l.event_id:ln();if(!this._client)return re.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:ln();if(!this._client)return re.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:ln();return this._client?(this._client.captureEvent(r,{...l,event_id:s},this),s):(re.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 Da=ed;function aE(){return ms("defaultCurrentScope",()=>new Da)}function rE(){return ms("defaultIsolationScope",()=>new Da)}class iE{constructor(r,l){let s;r?s=r:s=new Da;let c;l?c=l:c=new Da,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 vs(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=hs(),r=Xf(a);return r.stack=r.stack||new iE(aE(),rE())}function lE(a){return si().withScope(a)}function oE(a,r){const l=si();return l.withScope(()=>(l.getStackTop().scope=a,r(a)))}function qy(a){return si().withScope(()=>a(si().getIsolationScope()))}function sE(){return{withIsolationScope:qy,withScope:lE,withSetScope:oE,withSetIsolationScope:(a,r)=>qy(r),getCurrentScope:()=>si().getScope(),getIsolationScope:()=>si().getIsolationScope()}}function td(a){const r=Xf(a);return r.acs?r.acs:sE()}function Cn(){const a=hs();return td(a).getCurrentScope()}function La(){const a=hs();return td(a).getIsolationScope()}function uE(){return ms("globalScope",()=>new Da)}function nd(...a){const r=hs(),l=td(r);if(a.length===2){const[s,c]=a;return s?l.withSetScope(s,c):l.withScope(c)}return l.withScope(a[0])}function ct(){return Cn().getClient()}function cE(a){const r=a.getPropagationContext(),{traceId:l,spanId:s,parentSpanId:c}=r;return rn({trace_id:l,span_id:s,parent_span_id:c})}const fE="_sentryMetrics";function dE(a){const r=a[fE];if(!r)return;const l={};for(const[,[s,c]]of r)(l[s]||(l[s]=[])).push(rn(c));return l}const pE="sentry.source",mE="sentry.sample_rate",hE="sentry.op",yE="sentry.origin",gE=0,vE=1,bE="sentry-",SE=/^sentry-/;function _E(a){const r=EE(a);if(!r)return;const l=Object.entries(r).reduce((s,[c,f])=>{if(c.match(SE)){const p=c.slice(bE.length);s[p]=f}return s},{});if(Object.keys(l).length>0)return l}function EE(a){if(!(!a||!Yn(a)&&!Array.isArray(a)))return Array.isArray(a)?a.reduce((r,l)=>{const s=Py(l);return Object.entries(s).forEach(([c,f])=>{r[c]=f}),r},{}):Py(a)}function Py(a){return a.split(",").map(r=>r.split("=").map(l=>decodeURIComponent(l.trim()))).reduce((r,[l,s])=>(l&&s&&(r[l]=s),r),{})}const CE=1;let Gy=!1;function AE(a){const{spanId:r,traceId:l,isRemote:s}=a.spanContext(),c=s?r:ad(a).parent_span_id,f=s?vf():r;return rn({parent_span_id:c,span_id:f,trace_id:l})}function Fy(a){return typeof a=="number"?Vy(a):Array.isArray(a)?a[0]+a[1]/1e9:a instanceof Date?Vy(a.getTime()):$n()}function Vy(a){return a>9999999999?a/1e3:a}function ad(a){if(ME(a))return a.getSpanJSON();try{const{spanId:r,traceId:l}=a.spanContext();if(TE(a)){const{attributes:s,startTime:c,name:f,endTime:p,parentSpanId:m,status:y}=a;return rn({span_id:r,trace_id:l,data:s,description:f,parent_span_id:m,start_timestamp:Fy(c),timestamp:Fy(p)||void 0,status:wE(y),op:s[hE],origin:s[yE],_metrics_summary:dE(a)})}return{span_id:r,trace_id:l}}catch{return{}}}function TE(a){const r=a;return!!r.attributes&&!!r.startTime&&!!r.name&&!!r.endTime&&!!r.status}function ME(a){return typeof a.getSpanJSON=="function"}function OE(a){const{traceFlags:r}=a.spanContext();return r===CE}function wE(a){if(!(!a||a.code===gE))return a.code===vE?"ok":a.message||"unknown_error"}const RE="_sentryRootSpan";function b0(a){return a[RE]||a}function DE(){Gy||(sr(()=>{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.")}),Gy=!0)}function xE(a){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const r=ct(),l=r&&r.getOptions();return!!l&&(l.enableTracing||"tracesSampleRate"in l||"tracesSampler"in l)}const rd="production",kE="_frozenDsc";function S0(a,r){const l=r.getOptions(),{publicKey:s}=r.getDsn()||{},c=rn({environment:l.environment||rd,release:l.release,public_key:s,trace_id:a});return r.emit("createDsc",c),c}function NE(a,r){const l=r.getPropagationContext();return l.dsc||S0(l.traceId,a)}function LE(a){const r=ct();if(!r)return{};const l=b0(a),s=l[kE];if(s)return s;const c=l.spanContext().traceState,f=c&&c.get("sentry.dsc"),p=f&&_E(f);if(p)return p;const m=S0(a.spanContext().traceId,r),y=ad(l),g=y.data||{},C=g[mE];C!=null&&(m.sample_rate=`${C}`);const _=g[pE],L=y.description;return _!=="url"&&L&&(m.transaction=L),xE()&&(m.sampled=String(OE(l))),r.emit("createDsc",m,l),m}function HE(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){Fe&&re.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 UE=/^(?:(\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:m,publicKey:y}=a;return`${m}://${y}${r&&c?`:${c}`:""}@${l}${f?`:${f}`:""}/${s&&`${s}/`}${p}`}function zE(a){const r=UE.exec(a);if(!r){sr(()=>{console.error(`Invalid Sentry Dsn: ${a}`)});return}const[l,s,c="",f="",p="",m=""]=r.slice(1);let y="",g=m;const C=g.split("/");if(C.length>1&&(y=C.slice(0,-1).join("/"),g=C.pop()),g){const _=g.match(/^\d+/);_&&(g=_[0])}return _0({host:f,pass:c,path:y,projectId:g,port:p,protocol:l,publicKey:s})}function _0(a){return{protocol:a.protocol,publicKey:a.publicKey||"",pass:a.pass||"",host:a.host,port:a.port||"",path:a.path||"",projectId:a.projectId}}function jE(a){if(!or)return!0;const{port:r,projectId:l,protocol:s}=a;return["protocol","publicKey","host","projectId"].find(p=>a[p]?!1:(re.error(`Invalid Sentry Dsn: ${p} missing`),!0))?!1:l.match(/^\d+$/)?BE(s)?r&&isNaN(parseInt(r,10))?(re.error(`Invalid Sentry Dsn: Invalid port ${r}`),!1):!0:(re.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),!1):(re.error(`Invalid Sentry Dsn: Invalid projectId ${l}`),!1)}function E0(a){const r=typeof a=="string"?zE(a):_0(a);if(!(!r||!jE(r)))return r}function IE(){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 Vn(a,r=100,l=1/0){try{return Sf("",a,r,l)}catch(s){return{ERROR:`**non-serializable** (${s})`}}}function C0(a,r=3,l=100*1024){const s=Vn(a,r);return FE(s)>l?C0(a,r-1,l):s}function Sf(a,r,l=1/0,s=1/0,c=IE()){const[f,p]=c;if(r==null||["boolean","string"].includes(typeof r)||typeof r=="number"&&Number.isFinite(r))return r;const m=qE(a,r);if(!m.startsWith("[object "))return m;if(r.__sentry_skip_normalization__)return r;const y=typeof r.__sentry_override_normalization_depth__=="number"?r.__sentry_override_normalization_depth__:l;if(y===0)return m.replace("object ","");if(f(r))return"[Circular ~]";const g=r;if(g&&typeof g.toJSON=="function")try{const P=g.toJSON();return Sf("",P,y-1,s,c)}catch{}const C=Array.isArray(r)?[]:{};let _=0;const L=y0(r);for(const P in L){if(!Object.prototype.hasOwnProperty.call(L,P))continue;if(_>=s){C[P]="[MaxProperties ~]";break}const j=L[P];C[P]=Sf(P,j,y-1,s,c),_++}return p(r),C}function qE(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(p0(r))return"[VueViewModel]";if(G_(r))return"[SyntheticEvent]";if(typeof r=="number"&&!Number.isFinite(r))return`[${r}]`;if(typeof r=="function")return`[Function: ${Ra(r)}]`;if(typeof r=="symbol")return`[${String(r)}]`;if(typeof r=="bigint")return`[BigInt: ${String(r)}]`;const l=PE(r);return/^HTML(\w*)Element$/.test(l)?`[HTMLElement: ${l}]`:`[object ${l}]`}catch(l){return`**non-serializable** (${l})`}}function PE(a){const r=Object.getPrototypeOf(a);return r?r.constructor.name:"null prototype"}function GE(a){return~-encodeURI(a).split(/%..|./).length}function FE(a){return GE(JSON.stringify(a))}function El(a,r=[]){return[a,r]}function VE(a,r){const[l,s]=a;return[l,[...s,r]]}function Yy(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 _f(a){return Le.__SENTRY__&&Le.__SENTRY__.encodePolyfill?Le.__SENTRY__.encodePolyfill(a):new TextEncoder().encode(a)}function YE(a){const[r,l]=a;let s=JSON.stringify(r);function c(f){typeof s=="string"?s=typeof f=="string"?s+f:[_f(s),f]:s.push(typeof f=="string"?_f(f):f)}for(const f of l){const[p,m]=f;if(c(`
|
|
55
|
+
${JSON.stringify(p)}
|
|
56
|
+
`),typeof m=="string"||m instanceof Uint8Array)c(m);else{let y;try{y=JSON.stringify(m)}catch{y=JSON.stringify(Vn(m))}c(y)}}return typeof s=="string"?s:$E(s)}function $E(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 QE(a){const r=typeof a.data=="string"?_f(a.data):a.data;return[rn({type:"attachment",length:r.length,filename:a.filename,content_type:a.contentType,attachment_type:a.attachmentType}),r]}const XE={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 $y(a){return XE[a]}function A0(a){if(!a||!a.sdk)return;const{name:r,version:l}=a.sdk;return{name:r,version:l}}function ZE(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:rn({...c})}}}function WE(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 KE(a,r,l,s){const c=A0(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 JE(a,r,l,s){const c=A0(l),f=a.type&&a.type!=="replay_event"?a.type:"event";WE(a,l&&l.sdk);const p=ZE(a,c,s,r);return delete a.sdkProcessingMetadata,El(p,[[{type:f},a]])}function Ef(a,r,l,s=0){return new an((c,f)=>{const p=a[s];if(r===null||typeof p!="function")c(r);else{const m=p({...r},l);Fe&&p.id&&m===null&&re.log(`Event processor "${p.id}" dropped event`),vs(m)?m.then(y=>Ef(a,y,l,s+1).then(c)).then(null,f):Ef(a,m,l,s+1).then(c).then(null,f)}})}let Fo,Qy,Vo;function eC(a){const r=Le._sentryDebugIds;if(!r)return{};const l=Object.keys(r);return Vo&&l.length===Qy||(Qy=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 m=p.length-1;m>=0;m--){const y=p[m],g=y&&y.filename,C=r[c];if(g&&C){s[g]=C,Fo[c]=[g,C];break}}}return s},{})),Vo}function tC(a,r){const{fingerprint:l,span:s,breadcrumbs:c,sdkProcessingMetadata:f}=r;nC(a,r),s&&iC(a,s),lC(a,l),aC(a,c),rC(a,f)}function Xy(a,r){const{extra:l,tags:s,user:c,contexts:f,level:p,sdkProcessingMetadata:m,breadcrumbs:y,fingerprint:g,eventProcessors:C,attachments:_,propagationContext:L,transactionName:P,span:j}=r;Yo(a,"extra",l),Yo(a,"tags",s),Yo(a,"user",c),Yo(a,"contexts",f),a.sdkProcessingMetadata=Ss(a.sdkProcessingMetadata,m,2),p&&(a.level=p),P&&(a.transactionName=P),j&&(a.span=j),y.length&&(a.breadcrumbs=[...a.breadcrumbs,...y]),g.length&&(a.fingerprint=[...a.fingerprint,...g]),C.length&&(a.eventProcessors=[...a.eventProcessors,...C]),_.length&&(a.attachments=[...a.attachments,..._]),a.propagationContext={...a.propagationContext,...L}}function Yo(a,r,l){a[r]=Ss(a[r],l,1)}function nC(a,r){const{extra:l,tags:s,user:c,contexts:f,level:p,transactionName:m}=r,y=rn(l);y&&Object.keys(y).length&&(a.extra={...y,...a.extra});const g=rn(s);g&&Object.keys(g).length&&(a.tags={...g,...a.tags});const C=rn(c);C&&Object.keys(C).length&&(a.user={...C,...a.user});const _=rn(f);_&&Object.keys(_).length&&(a.contexts={..._,...a.contexts}),p&&(a.level=p),m&&a.type!=="transaction"&&(a.transaction=m)}function aC(a,r){const l=[...a.breadcrumbs||[],...r];a.breadcrumbs=l.length?l:void 0}function rC(a,r){a.sdkProcessingMetadata={...a.sdkProcessingMetadata,...r}}function iC(a,r){a.contexts={trace:AE(r),...a.contexts},a.sdkProcessingMetadata={dynamicSamplingContext:LE(r),...a.sdkProcessingMetadata};const l=b0(r),s=ad(l).description;s&&!a.transaction&&a.type==="transaction"&&(a.transaction=s)}function lC(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 oC(a,r,l,s,c,f){const{normalizeDepth:p=3,normalizeMaxBreadth:m=1e3}=a,y={...r,event_id:r.event_id||l.event_id||ln(),timestamp:r.timestamp||Sl()},g=l.integrations||a.integrations.map(Y=>Y.name);sC(y,a),fC(y,g),c&&c.emit("applyFrameMetadata",r),r.type===void 0&&uC(y,a.stackParser);const C=pC(s,l.captureContext);l.mechanism&&li(y,l.mechanism);const _=c?c.getEventProcessors():[],L=uE().getScopeData();if(f){const Y=f.getScopeData();Xy(L,Y)}if(C){const Y=C.getScopeData();Xy(L,Y)}const P=[...l.attachments||[],...L.attachments];P.length&&(l.attachments=P),tC(y,L);const j=[..._,...L.eventProcessors];return Ef(j,y,l).then(Y=>(Y&&cC(Y),typeof p=="number"&&p>0?dC(Y,p,m):Y))}function sC(a,r){const{environment:l,release:s,dist:c,maxValueLength:f=250}=r;a.environment=a.environment||l||rd,!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 m=a.request;m&&m.url&&(m.url=ai(m.url,f))}function uC(a,r){const l=eC(r);try{a.exception.values.forEach(s=>{s.stacktrace.frames.forEach(c=>{l&&c.filename&&(c.debug_id=l[c.filename])})})}catch{}}function cC(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 fC(a,r){r.length>0&&(a.sdk=a.sdk||{},a.sdk.integrations=[...a.sdk.integrations||[],...r])}function dC(a,r,l){if(!a)return null;const s={...a,...a.breadcrumbs&&{breadcrumbs:a.breadcrumbs.map(c=>({...c,...c.data&&{data:Vn(c.data,r,l)}}))},...a.user&&{user:Vn(a.user,r,l)},...a.contexts&&{contexts:Vn(a.contexts,r,l)},...a.extra&&{extra:Vn(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=Vn(a.contexts.trace.data,r,l))),a.spans&&(s.spans=a.spans.map(c=>({...c,...c.data&&{data:Vn(c.data,r,l)}}))),a.contexts&&a.contexts.flags&&s.contexts&&(s.contexts.flags=Vn(a.contexts.flags,3,l)),s}function pC(a,r){if(!r)return a;const l=a?a.clone():new Da;return l.update(r),l}function mC(a){if(a)return hC(a)?{captureContext:a}:gC(a)?{captureContext:a}:a}function hC(a){return a instanceof Da||typeof a=="function"}const yC=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function gC(a){return Object.keys(a).some(r=>yC.includes(r))}function fr(a,r){return Cn().captureException(a,mC(r))}function T0(a,r){return Cn().captureEvent(a,r)}function vC(a,r){La().setContext(a,r)}function Kc(a,r){La().setTag(a,r)}function bC(){return La().lastEventId()}function Zy(a){const r=ct(),l=La(),s=Cn(),{release:c,environment:f=rd}=r&&r.getOptions()||{},{userAgent:p}=Le.navigator||{},m=J_({release:c,environment:f,user:s.getUser()||l.getUser(),...p&&{userAgent:p},...a}),y=l.getSession();return y&&y.status==="ok"&&oi(y,{status:"exited"}),M0(),l.setSession(m),s.setSession(m),m}function M0(){const a=La(),r=Cn(),l=r.getSession()||a.getSession();l&&eE(l),O0(),a.setSession(),r.setSession()}function O0(){const a=La(),r=Cn(),l=ct(),s=r.getSession()||a.getSession();s&&l&&l.captureSession(s)}function Wy(a=!1){if(a){M0();return}O0()}const SC="7";function w0(a){const r=a.protocol?`${a.protocol}:`:"",l=a.port?`:${a.port}`:"";return`${r}//${a.host}${l}${a.path?`/${a.path}`:""}/api/`}function _C(a){return`${w0(a)}${a.projectId}/envelope/`}function EC(a,r){const l={sentry_version:SC};return a.publicKey&&(l.sentry_key=a.publicKey),r&&(l.sentry_client=`${r.name}/${r.version}`),new URLSearchParams(l).toString()}function CC(a,r,l){return r||`${_C(a)}?${EC(a,l)}`}function AC(a,r){const l=E0(a);if(!l)return"";const s=`${w0(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 Ky=[];function TC(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 MC(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=TC(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&&R0(a,s,l)}),l}function Jy(a,r){for(const l of r)l&&l.afterAllSetup&&l.afterAllSetup(a)}function R0(a,r,l){if(l[r.name]){Fe&&re.log(`Integration skipped because it was already installed: ${r.name}`);return}if(l[r.name]=r,Ky.indexOf(r.name)===-1&&typeof r.setupOnce=="function"&&(r.setupOnce(),Ky.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)}Fe&&re.log(`Integration installed: ${r.name}`)}function wC(a){const r=ct();if(!r){Fe&&re.warn(`Cannot add integration "${a.name}" because no SDK Client is available.`);return}r.addIntegration(a)}function RC(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 eg="Not capturing exception because it's already been captured.";class DC{constructor(r){if(this._options=r,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],r.dsn?this._dsn=E0(r.dsn):Fe&&re.warn("No DSN provided, client will not send events."),this._dsn){const c=CC(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&&sr(()=>{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=ln();if(By(r))return Fe&&re.log(eg),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:ln(),...s},p=Zf(r)?r:String(r),m=Wf(r)?this.eventFromMessage(p,l,f):this.eventFromException(r,f);return this._process(m.then(y=>this._captureEvent(y,f,c))),f.event_id}captureEvent(r,l,s){const c=ln();if(l&&l.originalException&&By(l.originalException))return Fe&&re.log(eg),c;const f={event_id:c,...l},m=(r.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(r,f,m||s)),f.event_id}captureSession(r){typeof r.release!="string"?Fe&&re.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))):lr(!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];R0(this,r,this._integrations),l||Jy(this,[r])}sendEvent(r,l={}){this.emit("beforeSendEvent",r,l);let s=JE(r,this._dsn,this._options._metadata,this._options.tunnel);for(const f of l.attachments||[])s=VE(s,QE(f));const c=this.sendEnvelope(s);c&&c.then(f=>this.emit("afterSendEvent",r,f),null)}sendSession(r){const l=KE(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}`;Fe&&re.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=>(Fe&&re.error("Error while sending envelope:",l),l)):(Fe&&re.error("Transport disabled"),lr({}))}_setupIntegrations(){const{integrations:r}=this._options;this._integrations=OC(this,r),Jy(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 y of f){const g=y.mechanism;if(g&&g.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 an(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=Cn(),c=La()){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),oC(f,r,l,s,this,c).then(m=>{if(m===null)return m;m.contexts={trace:cE(s),...m.contexts};const y=NE(this,s);return m.sdkProcessingMetadata={dynamicSamplingContext:y,...m.sdkProcessingMetadata},m})}_captureEvent(r,l={},s){return this._processEvent(r,l,s).then(c=>c.event_id,c=>{Fe&&(c instanceof pn&&c.logLevel==="log"?re.log(c.message):re.warn(c))})}_processEvent(r,l,s){const c=this.getOptions(),{sampleRate:f}=c,p=x0(r),m=D0(r),y=r.type||"error",g=`before send for type \`${y}\``,C=typeof f>"u"?void 0:HE(f);if(m&&typeof C=="number"&&Math.random()>C)return this.recordDroppedEvent("sample_rate","error",r),ls(new pn(`Discarding event because it's not included in the random sample (sampling rate = ${f})`,"log"));const _=y==="replay_event"?"replay":y,P=(r.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(r,l,s,P).then(j=>{if(j===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 j;const Y=kC(this,c,j,l);return xC(Y,g)}).then(j=>{if(j===null){if(this.recordDroppedEvent("before_send",_,r),p){const oe=1+(r.spans||[]).length;this.recordDroppedEvent("before_send","span",oe)}throw new pn(`${g} returned \`null\`, will not send event.`,"log")}const K=s&&s.getSession();if(!p&&K&&this._updateSessionFromEvent(K,j),p){const X=j.sdkProcessingMetadata&&j.sdkProcessingMetadata.spanCountBeforeProcessing||0,oe=j.spans?j.spans.length:0,ne=X-oe;ne>0&&this.recordDroppedEvent("before_send","span",ne)}const Y=j.transaction_info;if(p&&Y&&j.transaction!==r.transaction){const X="custom";j.transaction_info={...Y,source:X}}return this.sendEvent(j,l),j}).then(null,j=>{throw j instanceof pn?j:(this.captureException(j,{data:{__sentry__:!0},originalException:j}),new pn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
57
|
+
Reason: ${j}`))})}_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(){Fe&&re.log("Flushing outcomes...");const r=this._clearOutcomes();if(r.length===0){Fe&&re.log("No outcomes to send");return}if(!this._dsn){Fe&&re.log("No dsn provided, will not send outcomes");return}Fe&&re.log("Sending outcomes:",r);const l=RC(r,this._options.tunnel&&_l(this._dsn));this.sendEnvelope(l)}}function xC(a,r){const l=`${r} must return \`null\` or a valid event.`;if(vs(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 kC(a,r,l,s){const{beforeSend:c,beforeSendTransaction:f,beforeSendSpan:p}=r;if(D0(l)&&c)return c(l,s);if(x0(l)){if(l.spans&&p){const m=[];for(const y of l.spans){const g=p(y);g?m.push(g):(DE(),a.recordDroppedEvent("before_send","span"))}l.spans=m}if(f){if(l.spans){const m=l.spans.length;l.sdkProcessingMetadata={...l.sdkProcessingMetadata,spanCountBeforeProcessing:m}}return f(l,s)}}return l}function D0(a){return a.type===void 0}function x0(a){return a.type==="transaction"}function NC(a,r){r.debug===!0&&(Fe?re.enable():sr(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Cn().update(r.initialScope);const s=new a(r);return LC(s),s.init(),s}function LC(a){Cn().setClient(a)}function HC(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 ls(new pn("Not adding Promise because buffer limit was reached."));const m=p();return r.indexOf(m)===-1&&r.push(m),m.then(()=>s(m)).then(null,()=>s(m).then(null,()=>{})),m}function f(p){return new an((m,y)=>{let g=r.length;if(!g)return m(!0);const C=setTimeout(()=>{p&&p>0&&m(!1)},p);r.forEach(_=>{lr(_).then(()=>{--g||(clearTimeout(C),m(!0))},y)})})}return{$:r,add:c,drain:f}}const UC=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)?UC:s-r}function zC(a,r){return a[r]||a.all||0}function jC(a,r,l=Date.now()){return zC(a,r)>l}function IC(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 m of f.trim().split(",")){const[y,g,,,C]=m.split(":",5),_=parseInt(y,10),L=(isNaN(_)?60:_)*1e3;if(!g)c.all=s+L;else for(const P of g.split(";"))P==="metric_bucket"?(!C||C.split(";").includes("custom"))&&(c[P]=s+L):c[P]=s+L}else p?c.all=s+BC(p,s):r===429&&(c.all=s+60*1e3);return c}const qC=64;function PC(a,r,l=HC(a.bufferSize||qC)){let s={};const c=p=>l.drain(p);function f(p){const m=[];if(Yy(p,(_,L)=>{const P=$y(L);if(jC(s,P)){const j=tg(_,L);a.recordDroppedEvent("ratelimit_backoff",P,j)}else m.push(_)}),m.length===0)return lr({});const y=El(p[0],m),g=_=>{Yy(y,(L,P)=>{const j=tg(L,P);a.recordDroppedEvent(_,$y(P),j)})},C=()=>r({body:YE(y)}).then(_=>(_.statusCode!==void 0&&(_.statusCode<200||_.statusCode>=300)&&Fe&&re.warn(`Sentry responded with status code ${_.statusCode} to sent event.`),s=IC(s,_),_),_=>{throw g("network_error"),_});return l.add(C).then(_=>_,_=>{if(_ instanceof pn)return Fe&&re.error("Skipped sending event because buffer is full."),g("queue_overflow"),lr({});throw _})}return{send:f,flush:c}}function tg(a,r){if(!(r!=="event"&&r!=="transaction"))return Array.isArray(a)?a[1]:void 0}function k0(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:Ta})),version:Ta}),a._metadata=c}const GC=100;function xa(a,r){const l=ct(),s=La();if(!l)return;const{beforeBreadcrumb:c=null,maxBreadcrumbs:f=GC}=l.getOptions();if(f<=0)return;const m={timestamp:Sl(),...a},y=c?sr(()=>c(m,r)):m;y!==null&&(l.emit&&l.emit("beforeAddBreadcrumb",y,r),s.addBreadcrumb(y,f))}let ng;const FC="FunctionToString",ag=new WeakMap,VC=(()=>({name:FC,setupOnce(){ng=Function.prototype.toString;try{Function.prototype.toString=function(...a){const r=Jf(this),l=ag.has(ct())&&r!==void 0?r:this;return ng.apply(l,a)}}catch{}},setup(a){ag.set(a,!0)}})),YC=VC,$C=[/^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$/],QC="InboundFilters",XC=((a={})=>({name:QC,processEvent(r,l,s){const c=s.getOptions(),f=WC(a,c);return KC(r,f)?null:r}})),ZC=XC;function WC(a={},r={}){return{allowUrls:[...a.allowUrls||[],...r.allowUrls||[]],denyUrls:[...a.denyUrls||[],...r.denyUrls||[]],ignoreErrors:[...a.ignoreErrors||[],...r.ignoreErrors||[],...a.disableErrorDefaults?[]:$C],ignoreTransactions:[...a.ignoreTransactions||[],...r.ignoreTransactions||[]],ignoreInternal:a.ignoreInternal!==void 0?a.ignoreInternal:!0}}function KC(a,r){return r.ignoreInternal&&rA(a)?(Fe&&re.warn(`Event dropped due to being internal Sentry Error.
|
|
58
|
+
Event: ${Ca(a)}`),!0):JC(a,r.ignoreErrors)?(Fe&&re.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
59
|
+
Event: ${Ca(a)}`),!0):lA(a)?(Fe&&re.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
60
|
+
Event: ${Ca(a)}`),!0):eA(a,r.ignoreTransactions)?(Fe&&re.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
61
|
+
Event: ${Ca(a)}`),!0):tA(a,r.denyUrls)?(Fe&&re.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
62
|
+
Event: ${Ca(a)}.
|
|
63
|
+
Url: ${os(a)}`),!0):nA(a,r.allowUrls)?!1:(Fe&&re.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
64
|
+
Event: ${Ca(a)}.
|
|
65
|
+
Url: ${os(a)}`),!0)}function JC(a,r){return a.type||!r||!r.length?!1:aA(a).some(l=>bs(l,r))}function eA(a,r){if(a.type!=="transaction"||!r||!r.length)return!1;const l=a.transaction;return l?bs(l,r):!1}function tA(a,r){if(!r||!r.length)return!1;const l=os(a);return l?bs(l,r):!1}function nA(a,r){if(!r||!r.length)return!0;const l=os(a);return l?bs(l,r):!0}function aA(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 rA(a){try{return a.exception.values[0].type==="SentryError"}catch{}return!1}function iA(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 os(a){try{let r;try{r=a.exception.values[0].stacktrace.frames}catch{}return r?iA(r):null}catch{return Fe&&re.error(`Cannot extract url for event ${Ca(a)}`),null}}function lA(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 oA(a,r,l=250,s,c,f,p){if(!f.exception||!f.exception.values||!p||!rr(p.originalException,Error))return;const m=f.exception.values.length>0?f.exception.values[f.exception.values.length-1]:void 0;m&&(f.exception.values=sA(Cf(a,r,c,p.originalException,s,f.exception.values,m,0),l))}function Cf(a,r,l,s,c,f,p,m){if(f.length>=l+1)return f;let y=[...f];if(rr(s[c],Error)){rg(p,m);const g=a(r,s[c]),C=y.length;ig(g,c,C,m),y=Cf(a,r,l,s[c],c,[g,...y],g,C)}return Array.isArray(s.errors)&&s.errors.forEach((g,C)=>{if(rr(g,Error)){rg(p,m);const _=a(r,g),L=y.length;ig(_,`errors[${C}]`,L,m),y=Cf(a,r,l,g,c,[_,...y],_,L)}}),y}function rg(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 ig(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 sA(a,r){return a.map(l=>(l.value&&(l.value=ai(l.value,r)),l))}function Jc(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 uA(a){const r="console";ur(r,a),cr(r,cA)}function cA(){"console"in Le&&hf.forEach(function(a){a in Le.console&&Yt(Le.console,a,function(r){return is[a]=r,function(...l){mn("console",{args:l,level:a});const c=is[a];c&&c.apply(Le.console,l)}})})}function fA(a){return a==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(a)?a:"log"}const dA="Dedupe",pA=(()=>{let a;return{name:dA,processEvent(r){if(r.type)return r;try{if(hA(r,a))return Fe&&re.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return a=r}}}),mA=pA;function hA(a,r){return r?!!(yA(a,r)||gA(a,r)):!1}function yA(a,r){const l=a.message,s=r.message;return!(!l&&!s||l&&!s||!l&&s||l!==s||!L0(a,r)||!N0(a,r))}function gA(a,r){const l=lg(r),s=lg(a);return!(!l||!s||l.type!==s.type||l.value!==s.value||!L0(a,r)||!N0(a,r))}function N0(a,r){let l=xy(a),s=xy(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 L0(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 lg(a){return a.exception&&a.exception.values&&a.exception.values[0]}function H0(a){if(a!==void 0)return a>=400&&a<500?"warning":a>=500?"error":void 0}const Af=Le;function U0(){if(!("fetch"in Af))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function Tf(a){return a&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(a.toString())}function vA(){if(typeof EdgeRuntime=="string")return!0;if(!U0())return!1;if(Tf(Af.fetch))return!0;let a=!1;const r=Af.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=Tf(l.contentWindow.fetch)),r.head.removeChild(l)}catch(l){or&&re.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",l)}return a}function bA(a,r){const l="fetch";ur(l,a),cr(l,()=>SA(void 0,r))}function SA(a,r=!1){r&&!vA()||Yt(Le,"fetch",function(l){return function(...s){const c=new Error,{method:f,url:p}=_A(s),m={args:s,fetchData:{method:f,url:p},startTimestamp:$n()*1e3,virtualError:c};return mn("fetch",{...m}),l.apply(Le,s).then(async y=>(mn("fetch",{...m,endTimestamp:$n()*1e3,response:y}),y),y=>{throw mn("fetch",{...m,endTimestamp:$n()*1e3,error:y}),ys(y)&&y.stack===void 0&&(y.stack=c.stack,ir(y,"framesToPop",1)),y})}})}function Mf(a,r){return!!a&&typeof a=="object"&&!!a[r]}function og(a){return typeof a=="string"?a:a?Mf(a,"url")?a.url:a.toString?a.toString():"":""}function _A(a){if(a.length===0)return{method:"GET",url:""};if(a.length===2){const[l,s]=a;return{url:og(l),method:Mf(s,"method")?String(s.method).toUpperCase():"GET"}}const r=a[0];return{url:og(r),method:Mf(r,"method")?String(r.method).toUpperCase():"GET"}}function EA(){return"npm"}const $o=Le;function CA(){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 Se=Le;let Of=0;function B0(){return Of>0}function AA(){Of++,setTimeout(()=>{Of--})}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(Jf(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 AA(),nd(p=>{p.addEventProcessor(m=>(r.mechanism&&(gf(m,void 0),li(m,r.mechanism)),m.extra={...m.extra,arguments:c},m)),fr(f)}),f}};try{for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&(s[c]=a[c])}catch{}h0(s,a),ir(a,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get(){return a.name}})}catch{}return s}const Ma=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function id(a,r){const l=ld(a,r),s={type:RA(r),value:DA(r)};return l.length&&(s.stacktrace={frames:l}),s.type===void 0&&s.value===""&&(s.value="Unrecoverable error caught"),s}function TA(a,r,l,s){const c=ct(),f=c&&c.getOptions().normalizeDepth,p=HA(r),m={__serialized__:C0(r,f)};if(p)return{exception:{values:[id(a,p)]},extra:m};const y={exception:{values:[{type:gs(r)?r.constructor.name:s?"UnhandledRejection":"Error",value:NA(r,{isUnhandledRejection:s})}]},extra:m};if(l){const g=ld(a,l);g.length&&(y.exception.values[0].stacktrace={frames:g})}return y}function ef(a,r){return{exception:{values:[id(a,r)]}}}function ld(a,r){const l=r.stacktrace||r.stack||"",s=OA(r),c=wA(r);try{return a(l,s,c)}catch{}return[]}const MA=/Minified React error #\d+;/i;function OA(a){return a&&MA.test(a.message)?1:0}function wA(a){return typeof a.framesToPop=="number"?a.framesToPop:0}function z0(a){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?a instanceof WebAssembly.Exception:!1}function RA(a){const r=a&&a.name;return!r&&z0(a)?a.message&&Array.isArray(a.message)&&a.message.length==2?a.message[0]:"WebAssembly.Exception":r}function DA(a){const r=a&&a.message;return r?r.error&&typeof r.error.message=="string"?r.error.message:z0(a)&&Array.isArray(a.message)&&a.message.length==2?a.message[1]:r:"No error message"}function xA(a,r,l,s){const c=l&&l.syntheticException||void 0,f=od(a,r,c,s);return li(f),f.level="error",l&&l.event_id&&(f.event_id=l.event_id),lr(f)}function kA(a,r,l="info",s,c){const f=s&&s.syntheticException||void 0,p=wf(a,r,f,c);return p.level=l,s&&s.event_id&&(p.event_id=s.event_id),lr(p)}function od(a,r,l,s,c){let f;if(d0(r)&&r.error)return ef(a,r.error);if(Ny(r)||I_(r)){const p=r;if("stack"in r)f=ef(a,r);else{const m=p.name||(Ny(p)?"DOMError":"DOMException"),y=p.message?`${m}: ${p.message}`:m;f=wf(a,y,l,s),gf(f,y)}return"code"in p&&(f.tags={...f.tags,"DOMException.code":`${p.code}`}),f}return ys(r)?ef(a,r):ii(r)||gs(r)?(f=TA(a,r,l,c),li(f,{synthetic:!0}),f):(f=wf(a,r,l,s),gf(f,`${r}`),li(f,{synthetic:!0}),f)}function wf(a,r,l,s){const c={};if(s&&l){const f=ld(a,l);f.length&&(c.exception={values:[{value:r,stacktrace:{frames:f}}]}),li(c,{synthetic:!0})}if(Zf(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 NA(a,{isUnhandledRejection:r}){const l=X_(a),s=r?"promise rejection":"exception";return d0(a)?`Event \`ErrorEvent\` captured as ${s} with message \`${a.message}\``:gs(a)?`Event \`${LA(a)}\` (type=${a.type}) captured as ${s}`:`Object captured as ${s} with keys: ${l}`}function LA(a){try{const r=Object.getPrototypeOf(a);return r?r.constructor.name:void 0}catch{}}function HA(a){for(const r in a)if(Object.prototype.hasOwnProperty.call(a,r)){const l=a[r];if(l instanceof Error)return l}}function UA(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 zA extends DC{constructor(r){const l={parentSpanIsAlwaysRootSpan:!0,...r},s=Se.SENTRY_SDK_SOURCE||EA();k0(l,"browser",["browser"],s),super(l),l.sendClientReports&&Se.document&&Se.document.addEventListener("visibilitychange",()=>{Se.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(r,l){return xA(this._options.stackParser,r,l,this._options.attachStacktrace)}eventFromMessage(r,l="info",s){return kA(this._options.stackParser,r,l,s,this._options.attachStacktrace)}captureUserFeedback(r){if(!this._isEnabled()){Ma&&re.warn("SDK not enabled, will not capture user feedback.");return}const l=UA(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 jA=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Rt=Le,IA=1e3;let sg,Rf,Df;function qA(a){ur("dom",a),cr("dom",PA)}function PA(){if(!Rt.document)return;const a=mn.bind(null,"dom"),r=ug(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")||(Yt(f,"addEventListener",function(p){return function(m,y,g){if(m==="click"||m=="keypress")try{const C=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},_=C[m]=C[m]||{refCount:0};if(!_.handler){const L=ug(a);_.handler=L,p.call(this,m,L,g)}_.refCount++}catch{}return p.call(this,m,y,g)}}),Yt(f,"removeEventListener",function(p){return function(m,y,g){if(m==="click"||m=="keypress")try{const C=this.__sentry_instrumentation_handlers__||{},_=C[m];_&&(_.refCount--,_.refCount<=0&&(p.call(this,m,_.handler,g),_.handler=void 0,delete C[m]),Object.keys(C).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return p.call(this,m,y,g)}}))})}function GA(a){if(a.type!==Rf)return!1;try{if(!a.target||a.target._sentryId!==Df)return!1}catch{}return!0}function FA(a,r){return a!=="keypress"?!1:!r||!r.tagName?!0:!(r.tagName==="INPUT"||r.tagName==="TEXTAREA"||r.isContentEditable)}function ug(a,r=!1){return l=>{if(!l||l._sentryCaptured)return;const s=VA(l);if(FA(l.type,s))return;ir(l,"_sentryCaptured",!0),s&&!s._sentryId&&ir(s,"_sentryId",ln());const c=l.type==="keypress"?"input":l.type;GA(l)||(a({event:l,name:c,global:r}),Rf=l.type,Df=s?s._sentryId:void 0),clearTimeout(sg),sg=Rt.setTimeout(()=>{Df=void 0,Rf=void 0},IA)}}function VA(a){try{return a.target}catch{return null}}let Qo;function j0(a){const r="history";ur(r,a),cr(r,YA)}function YA(){if(!CA())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)}}Yt(Rt.history,"pushState",r),Yt(Rt.history,"replaceState",r)}const es={};function $A(a){const r=es[a];if(r)return r;let l=Rt[a];if(Tf(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){jA&&re.warn(`Could not create sandbox iframe for ${a} check, bailing to window.${a}: `,c)}return l&&(es[a]=l.bind(Rt))}function cg(a){es[a]=void 0}const hl="__sentry_xhr_v3__";function QA(a){ur("xhr",a),cr("xhr",XA)}function XA(){if(!Rt.XMLHttpRequest)return;const a=XMLHttpRequest.prototype;a.open=new Proxy(a.open,{apply(r,l,s){const c=new Error,f=$n()*1e3,p=Yn(s[0])?s[0].toUpperCase():void 0,m=ZA(s[1]);if(!p||!m)return r.apply(l,s);l[hl]={method:p,url:m,request_headers:{}},p==="POST"&&m.match(/sentry_key/)&&(l.__sentry_own_request__=!0);const y=()=>{const g=l[hl];if(g&&l.readyState===4){try{g.status_code=l.status}catch{}const C={endTimestamp:$n()*1e3,startTimestamp:f,xhr:l,virtualError:c};mn("xhr",C)}};return"onreadystatechange"in l&&typeof l.onreadystatechange=="function"?l.onreadystatechange=new Proxy(l.onreadystatechange,{apply(g,C,_){return y(),g.apply(C,_)}}):l.addEventListener("readystatechange",y),l.setRequestHeader=new Proxy(l.setRequestHeader,{apply(g,C,_){const[L,P]=_,j=C[hl];return j&&Yn(L)&&Yn(P)&&(j.request_headers[L.toLowerCase()]=P),g.apply(C,_)}}),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:$n()*1e3,xhr:l};return mn("xhr",f),r.apply(l,s)}})}function ZA(a){if(Yn(a))return a;try{return a.toString()}catch{}}function WA(a,r=$A("fetch")){let l=0,s=0;function c(f){const p=f.body.length;l+=p,s++;const m={body:f.body,method:"POST",referrerPolicy:"origin",headers:a.headers,keepalive:l<=6e4&&s<15,...a.fetchOptions};if(!r)return cg("fetch"),ls("No fetch implementation available");try{return r(a.url,m).then(y=>(l-=p,s--,{statusCode:y.status,headers:{"x-sentry-rate-limits":y.headers.get("X-Sentry-Rate-Limits"),"retry-after":y.headers.get("Retry-After")}}))}catch(y){return cg("fetch"),l-=p,s--,ls(y)}}return PC(a,c)}const KA=30,JA=50;function xf(a,r,l,s){const c={filename:a,function:r==="<anonymous>"?ar:r,in_app:!0};return l!==void 0&&(c.lineno=l),s!==void 0&&(c.colno=s),c}const e1=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,t1=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,n1=/\((\S*)(?::(\d+))(?::(\d+))\)/,a1=a=>{const r=e1.exec(a);if(r){const[,s,c,f]=r;return xf(s,ar,+c,+f)}const l=t1.exec(a);if(l){if(l[2]&&l[2].indexOf("eval")===0){const p=n1.exec(l[2]);p&&(l[2]=p[1],l[3]=p[2],l[4]=p[3])}const[c,f]=I0(l[1]||ar,l[2]);return xf(f,c,l[3]?+l[3]:void 0,l[4]?+l[4]:void 0)}},r1=[KA,a1],i1=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,l1=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,o1=a=>{const r=i1.exec(a);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){const f=l1.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]||ar;return[c,s]=I0(c,s),xf(s,c,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}},s1=[JA,o1],u1=[r1,s1],c1=c0(...u1),I0=(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]:ar,l?`safari-extension:${r}`:`safari-web-extension:${r}`]:[a,r]},Xo=1024,f1="Breadcrumbs",d1=((a={})=>{const r={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...a};return{name:f1,setup(l){r.console&&uA(y1(l)),r.dom&&qA(h1(l,r.dom)),r.xhr&&QA(g1(l)),r.fetch&&bA(v1(l)),r.history&&j0(b1(l)),r.sentry&&l.on("beforeSendEvent",m1(l))}}}),p1=d1;function m1(a){return function(l){ct()===a&&xa({category:`sentry.${l.type==="transaction"?"transaction":"event"}`,event_id:l.event_id,level:l.level,message:Ca(l)},{event:l})}}function h1(a,r){return function(s){if(ct()!==a)return;let c,f,p=typeof r=="object"?r.serializeAttribute:void 0,m=typeof r=="object"&&typeof r.maxStringLength=="number"?r.maxStringLength:void 0;m&&m>Xo&&(Ma&&re.warn(`\`dom.maxStringLength\` cannot exceed ${Xo}, but a value of ${m} was configured. Sentry will use ${Xo} instead.`),m=Xo),typeof p=="string"&&(p=[p]);try{const g=s.event,C=S1(g)?g.target:g;c=m0(C,{keyAttrs:p,maxStringLength:m}),f=$_(C)}catch{c="<unknown>"}if(c.length===0)return;const y={category:`ui.${s.name}`,message:c};f&&(y.data={"ui.component_name":f}),xa(y,{event:s.event,name:s.name,global:s.global})}}function y1(a){return function(l){if(ct()!==a)return;const s={category:"console",data:{arguments:l.args,logger:"console"},level:fA(l.level),message:Ly(l.args," ")};if(l.level==="assert")if(l.args[0]===!1)s.message=`Assertion failed: ${Ly(l.args.slice(1)," ")||"console.assert"}`,s.data.arguments=l.args.slice(1);else return;xa(s,{input:l.args,level:l.level})}}function g1(a){return function(l){if(ct()!==a)return;const{startTimestamp:s,endTimestamp:c}=l,f=l.xhr[hl];if(!s||!c||!f)return;const{method:p,url:m,status_code:y,body:g}=f,C={method:p,url:m,status_code:y},_={xhr:l.xhr,input:g,startTimestamp:s,endTimestamp:c},L=H0(y);xa({category:"xhr",data:C,type:"http",level:L},_)}}function v1(a){return function(l){if(ct()!==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};xa({category:"fetch",data:f,level:"error",type:"http"},p)}else{const f=l.response,p={...l.fetchData,status_code:f&&f.status},m={input:l.args,response:f,startTimestamp:s,endTimestamp:c},y=H0(p.status_code);xa({category:"fetch",data:p,type:"http",level:y},m)}}}function b1(a){return function(l){if(ct()!==a)return;let s=l.from,c=l.to;const f=Jc(Se.location.href);let p=s?Jc(s):void 0;const m=Jc(c);(!p||!p.path)&&(p=f),f.protocol===m.protocol&&f.host===m.host&&(c=m.relative),f.protocol===p.protocol&&f.host===p.host&&(s=p.relative),xa({category:"navigation",data:{from:s,to:c}})}}function S1(a){return!!a&&!!a.target}const _1=["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"],E1="BrowserApiErrors",C1=((a={})=>{const r={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...a};return{name:E1,setupOnce(){r.setTimeout&&Yt(Se,"setTimeout",fg),r.setInterval&&Yt(Se,"setInterval",fg),r.requestAnimationFrame&&Yt(Se,"requestAnimationFrame",A1),r.XMLHttpRequest&&"XMLHttpRequest"in Se&&Yt(XMLHttpRequest.prototype,"send",T1);const l=r.eventTarget;l&&(Array.isArray(l)?l:_1).forEach(M1)}}}),q0=C1;function fg(a){return function(...r){const l=r[0];return r[0]=ui(l,{mechanism:{data:{function:Ra(a)},handled:!1,type:"instrument"}}),a.apply(this,r)}}function A1(a){return function(r){return a.apply(this,[ui(r,{mechanism:{data:{function:"requestAnimationFrame",handler:Ra(a)},handled:!1,type:"instrument"}})])}}function T1(a){return function(...r){const l=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(c=>{c in l&&typeof l[c]=="function"&&Yt(l,c,function(f){const p={mechanism:{data:{function:c,handler:Ra(f)},handled:!1,type:"instrument"}},m=Jf(f);return m&&(p.mechanism.data.handler=Ra(m)),ui(f,p)})}),a.apply(this,r)}}function M1(a){const l=Se[a],s=l&&l.prototype;!s||!s.hasOwnProperty||!s.hasOwnProperty("addEventListener")||(Yt(s,"addEventListener",function(c){return function(f,p,m){try{O1(p)&&(p.handleEvent=ui(p.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Ra(p),target:a},handled:!1,type:"instrument"}}))}catch{}return c.apply(this,[f,ui(p,{mechanism:{data:{function:"addEventListener",handler:Ra(p),target:a},handled:!1,type:"instrument"}}),m])}}),Yt(s,"removeEventListener",function(c){return function(f,p,m){try{const y=p.__sentry_wrapped__;y&&c.call(this,f,y,m)}catch{}return c.call(this,f,p,m)}}))}function O1(a){return typeof a.handleEvent=="function"}const w1=()=>({name:"BrowserSession",setupOnce(){if(typeof Se.document>"u"){Ma&&re.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Zy({ignoreDuration:!0}),Wy(),j0(({from:a,to:r})=>{a!==void 0&&a!==r&&(Zy({ignoreDuration:!0}),Wy())})}}),R1="GlobalHandlers",D1=((a={})=>{const r={onerror:!0,onunhandledrejection:!0,...a};return{name:R1,setupOnce(){Error.stackTraceLimit=50},setup(l){r.onerror&&(k1(l),dg("onerror")),r.onunhandledrejection&&(N1(l),dg("onunhandledrejection"))}}}),x1=D1;function k1(a){U_(r=>{const{stackParser:l,attachStacktrace:s}=P0();if(ct()!==a||B0())return;const{msg:c,url:f,line:p,column:m,error:y}=r,g=U1(od(l,y||c,void 0,s,!1),f,p,m);g.level="error",T0(g,{originalException:y,mechanism:{handled:!1,type:"onerror"}})})}function N1(a){z_(r=>{const{stackParser:l,attachStacktrace:s}=P0();if(ct()!==a||B0())return;const c=L1(r),f=Wf(c)?H1(c):od(l,c,void 0,s,!0);f.level="error",T0(f,{originalException:c,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function L1(a){if(Wf(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 H1(a){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(a)}`}]}}}function U1(a,r,l,s){const c=a.exception=a.exception||{},f=c.values=c.values||[],p=f[0]=f[0]||{},m=p.stacktrace=p.stacktrace||{},y=m.frames=m.frames||[],g=s,C=l,_=Yn(r)&&r.length>0?r:Y_();return y.length===0&&y.push({colno:g,filename:_,function:ar,in_app:!0,lineno:C}),a}function dg(a){Ma&&re.log(`Global Handler attached: ${a}`)}function P0(){const a=ct();return a&&a.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const B1=()=>({name:"HttpContext",preprocessEvent(a){if(!Se.navigator&&!Se.location&&!Se.document)return;const r=a.request&&a.request.url||Se.location&&Se.location.href,{referrer:l}=Se.document||{},{userAgent:s}=Se.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}}),z1="cause",j1=5,I1="LinkedErrors",q1=((a={})=>{const r=a.limit||j1,l=a.key||z1;return{name:I1,preprocessEvent(s,c,f){const p=f.getOptions();oA(id,p.stackParser,p.maxValueLength,l,r,s,c)}}}),P1=q1;function G1(a){const r=[ZC(),YC(),q0(),p1(),x1(),P1(),mA(),B1()];return a.autoSessionTracking!==!1&&r.push(w1()),r}function F1(a={}){const r={defaultIntegrations:G1(a),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:Se.SENTRY_RELEASE&&Se.SENTRY_RELEASE.id?Se.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return a.defaultIntegrations==null&&delete a.defaultIntegrations,{...r,...a}}function V1(){const a=typeof Se.window<"u"&&Se;if(!a)return!1;const r=a.chrome?"chrome":"browser",l=a[r],s=l&&l.runtime&&l.runtime.id,c=Se.location&&Se.location.href||"",f=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],p=!!s&&Se===Se.top&&f.some(y=>c.startsWith(`${y}//`)),m=typeof a.nw<"u";return!!s&&!p&&!m}function Y1(a={}){const r=F1(a);if(!r.skipBrowserExtensionCheck&&V1()){sr(()=>{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}Ma&&(U0()||re.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:L_(r.stackParser||c1),integrations:MC(r),transport:r.transport||WA};return NC(zA,l)}function pg(a={}){if(!Se.document){Ma&&re.error("Global document not defined in showReportDialog call");return}const r=Cn(),l=r.getClient(),s=l&&l.getDsn();if(!s){Ma&&re.error("DSN not configured for showReportDialog call");return}if(r&&(a.user={...r.getUser(),...a.user}),!a.eventId){const m=bC();m&&(a.eventId=m)}const c=Se.document.createElement("script");c.async=!0,c.crossOrigin="anonymous",c.src=AC(s,a),a.onLoad&&(c.onload=a.onLoad);const{onClose:f}=a;if(f){const m=y=>{if(y.data==="__sentry_reportdialog_closed__")try{f()}finally{Se.removeEventListener("message",m)}};Se.addEventListener("message",m)}const p=Se.document.head||Se.document.body;p?p.appendChild(c):Ma&&re.error("Not injecting report dialog. No injection point found in HTML")}const $1={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"},mg=Se;async function Q1(a,r){const l=$1[a],s=mg.Sentry=mg.Sentry||{},c=s[a];if(typeof c=="function"&&!("_isShim"in c))return c;const f=X1(l),p=Se.document.createElement("script");p.src=f,p.crossOrigin="anonymous",p.referrerPolicy="origin";const m=new Promise((_,L)=>{p.addEventListener("load",()=>_()),p.addEventListener("error",L)}),y=Se.document.currentScript,g=Se.document.body||Se.document.head||y&&y.parentElement;if(g)g.appendChild(p);else throw new Error(`Could not find parent element to insert lazy-loaded ${a} script`);try{await m}catch{throw new Error(`Error when loading integration: ${a}`)}const C=s[a];if(typeof C!="function")throw new Error(`Could not load integration: ${a}`);return C}function X1(a){const r=ct(),l=r&&r.getOptions(),s=l&&l.cdnBaseUrl||"https://browser.sentry-cdn.com";return new URL(`/${Ta}/${a}.min.js`,s).toString()}function Z1(a){const r={...a};return k0(r,"react"),vC("react",{version:w.version}),Y1(r)}function W1(a){const r=a.match(/^([^.]+)/);return r!==null&&parseInt(r[0])>=17}function K1(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 J1(a,{componentStack:r},l){if(W1(w.version)&&ys(a)&&r){const s=new Error(a.message);s.name=`React ErrorBoundary ${a.name}`,s.stack=r,K1(a,s)}return fr(a,{...l,captureContext:{contexts:{react:{componentStack:r}}}})}var tf={exports:{}},He={};/** @license React v16.13.1
|
|
66
|
+
* react-is.production.min.js
|
|
67
|
+
*
|
|
68
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
69
|
+
*
|
|
70
|
+
* This source code is licensed under the MIT license found in the
|
|
71
|
+
* LICENSE file in the root directory of this source tree.
|
|
72
|
+
*/var hg;function eT(){if(hg)return He;hg=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,m=a?Symbol.for("react.context"):60110,y=a?Symbol.for("react.async_mode"):60111,g=a?Symbol.for("react.concurrent_mode"):60111,C=a?Symbol.for("react.forward_ref"):60112,_=a?Symbol.for("react.suspense"):60113,L=a?Symbol.for("react.suspense_list"):60120,P=a?Symbol.for("react.memo"):60115,j=a?Symbol.for("react.lazy"):60116,K=a?Symbol.for("react.block"):60121,Y=a?Symbol.for("react.fundamental"):60117,X=a?Symbol.for("react.responder"):60118,oe=a?Symbol.for("react.scope"):60119;function ne(I){if(typeof I=="object"&&I!==null){var ue=I.$$typeof;switch(ue){case r:switch(I=I.type,I){case y:case g:case s:case f:case c:case _:return I;default:switch(I=I&&I.$$typeof,I){case m:case C:case j:case P:case p:return I;default:return ue}}case l:return ue}}}function ie(I){return ne(I)===g}return He.AsyncMode=y,He.ConcurrentMode=g,He.ContextConsumer=m,He.ContextProvider=p,He.Element=r,He.ForwardRef=C,He.Fragment=s,He.Lazy=j,He.Memo=P,He.Portal=l,He.Profiler=f,He.StrictMode=c,He.Suspense=_,He.isAsyncMode=function(I){return ie(I)||ne(I)===y},He.isConcurrentMode=ie,He.isContextConsumer=function(I){return ne(I)===m},He.isContextProvider=function(I){return ne(I)===p},He.isElement=function(I){return typeof I=="object"&&I!==null&&I.$$typeof===r},He.isForwardRef=function(I){return ne(I)===C},He.isFragment=function(I){return ne(I)===s},He.isLazy=function(I){return ne(I)===j},He.isMemo=function(I){return ne(I)===P},He.isPortal=function(I){return ne(I)===l},He.isProfiler=function(I){return ne(I)===f},He.isStrictMode=function(I){return ne(I)===c},He.isSuspense=function(I){return ne(I)===_},He.isValidElementType=function(I){return typeof I=="string"||typeof I=="function"||I===s||I===g||I===f||I===c||I===_||I===L||typeof I=="object"&&I!==null&&(I.$$typeof===j||I.$$typeof===P||I.$$typeof===p||I.$$typeof===m||I.$$typeof===C||I.$$typeof===Y||I.$$typeof===X||I.$$typeof===oe||I.$$typeof===K)},He.typeOf=ne,He}var yg;function tT(){return yg||(yg=1,tf.exports=eT()),tf.exports}var nf,gg;function nT(){if(gg)return nf;gg=1;var a=tT(),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(j){return a.isMemo(j)?c:f[j.$$typeof]||r}var m=Object.defineProperty,y=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,C=Object.getOwnPropertyDescriptor,_=Object.getPrototypeOf,L=Object.prototype;function P(j,K,Y){if(typeof K!="string"){if(L){var X=_(K);X&&X!==L&&P(j,X,Y)}var oe=y(K);g&&(oe=oe.concat(g(K)));for(var ne=p(j),ie=p(K),I=0;I<oe.length;++I){var ue=oe[I];if(!l[ue]&&!(Y&&Y[ue])&&!(ie&&ie[ue])&&!(ne&&ne[ue])){var le=C(K,ue);try{m(j,ue,le)}catch{}}}}return j}return nf=P,nf}nT();const aT=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,vg={componentStack:null,error:null,eventId:null};class sd extends w.Component{constructor(r){super(r),sd.prototype.__init.call(this),this.state=vg,this._openFallbackReportDialog=!0;const l=ct();l&&r.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=l.on("afterSendEvent",s=>{!s.type&&this._lastEventId&&s.event_id===this._lastEventId&&pg({...r.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(r,l){const{componentStack:s}=l,c=s??void 0,{beforeCapture:f,onError:p,showDialog:m,dialogOptions:y}=this.props;nd(g=>{f&&f(g,r,c);const C=this.props.handled!=null?this.props.handled:!!this.props.fallback,_=J1(r,l,{mechanism:{handled:C}});p&&p(r,c,_),m&&(this._lastEventId=_,this._openFallbackReportDialog&&pg({...y,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(vg)}}render(){const{fallback:r,children:l}=this.props,s=this.state;if(s.error){let c;return typeof r=="function"?c=w.createElement(r,{error:s.error,componentStack:s.componentStack,resetError:this.resetErrorBoundary,eventId:s.eventId}):c=r,w.isValidElement(c)?c:(r&&aT&&re.warn("fallback did not produce a valid ReactElement"),null)}return typeof l=="function"?l():l}}var rT=Object.defineProperty,ud=(a,r)=>rT(a,"name",{value:r,configurable:!0});function kf(a,r){if(typeof a=="function")return a(r);a!=null&&(a.current=r)}ud(kf,"setRef");function G0(...a){return r=>{let l=!1;const s=a.map(c=>{const f=kf(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():kf(a[c],null)}}}}ud(G0,"composeRefs");function F0(...a){return w.useCallback(G0(...a),a)}ud(F0,"useComposedRefs");var iT=Object.defineProperty,hn=(a,r)=>iT(a,"name",{value:r,configurable:!0});function V0(a){const r=w.forwardRef((l,s)=>{let{children:c,...f}=l,p=null,m=!1;const y=[];Nf(c)&&typeof Zo=="function"&&(c=Zo(c._payload)),w.Children.forEach(c,L=>{if(X0(L)){m=!0;const P=L;let j="child"in P.props?P.props.child:P.props.children;Nf(j)&&typeof Zo=="function"&&(j=Zo(j._payload)),p=sT(P,j),y.push(p?.props?.children)}else y.push(L)}),p?p=w.cloneElement(p,void 0,y):!m&&w.Children.count(c)===1&&w.isValidElement(c)&&(p=c);const g=p?Q0(p):void 0,C=F0(s,g);if(!p){if(c||c===0)throw new Error(m?fT(a):cT(a));return c}const _=$0(f,p.props??{});return p.type!==w.Fragment&&(_.ref=s?C:g),w.cloneElement(p,_)});return r.displayName=`${a}.Slot`,r}hn(V0,"createSlot");var lT=V0("Slot"),Y0=Symbol.for("radix.slottable");function oT(a){const r=hn(l=>"child"in l?l.children(l.child):l.children,"Slottable");return r.displayName=`${a}.Slottable`,r.__radixId=Y0,r}hn(oT,"createSlottable");var sT=hn((a,r)=>{if("child"in a.props){const l=a.props.child;return w.isValidElement(l)?w.cloneElement(l,void 0,a.props.children(l.props.children)):null}return w.isValidElement(r)?r:null},"getSlottableElementFromSlottable");function $0(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]=(...m)=>{const y=f(...m);return c(...m),y}:c&&(l[s]=c):s==="style"?l[s]={...c,...f}:s==="className"&&(l[s]=[c,f].filter(Boolean).join(" "))}return{...a,...l}}hn($0,"mergeProps");function Q0(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(Q0,"getElementRef");function X0(a){return w.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Y0}hn(X0,"isSlottable");var uT=Symbol.for("react.lazy");function Nf(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===uT&&"_payload"in a&&Z0(a._payload)}hn(Nf,"isLazyComponent");function Z0(a){return typeof a=="object"&&a!==null&&"then"in a}hn(Z0,"isPromiseLike");var cT=hn(a=>`${a} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),fT=hn(a=>`${a} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),Zo=A_[" use ".trim().toString()];function W0(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=W0(a[r]))&&(s&&(s+=" "),s+=l)}else for(l in a)a[l]&&(s&&(s+=" "),s+=l);return s}function K0(){for(var a,r,l=0,s="",c=arguments.length;l<c;l++)(a=arguments[l])&&(r=W0(a))&&(s&&(s+=" "),s+=r);return s}const bg=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,Sg=K0,dT=(a,r)=>l=>{var s;if(r?.variants==null)return Sg(a,l?.class,l?.className);const{variants:c,defaultVariants:f}=r,p=Object.keys(c).map(g=>{const C=l?.[g],_=f?.[g];if(C===null)return null;const L=bg(C)||bg(_);return c[g][L]}),m=l&&Object.entries(l).reduce((g,C)=>{let[_,L]=C;return L===void 0||(g[_]=L),g},{}),y=r==null||(s=r.compoundVariants)===null||s===void 0?void 0:s.reduce((g,C)=>{let{class:_,className:L,...P}=C;return Object.entries(P).every(j=>{let[K,Y]=j;return Array.isArray(Y)?Y.includes({...f,...m}[K]):{...f,...m}[K]===Y})?[...g,_,L]:g},[]);return Sg(a,p,y,l?.class,l?.className)},cd="-",pT=a=>{const r=hT(a),{conflictingClassGroups:l,conflictingClassGroupModifiers:s}=a;return{getClassGroupId:p=>{const m=p.split(cd);return m[0]===""&&m.length!==1&&m.shift(),J0(m,r)||mT(p)},getConflictingClassGroupIds:(p,m)=>{const y=l[p]||[];return m&&s[p]?[...y,...s[p]]:y}}},J0=(a,r)=>{if(a.length===0)return r.classGroupId;const l=a[0],s=r.nextPart.get(l),c=s?J0(a.slice(1),s):void 0;if(c)return c;if(r.validators.length===0)return;const f=a.join(cd);return r.validators.find(({validator:p})=>p(f))?.classGroupId},_g=/^\[(.+)\]$/,mT=a=>{if(_g.test(a)){const r=_g.exec(a)[1],l=r?.substring(0,r.indexOf(":"));if(l)return"arbitrary.."+l}},hT=a=>{const{theme:r,prefix:l}=a,s={nextPart:new Map,validators:[]};return gT(Object.entries(a.classGroups),l).forEach(([f,p])=>{Lf(p,s,f,r)}),s},Lf=(a,r,l,s)=>{a.forEach(c=>{if(typeof c=="string"){const f=c===""?r:Eg(r,c);f.classGroupId=l;return}if(typeof c=="function"){if(yT(c)){Lf(c(s),r,l,s);return}r.validators.push({validator:c,classGroupId:l});return}Object.entries(c).forEach(([f,p])=>{Lf(p,Eg(r,f),l,s)})})},Eg=(a,r)=>{let l=a;return r.split(cd).forEach(s=>{l.nextPart.has(s)||l.nextPart.set(s,{nextPart:new Map,validators:[]}),l=l.nextPart.get(s)}),l},yT=a=>a.isThemeGetter,gT=(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,m])=>[r+p,m])):f);return[l,c]}):a,vT=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)}}},ev="!",bT=a=>{const{separator:r,experimentalParseClassName:l}=a,s=r.length===1,c=r[0],f=r.length,p=m=>{const y=[];let g=0,C=0,_;for(let Y=0;Y<m.length;Y++){let X=m[Y];if(g===0){if(X===c&&(s||m.slice(Y,Y+f)===r)){y.push(m.slice(C,Y)),C=Y+f;continue}if(X==="/"){_=Y;continue}}X==="["?g++:X==="]"&&g--}const L=y.length===0?m:m.substring(C),P=L.startsWith(ev),j=P?L.substring(1):L,K=_&&_>C?_-C:void 0;return{modifiers:y,hasImportantModifier:P,baseClassName:j,maybePostfixModifierPosition:K}};return l?m=>l({className:m,parseClassName:p}):p},ST=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},_T=a=>({cache:vT(a.cacheSize),parseClassName:bT(a),...pT(a)}),ET=/\s+/,CT=(a,r)=>{const{parseClassName:l,getClassGroupId:s,getConflictingClassGroupIds:c}=r,f=[],p=a.trim().split(ET);let m="";for(let y=p.length-1;y>=0;y-=1){const g=p[y],{modifiers:C,hasImportantModifier:_,baseClassName:L,maybePostfixModifierPosition:P}=l(g);let j=!!P,K=s(j?L.substring(0,P):L);if(!K){if(!j){m=g+(m.length>0?" "+m:m);continue}if(K=s(L),!K){m=g+(m.length>0?" "+m:m);continue}j=!1}const Y=ST(C).join(":"),X=_?Y+ev:Y,oe=X+K;if(f.includes(oe))continue;f.push(oe);const ne=c(K,j);for(let ie=0;ie<ne.length;++ie){const I=ne[ie];f.push(X+I)}m=g+(m.length>0?" "+m:m)}return m};function AT(){let a=0,r,l,s="";for(;a<arguments.length;)(r=arguments[a++])&&(l=tv(r))&&(s&&(s+=" "),s+=l);return s}const tv=a=>{if(typeof a=="string")return a;let r,l="";for(let s=0;s<a.length;s++)a[s]&&(r=tv(a[s]))&&(l&&(l+=" "),l+=r);return l};function Cg(a,...r){let l,s,c,f=p;function p(y){const g=r.reduce((C,_)=>_(C),a());return l=_T(g),s=l.cache.get,c=l.cache.set,f=m,m(y)}function m(y){const g=s(y);if(g)return g;const C=CT(y,l);return c(y,C),C}return function(){return f(AT.apply(null,arguments))}}const Qe=a=>{const r=l=>l[a]||[];return r.isThemeGetter=!0,r},nv=/^\[(?:([a-z-]+):)?(.+)\]$/i,TT=/^\d+\/\d+$/,MT=new Set(["px","full","screen"]),OT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,wT=/\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$/,RT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,DT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Gn=a=>ri(a)||MT.has(a)||TT.test(a),Sa=a=>mi(a,"length",jT),ri=a=>!!a&&!Number.isNaN(Number(a)),af=a=>mi(a,"number",ri),fl=a=>!!a&&Number.isInteger(Number(a)),kT=a=>a.endsWith("%")&&ri(a.slice(0,-1)),ge=a=>nv.test(a),_a=a=>OT.test(a),NT=new Set(["length","size","percentage"]),LT=a=>mi(a,NT,av),HT=a=>mi(a,"position",av),UT=new Set(["image","url"]),BT=a=>mi(a,UT,qT),zT=a=>mi(a,"",IT),dl=()=>!0,mi=(a,r,l)=>{const s=nv.exec(a);return s?s[1]?typeof r=="string"?s[1]===r:r.has(s[1]):l(s[2]):!1},jT=a=>wT.test(a)&&!RT.test(a),av=()=>!1,IT=a=>DT.test(a),qT=a=>xT.test(a),Ag=()=>{const a=Qe("colors"),r=Qe("spacing"),l=Qe("blur"),s=Qe("brightness"),c=Qe("borderColor"),f=Qe("borderRadius"),p=Qe("borderSpacing"),m=Qe("borderWidth"),y=Qe("contrast"),g=Qe("grayscale"),C=Qe("hueRotate"),_=Qe("invert"),L=Qe("gap"),P=Qe("gradientColorStops"),j=Qe("gradientColorStopPositions"),K=Qe("inset"),Y=Qe("margin"),X=Qe("opacity"),oe=Qe("padding"),ne=Qe("saturate"),ie=Qe("scale"),I=Qe("sepia"),ue=Qe("skew"),le=Qe("space"),Ue=Qe("translate"),Ie=()=>["auto","contain","none"],Je=()=>["auto","hidden","clip","visible","scroll"],ce=()=>["auto",ge,r],Z=()=>[ge,r],Te=()=>["",Gn,Sa],Be=()=>["auto",ri,ge],be=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],R=()=>["solid","dashed","dotted","double","none"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],J=()=>["start","end","center","between","around","evenly","stretch"],se=()=>["","0",ge],Oe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],b=()=>[ri,ge];return{cacheSize:500,separator:":",theme:{colors:[dl],spacing:[Gn,Sa],blur:["none","",_a,ge],brightness:b(),borderColor:[a],borderRadius:["none","","full",_a,ge],borderSpacing:Z(),borderWidth:Te(),contrast:b(),grayscale:se(),hueRotate:b(),invert:se(),gap:Z(),gradientColorStops:[a],gradientColorStopPositions:[kT,Sa],inset:ce(),margin:ce(),opacity:b(),padding:Z(),saturate:b(),scale:b(),sepia:se(),skew:b(),space:Z(),translate:Z()},classGroups:{aspect:[{aspect:["auto","square","video",ge]}],container:["container"],columns:[{columns:[_a]}],"break-after":[{"break-after":Oe()}],"break-before":[{"break-before":Oe()}],"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:[...be(),ge]}],overflow:[{overflow:Je()}],"overflow-x":[{"overflow-x":Je()}],"overflow-y":[{"overflow-y":Je()}],overscroll:[{overscroll:Ie()}],"overscroll-x":[{"overscroll-x":Ie()}],"overscroll-y":[{"overscroll-y":Ie()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[K]}],"inset-x":[{"inset-x":[K]}],"inset-y":[{"inset-y":[K]}],start:[{start:[K]}],end:[{end:[K]}],top:[{top:[K]}],right:[{right:[K]}],bottom:[{bottom:[K]}],left:[{left:[K]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",fl,ge]}],basis:[{basis:ce()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ge]}],grow:[{grow:se()}],shrink:[{shrink:se()}],order:[{order:["first","last","none",fl,ge]}],"grid-cols":[{"grid-cols":[dl]}],"col-start-end":[{col:["auto",{span:["full",fl,ge]},ge]}],"col-start":[{"col-start":Be()}],"col-end":[{"col-end":Be()}],"grid-rows":[{"grid-rows":[dl]}],"row-start-end":[{row:["auto",{span:[fl,ge]},ge]}],"row-start":[{"row-start":Be()}],"row-end":[{"row-end":Be()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ge]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ge]}],gap:[{gap:[L]}],"gap-x":[{"gap-x":[L]}],"gap-y":[{"gap-y":[L]}],"justify-content":[{justify:["normal",...J()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...J(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...J(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[oe]}],px:[{px:[oe]}],py:[{py:[oe]}],ps:[{ps:[oe]}],pe:[{pe:[oe]}],pt:[{pt:[oe]}],pr:[{pr:[oe]}],pb:[{pb:[oe]}],pl:[{pl:[oe]}],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":[le]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[le]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ge,r]}],"min-w":[{"min-w":[ge,r,"min","max","fit"]}],"max-w":[{"max-w":[ge,r,"none","full","min","max","fit","prose",{screen:[_a]},_a]}],h:[{h:[ge,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ge,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ge,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ge,r,"auto","min","max","fit"]}],"font-size":[{text:["base",_a,Sa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",af]}],"font-family":[{font:[dl]}],"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",ge]}],"line-clamp":[{"line-clamp":["none",ri,af]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Gn,ge]}],"list-image":[{"list-image":["none",ge]}],"list-style-type":[{list:["none","disc","decimal",ge]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[X]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[X]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...R(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Gn,Sa]}],"underline-offset":[{"underline-offset":["auto",Gn,ge]}],"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:Z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ge]}],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",ge]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[X]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...be(),HT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",LT]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},BT]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[j]}],"gradient-via-pos":[{via:[j]}],"gradient-to-pos":[{to:[j]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],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:[m]}],"border-w-x":[{"border-x":[m]}],"border-w-y":[{"border-y":[m]}],"border-w-s":[{"border-s":[m]}],"border-w-e":[{"border-e":[m]}],"border-w-t":[{"border-t":[m]}],"border-w-r":[{"border-r":[m]}],"border-w-b":[{"border-b":[m]}],"border-w-l":[{"border-l":[m]}],"border-opacity":[{"border-opacity":[X]}],"border-style":[{border:[...R(),"hidden"]}],"divide-x":[{"divide-x":[m]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[m]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[X]}],"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":[Gn,ge]}],"outline-w":[{outline:[Gn,Sa]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:Te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[X]}],"ring-offset-w":[{"ring-offset":[Gn,Sa]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",_a,zT]}],"shadow-color":[{shadow:[dl]}],opacity:[{opacity:[X]}],"mix-blend":[{"mix-blend":[...q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":q()}],filter:[{filter:["","none"]}],blur:[{blur:[l]}],brightness:[{brightness:[s]}],contrast:[{contrast:[y]}],"drop-shadow":[{"drop-shadow":["","none",_a,ge]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[C]}],invert:[{invert:[_]}],saturate:[{saturate:[ne]}],sepia:[{sepia:[I]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[l]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[y]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[C]}],"backdrop-invert":[{"backdrop-invert":[_]}],"backdrop-opacity":[{"backdrop-opacity":[X]}],"backdrop-saturate":[{"backdrop-saturate":[ne]}],"backdrop-sepia":[{"backdrop-sepia":[I]}],"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",ge]}],duration:[{duration:b()}],ease:[{ease:["linear","in","out","in-out",ge]}],delay:[{delay:b()}],animate:[{animate:["none","spin","ping","pulse","bounce",ge]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[ie]}],"scale-x":[{"scale-x":[ie]}],"scale-y":[{"scale-y":[ie]}],rotate:[{rotate:[fl,ge]}],"translate-x":[{"translate-x":[Ue]}],"translate-y":[{"translate-y":[Ue]}],"skew-x":[{"skew-x":[ue]}],"skew-y":[{"skew-y":[ue]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ge]}],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",ge]}],"caret-color":[{caret:[a]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Z()}],"scroll-mx":[{"scroll-mx":Z()}],"scroll-my":[{"scroll-my":Z()}],"scroll-ms":[{"scroll-ms":Z()}],"scroll-me":[{"scroll-me":Z()}],"scroll-mt":[{"scroll-mt":Z()}],"scroll-mr":[{"scroll-mr":Z()}],"scroll-mb":[{"scroll-mb":Z()}],"scroll-ml":[{"scroll-ml":Z()}],"scroll-p":[{"scroll-p":Z()}],"scroll-px":[{"scroll-px":Z()}],"scroll-py":[{"scroll-py":Z()}],"scroll-ps":[{"scroll-ps":Z()}],"scroll-pe":[{"scroll-pe":Z()}],"scroll-pt":[{"scroll-pt":Z()}],"scroll-pr":[{"scroll-pr":Z()}],"scroll-pb":[{"scroll-pb":Z()}],"scroll-pl":[{"scroll-pl":Z()}],"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",ge]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[Gn,Sa,af]}],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"]}}},PT=(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 m in p)GT(a[m],p[m]);for(const m in f)FT(a[m],f[m]);return a},yl=(a,r,l)=>{l!==void 0&&(a[r]=l)},GT=(a,r)=>{if(r)for(const l in r)yl(a,l,r[l])},FT=(a,r)=>{if(r)for(const l in r){const s=r[l];s!==void 0&&(a[l]=(a[l]||[]).concat(s))}},VT=(a,...r)=>typeof a=="function"?Cg(Ag,a,...r):Cg(()=>PT(Ag(),a),...r);var YT=VT({prefix:"cds-"});function ka(...a){return YT(K0(a))}var $T=dT("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"}}),QT=w.forwardRef(({className:a,variant:r,size:l,asChild:s=!1,...c},f)=>{let p=ka($T({variant:r,size:l}),a);return A.jsx(s?lT:"button",{className:p,ref:f,...c})});QT.displayName="Button";var XT="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",fd=w.forwardRef(({className:a,...r},l)=>A.jsx("input",{ref:l,className:ka(XT,a),...r}));fd.displayName="Input";var rv=w.forwardRef(({className:a,...r},l)=>A.jsx("label",{ref:l,className:ka("cds-mb-1 cds-block cds-text-sm cds-font-semibold cds-text-fg",a),...r}));rv.displayName="Label";var ZT=({onClick:a,disabled:r,children:l="Continue",className:s})=>A.jsx("button",{type:"button",disabled:r,onClick:a,className:ka("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}),Tg=({message:a})=>a?A.jsx("p",{role:"alert",className:"cds-mt-2 cds-text-sm cds-font-medium cds-text-destructive",children:a}):null,Hf="(512) 640-2609",iv="tel:+15126402609",lv=({label:a,hint:r,error:l,className:s,children:c})=>{let f=w.useId(),p=r?`${f}-hint`:void 0,m=l?`${f}-error`:void 0;return A.jsxs("div",{className:ka("cds-mb-4",s),children:[A.jsx(rv,{htmlFor:f,children:a}),c({id:f,hintId:p,errorId:m}),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:m,role:"alert",className:"cds-mt-1 cds-text-xs cds-font-medium cds-text-destructive",children:l}):null]})},WT=[[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 WT.find(([l,s])=>r>=l&&r<=s)?.[2]},pl=a=>/^\d{5}$/.test(String(a??"").replace(/\D/g,"")),Mg=a=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(String(a??"").trim()),KT=({label:a,value:r,onChange:l,error:s,hint:c,className:f})=>A.jsx(lv,{label:a,error:s,hint:c,className:f,children:({id:p,hintId:m,errorId:y})=>A.jsx(fd,{id:p,type:"text",inputMode:"numeric",autoComplete:"postal-code",value:r,"aria-invalid":s?!0:void 0,"aria-describedby":[m,y].filter(Boolean).join(" ")||void 0,onChange:g=>l(g.target.value.replace(/\D/g,"").slice(0,5)),className:s?"cds-border-destructive":void 0})}),JT=({label:a,value:r,onChange:l,error:s,hint:c,className:f})=>A.jsx(lv,{label:a,error:s,hint:c,className:f,children:({id:p,hintId:m,errorId:y})=>A.jsx(fd,{id:p,type:"email",inputMode:"email",autoComplete:"email",placeholder:"you@example.com",value:r,"aria-invalid":s?!0:void 0,"aria-describedby":[m,y].filter(Boolean).join(" ")||void 0,onChange:g=>l(g.target.value),className:s?"cds-border-destructive":void 0})}),eM={h:222,s:47,l:6},tM=(a,r,l)=>Math.min(l,Math.max(r,a)),Og=(a,r,l)=>{let s=a/255,c=r/255,f=l/255,p=Math.max(s,c,f),m=Math.min(s,c,f),y=p-m,g=(p+m)/2;if(y===0)return{h:0,s:0,l:g*100};let C=y/(1-Math.abs(2*g-1)),_;return _=p===s?(c-f)/y%6:p===c?(f-s)/y+2:(s-c)/y+4,_*=60,_<0&&(_+=360),{h:_,s:C*100,l:g*100}},nM=({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,m=f*(1-Math.abs(p%2-1)),y=c-f/2,g;return g=p<1?[f,m,0]:p<2?[m,f,0]:p<3?[0,f,m]:p<4?[0,m,f]:p<5?[m,0,f]:[f,0,m],[Math.round((g[0]+y)*255),Math.round((g[1]+y)*255),Math.round((g[2]+y)*255)]},aM=a=>{let r=a.trim().toLowerCase(),l=/^#([0-9a-f]{3}|[0-9a-f]{6})$/.exec(r);if(l?.[1]){let p=l[1],m=p.length===3?p.split("").map(g=>g+g).join(""):p,y=Number.parseInt(m,16);return Og(y>>16&255,y>>8&255,y&255)}let s=/^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)/.exec(r);if(s?.[1]&&s[2]&&s[3])return Og(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},rM=({h:a,s:r,l})=>`${Math.round(a)} ${Math.round(r)}% ${Math.round(l)}%`,wg=a=>{let[r,l,s]=nM(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)},Uf=(a,r)=>{let l=wg(a),s=wg(r),c=Math.max(l,s),f=Math.min(l,s);return(c+.05)/(f+.05)},iM=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 Uf(r,a)>=Uf(l,a)?r:l},lM=(a,r=3.2)=>{let l={h:a.h,s:tM(a.s*.9,0,100),l:a.l};for(;l.l<92&&Uf(l,eM)<r;)l.l+=2;return l},ss=(a,r)=>a?aM(a):null,rf=(a,r,l)=>{let s=ss(a);return{light:s,dark:ss(r)??(s?lM(s):null)}},Ko=(a,r,l)=>{l&&a.set(`--cds-${r}`,rM(l))},Rg=(a,r)=>{let l=new Map,s=(y,g)=>r==="light"?y:g;a.radius&&l.set("--cds-radius",a.radius);let c=rf(a.primary,a.primaryDark),f=rf(a.accent,a.accentDark),p=rf(a.destructive,a.destructiveDark);for(let[y,g]of[["primary",c],["accent",f],["destructive",p]]){let C=s(g.light,g.dark);Ko(l,y,C),C&&Ko(l,`${y}-foreground`,iM(C))}let m=[["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[y,g,C]of m)Ko(l,y,ss(s(g,C)));return Ko(l,"ring",ss(s(a.ring,a.ringDark))??s(c.light,c.dark)),l},lf=(a,r,l="")=>r.size===0?"":`${l}${a} {
|
|
73
|
+
${[...r].map(([s,c])=>`${l} ${s}: ${c};`).join(`
|
|
74
|
+
`)}
|
|
75
|
+
${l}}
|
|
76
|
+
`,oM=(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=lf(`${r}[data-cds-theme='auto']`,s," ");return[lf(r,l),lf(c,s),f?`@media (prefers-color-scheme: dark) {
|
|
78
|
+
${f}}
|
|
79
|
+
`:""].filter(Boolean).join(`
|
|
80
|
+
`)},Dg="cds-theme-overrides",xg=new WeakMap,Bf=new Map,zf=new Map,kg=0,sM=()=>{for(let[a,r]of zf){let l=r.deref();(!l||!l.isConnected)&&(zf.delete(a),Bf.delete(a))}},uM=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},cM=(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),zf.set(l,new WeakRef(a)),sM(),Bf.set(l,oM(r,`[data-cds-scope='${l}']`)),uM(a.ownerDocument).textContent=[...Bf.values()].join(`
|
|
81
|
+
`)},ov=w.createContext({Link:"a",portalContainer:null}),Zw=()=>w.useContext(ov).portalContainer,fM=({children:a,linkComponent:r="a",theme:l,mode:s,className:c,portalContainer:f=null})=>{let p=w.useRef(null),m=s??l?.mode??"light",y=l?JSON.stringify({...l,mode:m}):"",g=w.useRef(l);g.current=l,w.useEffect(()=>{let _=p.current,L=g.current;_&&L&&cM(_,{...L,mode:m})},[y]);let C=w.useMemo(()=>({Link:r,portalContainer:f}),[r,f]);return A.jsx(ov.Provider,{value:C,children:A.jsx("div",{ref:p,className:["credify-ui",c].filter(Boolean).join(" "),"data-cds-theme":m,children:a})})},jf={},dM=a=>{jf=a},Ng=!1,of,pM=()=>of||(of=new Promise(a=>{if(!jf.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(jf.apiKey)}&libraries=places&loading=async&callback=credifyPlacesReady`,r.onerror=()=>a(!1),window.credifyPlacesReady=()=>a(!!window.google?.maps?.places),document.head.appendChild(r)}),of),Ww=async()=>{if(!await pM()||!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,Kw=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)})}),Jw=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]??""}},mM={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"}},hM=a=>({title:a.replace(/([a-z])([A-Z])/g,"$1 $2"),short:a.replace(/([a-z])([A-Z])/g,"$1 $2")}),yM={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"}},gM={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."},vM=new Set(["Auto","Bundle"]),bM=(a,r)=>{if(a==="Product"&&r)return yM[r];let l=mM[a]??hM(a),s=gM[a];return s&&r&&vM.has(r)?{...l,subtitle:s}:l},SM=new Set(["SMSVerification","Phone"]),_M={title:"Review your answers",subtitle:"Carriers price from exactly this — a quick check now avoids surprises later.",short:"Review"},EM={title:"Your quotes",short:"Quotes"},CM={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"}},AM=null,sv=()=>AM;const TM="modulepreload",MM=function(a){return"/iframe/"+a},Hg={},me=function(r,l,s){let c=Promise.resolve();if(l&&l.length>0){let y=function(g){return Promise.all(g.map(C=>Promise.resolve(C).then(_=>({status:"fulfilled",value:_}),_=>({status:"rejected",reason:_}))))};document.getElementsByTagName("link");const p=document.querySelector("meta[property=csp-nonce]"),m=p?.nonce||p?.getAttribute("nonce");c=y(l.map(g=>{if(g=MM(g),g in Hg)return;Hg[g]=!0;const C=g.endsWith(".css"),_=C?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${_}`))return;const L=document.createElement("link");if(L.rel=C?"stylesheet":TM,C||(L.as="script"),L.crossOrigin="",L.href=g,m&&L.setAttribute("nonce",m),document.head.appendChild(L),C)return new Promise((P,j)=>{L.addEventListener("load",P),L.addEventListener("error",()=>j(new Error(`Unable to preload CSS for ${g}`)))})}))}function f(p){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=p,window.dispatchEvent(m),!m.defaultPrevented)throw p}return c.then(p=>{for(const m of p||[])m.status==="rejected"&&f(m.reason);return r().catch(f)})};var Ug=Object.defineProperty,uv=(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
|
+
* @license lucide-react v0.562.0 - ISC
|
|
83
|
+
*
|
|
84
|
+
* This source code is licensed under the ISC license.
|
|
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(),wM=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,l,s)=>s?s.toUpperCase():l.toLowerCase()),Bg=a=>{const r=wM(a);return r.charAt(0).toUpperCase()+r.slice(1)},cv=(...a)=>a.filter((r,l,s)=>!!r&&r.trim()!==""&&s.indexOf(r)===l).join(" ").trim(),RM=a=>{for(const r in a)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};/**
|
|
87
|
+
* @license lucide-react v0.562.0 - ISC
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the ISC license.
|
|
90
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
91
|
+
*/var DM={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
|
+
* @license lucide-react v0.562.0 - ISC
|
|
93
|
+
*
|
|
94
|
+
* This source code is licensed under the ISC license.
|
|
95
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
96
|
+
*/const xM=w.forwardRef(({color:a="currentColor",size:r=24,strokeWidth:l=2,absoluteStrokeWidth:s,className:c="",children:f,iconNode:p,...m},y)=>w.createElement("svg",{ref:y,...DM,width:r,height:r,stroke:a,strokeWidth:s?Number(l)*24/Number(r):l,className:cv("lucide",c),...!f&&!RM(m)&&{"aria-hidden":"true"},...m},[...p.map(([g,C])=>w.createElement(g,C)),...Array.isArray(f)?f:[f]]));/**
|
|
97
|
+
* @license lucide-react v0.562.0 - ISC
|
|
98
|
+
*
|
|
99
|
+
* This source code is licensed under the ISC license.
|
|
100
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
101
|
+
*/const kM=(a,r)=>{const l=w.forwardRef(({className:s,...c},f)=>w.createElement(xM,{ref:f,iconNode:r,className:cv(`lucide-${OM(Bg(a))}`,`lucide-${a}`,s),...c}));return l.displayName=Bg(a),l};/**
|
|
102
|
+
* @license lucide-react v0.562.0 - ISC
|
|
103
|
+
*
|
|
104
|
+
* This source code is licensed under the ISC license.
|
|
105
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
106
|
+
*/const NM=[["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"}]],LM=kM("triangle-alert",NM);var fv={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"}},HM={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"},UM={"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"]},dv={"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"},pv=new Set(["Disabled","Retired","Unemployed","Other"]),zg=new Set(["AAA","AARP","AIG","AIC","CNA","USAA","SR22","PIP","UM","UMPD","BI","PD","MP"]),BM=new Set,vl=a=>{if(zg.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=>zg.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()},mv=(a,r)=>fv[a]?.[r]||HM[r]||vl(r),zM=(a,r)=>(r??[]).map(l=>({value:l,label:mv(a,l)})),jM=a=>{let r=String(a??"").trim();return!r||pv.has(r)?null:UM[r]??null},IM=a=>dv[a]??vl(a),qM=()=>[...BM].sort(),hv={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"}},If={};for(let a of Object.values(hv))a.key&&!If[a.key]&&(If[a.key]=a);var jg={PersonalVehicles:"vehicle",Vehicles:"vehicle",Drivers:"driver"},PM=/\[\?\([^)]*\)\]/g,GM=/\[\?\(@__id__\s*==\s*'([^']*)'\)\]/g,FM=new Set(["Id","SequenceNum","Assignments","IsDrv","DriverId","MainVehicleId"]),VM=a=>/^[a-z][a-z0-9_]*$/.test(a),yv=a=>{let r=(a??"").trim();if(!r)return{raw:r,entity:"general",label:"",isOpaque:!0};if(VM(r)){let m=If[r];return{raw:r,entity:m?.entity??"general",key:r,label:m?.label??vl(r),isOpaque:!m}}let l=[...r.matchAll(GM)].map(m=>m[1]),s=r.replace(PM,"").split(".").filter(Boolean),c=s[s.length-1]??r;if(FM.has(c))return{raw:r,entity:"general",label:"",isOpaque:!0};let f=s.find(m=>m in jg),p=hv[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}},dd=[{question:"What's your ZIP code?",inputType:"text",key:"postal_code",required:!0}],gv="Zip|",vv=[{question:"What is your email address?",inputType:"email",key:"email",required:!0}],bv="Email|",Sv=new Set(["TX","NJ"]),us={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={},_v=a=>{hi=a},YM=()=>{hi={}},_s=a=>{try{a()}catch{}},_n=(a,r)=>{_s(()=>hi.onQuoteFailure?.(a,r))},Ev=(a,r)=>{_s(()=>hi.onBreadcrumb?.(a,r))},Es=(a,r)=>{_s(()=>hi.onTrack?.(a,r))},Cs=a=>{_s(()=>hi.onContext?.(a))},Cv=a=>Cs({product:a}),Av=a=>Cs({quoteId:a}),Tv=a=>Cs({stage:a}),Ea=a=>{if(a&&typeof a=="object"&&"statusCode"in a){let r=a.statusCode;if(typeof r=="number")return r}},cs=null,pd=a=>{cs=a},on=()=>{if(!cs)throw Error("[credify-ui-kit] configureApi() must be called before using the API client.");return cs},Mv=()=>{cs=null},nr=()=>{try{return!!on().isMockActive?.()}catch{return!1}},md=()=>{try{return!!on().isTestActive?.()}catch{return!1}},As=()=>`${on().storagePrefix}quote_id`,Ts=()=>`${on().storagePrefix}auth_token`,Ov=As,wv=Ts,$M="__mock",fi=a=>on().isMockActive?.()?`${a}${$M}`:a,QM=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,Rv=a=>{try{return localStorage.getItem(a)}catch{return null}},Dv=(a,r)=>{try{localStorage.setItem(a,r)}catch{}},Ig=a=>{try{localStorage.removeItem(a)}catch{}},Na=()=>{let a=Rv(fi(As()));return a!==null&&!on().isMockActive?.()&&!QM.test(a)?(di(),null):a},Ms=a=>Dv(fi(As()),a),Os=()=>Rv(fi(Ts())),ws=a=>Dv(fi(Ts()),a),di=()=>{Ig(fi(As())),Ig(fi(Ts()))},XM=uv({buildResumeUrl:()=>hd,captureResumeTokenFromUrl:()=>Rs,consumeResumeToken:()=>Cl,hasResumeToken:()=>Ds}),qf="credify_rt",ZM=["mock"],fs=null,Rs=a=>{try{if(typeof window>"u")return;let r=new URL(window.location.href),l=r.searchParams.get(qf);if(!l)return;fs=l,r.searchParams.delete(qf),window.history.replaceState(window.history.state,"",r.toString())}catch(r){a?.(r)}},Ds=()=>fs!==null,Cl=()=>{let a=fs;return fs=null,a},hd=a=>{let r=new URL(window.location.href),l=ZM.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(qf,a),r.toString()},Pf,yd=a=>{Pf=a},qg=async a=>{try{let{ZIP_CITIES:r}=await me(async()=>{const{ZIP_CITIES:l}=await import("./zipCities-CU_i9iT--B1AIvNRh.js");return{ZIP_CITIES:l}},[]);return r[a]??null}catch{return null}},ds=async a=>{if(!/^\d{5}$/.test(a))return null;let r=!1;try{r=!!on().isMockActive?.()}catch{r=!1}if(r){let{MOCK_ZIP_CITIES:l}=await me(()=>import("./fixtures-ijbZ16Zg-CUQxYANz.js"),[]).then(s=>s.f);return l[a]??null}if(!Pf)return qg(a);try{return await Pf(a)}catch{return qg(a)}},WM=({disabled:a=!1,busy:r=!1,onChoose:l})=>{let[s,c]=w.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"})]})]})},KM=()=>{typeof document<"u"&&delete document.documentElement.dataset.credifyResuming},Pg=()=>({[gv]:dd,[bv]:vv}),sf=a=>[...us[a]],JM=6,eO=1500,tO=new Set(["HomePolicy","BundlePolicy"]),nO=new Set(["processing","completed","no_rates","failed"]),Gg=(a,r)=>{if(!r)return 0;if(nO.has(String(r.rates_status??"")))return a.length+1;let l=a.indexOf(r.current_stage);return l>0?l:0},aO=()=>{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()))},xv=()=>md()||aO(),rO=()=>xv(),uf="78701",iO=()=>{let a=0;return r=>{r>JM||r<=a||(a=r,Es("quote_step_completed",{stepIndex:r}))}},kv=a=>{let[r,l]=w.useState(null),[s,c]=w.useState({product:a}),[f,p]=w.useState(()=>sf(a)),[m,y]=w.useState(Pg),[g,C]=w.useState(0),[_,L]=w.useState(!1),[P,j]=w.useState(!1),[K,Y]=w.useState(!1),[X,oe]=w.useState(!1),[ne,ie]=w.useState(),[I,ue]=w.useState(!1),[le,Ue]=w.useState(!1),[Ie,Je]=w.useState(!1),[ce,Z]=w.useState(!1),[Te,Be]=w.useState(!1),be=w.useRef(r),R=w.useRef(s);w.useEffect(()=>{be.current=r,R.current=s});let q=w.useRef(iO()),J=w.useRef(null),se=w.useMemo(()=>[...f.map(B=>({kind:"stage",stage:B})),{kind:"terminal",screen:"review"},{kind:"terminal",screen:"rates"}],[f]),Oe=w.useMemo(()=>Math.max(f.length,us[a]?.length??0)+1,[f.length,a]),b=se[g],T=b?.kind==="stage"?b.stage:void 0,U=String(s.state??"");w.useEffect(()=>{Cv(a)},[a]),w.useEffect(()=>{Tv(T),T&&Ev(`stage: ${T}`,{screenIndex:g})},[T,g]),w.useEffect(()=>{Av(r)},[r]);let F=w.useMemo(()=>{let B={};for(let z of f){let V=m[`${z}|${U}`];V&&(B[z]=V)}return B},[f,m,U]),te=w.useMemo(()=>T?m[`${T}|${U}`]??m[`${T}|`]??[]:[],[T,m,U]),fe=!!(T&&(`${T}|${U}`in m||(T==="Zip"||T==="Email")&&`${T}|`in m)),ve=w.useMemo(()=>({errorsByKey:{},itemErrors:[],issues:[],isValid:!0}),[]),[ft,Xe]=w.useState(ve),Ha=w.useMemo(()=>T==="Zip"?pl(s.postal_code)?ve:{errorsByKey:{postal_code:"Enter a 5-digit ZIP code."},itemErrors:[],issues:["Enter a 5-digit ZIP code."],isValid:!1}:T==="Email"?Mg(s.email)?ve:{errorsByKey:{email:"Enter a valid email address."},itemErrors:[],issues:["Enter a valid email address."],isValid:!1}:T?ft:ve,[T,s.postal_code,s.email,ft,ve]);w.useEffect(()=>{if(!T||T==="Zip"||T==="Email")return;let B=!1;return me(()=>import("./stage-Bpq1A5xB-CwZgWOhp.js"),__vite__mapDeps([0,1,2,3,4])).then(z=>z.a).then(({validateStage:z})=>{B||Xe(z({questions:te,values:s,stageKey:T}))}),()=>{B=!0}},[T,te,s]);let dt=w.useCallback(B=>{c(z=>{let V={...z,...B};return R.current=V,V})},[]),gi=w.useCallback((B,z)=>{if(B.city||B.__address_city)return;let V=String(B.postal_code??"").trim();pl(V)&&ds(V).then(G=>{if(!G||z())return;let Q=R.current;Q.city||Q.__address_city||dt({city:G,__address_city:G})})},[dt]),Qn=w.useCallback(async B=>{let{getStagesForQuote:z}=await me(async()=>{const{getStagesForQuote:Q}=await Promise.resolve().then(()=>wt);return{getStagesForQuote:Q}},void 0),{stages:V}=await z(B??void 0),G=V.filter(Q=>Q!=="CanopyConnect");return p(G),G},[]),Tt=w.useCallback(async(B,z,V)=>{Y(!0);try{let{getQuestionsByStage:G}=await me(async()=>{const{getQuestionsByStage:ke}=await Promise.resolve().then(()=>wt);return{getQuestionsByStage:ke}},void 0),{questions:Q}=await G(B,z??void 0),{ensureAutoCoverageSelections:de}=await me(()=>import("./vehicleCoverage-BPJaWQyg-DBJ_jL3e.js"),__vite__mapDeps([4,2,1,3])).then(ke=>ke.d),xe=de(B,Q);return y(ke=>({...ke,[`${B}|${V}`]:xe})),xe}catch(G){return ie("We could not load this step. Please try again."),_n(G,{phase:"stage_load",product:a,stage:B,quoteId:z,endpoint:"/get-questions-by-stage",statusCode:Ea(G)}),[]}finally{Y(!1)}},[a]),dr=w.useCallback(async(B,z,V)=>{Be(!0);try{await Promise.all(B.map(G=>Tt(G,z,V)))}finally{Be(!1)}},[Tt]);w.useEffect(()=>{Rs(),Es("quote_flow_start");let B=!1;return(async()=>{try{let z=Cl();if(z){j(!0);try{let{redeemResumeToken:ke}=await me(async()=>{const{redeemResumeToken:we}=await Promise.resolve().then(()=>wt);return{redeemResumeToken:we}},void 0);await ke(z)}catch{B||ie("That link has expired. Enter your ZIP code to pick up where you left off.")}}let V=Na();V&&(be.current=V,l(V),j(!0));let G=be.current,Q,de=sf(a);if(G)try{let{getQuote:ke}=await me(async()=>{const{getQuote:We}=await Promise.resolve().then(()=>wt);return{getQuote:We}},void 0),{quote:we}=await ke(G);if(!B&&we){Q=we;let[{fromQuoteRecord:We},{seedHomeCoverages:zt}]=await Promise.all([me(()=>import("./payload-JXpCaeS6-CcfrGvLo.js"),__vite__mapDeps([5,1,6])).then(Dt=>Dt.o),me(()=>import("./coverageDerivation-CV2ORogj-DhQFAhwv.js"),[]).then(Dt=>Dt.o)]),Ke=We(we);c({...Ke,...zt(Ke),product:a}),gi(Ke,()=>B)}}catch(ke){di(),B||l(null),be.current=null,_n(ke,{phase:"quote_resume",product:a,quoteId:G,endpoint:"/get-quote",statusCode:Ea(ke)})}if(be.current&&(de=await Qn(be.current),!B&&de.length))if(Q?.review_status==="pending_review")Z(!0),Be(!0),C(de.length);else{let ke=Gg(de,Q);ke>0&&C(ke);let we=de[ke]??de[0];we&&we!=="Zip"&&we!=="Email"&&await Tt(we,be.current,String(R.current.state??""))}let xe=B?null:(await me(async()=>{const{mockStepFromUrl:ke}=await import("./mockJump-DpXrnQUq-DKyp2H5R.js");return{mockStepFromUrl:ke}},[])).mockStepFromUrl();xe!=null&&xe!==Gg(de,Q)&&(J.current||await Promise.resolve(),await J.current?.(xe))}catch(z){B||ie("We could not start your quote. Please refresh and try again."),_n(z,{phase:"quote_start",product:a,quoteId:be.current,statusCode:Ea(z)})}finally{B||(j(!1),KM())}})(),()=>{B=!0}},[]);let pr=w.useRef(new Set);w.useEffect(()=>{if(!ce)return;let B=f.filter(z=>{let V=`${z}|${U}`;return!(V in m)&&!pr.current.has(V)});if(!B.length){Be(!1);return}for(let z of B)pr.current.add(`${z}|${U}`);dr(B,be.current,U)},[ce,f,m,U,dr]),w.useEffect(()=>{!T||m[`${T}|${U}`]||(T==="Zip"||T==="Email")&&m[`${T}|`]||Tt(T,be.current,U)},[T,m,U,Tt]);let pt=w.useCallback(B=>{C(B),L(!1),ie(void 0),nr()&&me(async()=>{const{writeMockStepHash:z}=await import("./mockJump-DpXrnQUq-DKyp2H5R.js");return{writeMockStepHash:z}},[]).then(({writeMockStepHash:z})=>{z(B)}),window.scrollTo(0,0)},[]),An=w.useRef(null),yn=w.useCallback(async B=>{let z=be.current;if(z)return z;let V=(B??String(R.current.postal_code??"")).trim(),{createQuote:G}=await me(async()=>{const{createQuote:de}=await Promise.resolve().then(()=>wt);return{createQuote:de}},void 0),Q=await G(V,rO());return be.current=Q.quoteId,l(Q.quoteId),Q.quoteId},[]),mr=w.useCallback(async B=>{let z=String(R.current.postal_code??"").trim();ds(z).then(de=>{if(!de)return;let xe=R.current;dt({city:de,...xe.__address_city?{}:{__address_city:de}})});let V=Wo(z);if(!V)return!0;dt({state:V,__address_state:R.current.__address_state??V});let{isSupportedState:G}=await me(async()=>{const{isSupportedState:de}=await Promise.resolve().then(()=>wt);return{isSupportedState:de}},void 0),{isSupported:Q}=await G(V,B);return Q?!0:(ue(!0),!1)},[dt]),hr=w.useCallback(()=>(An.current||=(async()=>{let B=await yn();if(!await mr(B))return B;let[{stageSlice:z},{toQuotePayload:V},{updateQuote:G}]=await Promise.all([me(()=>import("./stage-Bpq1A5xB-CwZgWOhp.js"),__vite__mapDeps([0,1,2,3,4])).then(Q=>Q.a),me(()=>import("./payload-JXpCaeS6-CcfrGvLo.js"),__vite__mapDeps([5,1,6])).then(Q=>Q.o),me(()=>Promise.resolve().then(()=>wt),void 0)]);return await G({...V(z(m["Zip|"]??dd,R.current,"Zip")),current_stage:"Email"},!1,B),B})().catch(B=>{throw An.current=null,B}),An.current),[yn,mr,m]),Tl=w.useCallback(async B=>{let z=R.current,[{parseAddress:V,normalizeStateCode:G},{isSupportedState:Q}]=await Promise.all([me(()=>import("./address-BEVwov8q-BpbNiia-.js"),[]).then(we=>we.i),me(()=>Promise.resolve().then(()=>wt),void 0)]),de=V(String(z.address??"")),xe=G(String(z.__address_state??de.state??z.state??""));if(!xe)return!0;dt({state:xe});let{isSupported:ke}=await Q(xe,B);return ke?!0:(ue(!0),!1)},[dt]),Ml=w.useCallback(async B=>{if(a==="Auto"||le)return;let z=R.current,[{parseAddress:V},{prefillProperty:G},{seedHomeCoverages:Q}]=await Promise.all([me(()=>import("./address-BEVwov8q-BpbNiia-.js"),[]).then(we=>we.i),me(()=>Promise.resolve().then(()=>wt),void 0),me(()=>import("./coverageDerivation-CV2ORogj-DhQFAhwv.js"),[]).then(we=>we.o)]),de=V(String(z.address??"")),xe={address_line_1:String(z.__address_line_1??de.line_1).trim(),city:String(z.__address_city??de.city??z.city??"").trim(),state:String(z.__address_state??de.state??z.state??"").trim(),postal_code:String(z.__address_postal_code??de.postal_code??z.postal_code??"").trim()};if(!xe.address_line_1||!xe.city||!xe.state||!xe.postal_code)return;let ke=await G(B,xe);!ke.found||!ke.property||(c(we=>{let We={...we};for(let[zt,Ke]of Object.entries(ke.property??{})){if(Ke==null)continue;let Dt=We[zt];(Dt===void 0||Dt===""||Dt===null)&&(We[zt]=Ke)}return{...We,...Q(We)}}),Ue(!0))},[a,le]),Ct=w.useCallback(B=>{let z=f.indexOf(B);if(z>=0&&z+1<f.length)return f[z+1];let V=us[a]??[],G=V.indexOf(B);return G>=0&&G+1<V.length?V[G+1]:void 0},[f,a]),vi=w.useCallback(async()=>{if(X||!T||!fe)return;if(T==="Zip"){if(!pl(R.current.postal_code)){L(!0);return}let G=String(R.current.postal_code??"").trim(),Q=Wo(G);if(Q&&(dt({state:Q,__address_state:R.current.__address_state??Q}),!Sv.has(Q))){ue(!0);return}q.current(g+1),pt(g+1),hr();return}let{stageSlice:B,validateStage:z}=await me(()=>import("./stage-Bpq1A5xB-CwZgWOhp.js"),__vite__mapDeps([0,1,2,3,4])).then(G=>G.a),V=T==="Email"?Mg(R.current.email)?{isValid:!0}:{isValid:!1}:z({questions:te,values:R.current,stageKey:T});if(!V.isValid){T!=="Email"&&"errorsByKey"in V&&Xe(V),L(!0);return}oe(!0),ie(void 0);try{let G=An.current?await An.current:await yn();if(T==="Product"&&!await Tl(G))return;let[{toQuotePayload:Q},{updateQuote:de},{prefillSuggestions:xe},{seedHomeCoverages:ke}]=await Promise.all([me(()=>import("./payload-JXpCaeS6-CcfrGvLo.js"),__vite__mapDeps([5,1,6])).then(Ke=>Ke.o),me(()=>Promise.resolve().then(()=>wt),void 0),me(()=>Promise.resolve().then(()=>Fg),void 0).then(Ke=>Ke.n),me(()=>import("./coverageDerivation-CV2ORogj-DhQFAhwv.js"),[]).then(Ke=>Ke.o)]),we=B(te,R.current,T);T==="Product"&&(we.product=a),T==="Phone"&&(we.suppress_verification_sms=!0);let We=Ct(T),zt={...Q(we),...We?{current_stage:We}:{}};if(Object.keys(zt).length&&await de(zt,!1,G),q.current(g+1),T==="Name"&&a!=="Home"&&xe.vehicle.prefetch(G),T==="Vehicle"&&xe.driver.prefetch(G),We&&tO.has(We)){let Ke=ke(R.current);Object.keys(Ke).length&&dt(Ke)}if(T==="Product"){let Ke=await Qn(G);await Ml(G);let Dt=Math.min(g+1,Ke.length);pt(Dt);return}pt(g+1)}catch(G){let{CredifyApiError:Q}=await me(async()=>{const{CredifyApiError:xe}=await Promise.resolve().then(()=>wt);return{CredifyApiError:xe}},void 0),de=G instanceof Q&&G.statusCode===404?"Your quote session expired. Please start again.":"Something went wrong saving your answers. Please try again.";ie(de),_n(G,{phase:"answer_save",product:a,stage:T,quoteId:be.current,endpoint:"/update-quote",statusCode:Ea(G)})}finally{oe(!1)}},[X,T,fe,hr,yn,Tl,te,a,g,Qn,Ct,Ml,pt,dt]),Ol=w.useCallback(()=>{g>0&&pt(g-1)},[g,pt]),wl=w.useCallback(B=>{let z=se.findIndex(V=>V.kind==="stage"&&V.stage===B);z>=0&&pt(z)},[se,pt]),Xn=w.useRef(!1),Ua=w.useCallback(async B=>{if(!(!nr()||Xn.current)){Xn.current=!0,Je(!0),ie(void 0);try{let z={...R.current,product:a},V=String(z.postal_code??"").trim(),G=/^\d{5}$/.test(V)?V:uf,Q=await yn(G),[{isSupportedState:de,updateQuote:xe},{toQuotePayload:ke}]=await Promise.all([me(()=>Promise.resolve().then(()=>wt),void 0),me(()=>import("./payload-JXpCaeS6-CcfrGvLo.js"),__vite__mapDeps([5,1,6])).then(un=>un.o)]),we=Wo(G)??"";we&&(await de(we,Q)).isSupported?z.postal_code=G:(z.postal_code=uf,we=Wo(uf)??"TX",await de(we,Q)),z.state=we,ue(!1),await xe({product:a,postal_code:z.postal_code},!1,Q);let We=await Qn(Q),zt=Math.max(0,Math.min(B,We.length+1)),Ke=sv()?.autofillStage;if(!Ke)return;let{stageSlice:Dt}=await me(()=>import("./stage-Bpq1A5xB-CwZgWOhp.js"),__vite__mapDeps([0,1,2,3,4])).then(un=>un.a);for(let un of We.slice(0,zt)){let gr=m[`${un}|${we}`]??await Tt(un,Q,we);z=Ke(gr,z,un);let vr=ke(Dt(gr,z,un));Object.keys(vr).length&&await xe(vr,!1,Q)}c(z),R.current=z,zt===We.length+1&&await xe({},!0,Q),pt(zt)}catch{ie("The mock jump could not seed this step. Reload and try again.")}finally{Xn.current=!1,Je(!1)}}},[a,yn,Qn,Tt,m,pt]),Rl=w.useCallback(async()=>{nr()},[T,te]);w.useEffect(()=>{J.current=Ua},[Ua]),w.useEffect(()=>{if(!nr())return;let B=()=>{me(async()=>{const{mockStepFromUrl:z}=await import("./mockJump-DpXrnQUq-DKyp2H5R.js");return{mockStepFromUrl:z}},[]).then(({mockStepFromUrl:z})=>{let V=z();V!=null&&V!==g&&Ua(V)})};return window.addEventListener("hashchange",B),()=>window.removeEventListener("hashchange",B)},[g,Ua]);let ks=w.useCallback(async B=>{if(X)return!1;let z=be.current;if(!z)return ie("Your quote session expired. Please start again."),!1;oe(!0),ie(void 0);try{let V=typeof B=="boolean"?{communications_consent:B}:{},{updateQuote:G}=await me(async()=>{const{updateQuote:de}=await Promise.resolve().then(()=>wt);return{updateQuote:de}},void 0),Q=await G(V,!0,z);return Q.status==="submission_failed"?(ie(Q.message||"We could not submit your quote for rating."),_n(Error(Q.message||"Rating submission refused"),{phase:"rating_submit",product:a,quoteId:z,endpoint:"/update-quote"}),!1):(pt(se.length-1),!0)}catch(V){return ie("We could not submit your quote for rating. Please try again."),_n(V,{phase:"rating_submit",product:a,quoteId:z,endpoint:"/update-quote",statusCode:Ea(V)}),!1}finally{oe(!1)}},[X,se.length,pt,a]),yr=w.useCallback(async()=>{let[{stageSlice:B},{toQuotePayload:z}]=await Promise.all([me(()=>import("./stage-Bpq1A5xB-CwZgWOhp.js"),__vite__mapDeps([0,1,2,3,4])).then(G=>G.a),me(()=>import("./payload-JXpCaeS6-CcfrGvLo.js"),__vite__mapDeps([5,1,6])).then(G=>G.o)]),V={};for(let G of f){if(SM.has(G))continue;let Q=F[G];Q?.length&&Object.assign(V,B(Q,R.current,G))}return z(V)},[f,F]),Ba=w.useCallback(async()=>{if(X)return!1;let B=be.current;if(!B)return ie("Your quote session expired. Please start again."),!1;oe(!0),ie(void 0);try{let{isSupportedState:z,updateQuote:V}=await me(async()=>{const{isSupportedState:de,updateQuote:xe}=await Promise.resolve().then(()=>wt);return{isSupportedState:de,updateQuote:xe}},void 0),G=String(R.current.state??"");if(G){let{isSupported:de}=await z(G,B);if(!de)return ue(!0),!1}let Q=await V({...await yr(),customer_review_confirmed:!0},!0,B);return Q.status==="submission_failed"?(ie(Q.message||"We could not submit your quote for rating."),_n(Error(Q.message||"Rating submission refused"),{phase:"rating_submit",product:a,quoteId:B,endpoint:"/update-quote"}),!1):(pt(se.length-1),!0)}catch(z){return ie("We could not submit your quote. Please try again."),_n(z,{phase:"rating_submit",product:a,quoteId:B,endpoint:"/update-quote",statusCode:Ea(z)}),!1}finally{oe(!1)}},[X,yr,se.length,pt,a]),yt=w.useRef(!1),sn=w.useRef(yr);w.useEffect(()=>{sn.current=yr}),w.useEffect(()=>{if(!ce)return;if(!yt.current){yt.current=!0;return}let B=be.current;if(!B)return;let z=window.setTimeout(()=>{(async()=>{try{let{updateQuote:V}=await me(async()=>{const{updateQuote:Q}=await Promise.resolve().then(()=>wt);return{updateQuote:Q}},void 0),G=await sn.current();Object.keys(G).length&&await V(G,!1,B)}catch(V){_n(V,{phase:"answer_save",product:a,quoteId:B,endpoint:"/update-quote",statusCode:Ea(V)})}})()},eO);return()=>window.clearTimeout(z)},[ce,s,a]);let Mt=w.useCallback(()=>{di(),Z(!1),yt.current=!1,me(()=>Promise.resolve().then(()=>Fg),void 0).then(B=>B.n).then(({resetPrefillSuggestions:B})=>{B()}),An.current=null,l(null),be.current=null,c({product:a}),p(sf(a)),y(Pg()),ue(!1),Ue(!1),pt(0)},[a,pt]),bi=w.useCallback(B=>{let z=V=>{for(let G of V){if(G.key===B)return G;for(let Q of G.conditionals??[]){let de=z(Q.conditionalQuestions??[]);if(de)return de}}};for(let V of f){let G=z(F[V]??[]);if(G)return{question:G,stage:V}}},[f,F]),Ns=w.useCallback(B=>bi(B)?.stage,[bi]),za=w.useRef({seeded:!1,advanced:!1});return w.useEffect(()=>{if(za.current.seeded||P||b?.kind!=="stage"||b.stage!=="Zip"||R.current.postal_code||Na())return;let B=new URLSearchParams(window.location.search).get("zip");!B||!pl(B)||(za.current.seeded=!0,dt({postal_code:B.replace(/\D/g,"").slice(0,5)}))},[P,b,dt]),w.useEffect(()=>{!za.current.seeded||za.current.advanced||b?.kind==="stage"&&b.stage==="Zip"&&(!fe||X||pl(s.postal_code)&&(za.current.advanced=!0,vi()))},[b,fe,X,s.postal_code,vi]),{product:a,quoteId:r,values:s,stages:f,questionsByStage:F,stageForField:Ns,questionForField:bi,screens:se,screenIndex:g,stepTotal:Oe,current:b,questions:te,validation:Ha,showErrors:_,booting:P,loadingQuestions:K,questionsReady:fe,busy:X,error:ne,unsupportedState:I,prefillApplied:le,patch:dt,continueFromStage:vi,back:Ol,goToStage:wl,submitForRates:ks,intakeReview:ce,intakeQuestionsLoading:Te,submitIntakeReview:Ba,resetSession:Mt,mockJumping:Ie,mockJumpTo:Ua,mockAutofillStage:Rl}},Nv=()=>me(()=>import("./question-list-ChcBzofd-D5ZVofFR.js"),__vite__mapDeps([7,8,1,6,9,2,3,4,0,10,11,12,13,14])).then(a=>a.n),lO=w.lazy(()=>Nv().then(a=>({default:a.QuestionList}))),oO=w.lazy(()=>me(()=>import("./household-prefill-DVLBBva1-DTK1EHT0.js"),__vite__mapDeps([15,9,1,2,14])).then(a=>a.n).then(a=>({default:a.HouseholdPrefill}))),sO=w.lazy(()=>me(()=>import("./copy-applicant-offer-B-BIN2o5-cs-SCWuH.js"),__vite__mapDeps([16,2,1,10,3,11])).then(a=>a.n).then(a=>({default:a.CopyApplicantOffer}))),uO=w.lazy(()=>me(()=>import("./review-panel-DYCuhwdo-CyBebe6T.js").then(a=>a.r),__vite__mapDeps([17,0,1,2,3,4,13])).then(a=>a.i).then(a=>({default:a.ReviewPanel}))),cO=w.lazy(()=>me(()=>import("./intake-review-panel-B7rXvRvm-wNGntinn.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}))),fO=w.lazy(()=>me(()=>import("./rates-panel-BaIzEqX6-GSsykLkc.js"),__vite__mapDeps([19,8,11,14])).then(a=>a.n).then(a=>({default:a.RatesPanel}))),dO=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})]}),pO=({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}%`}})})]})},mO=()=>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(LM,{"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."]})]}),hO=({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:iv,onClick:()=>Es("phone_call_click",{placement:"quote_unsupported_state",phone:Hf}),className:ka("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 ",Hf]}),A.jsx("button",{type:"button",onClick:a,className:ka("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"})]}),yO=new Set(["product"]),Lv=({product:a,suppressedKeys:r=yO,chrome:l=f=>A.jsx(A.Fragment,{children:f}),onScreenChange:s,onComplete:c})=>{let f=kv(a),{booting:p,busy:m,current:y,error:g,intakeReview:C,intakeQuestionsLoading:_,mockJumping:L,questionsReady:P,patch:j,questions:K,questionsByStage:Y,quoteId:X,screenIndex:oe,showErrors:ne,stepTotal:ie,questionForField:I,stages:ue,unsupportedState:le,validation:Ue,values:Ie}=f;w.useEffect(()=>{y?.kind==="stage"&&y.stage!=="Zip"&&Nv()},[y]);let Je=CM[a],ce=w.useCallback(U=>{let F=I(U);return F?{label:F.question.question,stage:F.stage}:void 0},[I]),Z=w.useCallback(U=>{let F=new Set;for(let te of U){let{key:fe}=yv(te.field),ve=fe?I(fe)?.stage:void 0;ve&&F.add(ve)}return ue.find(te=>F.has(te))},[I,ue]),Te=w.useMemo(()=>y?y.kind==="terminal"?y.screen==="review"?_M:EM:bM(y.stage,a):Je?{title:Je.heading,short:Je.label}:void 0,[y,Je,a]),Be=w.useRef(null),be=w.useRef(!1);w.useEffect(()=>{!Te||!y||(s?.(y,{title:Te.title,index:oe,total:ie}),be.current&&Be.current?.focus({preventScroll:!0}),be.current=!0)},[Te,y,oe,ie]);let R=sv()?.DevPanel,q=nr()&&R?A.jsx(R,{product:a,stages:ue,screenIndex:oe,currentStage:y?.kind==="stage"?y.stage:void 0,busy:L,onJump:U=>void f.mockJumpTo(U),onAutofill:()=>void f.mockAutofillStage()}):null,[J]=w.useState(xv),se=U=>l(A.jsxs(A.Fragment,{children:[J?A.jsx(mO,{}):null,A.jsx("div",{ref:Be,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:U}),q]}));if(p||L)return se(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:L?"Seeding mock answers…":"Loading your quote…"})]}));if(le)return se(A.jsx(hO,{onRestart:f.resetSession}));if(!y||!Te)return se(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:iv,className:"cds-font-semibold cds-text-fg cds-underline",children:Hf})]}));let Oe=y.kind==="terminal"&&y.screen==="rates",b=C&&y.kind==="terminal"&&y.screen==="review",T=!Oe&&!b;return se(A.jsxs(A.Fragment,{children:[T?A.jsx(pO,{current:oe,total:ie,label:Je.label}):null,oe>0&&T?A.jsxs("button",{type:"button",onClick:f.back,className:ka("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:Te.title}),Te.subtitle?A.jsx("p",{className:"cds-mb-5 cds-text-sm cds-text-fg-muted",children:Te.subtitle}):null,P?A.jsxs(A.Fragment,{children:[y.stage==="Vehicle"||y.stage==="Driver"?A.jsx(w.Suspense,{fallback:null,children:A.jsx(oO,{kind:y.stage==="Vehicle"?"vehicle":"driver",quoteId:X,values:Ie,onApply:j},y.stage)}):null,dO.has(y.stage)?A.jsx(w.Suspense,{fallback:null,children:A.jsx(sO,{stage:y.stage,questions:K,values:Ie,onPatch:j},`copy-${y.stage}`)}):null,y.stage==="Zip"?A.jsx(KT,{label:K[0]?.question??"What's your ZIP code?",value:String(Ie.postal_code??""),error:ne?Ue.errorsByKey.postal_code:void 0,onChange:U=>j({postal_code:U})}):y.stage==="Email"?A.jsx(JT,{label:K[0]?.question??"What is your email address?",value:String(Ie.email??""),error:ne?Ue.errorsByKey.email:void 0,onChange:U=>j({email:U})}):A.jsx(w.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(lO,{questions:K,values:Ie,errors:ne?Ue.errorsByKey:{},itemErrors:ne?Ue.itemErrors:[],stageKey:y.stage,quoteId:X,suppressedKeys:r,onPatch:j})}),ne&&!Ue.isValid?A.jsx(Tg,{message:"Please complete the highlighted questions."}):null,A.jsx(Tg,{message:g}),A.jsx(ZT,{disabled:m,onClick:()=>void f.continueFromStage(),children:m?"Saving…":"Continue"})]}):A.jsx(ml,{label:"Loading this step…"})]}):y.screen==="review"?C?A.jsx(w.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(cO,{stages:ue,questionsByStage:Y,values:Ie,quoteId:X,loading:_,busy:m,error:g,suppressedKeys:r,onPatch:j,onConfirm:()=>void f.submitIntakeReview()})}):A.jsx(w.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(uO,{stages:ue,questionsByStage:Y,values:Ie,busy:m,error:g,suppressedKeys:r,onEditStage:f.goToStage,onConfirm:U=>void f.submitForRates(U)})}):A.jsx(w.Suspense,{fallback:A.jsx(ml,{label:"Loading this step…"}),children:A.jsx(fO,{product:a,quoteId:X,describeField:ce,onFixAnswers:U=>{let F=Z(U);f.goToStage(F??ue[0])},onRetry:f.submitForRates,onBound:()=>c?.()})})]}))};const eR=Object.freeze(Object.defineProperty({__proto__:null,A:Av,B:pv,C:Ev,D:YM,E:_n,F:us,G:mv,H:zM,I:Sv,J:fv,K:qM,L:gv,M:Es,N:bv,O:Cs,P:vv,R:dd,S:Mv,T:Ea,U:IM,V:vl,W:jM,_:Ms,a:yd,b:nr,c:Cl,d:wv,f:Ov,g:ws,h:Na,i:ds,j:Tv,k:Cv,l:Ds,m:Os,n:kv,o:hd,p:di,q:dv,r:WM,s:Rs,t:Lv,u:XM,v:pd,w:_v,x:md,y:on,z:yv},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=on();if(l.mockTransport){let m=await l.mockTransport(a,r);if(m!=null)return m}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 m=typeof p.error=="string"&&p.error||`Request failed with status ${f.status}`,y=f.status===429?typeof p.retryAfterSeconds=="number"?p.retryAfterSeconds:60:void 0;throw new Al(m,f.status,y)}return p},Et=(a,r)=>r&&!Os()?{...a,quoteId:r}:a,gO=()=>on().source,vO=()=>{let{partner:a}=on();return a?a.sub?{partner_id:a.id,sub_id:a.sub}:{partner_id:a.id}:{}},Hv=async(a,r=!1)=>{let l=await nt("/create-quote",{postal_code:a,source:gO(),...vO(),...r?{is_test:!0}:{}});if(!l.quoteId)throw new Al("Invalid createQuote response",0);return Ms(l.quoteId),{quoteId:l.quoteId}},Uv=(a,r=!1,l)=>nt("/update-quote",Et({payload:a,getRates:r},l)).then(s=>s.status?s:{status:"success"}),gd=a=>nt("/get-quote",Et({},a)),Bv=(a,r)=>nt("/is-supported-state",Et({state:a},r)),zv=(a,r)=>nt("/verify-quote",{action:"send",quoteId:a,phone:r}),jv=async(a,r)=>{let l=await nt("/verify-quote",{quoteId:a,smsCode:r});return l.isVerified&&l.token&&ws(l.token),{isVerified:!!l.isVerified}},Iv=a=>nt("/get-rates",Et({},a)),qv=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}},vd=async a=>{di();let r=await nt("/verify-quote",{action:"resume",resumeToken:a});if(!r.quoteId)throw new Al("Invalid resume response",0);return Ms(r.quoteId),r.isVerified&&r.token&&ws(r.token),{quoteId:r.quoteId}},Pv=(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})},Gv=async(a,r)=>{try{return await nt("/prefill-property",Et({...r},a))}catch{return{found:!1}}},Fv=a=>nt("/get-stages-for-quote",Et({},a)),Vv=(a,r)=>nt("/get-questions-by-stage",Et({stage:a},r)),bd=(a,r)=>nt("/get-vehicle-options",Et({...a},r)),Yv=(a,r)=>bd({action:"vinDecode",vin:a},r),Sd=async a=>{try{let{suggestions:r}=await nt("/get-vehicle-options",Et({action:"vehiclePrefillSuggestions"},a));return r??[]}catch{return[]}},$v=async(a,r)=>{try{let{items:l}=await nt("/get-vehicle-options",Et({action:"applyVehiclePrefill",selectedIds:a},r));return l??[]}catch{return[]}},Qv=async a=>{try{await nt("/get-vehicle-options",Et({action:"dismissVehiclePrefill"},a))}catch{}},_d=async a=>{try{let{suggestions:r}=await nt("/get-vehicle-options",Et({action:"driverPrefillSuggestions"},a));return r??[]}catch{return[]}},Xv=async(a,r)=>{try{let{items:l}=await nt("/get-vehicle-options",Et({action:"applyDriverPrefill",selectedIds:a},r));return l??[]}catch{return[]}},Zv=async a=>{try{await nt("/get-vehicle-options",Et({action:"dismissDriverPrefill"},a))}catch{}},bO=uv({prefillSuggestions:()=>Ed,resetPrefillSuggestions:()=>Cd}),Wv=a=>{let r=new Map,l=new Map,s=c=>{let f=r.get(c);if(f)return f;let p=a(c).then(m=>(l.set(c,m),m)).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()}}},ts=Wv(Sd),ns=Wv(_d),Ed={vehicle:{fetch:ts.fetch,peek:ts.peek,prefetch:ts.prefetch},driver:{fetch:ns.fetch,peek:ns.peek,prefetch:ns.prefetch}},Cd=()=>{ts.reset(),ns.reset()};const Fg=Object.freeze(Object.defineProperty({__proto__:null,C:Uv,E:nt,S:zv,T:Et,_:Bv,a:$v,b:vd,c:Zv,d:Sd,f:Vv,g:bd,h:Fv,i:Xv,l:Qv,m:Iv,n:bO,o:Hv,p:gd,r:Cd,s:Yv,t:Ed,u:_d,v:qv,w:jv,x:Pv,y:Gv},Symbol.toStringTag,{value:"Module"})),wt=Object.freeze(Object.defineProperty({__proto__:null,AUTH_TOKEN_STORAGE_KEY:wv,CredifyApiError:Al,QUOTE_ID_STORAGE_KEY:Ov,applyDriverPrefill:Xv,applyVehiclePrefill:$v,bodyWithQuoteId:Et,buildResumeUrl:hd,captureResumeTokenFromUrl:Rs,cityFromZip:ds,clearQuoteSession:di,configureApi:pd,configureZipCityLookup:yd,consumeResumeToken:Cl,createQuote:Hv,decodeVin:Yv,dismissDriverPrefill:Zv,dismissVehiclePrefill:Qv,fetchDriverPrefillSuggestions:_d,fetchVehiclePrefillSuggestions:Sd,getApiConfig:on,getQuestionsByStage:Vv,getQuote:gd,getRates:Iv,getStagesForQuote:Fv,getVehicleOptions:bd,hasResumeToken:Ds,isMockEnabled:nr,isSupportedState:Bv,isTestModeEnabled:md,issueResumeLink:qv,loadAuthToken:Os,loadQuoteId:Na,post:nt,prefillProperty:Gv,prefillSuggestions:Ed,redeemResumeToken:vd,requestBind:Pv,resetApiConfig:Mv,resetPrefillSuggestions:Cd,saveAuthToken:ws,saveQuoteId:Ms,sendSmsCode:zv,updateQuote:Uv,verifySmsCode:jv},Symbol.toStringTag,{value:"Module"}));var cf={};const SO="https://api.getcredify.com",_O=()=>{try{if(typeof cf<"u"&&cf?.baseUrl)return cf.baseUrl}catch{}return SO},as=_O();var ff={};const EO="mock";function CO(){try{return typeof ff<"u"&&ff?.key?ff.key:void 0}catch{return}}function Gf(){const a=CO();if(!a||typeof window>"u"||!window.location)return!1;try{return new URLSearchParams(window.location.search).get(EO)===a}catch{return!1}}const AO=()=>{const r=globalThis.process?.env?.NODE_ENV;return typeof r=="string"?r!=="production":!1};function TO(a,r){try{AO()&&console.error(`[credify-widget] ${a}:`,r),fr(r instanceof Error?r:new Error(String(r)),{tags:{source:a,failure_type:"side_effect"},level:"warning"})}catch{}}let MO=!1;function OO(){return MO}let wO;function RO(){return wO}const DO="credify-insurance-widget",xO="1.0",Kv=25,Jv=64*1024,kO=`
|
|
107
|
+
…[truncated]`;let Vg=!1,Yg=null,$g="",eb=Kv,Ff=Jv,gl=[];function NO(a){return typeof a=="string"?a:a instanceof URL?a.href:a.url}function LO(a,r){return r?.method?r.method.toUpperCase():typeof a!="string"&&!(a instanceof URL)&&a.method?a.method.toUpperCase():"GET"}function Qg(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 HO(a){try{const r=[];return new URL(a).searchParams.forEach((l,s)=>r.push({name:s,value:l})),r}catch{return[]}}function UO(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 BO(a){const r=a.length;return r<=Ff?{text:a,size:r}:{text:a.slice(0,Ff)+kO,size:r}}function zO(a){gl.push(a),gl.length>eb&&gl.shift()}function jO(a){if(Vg)return!0;if(typeof window>"u"||typeof window.fetch!="function")return!1;$g=a.baseUrl,eb=a.maxEntries??Kv,Ff=a.maxBodyBytes??Jv,Yg=window.fetch.bind(window);const r=Yg;return window.fetch=async(l,s)=>{let c;try{c=NO(l)}catch{return r(l,s)}if(!c.startsWith($g))return r(l,s);const f=Qg(s?.headers??(typeof l!="string"&&!(l instanceof URL)?l.headers:void 0)),p={startedDateTime:new Date().toISOString(),time:-1,request:{method:LO(l,s),url:c,httpVersion:"HTTP/1.1",headers:f,queryString:HO(c),cookies:[],headersSize:-1,bodySize:typeof s?.body=="string"?s.body.length:-1,postData:UO(f,s)},response:IO(),cache:{},timings:{send:0,wait:-1,receive:0}};zO(p);const m=typeof performance<"u"?performance.now():0;let y;try{y=await r(l,s)}catch(C){const _=(typeof performance<"u"?performance.now():0)-m;throw p.time=Math.round(_),p.timings.wait=Math.round(_),p.response._error=C instanceof Error?C.message:String(C),C}const g=(typeof performance<"u"?performance.now():0)-m;p.time=Math.round(g),p.timings.wait=Math.round(g),p.response.status=y.status,p.response.statusText=y.statusText,p.response.headers=Qg(y.headers),p.response.content.mimeType=typeof y.headers?.get=="function"&&y.headers.get("content-type")||"";try{y.clone().text().then(_=>{const{text:L,size:P}=BO(_);p.response.content.text=L,p.response.content.size=P,p.response.bodySize=P}).catch(()=>{})}catch{}return y},Vg=!0,!0}function IO(){return{status:0,statusText:"",httpVersion:"HTTP/1.1",headers:[],cookies:[],content:{size:0,mimeType:""},redirectURL:"",headersSize:-1,bodySize:-1}}function qO(){return{log:{version:"1.2",creator:{name:DO,version:xO},entries:gl.map(a=>({...a}))}}}function PO(){return gl.length}const GO=[/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],FO=[/\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],Oa="[REDACTED]",VO=8;function xs(a){for(const r of GO)if(r.test(a))return!0;return!1}function wa(a){let r=a;for(const l of FO)r=r.replace(l,Oa);return r}function Aa(a,r=0,l=new WeakSet){if(r>VO)return Oa;if(a==null)return a;if(typeof a=="string")return wa(a);if(typeof a!="object")return a;if(l.has(a))return Oa;if(l.add(a),Array.isArray(a))return a.map(f=>Aa(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(xs(f)){c[f]=Oa;continue}c[f]=Aa(p,r+1,l)}return c}function Xg(a){if(a.request&&(a.request.data!==void 0&&(a.request.data=Aa(a.request.data)),a.request.cookies!==void 0&&(a.request.cookies=Oa),a.request.headers)){const r=a.request.headers;for(const l of Object.keys(r))xs(l)&&(r[l]=Oa)}if(a.extra&&(a.extra=Aa(a.extra)),a.contexts&&(a.contexts=Aa(a.contexts)),a.tags&&(a.tags=Aa(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=Aa(r.data)),typeof r.message=="string"&&(r.message=wa(r.message));return typeof a.message=="string"&&(a.message=wa(a.message)),a}function Zg(a){for(const r of a)r.value=xs(r.name)?Oa:wa(r.value)}function Wg(a){try{return JSON.stringify(Aa(JSON.parse(a)))}catch{return wa(a)}}function YO(a){const r=JSON.parse(JSON.stringify(a));for(const l of r.log.entries){Zg(l.request.headers),Zg(l.response.headers);for(const s of l.request.queryString)s.value=xs(s.name)?Oa:wa(s.value);l.request.postData?.text&&(l.request.postData.text=Wg(l.request.postData.text)),l.response.content.text&&(l.response.content.text=Wg(l.response.content.text)),l.request.url=wa(l.request.url),l.response._error&&(l.response._error=wa(l.response._error))}return r}function $O(a,r={}){try{nd(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{PO()>0&&l.addAttachment({filename:"quote-failure.har",data:JSON.stringify(YO(qO())),contentType:"application/json"})}catch{}const s=a instanceof Error?a:new Error(r.message??"Quote failed");fr(s)})}catch{}}const QO=(a,r)=>{try{return a()}catch{return r}};function Ad(){return QO(()=>Na(),null)}const XO=["widgetOpened","widgetClosed","stageViewed","stageCompleted","flowCompleted","ratesViewed","ratesBack","submissionFailed","telemetry"],ps={};function ZO(a){let r=ps[a];return r||(r=new Set,ps[a]=r),r}function tb(a,r){ZO(a).add(r)}function nb(a,r){ps[a]?.delete(r)}function yi(a,...r){const l=ps[a];if(!l||l.size===0)return;const s=r[0],c={quoteId:Ad(),timestamp:Date.now()};for(const f of[...l])try{f(s,c)}catch(p){fr(p,{tags:{source:"widget-event-listener",event:a}})}}function WO(){yi("widgetOpened")}function Kg(){yi("widgetClosed")}function KO(a){yi("stageViewed",a)}function JO(a){yi("stageCompleted",a)}function ew(a){yi("ratesViewed",a)}function tw(a,r){yi("telemetry",{event:a,properties:r})}var Jg={apiKey:""};const nw=()=>{try{return typeof Jg<"u"?Jg?.apiKey:void 0}catch{return}};let e0=!1;const aw=async(a,r)=>null,ab=()=>{e0||(e0=!0,pd({baseUrl:as,storagePrefix:"credify_",source:"widget",isMockActive:Gf,isTestActive:OO,partner:RO(),mockTransport:(a,r)=>Gf()?aw():null}),_v({onQuoteFailure:(a,r)=>$O(a,{...r,quoteId:r.quoteId??void 0}),onBreadcrumb:(a,r)=>{try{xa({category:"quote",message:a,data:r,level:"info"})}catch{}},onTrack:(a,r)=>tw(a,r),onContext:a=>{try{a.product&&Kc("product",a.product),a.stage&&Kc("stage",a.stage),"quoteId"in a&&Kc("quote_id",a.quoteId??void 0)}catch{}}}),dM({apiKey:nw()}),yd(void 0))},t0="credify-widget-font",rw="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";function iw(){if(typeof document>"u"||document.getElementById(t0))return;const a=document.createElement("link");a.id=t0,a.rel="stylesheet",a.href=rw,document.head.appendChild(a)}const Td=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}),lw=Td(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M3 10.5 12 3l9 7.5"}),A.jsx("path",{d:"M5 9.5V21h14V9.5"})]})),ow=Td(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"})]})),sw=Td(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"})]})),uw=[{product:"Home",label:"Home",detail:"Cover the place you live",glyph:lw},{product:"Auto",label:"Auto",detail:"Cover your vehicles",glyph:ow},{product:"Bundle",label:"Home + Auto",detail:"Quote both home and auto coverage",glyph:sw}],cw=({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:uw.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))})]}),fw=a=>!a&&(Ds()||!!Na());var df={blandWidgetId:"",cobrowseLicense:""};function dw(){try{return typeof df<"u"&&df?df:{}}catch{return{}}}function pw(a){const r=dw(),l=r.blandWidgetId,s=r.cobrowseLicense;return{enabled:!!(l||s),blandWidgetId:l||void 0,cobrowseLicense:s||void 0,proactiveOnError:!0}}const pf=new Map;function rb(a){if(typeof document>"u")return Promise.reject(new Error("loadScript called without a document"));const r=pf.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=()=>{pf.delete(a),c(new Error(`Failed to load script: ${a}`))},document.head.appendChild(f)});return pf.set(a,l),l}const ib="https://widget.bland.ai/loader.js",Md="bland-widget-host",mw="#bland-widget-root > button",hw=20,yw=100;let bl=!1;function gw(){return typeof document>"u"?!1:!!window.blandSettings||!!document.querySelector(`script[src="${ib}"]`)||!!document.getElementById(Md)}function vw(){return document.getElementById(Md)?.shadowRoot?.querySelector(mw)??null}function bw(a,r){if(typeof window>"u"||gw())return;const l=Ad();window.blandSettings={widget_id:a,request_data:{source:"credify-insurance-widget",entry_path:window.location.pathname,...l?{quote_id:l}:{},...r}},bl=!0,rb(ib).catch(s=>{bl=!1,fr(s,{tags:{source:"widget-bland-loader"}})})}async function lb(a,r){if(typeof window>"u")return!1;bw(a,r);for(let l=0;l<hw;l+=1){const s=vw();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,yw))}return fr(new Error("Bland launcher did not mount"),{tags:{source:"widget-bland-open",owned:String(bl)}}),!1}function Sw(){typeof document>"u"||(bl&&(document.getElementById(Md)?.remove(),delete window.blandSettings),bl=!1)}const _w="https://js.cobrowse.io/CobrowseIO.js";let Vf=!1;async function Ew(a){await rb(_w);const r=window.CobrowseIO;if(!r)return null;if(!Vf){r.license=a,r.redactedViews=["input","select","textarea","[data-credify-redact]"],r.customData={quote_id:Ad()??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?.(),Vf=!0}return r}async function Cw(a){if(typeof window>"u")return null;try{const r=await Ew(a);return r?.createSessionCode?await r.createSessionCode():null}catch{return null}}function Aw(){try{window.CobrowseIO?.stop?.()}catch{}Vf=!1}let En=null,rs=null,Yf=!1;function Tw(a){Rw();const r=pw();if(En=r,!!r.enabled&&r.proactiveOnError&&r.blandWidgetId){const l=s=>{Yf||(Yf=!0,lb(r.blandWidgetId,{last_quote_error:s?.reason??"unknown"}))};tb("submissionFailed",l),rs=l}}function Mw(){return!En?.enabled||!En.blandWidgetId?Promise.resolve(!1):lb(En.blandWidgetId)}function Ow(){return!En?.enabled||!En.cobrowseLicense?Promise.resolve(null):Cw(En.cobrowseLicense)}function ww(){return!!(En?.enabled&&En.cobrowseLicense)}function Rw(){rs&&(nb("submissionFailed",rs),rs=null),Sw(),Aw(),Yf=!1,En=null}const Dw=({label:a="Share my screen"})=>{const[r,l]=w.useState(null),[s,c]=w.useState(!1),[f,p]=w.useState(!1),m=w.useCallback(async()=>{c(!0),p(!1);try{const y=await Ow();y?l(y):p(!0)}catch{p(!0)}finally{c(!1)}},[]);return ww()?A.jsxs("span",{className:"credify-widget-share",children:[A.jsx("button",{type:"button",onClick:m,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},xw="https://assets.getcredify.com",kw=()=>{try{if(typeof __CREDIFY_ASSETS__<"u"&&__CREDIFY_ASSETS__?.baseUrl)return __CREDIFY_ASSETS__.baseUrl}catch{}return xw};kw();function Nw(){return Promise.resolve(null)}const Lw=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","),Hw=new Set(["product"]),Uw=a=>a==="Home"||a==="Auto"||a==="Bundle";function Bw({isOpen:a,onClose:r,product:l}){ab(),iw();const[s,c]=w.useState(null);w.useEffect(()=>{let ce=!0;return Nw().then(Z=>{ce&&c(Z)}),()=>{ce=!1}},[]);const f=w.useRef(null),[p,m]=w.useState(null),[y,g]=w.useState(),[C,_]=w.useState(()=>fw(l)),L=w.useRef(null),P=l??y,j=w.useRef(null),K=w.useRef(null),[Y,X]=w.useState(!1),[oe,ne]=w.useState(!1),ie=w.useRef(null),I=w.useCallback((ce,Z)=>{const Te=ie.current,Be=ce.kind==="stage"?ce.stage:void 0;Te&&Te.stage&&Z.index>Te.index&&JO({stageKey:Te.stage,stageTitle:Te.stage,stepIndex:Te.index,totalSteps:Z.total}),Be&&KO({stageKey:Be,stageTitle:Z.title,stepIndex:Z.index,totalSteps:Z.total}),ce.kind==="terminal"&&ce.screen==="rates"&&ew({rateCount:0}),ie.current={stage:Be,index:Z.index}},[]);w.useEffect(()=>{a&&WO()},[a]),w.useEffect(()=>{if(!a||l||y)return;if(!L.current){const Z=Cl();Z&&(L.current=vd(Z))}if(!L.current&&!Na())return;let ce=!1;return _(!0),(async()=>{try{await L.current;const{quote:Z}=await gd(Na()??void 0),Te=Z.product;!ce&&Uw(Te)&&g(Te)}catch{}finally{ce||_(!1)}})(),()=>{ce=!0}},[a,l,y]);const ue=w.useCallback(()=>{if(oe){Kg(),r();return}X(!0)},[oe,r]),le=w.useCallback(()=>X(!1),[]),Ue=w.useCallback(()=>{X(!1),Kg(),r()},[r]),Ie=w.useCallback(ce=>{if(ce.key==="Escape"){ce.preventDefault(),Y?le():ue();return}if(ce.key!=="Tab")return;const Z=Y?j.current:f.current;if(!Z)return;const Te=Array.from(Z.querySelectorAll(Lw)).filter(q=>q.offsetParent!==null||q===document.activeElement);if(Te.length===0)return;const Be=Te[0],be=Te[Te.length-1],R=document.activeElement;ce.shiftKey&&R===Be?(ce.preventDefault(),be.focus()):!ce.shiftKey&&R===be&&(ce.preventDefault(),Be.focus())},[Y,le,ue]);w.useEffect(()=>{if(a)return window.addEventListener("keydown",Ie),()=>window.removeEventListener("keydown",Ie)},[a,Ie]),w.useEffect(()=>{if(!Y)return;const ce=window.setTimeout(()=>K.current?.focus(),0);return()=>window.clearTimeout(ce)},[Y]),w.useEffect(()=>{a||(X(!1),ne(!1),g(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:m,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:ue,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(fM,{theme:{mode:"light",accent:s?.brandColour??void 0},className:"credify-widget-scope",portalContainer:p,children:C?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…"})})}):P?A.jsx(Lv,{product:P,suppressedKeys:Hw,onScreenChange:I,onComplete:()=>ne(!0),chrome:ce=>A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame",children:ce})})}):A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame",children:A.jsx(cw,{onChoose:g})})})}),A.jsxs("div",{className:"credify-widget-footer",children:[A.jsx(Dw,{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:j,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:K,type:"button",className:"credify-widget-confirm-cancel",onClick:le,children:"Keep editing"}),A.jsx("button",{type:"button",className:"credify-widget-confirm-danger",onClick:Ue,children:"Close window"})]})]})})]})]}):null}function zw({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 mf={dsn:"",environment:"production",release:"babc50dec13945ecea53a0378fcf17a2ad0e7f68"};function jw(){try{return typeof mf<"u"&&mf?mf:{}}catch{return{}}}let n0=!1;function Iw(a,r){if(!a)return r;const l=Number(a);return Number.isFinite(l)&&l>=0&&l<=1?l:r}function qw(a={}){if(n0)return!0;if(typeof window>"u")return!1;const r=jw(),l=a.dsn??r.dsn;return!l||a.enabled===!1?!1:(jO({baseUrl:as}),Z1({dsn:l,environment:a.environment??r.environment??"production",release:a.release??r.release,sendDefaultPii:!1,maxBreadcrumbs:50,tracesSampleRate:a.tracesSampleRate??Iw(r.tracesSampleRate,.1),tracePropagationTargets:[as],replaysSessionSampleRate:0,replaysOnErrorSampleRate:1,integrations:s=>[...s.filter(c=>c.name!=="BrowserApiErrors"),q0({eventTarget:!1})],ignoreErrors:[/Java object is gone/,/Error invoking postMessage/],denyUrls:[/navigation_performance_logger/,/^iabjs:/],beforeSend:s=>Xg(s),beforeBreadcrumb:s=>s&&(Xg({breadcrumbs:[s]}),s)}),n0=!0,Q1("replayIntegration").then(s=>{try{wC(s({maskAllText:!0,maskAllInputs:!0,blockAllMedia:!0,networkDetailAllowUrls:[as],networkCaptureBodies:!1}))}catch{}}).catch(()=>{}),!0)}const a0="credify_product",r0="credify_product",Pw={home:"Home","home-insurance":"Home",homeowners:"Home",auto:"Auto","auto-insurance":"Auto",car:"Auto",vehicle:"Auto",bundle:"Bundle","bundle-insurance":"Bundle"};function i0(a){if(a)return Pw[a.trim().toLowerCase()]}let $f,l0=!1;function Gw(){try{if(typeof window>"u")return;$f=i0(window.sessionStorage?.getItem(r0)),l0=!1;const a=new URL(window.location.href),r=a.searchParams.get(a0);if(r===null)return;const l=i0(r);if(l){$f=l,l0=!0;try{window.sessionStorage?.setItem(r0,l)}catch{}}a.searchParams.delete(a0),window.history.replaceState(window.history.state,"",a.toString())}catch(a){TO("widget-product-param",a)}}function o0(){return $f}function Fw(){const[a,r]=w.useState(!1),[l,s]=w.useState(()=>(Gw(),o0()));w.useEffect(()=>{ab(),qw(),Tw()},[]);const c=w.useCallback(p=>{window.parent&&window.parent!==window&&window.parent.postMessage({type:p,source:"credify-insurance-widget"},"*")},[]);w.useEffect(()=>{const p=(y,g,C)=>{window.parent&&window.parent!==window&&window.parent.postMessage({type:"event",source:"credify-insurance-widget",event:y,data:g,meta:C},"*")},m=XO.map(y=>{const g=(C,_)=>p(y,C,_);return tb(y,g),[y,g]});return()=>{for(const[y,g]of m)nb(y,g)}},[]),w.useEffect(()=>{const p=m=>{if(m.data?.source==="credify-insurance-widget")switch(m.data.type){case"open":r(!0),c("opened");break;case"close":r(!1),c("closed");break;case"init":m.data.product&&!o0()&&s(m.data.product),c("ready");break;case"support-open":Mw();break}};return window.addEventListener("message",p),c("ready"),()=>{window.removeEventListener("message",p)}},[c]);const f=w.useCallback(()=>{r(!1),c("closed")},[c]);return A.jsx(sd,{fallback:A.jsx(zw,{onClose:f}),children:A.jsx(Bw,{isOpen:a,onClose:f,product:l})})}var Vw=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 s0=!1;function Yw(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 $w(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 Qw(){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 Xw(){if(s0||typeof window>"u"||typeof window.fetch!="function"||!Gf())return;s0=!0;const a=window.fetch.bind(window);window.fetch=async(r,l)=>{const s=Yw(r);return!s||!Vw.has(s)||await $w(r,l),a(r,l)},Qw(),typeof console<"u"&&console.info("[Credify] Mock mode active — all API calls are served from in-memory fixtures.")}Xw();x_.createRoot(document.getElementById("root")).render(A.jsx(w.StrictMode,{children:A.jsx(Fw,{})}));export{bd as $,Xv as A,Pv as B,F0 as C,$v as D,dv as E,V0 as F,WM as G,gv as H,Ed as I,Ea as J,_n as K,w_ as L,Jw as M,jM as N,Qv as O,di as P,Kw as Q,A_ as R,nr as S,LM as T,Zw as U,yv as V,lv as W,Ww as X,IM as Y,zM as Z,me as _,fv as a,Yv as a0,C_ as a1,eR as a2,wt as a3,A as b,SM as c,bM as d,ka as e,ci as f,Tg as g,ZT as h,mv as i,Zv as j,dd as k,pv as l,kM as m,Hf as n,Es as o,iv as p,XT as q,w as r,gd as s,uv as t,us as u,Iv as v,Ev as w,jv as x,Al as y,zv as z};
|