@getcredify/credify-insurance-widget 1.44.0 → 1.45.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.
Files changed (65) hide show
  1. package/README.md +5 -5
  2. package/dist/{address-BEVwov8q-CuX4iOBo.js → address-BEVwov8q-BHA-1zzm.js} +1 -1
  3. package/dist/api-BLmgLEy-.js +51 -0
  4. package/dist/{car-CR69ZjJ2.js → car-B8Sfr377.js} +1 -1
  5. package/dist/{check-Bo3wjuln.js → check-B8qTJ1zD.js} +1 -1
  6. package/dist/{copy-applicant-offer-CqzfNhkJ-C01V9k7v.js → copy-applicant-offer-BPo842pD-COcsLcbo.js} +3 -3
  7. package/dist/{copy-from-record-BNP6CFFR-B0wsM313.js → copy-from-record-DL503itm-B05F775l.js} +10 -10
  8. package/dist/{coverageDerivation-CV2ORogj-CEEm5ZWr.js → coverageDerivation-CV2ORogj-D4IAkVAP.js} +1 -1
  9. package/dist/{fixtures-ijbZ16Zg-C9Egb9wf.js → fixtures-ijbZ16Zg-CB6WPBEx.js} +1 -1
  10. package/dist/{household-prefill-CmtB9R3R-D86kYzTo.js → household-prefill-DJ-Y0NcP-TwmnYrqf.js} +30 -30
  11. package/dist/{householdPrefill-DLm3pxFH-BWVN4BLJ.js → householdPrefill-DLm3pxFH-Gudko0w4.js} +1 -1
  12. package/dist/iframe/assets/{address-BEVwov8q-BckjuR7s.js → address-BEVwov8q-RcBegFnh.js} +1 -1
  13. package/dist/iframe/assets/{car-DKll0kXc.js → car-DQIQf4LA.js} +1 -1
  14. package/dist/iframe/assets/{check-B9ojZKSs.js → check-BiNh2j82.js} +1 -1
  15. package/dist/iframe/assets/{copy-applicant-offer-CqzfNhkJ-DJkKq7un.js → copy-applicant-offer-BPo842pD-Cj352DzN.js} +1 -1
  16. package/dist/iframe/assets/{copy-from-record-BNP6CFFR-Dk7QPvpr.js → copy-from-record-DL503itm-B7hBbUhh.js} +2 -2
  17. package/dist/iframe/assets/{coverageDerivation-CV2ORogj-BaQlJ22H.js → coverageDerivation-CV2ORogj-D3oRqD1U.js} +1 -1
  18. package/dist/iframe/assets/{dob-calendar-RIJ5S6YU-C3ZYmy3v.js → dob-calendar-RIJ5S6YU-vOGgSHSK.js} +1 -1
  19. package/dist/iframe/assets/{fixtures-ijbZ16Zg-B0KKADMf.js → fixtures-ijbZ16Zg-BmEw6uDw.js} +1 -1
  20. package/dist/iframe/assets/household-prefill-DJ-Y0NcP-z6AnkJcR.js +1 -0
  21. package/dist/iframe/assets/{householdPrefill-DLm3pxFH-DNBBTd54.js → householdPrefill-DLm3pxFH-BZXueCa7.js} +1 -1
  22. package/dist/iframe/assets/iframe-ku_diR98.js +107 -0
  23. package/dist/iframe/assets/{index-D81Toecg.js → index-IiQzPjFm.js} +2 -2
  24. package/dist/iframe/assets/intake-review-panel-CWz2efw4-CP-sEc-j.js +1 -0
  25. package/dist/iframe/assets/{mockJump-hNzgzUmO-B4HifTQZ.js → mockJump-H1NFTDah-yzeq4yea.js} +1 -1
  26. package/dist/iframe/assets/payload-CQc06PZC-BxklUdmW.js +1 -0
  27. package/dist/iframe/assets/{question-list-DFjWa8ZA-5HX-Q_DR.js → question-list-CcoyuyQD-DCzTkzeE.js} +11 -11
  28. package/dist/iframe/assets/rates-panel-MXCbnqpL-TFkvW-DN.js +17 -0
  29. package/dist/iframe/assets/{review-panel-C_WxX33U-BnudlA3G.js → review-panel-CFVxGU7F-CqUUCDLK.js} +2 -2
  30. package/dist/iframe/assets/stage-BSRsu--X-BAWfI2cm.js +1 -0
  31. package/dist/iframe/assets/validation-ELW00AsL-ytOMlsxG.js +3 -0
  32. package/dist/iframe/assets/{vehicleCoverage-CBWORI1l-Bs6c4Xhh.js → vehicleCoverage-DI2dKrnI-DVXwPfxd.js} +1 -1
  33. package/dist/iframe/assets/{visibility-CKRGC3Il-DVTBboJH.js → visibility-CyRoLvg5-CxslMJYX.js} +1 -1
  34. package/dist/iframe/assets/waves-vdL6w3zC.js +16 -0
  35. package/dist/iframe/iframe.html +1 -1
  36. package/dist/{index-7nmHdjZ4.js → index-IZRzz1Mi.js} +1 -1
  37. package/dist/index.es.js +1 -1
  38. package/dist/index.umd.js +103 -103
  39. package/dist/{intake-review-panel-D27t8CZO-CKLXjEb0.js → intake-review-panel-CWz2efw4-BQ-Nog4K.js} +27 -27
  40. package/dist/{mockJump-hNzgzUmO-De8oea8T.js → mockJump-H1NFTDah-CkqZVQxf.js} +1 -1
  41. package/dist/{payload-DrGFAxms-CivFCNuj.js → payload-CQc06PZC-KA6cBCno.js} +26 -26
  42. package/dist/{question-list-DFjWa8ZA-sWgoo34K.js → question-list-CcoyuyQD-_c4J4n0G.js} +51 -51
  43. package/dist/rates-panel-MXCbnqpL-DGYBAFto.js +1323 -0
  44. package/dist/{review-panel-C_WxX33U-qkUKI77r.js → review-panel-CFVxGU7F-CtO3WmnD.js} +51 -51
  45. package/dist/stage-BSRsu--X-DJs8ps3K.js +197 -0
  46. package/dist/utils/branding.d.ts +1 -1
  47. package/dist/utils/prefill.d.ts +2 -4
  48. package/dist/{validation-D42QXxck-DFkyiEd-.js → validation-ELW00AsL-C4xgPdbr.js} +341 -343
  49. package/dist/{vehicleCoverage-CBWORI1l-Br309K1G.js → vehicleCoverage-DI2dKrnI-Lq9BCjQm.js} +3 -3
  50. package/dist/{visibility-CKRGC3Il-SsuTwW3e.js → visibility-CyRoLvg5-DNRgF2sH.js} +6 -6
  51. package/dist/waves-DM8Lgssk.js +71 -0
  52. package/dist/{widget-Bc0CD2Yh.js → widget-3S1xkGig.js} +2972 -2827
  53. package/package.json +2 -2
  54. package/dist/api-DYP3b3gY.js +0 -51
  55. package/dist/core-CrEw_I-E-D_5b2Ij3.js +0 -417
  56. package/dist/iframe/assets/core-CrEw_I-E-Cgrp_zkJ.js +0 -16
  57. package/dist/iframe/assets/household-prefill-CmtB9R3R-DtfByJ8T.js +0 -1
  58. package/dist/iframe/assets/iframe-Chy4dD4i.js +0 -107
  59. package/dist/iframe/assets/intake-review-panel-D27t8CZO-CyXFTi_6.js +0 -1
  60. package/dist/iframe/assets/payload-DrGFAxms-CKeiScMv.js +0 -1
  61. package/dist/iframe/assets/rates-panel-BSFiWEZX-CUbwWzwJ.js +0 -17
  62. package/dist/iframe/assets/stage-knShj71W-BrRsgDlE.js +0 -1
  63. package/dist/iframe/assets/validation-D42QXxck-DJUS31-5.js +0 -3
  64. package/dist/rates-panel-BSFiWEZX-D2Z8IzSh.js +0 -1001
  65. package/dist/stage-knShj71W-Cndh8rxW.js +0 -197
@@ -0,0 +1,107 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/stage-BSRsu--X-BAWfI2cm.js","assets/types-LUGvo5ic-CB-wcgK3.js","assets/visibility-CyRoLvg5-CxslMJYX.js","assets/validation-ELW00AsL-ytOMlsxG.js","assets/vehicleCoverage-DI2dKrnI-DVXwPfxd.js","assets/payload-CQc06PZC-BxklUdmW.js","assets/address-BEVwov8q-RcBegFnh.js","assets/question-list-CcoyuyQD-DCzTkzeE.js","assets/householdPrefill-DLm3pxFH-BZXueCa7.js","assets/copy-from-record-DL503itm-B7hBbUhh.js","assets/check-BiNh2j82.js","assets/coverageDerivation-CV2ORogj-D3oRqD1U.js","assets/index-IiQzPjFm.js","assets/waves-vdL6w3zC.js","assets/car-DQIQf4LA.js","assets/household-prefill-DJ-Y0NcP-z6AnkJcR.js","assets/copy-applicant-offer-BPo842pD-Cj352DzN.js","assets/review-panel-CFVxGU7F-CqUUCDLK.js","assets/intake-review-panel-CWz2efw4-CP-sEc-j.js","assets/rates-panel-MXCbnqpL-TFkvW-DN.js"])))=>i.map(i=>d[i]);
2
+ function MS(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 wS(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Wc={exports:{}},ml={};/**
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 Ty;function OS(){if(Ty)return ml;Ty=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 ml.Fragment=r,ml.jsx=l,ml.jsxs=l,ml}var My;function RS(){return My||(My=1,Wc.exports=OS()),Wc.exports}var A=RS(),Kc={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 wy;function DS(){if(wy)return pe;wy=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"),g=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),U=Symbol.iterator;function P(v){return v===null||typeof v!="object"?null:(v=U&&v[U]||v["@@iterator"],typeof v=="function"?v:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},K=Object.assign,V={};function ie(v,N,F){this.props=v,this.context=N,this.refs=V,this.updater=F||j}ie.prototype.isReactComponent={},ie.prototype.setState=function(v,N){if(typeof v!="object"&&typeof v!="function"&&v!=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,v,N,"setState")},ie.prototype.forceUpdate=function(v){this.updater.enqueueForceUpdate(this,v,"forceUpdate")};function me(){}me.prototype=ie.prototype;function re(v,N,F){this.props=v,this.context=N,this.refs=V,this.updater=F||j}var fe=re.prototype=new me;fe.constructor=re,K(fe,ie.prototype),fe.isPureReactComponent=!0;var B=Array.isArray;function _e(){}var Q={H:null,A:null,T:null,S:null},et=Object.prototype.hasOwnProperty;function xe(v,N,F){var $=F.ref;return{$$typeof:a,type:v,key:N,ref:$!==void 0?$:null,props:F}}function nt(v,N){return xe(v.type,N,v.props)}function ce(v){return typeof v=="object"&&v!==null&&v.$$typeof===a}function Z(v){var N={"=":"=0",":":"=2"};return"$"+v.replace(/[=:]/g,function(F){return N[F]})}var Le=/\/+/g;function Xe(v,N){return typeof v=="object"&&v!==null&&v.key!=null?Z(""+v.key):N.toString(36)}function Pe(v){switch(v.status){case"fulfilled":return v.value;case"rejected":throw v.reason;default:switch(typeof v.status=="string"?v.then(_e,_e):(v.status="pending",v.then(function(N){v.status==="pending"&&(v.status="fulfilled",v.value=N)},function(N){v.status==="pending"&&(v.status="rejected",v.reason=N)})),v.status){case"fulfilled":return v.value;case"rejected":throw v.reason}}throw v}function D(v,N,F,$,J){var ne=typeof v;(ne==="undefined"||ne==="boolean")&&(v=null);var Me=!1;if(v===null)Me=!0;else switch(ne){case"bigint":case"string":case"number":Me=!0;break;case"object":switch(v.$$typeof){case a:case r:Me=!0;break;case E:return Me=v._init,D(Me(v._payload),N,F,$,J)}}if(Me)return J=J(v),Me=$===""?"."+Xe(v,0):$,B(J)?(F="",Me!=null&&(F=Me.replace(Le,"$&/")+"/"),D(J,N,F,"",function(ht){return ht})):J!=null&&(ce(J)&&(J=nt(J,F+(J.key==null||v&&v.key===J.key?"":(""+J.key).replace(Le,"$&/")+"/")+Me)),N.push(J)),1;Me=0;var Ge=$===""?".":$+":";if(B(v))for(var Y=0;Y<v.length;Y++)$=v[Y],ne=Ge+Xe($,Y),Me+=D($,N,F,ne,J);else if(Y=P(v),typeof Y=="function")for(v=Y.call(v),Y=0;!($=v.next()).done;)$=$.value,ne=Ge+Xe($,Y++),Me+=D($,N,F,ne,J);else if(ne==="object"){if(typeof v.then=="function")return D(Pe(v),N,F,$,J);throw N=String(v),Error("Objects are not valid as a React child (found: "+(N==="[object Object]"?"object with keys {"+Object.keys(v).join(", ")+"}":N)+"). If you meant to render a collection of children, use an array instead.")}return Me}function q(v,N,F){if(v==null)return v;var $=[],J=0;return D(v,$,"","",function(ne){return N.call(F,ne,J++)}),$}function te(v){if(v._status===-1){var N=v._result;N=N(),N.then(function(F){(v._status===0||v._status===-1)&&(v._status=1,v._result=F)},function(F){(v._status===0||v._status===-1)&&(v._status=2,v._result=F)}),v._status===-1&&(v._status=0,v._result=N)}if(v._status===1)return v._result.default;throw v._result}var ye=typeof reportError=="function"?reportError:function(v){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var N=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v),error:v});if(!window.dispatchEvent(N))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",v);return}console.error(v)},se={map:q,forEach:function(v,N,F){q(v,function(){N.apply(this,arguments)},F)},count:function(v){var N=0;return q(v,function(){N++}),N},toArray:function(v){return q(v,function(N){return N})||[]},only:function(v){if(!ce(v))throw Error("React.Children.only expected to receive a single React element child.");return v}};return pe.Activity=S,pe.Children=se,pe.Component=ie,pe.Fragment=l,pe.Profiler=c,pe.PureComponent=re,pe.StrictMode=s,pe.Suspense=g,pe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Q,pe.__COMPILER_RUNTIME={__proto__:null,c:function(v){return Q.H.useMemoCache(v)}},pe.cache=function(v){return function(){return v.apply(null,arguments)}},pe.cacheSignal=function(){return null},pe.cloneElement=function(v,N,F){if(v==null)throw Error("The argument must be a React element, but you passed "+v+".");var $=K({},v.props),J=v.key;if(N!=null)for(ne in N.key!==void 0&&(J=""+N.key),N)!et.call(N,ne)||ne==="key"||ne==="__self"||ne==="__source"||ne==="ref"&&N.ref===void 0||($[ne]=N[ne]);var ne=arguments.length-2;if(ne===1)$.children=F;else if(1<ne){for(var Me=Array(ne),Ge=0;Ge<ne;Ge++)Me[Ge]=arguments[Ge+2];$.children=Me}return xe(v.type,J,$)},pe.createContext=function(v){return v={$$typeof:p,_currentValue:v,_currentValue2:v,_threadCount:0,Provider:null,Consumer:null},v.Provider=v,v.Consumer={$$typeof:f,_context:v},v},pe.createElement=function(v,N,F){var $,J={},ne=null;if(N!=null)for($ in N.key!==void 0&&(ne=""+N.key),N)et.call(N,$)&&$!=="key"&&$!=="__self"&&$!=="__source"&&(J[$]=N[$]);var Me=arguments.length-2;if(Me===1)J.children=F;else if(1<Me){for(var Ge=Array(Me),Y=0;Y<Me;Y++)Ge[Y]=arguments[Y+2];J.children=Ge}if(v&&v.defaultProps)for($ in Me=v.defaultProps,Me)J[$]===void 0&&(J[$]=Me[$]);return xe(v,ne,J)},pe.createRef=function(){return{current:null}},pe.forwardRef=function(v){return{$$typeof:m,render:v}},pe.isValidElement=ce,pe.lazy=function(v){return{$$typeof:E,_payload:{_status:-1,_result:v},_init:te}},pe.memo=function(v,N){return{$$typeof:y,type:v,compare:N===void 0?null:N}},pe.startTransition=function(v){var N=Q.T,F={};Q.T=F;try{var $=v(),J=Q.S;J!==null&&J(F,$),typeof $=="object"&&$!==null&&typeof $.then=="function"&&$.then(_e,ye)}catch(ne){ye(ne)}finally{N!==null&&F.types!==null&&(N.types=F.types),Q.T=N}},pe.unstable_useCacheRefresh=function(){return Q.H.useCacheRefresh()},pe.use=function(v){return Q.H.use(v)},pe.useActionState=function(v,N,F){return Q.H.useActionState(v,N,F)},pe.useCallback=function(v,N){return Q.H.useCallback(v,N)},pe.useContext=function(v){return Q.H.useContext(v)},pe.useDebugValue=function(){},pe.useDeferredValue=function(v,N){return Q.H.useDeferredValue(v,N)},pe.useEffect=function(v,N){return Q.H.useEffect(v,N)},pe.useEffectEvent=function(v){return Q.H.useEffectEvent(v)},pe.useId=function(){return Q.H.useId()},pe.useImperativeHandle=function(v,N,F){return Q.H.useImperativeHandle(v,N,F)},pe.useInsertionEffect=function(v,N){return Q.H.useInsertionEffect(v,N)},pe.useLayoutEffect=function(v,N){return Q.H.useLayoutEffect(v,N)},pe.useMemo=function(v,N){return Q.H.useMemo(v,N)},pe.useOptimistic=function(v,N){return Q.H.useOptimistic(v,N)},pe.useReducer=function(v,N,F){return Q.H.useReducer(v,N,F)},pe.useRef=function(v){return Q.H.useRef(v)},pe.useState=function(v){return Q.H.useState(v)},pe.useSyncExternalStore=function(v,N,F){return Q.H.useSyncExternalStore(v,N,F)},pe.useTransition=function(){return Q.H.useTransition()},pe.version="19.2.7",pe}var Oy;function ad(){return Oy||(Oy=1,Kc.exports=DS()),Kc.exports}var T=ad();const xS=wS(T),kS=MS({__proto__:null,default:xS},[T]);var Jc={exports:{}},hl={},ef={exports:{}},tf={};/**
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 Ry;function NS(){return Ry||(Ry=1,(function(a){function r(D,q){var te=D.length;D.push(q);e:for(;0<te;){var ye=te-1>>>1,se=D[ye];if(0<c(se,q))D[ye]=q,D[te]=se,te=ye;else break e}}function l(D){return D.length===0?null:D[0]}function s(D){if(D.length===0)return null;var q=D[0],te=D.pop();if(te!==q){D[0]=te;e:for(var ye=0,se=D.length,v=se>>>1;ye<v;){var N=2*(ye+1)-1,F=D[N],$=N+1,J=D[$];if(0>c(F,te))$<se&&0>c(J,F)?(D[ye]=J,D[$]=te,ye=$):(D[ye]=F,D[N]=te,ye=N);else if($<se&&0>c(J,te))D[ye]=J,D[$]=te,ye=$;else break e}}return q}function c(D,q){var te=D.sortIndex-q.sortIndex;return te!==0?te:D.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 g=[],y=[],E=1,S=null,U=3,P=!1,j=!1,K=!1,V=!1,ie=typeof setTimeout=="function"?setTimeout:null,me=typeof clearTimeout=="function"?clearTimeout:null,re=typeof setImmediate<"u"?setImmediate:null;function fe(D){for(var q=l(y);q!==null;){if(q.callback===null)s(y);else if(q.startTime<=D)s(y),q.sortIndex=q.expirationTime,r(g,q);else break;q=l(y)}}function B(D){if(K=!1,fe(D),!j)if(l(g)!==null)j=!0,_e||(_e=!0,Z());else{var q=l(y);q!==null&&Pe(B,q.startTime-D)}}var _e=!1,Q=-1,et=5,xe=-1;function nt(){return V?!0:!(a.unstable_now()-xe<et)}function ce(){if(V=!1,_e){var D=a.unstable_now();xe=D;var q=!0;try{e:{j=!1,K&&(K=!1,me(Q),Q=-1),P=!0;var te=U;try{t:{for(fe(D),S=l(g);S!==null&&!(S.expirationTime>D&&nt());){var ye=S.callback;if(typeof ye=="function"){S.callback=null,U=S.priorityLevel;var se=ye(S.expirationTime<=D);if(D=a.unstable_now(),typeof se=="function"){S.callback=se,fe(D),q=!0;break t}S===l(g)&&s(g),fe(D)}else s(g);S=l(g)}if(S!==null)q=!0;else{var v=l(y);v!==null&&Pe(B,v.startTime-D),q=!1}}break e}finally{S=null,U=te,P=!1}q=void 0}}finally{q?Z():_e=!1}}}var Z;if(typeof re=="function")Z=function(){re(ce)};else if(typeof MessageChannel<"u"){var Le=new MessageChannel,Xe=Le.port2;Le.port1.onmessage=ce,Z=function(){Xe.postMessage(null)}}else Z=function(){ie(ce,0)};function Pe(D,q){Q=ie(function(){D(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(D){D.callback=null},a.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):et=0<D?Math.floor(1e3/D):5},a.unstable_getCurrentPriorityLevel=function(){return U},a.unstable_next=function(D){switch(U){case 1:case 2:case 3:var q=3;break;default:q=U}var te=U;U=q;try{return D()}finally{U=te}},a.unstable_requestPaint=function(){V=!0},a.unstable_runWithPriority=function(D,q){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var te=U;U=D;try{return q()}finally{U=te}},a.unstable_scheduleCallback=function(D,q,te){var ye=a.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?ye+te:ye):te=ye,D){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=te+se,D={id:E++,callback:q,priorityLevel:D,startTime:te,expirationTime:se,sortIndex:-1},te>ye?(D.sortIndex=te,r(y,D),l(g)===null&&D===l(y)&&(K?(me(Q),Q=-1):K=!0,Pe(B,te-ye))):(D.sortIndex=se,r(g,D),j||P||(j=!0,_e||(_e=!0,Z()))),D},a.unstable_shouldYield=nt,a.unstable_wrapCallback=function(D){var q=U;return function(){var te=U;U=q;try{return D.apply(this,arguments)}finally{U=te}}}})(tf)),tf}var Dy;function LS(){return Dy||(Dy=1,ef.exports=NS()),ef.exports}var nf={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 xy;function HS(){if(xy)return At;xy=1;var a=ad();function r(g){var y="https://react.dev/errors/"+g;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var E=2;E<arguments.length;E++)y+="&args[]="+encodeURIComponent(arguments[E])}return"Minified React error #"+g+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var s={d:{f:l,r:function(){throw Error(r(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(g,y,E){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:S==null?null:""+S,children:g,containerInfo:y,implementation:E}}var p=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(g,y){if(g==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return At.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,At.createPortal=function(g,y){var E=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(r(299));return f(g,y,null,E)},At.flushSync=function(g){var y=p.T,E=s.p;try{if(p.T=null,s.p=2,g)return g()}finally{p.T=y,s.p=E,s.d.f()}},At.preconnect=function(g,y){typeof g=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,s.d.C(g,y))},At.prefetchDNS=function(g){typeof g=="string"&&s.d.D(g)},At.preinit=function(g,y){if(typeof g=="string"&&y&&typeof y.as=="string"){var E=y.as,S=m(E,y.crossOrigin),U=typeof y.integrity=="string"?y.integrity:void 0,P=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;E==="style"?s.d.S(g,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:S,integrity:U,fetchPriority:P}):E==="script"&&s.d.X(g,{crossOrigin:S,integrity:U,fetchPriority:P,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},At.preinitModule=function(g,y){if(typeof g=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var E=m(y.as,y.crossOrigin);s.d.M(g,{crossOrigin:E,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&s.d.M(g)},At.preload=function(g,y){if(typeof g=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var E=y.as,S=m(E,y.crossOrigin);s.d.L(g,E,{crossOrigin:S,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},At.preloadModule=function(g,y){if(typeof g=="string")if(y){var E=m(y.as,y.crossOrigin);s.d.m(g,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:E,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else s.d.m(g)},At.requestFormReset=function(g){s.d.r(g)},At.unstable_batchedUpdates=function(g,y){return g(y)},At.useFormState=function(g,y,E){return p.H.useFormState(g,y,E)},At.useFormStatus=function(){return p.H.useHostTransitionStatus()},At.version="19.2.7",At}var ky;function US(){if(ky)return nf.exports;ky=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(),nf.exports=HS(),nf.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 Ny;function zS(){if(Ny)return hl;Ny=1;var a=LS(),r=ad(),l=US();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 g(e){if(f(e)!==e)throw Error(s(188))}function y(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(s(188));return t!==e?null:e}for(var n=e,i=t;;){var o=n.return;if(o===null)break;var u=o.alternate;if(u===null){if(i=o.return,i!==null){n=i;continue}break}if(o.child===u.child){for(u=o.child;u;){if(u===n)return g(o),e;if(u===i)return g(o),t;u=u.sibling}throw Error(s(188))}if(n.return!==i.return)n=o,i=u;else{for(var d=!1,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 E(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=E(e),t!==null)return t;e=e.sibling}return null}var S=Object.assign,U=Symbol.for("react.element"),P=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),K=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),ie=Symbol.for("react.profiler"),me=Symbol.for("react.consumer"),re=Symbol.for("react.context"),fe=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),_e=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),et=Symbol.for("react.lazy"),xe=Symbol.for("react.activity"),nt=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 Le=Symbol.for("react.client.reference");function Xe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Le?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case K:return"Fragment";case ie:return"Profiler";case V:return"StrictMode";case B:return"Suspense";case _e:return"SuspenseList";case xe:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case j:return"Portal";case re:return e.displayName||"Context";case me:return(e._context.displayName||"Context")+".Consumer";case fe:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Q:return t=e.displayName||null,t!==null?t:Xe(e.type)||"Memo";case et:t=e._payload,e=e._init;try{return Xe(e(t))}catch{}}return null}var Pe=Array.isArray,D=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,te={pending:!1,data:null,method:null,action:null},ye=[],se=-1;function v(e){return{current:e}}function N(e){0>se||(e.current=ye[se],ye[se]=null,se--)}function F(e,t){se++,ye[se]=e.current,e.current=t}var $=v(null),J=v(null),ne=v(null),Me=v(null);function Ge(e,t){switch(F(ne,t),F(J,e),F($,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Qh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Qh(t),e=Zh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}N($),F($,e)}function Y(){N($),N(J),N(ne)}function ht(e){e.memoizedState!==null&&F(Me,e);var t=$.current,n=Zh(t,e.type);t!==n&&(F(J,e),F($,n))}function bn(e){J.current===e&&(N($),N(J)),Me.current===e&&(N(Me),cl._currentValue=te)}var zt,Kn;function Bt(e){if(zt===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);zt=t&&t[1]||"",Kn=-1<n.stack.indexOf(`
43
+ at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
44
+ `+zt+e+Kn}var vr=!1;function br(e,t){if(!e||vr)return"";vr=!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(R){var O=R}Reflect.construct(e,[],H)}else{try{H.call()}catch(R){O=R}e.call(H.prototype)}}else{try{throw Error()}catch(R){O=R}(H=e())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(R){if(R&&O&&typeof R.stack=="string")return[R.stack,O.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=i.DetermineComponentFrameRoot(),d=u[0],h=u[1];if(d&&h){var b=d.split(`
45
+ `),w=h.split(`
46
+ `);for(o=i=0;i<b.length&&!b[i].includes("DetermineComponentFrameRoot");)i++;for(;o<w.length&&!w[o].includes("DetermineComponentFrameRoot");)o++;if(i===b.length||o===w.length)for(i=b.length-1,o=w.length-1;1<=i&&0<=o&&b[i]!==w[o];)o--;for(;1<=i&&0<=o;i--,o--)if(b[i]!==w[o]){if(i!==1||o!==1)do if(i--,o--,0>o||b[i]!==w[o]){var x=`
47
+ `+b[i].replace(" at new "," at ");return e.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",e.displayName)),x}while(1<=i&&0<=o);break}}}finally{vr=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Bt(n):""}function js(e,t){switch(e.tag){case 26:case 27:case 5:return Bt(e.type);case 16:return Bt("Lazy");case 13:return e.child!==t&&t!==null?Bt("Suspense Fallback"):Bt("Suspense");case 19:return Bt("SuspenseList");case 0:case 15:return br(e.type,!1);case 11:return br(e.type.render,!1);case 1:return br(e.type,!0);case 31:return Bt("Activity");default:return""}}function yt(e){try{var t="",n=null;do t+=js(e,n),n=e,e=e.return;while(e);return t}catch(i){return`
48
+ Error generating stack: `+i.message+`
49
+ `+i.stack}}var bi=Object.prototype.hasOwnProperty,Mn=a.unstable_scheduleCallback,cn=a.unstable_cancelCallback,xl=a.unstable_shouldYield,kl=a.unstable_requestPaint,ze=a.unstable_now,Jn=a.unstable_getCurrentPriorityLevel,wn=a.unstable_ImmediatePriority,_i=a.unstable_UserBlockingPriority,Ba=a.unstable_NormalPriority,Nl=a.unstable_LowPriority,Si=a.unstable_IdlePriority,Ll=a.log,Ei=a.unstable_setDisableYieldValue,ja=null,Mt=null;function Qt(e){if(typeof Ll=="function"&&Ei(e),Mt&&typeof Mt.setStrictMode=="function")try{Mt.setStrictMode(ja,e)}catch{}}var dt=Math.clz32?Math.clz32:_r,Is=Math.log,qs=Math.LN2;function _r(e){return e>>>=0,e===0?32:31-(Is(e)/qs|0)|0}var Sr=256,ea=262144,Ia=4194304;function fn(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 qa(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=fn(i):(d&=h,d!==0?o=fn(d):n||(n=h&~e,n!==0&&(o=fn(n))))):(h=i&~u,h!==0?o=fn(h):d!==0?o=fn(d):n||(n=i&~e,n!==0&&(o=fn(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 ta(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ps(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 Er(){var e=Ia;return Ia<<=1,(Ia&62914560)===0&&(Ia=4194304),e}function Ci(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function jt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function L(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,b=e.expirationTimes,w=e.hiddenUpdates;for(n=d&~n;0<n;){var x=31-dt(n),H=1<<x;h[x]=0,b[x]=-1;var O=w[x];if(O!==null)for(w[x]=null,x=0;x<O.length;x++){var R=O[x];R!==null&&(R.lane&=-536870913)}n&=~H}i!==0&&z(e,i,0),u!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=u&~(d&~t))}function z(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-dt(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|n&261930}function G(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-dt(n),o=1<<i;o&t|e[i]&t&&(e[i]|=t),n&=~o}}function I(e,t){var n=t&-t;return n=(n&42)!==0?1:X(n),(n&(e.suspendedLanes|t))!==0?0:n}function X(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 ue(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Ce(){var e=q.p;return e!==0?e:(e=window.event,e===void 0?32:vy(e.type))}function De(e,t){var n=q.p;try{return q.p=e,t()}finally{q.p=n}}var be=Math.random().toString(36).slice(2),Se="__reactFiber$"+be,Be="__reactProps$"+be,Fe="__reactContainer$"+be,Rt="__reactEvents$"+be,Dt="__reactListeners$"+be,Hl="__reactHandles$"+be,Ai="__reactResources$"+be,Ti="__reactMarker$"+be;function Gs(e){delete e[Se],delete e[Be],delete e[Rt],delete e[Dt],delete e[Hl]}function Cr(e){var t=e[Se];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Fe]||n[Se]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ny(e);e!==null;){if(n=e[Se])return n;e=ny(e)}return t}e=n,n=e.parentNode}return null}function Ar(e){if(e=e[Se]||e[Fe]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Mi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(s(33))}function Tr(e){var t=e[Ai];return t||(t=e[Ai]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function gt(e){e[Ti]=!0}var Ud=new Set,zd={};function Pa(e,t){Mr(e,t),Mr(e+"Capture",t)}function Mr(e,t){for(zd[e]=t,e=0;e<t.length;e++)Ud.add(t[e])}var gb=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]*$"),Bd={},jd={};function vb(e){return bi.call(jd,e)?!0:bi.call(Bd,e)?!1:gb.test(e)?jd[e]=!0:(Bd[e]=!0,!1)}function Ul(e,t,n){if(vb(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 zl(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 On(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 Zt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Id(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bb(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 Fs(e){if(!e._valueTracker){var t=Id(e)?"checked":"value";e._valueTracker=bb(e,t,""+e[t])}}function qd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=Id(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function Bl(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 _b=/[\n"\\]/g;function Xt(e){return e.replace(_b,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Vs(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=""+Zt(t)):e.value!==""+Zt(t)&&(e.value=""+Zt(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?Ys(e,d,Zt(t)):n!=null?Ys(e,d,Zt(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=""+Zt(h):e.removeAttribute("name")}function Pd(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)){Fs(e);return}n=n!=null?""+Zt(n):"",t=t!=null?""+Zt(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),Fs(e)}function Ys(e,t,n){t==="number"&&Bl(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function wr(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=""+Zt(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 Gd(e,t,n){if(t!=null&&(t=""+Zt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Zt(n):""}function Fd(e,t,n,i){if(t==null){if(i!=null){if(n!=null)throw Error(s(92));if(Pe(i)){if(1<i.length)throw Error(s(93));i=i[0]}n=i}n==null&&(n=""),t=n}n=Zt(t),e.defaultValue=n,i=e.textContent,i===n&&i!==""&&i!==null&&(e.value=i),Fs(e)}function Or(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Sb=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 Vd(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||Sb.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Yd(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&&Vd(e,o,i)}else for(var u in t)t.hasOwnProperty(u)&&Vd(e,u,t[u])}function $s(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 Eb=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"]]),Cb=/^[\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 jl(e){return Cb.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Rn(){}var Qs=null;function Zs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Rr=null,Dr=null;function $d(e){var t=Ar(e);if(t&&(e=t.stateNode)){var n=e[Be]||null;e:switch(e=t.stateNode,t.type){case"input":if(Vs(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="'+Xt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var o=i[Be]||null;if(!o)throw Error(s(90));Vs(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&&qd(i)}break e;case"textarea":Gd(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&wr(e,!!n.multiple,t,!1)}}}var Xs=!1;function Qd(e,t,n){if(Xs)return e(t,n);Xs=!0;try{var i=e(t);return i}finally{if(Xs=!1,(Rr!==null||Dr!==null)&&(wo(),Rr&&(t=Rr,e=Dr,Dr=Rr=null,$d(t),e)))for(t=0;t<e.length;t++)$d(e[t])}}function wi(e,t){var n=e.stateNode;if(n===null)return null;var i=n[Be]||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 Dn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ws=!1;if(Dn)try{var Oi={};Object.defineProperty(Oi,"passive",{get:function(){Ws=!0}}),window.addEventListener("test",Oi,Oi),window.removeEventListener("test",Oi,Oi)}catch{Ws=!1}var na=null,Ks=null,Il=null;function Zd(){if(Il)return Il;var e,t=Ks,n=t.length,i,o="value"in na?na.value:na.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 Il=o.slice(e,1<i?1-i:void 0)}function ql(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 Pl(){return!0}function Xd(){return!1}function xt(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)?Pl:Xd,this.isPropagationStopped=Xd,this}return S(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=Pl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Pl)},persist:function(){},isPersistent:Pl}),t}var Ga={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gl=xt(Ga),Ri=S({},Ga,{view:0,detail:0}),Ab=xt(Ri),Js,eu,Di,Fl=S({},Ri,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:nu,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!==Di&&(Di&&e.type==="mousemove"?(Js=e.screenX-Di.screenX,eu=e.screenY-Di.screenY):eu=Js=0,Di=e),Js)},movementY:function(e){return"movementY"in e?e.movementY:eu}}),Wd=xt(Fl),Tb=S({},Fl,{dataTransfer:0}),Mb=xt(Tb),wb=S({},Ri,{relatedTarget:0}),tu=xt(wb),Ob=S({},Ga,{animationName:0,elapsedTime:0,pseudoElement:0}),Rb=xt(Ob),Db=S({},Ga,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),xb=xt(Db),kb=S({},Ga,{data:0}),Kd=xt(kb),Nb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lb={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"},Hb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ub(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Hb[e])?!!t[e]:!1}function nu(){return Ub}var zb=S({},Ri,{key:function(e){if(e.key){var t=Nb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ql(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Lb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:nu,charCode:function(e){return e.type==="keypress"?ql(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ql(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Bb=xt(zb),jb=S({},Fl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jd=xt(jb),Ib=S({},Ri,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:nu}),qb=xt(Ib),Pb=S({},Ga,{propertyName:0,elapsedTime:0,pseudoElement:0}),Gb=xt(Pb),Fb=S({},Fl,{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}),Vb=xt(Fb),Yb=S({},Ga,{newState:0,oldState:0}),$b=xt(Yb),Qb=[9,13,27,32],au=Dn&&"CompositionEvent"in window,xi=null;Dn&&"documentMode"in document&&(xi=document.documentMode);var Zb=Dn&&"TextEvent"in window&&!xi,ep=Dn&&(!au||xi&&8<xi&&11>=xi),tp=" ",np=!1;function ap(e,t){switch(e){case"keyup":return Qb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xr=!1;function Xb(e,t){switch(e){case"compositionend":return rp(t);case"keypress":return t.which!==32?null:(np=!0,tp);case"textInput":return e=t.data,e===tp&&np?null:e;default:return null}}function Wb(e,t){if(xr)return e==="compositionend"||!au&&ap(e,t)?(e=Zd(),Il=Ks=na=null,xr=!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 ep&&t.locale!=="ko"?null:t.data;default:return null}}var Kb={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 ip(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Kb[e.type]:t==="textarea"}function lp(e,t,n,i){Rr?Dr?Dr.push(i):Dr=[i]:Rr=i,t=Lo(t,"onChange"),0<t.length&&(n=new Gl("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var ki=null,Ni=null;function Jb(e){Ph(e,0)}function Vl(e){var t=Mi(e);if(qd(t))return e}function op(e,t){if(e==="change")return t}var sp=!1;if(Dn){var ru;if(Dn){var iu="oninput"in document;if(!iu){var up=document.createElement("div");up.setAttribute("oninput","return;"),iu=typeof up.oninput=="function"}ru=iu}else ru=!1;sp=ru&&(!document.documentMode||9<document.documentMode)}function cp(){ki&&(ki.detachEvent("onpropertychange",fp),Ni=ki=null)}function fp(e){if(e.propertyName==="value"&&Vl(Ni)){var t=[];lp(t,Ni,e,Zs(e)),Qd(Jb,t)}}function e_(e,t,n){e==="focusin"?(cp(),ki=t,Ni=n,ki.attachEvent("onpropertychange",fp)):e==="focusout"&&cp()}function t_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Vl(Ni)}function n_(e,t){if(e==="click")return Vl(t)}function a_(e,t){if(e==="input"||e==="change")return Vl(t)}function r_(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var It=typeof Object.is=="function"?Object.is:r_;function Li(e,t){if(It(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(!bi.call(t,o)||!It(e[o],t[o]))return!1}return!0}function dp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pp(e,t){var n=dp(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=dp(n)}}function mp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?mp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Bl(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=Bl(e.document)}return t}function lu(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 i_=Dn&&"documentMode"in document&&11>=document.documentMode,kr=null,ou=null,Hi=null,su=!1;function yp(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;su||kr==null||kr!==Bl(i)||(i=kr,"selectionStart"in i&&lu(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}),Hi&&Li(Hi,i)||(Hi=i,i=Lo(ou,"onSelect"),0<i.length&&(t=new Gl("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=kr)))}function Fa(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Nr={animationend:Fa("Animation","AnimationEnd"),animationiteration:Fa("Animation","AnimationIteration"),animationstart:Fa("Animation","AnimationStart"),transitionrun:Fa("Transition","TransitionRun"),transitionstart:Fa("Transition","TransitionStart"),transitioncancel:Fa("Transition","TransitionCancel"),transitionend:Fa("Transition","TransitionEnd")},uu={},gp={};Dn&&(gp=document.createElement("div").style,"AnimationEvent"in window||(delete Nr.animationend.animation,delete Nr.animationiteration.animation,delete Nr.animationstart.animation),"TransitionEvent"in window||delete Nr.transitionend.transition);function Va(e){if(uu[e])return uu[e];if(!Nr[e])return e;var t=Nr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in gp)return uu[e]=t[n];return e}var vp=Va("animationend"),bp=Va("animationiteration"),_p=Va("animationstart"),l_=Va("transitionrun"),o_=Va("transitionstart"),s_=Va("transitioncancel"),Sp=Va("transitionend"),Ep=new Map,cu="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(" ");cu.push("scrollEnd");function dn(e,t){Ep.set(e,t),Pa(t,[e])}var Yl=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)},Wt=[],Lr=0,fu=0;function $l(){for(var e=Lr,t=fu=Lr=0;t<e;){var n=Wt[t];Wt[t++]=null;var i=Wt[t];Wt[t++]=null;var o=Wt[t];Wt[t++]=null;var u=Wt[t];if(Wt[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&&Cp(n,o,u)}}function Ql(e,t,n,i){Wt[Lr++]=e,Wt[Lr++]=t,Wt[Lr++]=n,Wt[Lr++]=i,fu|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function du(e,t,n,i){return Ql(e,t,n,i),Zl(e)}function Ya(e,t){return Ql(e,null,null,t),Zl(e)}function Cp(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-dt(n),e=u.hiddenUpdates,i=e[o],i===null?e[o]=[t]:i.push(t),t.lane=n|536870912),u):null}function Zl(e){if(50<al)throw al=0,Sc=null,Error(s(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Hr={};function u_(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 qt(e,t,n,i){return new u_(e,t,n,i)}function pu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function xn(e,t){var n=e.alternate;return n===null?(n=qt(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 Ap(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 Xl(e,t,n,i,o,u){var d=0;if(i=e,typeof e=="function")pu(e)&&(d=1);else if(typeof e=="string")d=mS(e,n,$.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case xe:return e=qt(31,n,t,o),e.elementType=xe,e.lanes=u,e;case K:return $a(n.children,o,u,t);case V:d=8,o|=24;break;case ie:return e=qt(12,n,t,o|2),e.elementType=ie,e.lanes=u,e;case B:return e=qt(13,n,t,o),e.elementType=B,e.lanes=u,e;case _e:return e=qt(19,n,t,o),e.elementType=_e,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case re:d=10;break e;case me:d=9;break e;case fe:d=11;break e;case Q:d=14;break e;case et:d=16,i=null;break e}d=29,n=Error(s(130,e===null?"null":typeof e,"")),i=null}return t=qt(d,n,t,o),t.elementType=e,t.type=i,t.lanes=u,t}function $a(e,t,n,i){return e=qt(7,e,i,t),e.lanes=n,e}function mu(e,t,n){return e=qt(6,e,null,t),e.lanes=n,e}function Tp(e){var t=qt(18,null,null,0);return t.stateNode=e,t}function hu(e,t,n){return t=qt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Mp=new WeakMap;function Kt(e,t){if(typeof e=="object"&&e!==null){var n=Mp.get(e);return n!==void 0?n:(t={value:e,source:t,stack:yt(t)},Mp.set(e,t),t)}return{value:e,source:t,stack:yt(t)}}var Ur=[],zr=0,Wl=null,Ui=0,Jt=[],en=0,aa=null,_n=1,Sn="";function kn(e,t){Ur[zr++]=Ui,Ur[zr++]=Wl,Wl=e,Ui=t}function wp(e,t,n){Jt[en++]=_n,Jt[en++]=Sn,Jt[en++]=aa,aa=e;var i=_n;e=Sn;var o=32-dt(i)-1;i&=~(1<<o),n+=1;var u=32-dt(t)+o;if(30<u){var d=o-o%5;u=(i&(1<<d)-1).toString(32),i>>=d,o-=d,_n=1<<32-dt(t)+o|n<<o|i,Sn=u+e}else _n=1<<u|n<<o|i,Sn=e}function yu(e){e.return!==null&&(kn(e,1),wp(e,1,0))}function gu(e){for(;e===Wl;)Wl=Ur[--zr],Ur[zr]=null,Ui=Ur[--zr],Ur[zr]=null;for(;e===aa;)aa=Jt[--en],Jt[en]=null,Sn=Jt[--en],Jt[en]=null,_n=Jt[--en],Jt[en]=null}function Op(e,t){Jt[en++]=_n,Jt[en++]=Sn,Jt[en++]=aa,_n=t.id,Sn=t.overflow,aa=e}var bt=null,We=null,Re=!1,ra=null,tn=!1,vu=Error(s(519));function ia(e){var t=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw zi(Kt(t,e)),vu}function Rp(e){var t=e.stateNode,n=e.type,i=e.memoizedProps;switch(t[Se]=e,t[Be]=i,n){case"dialog":Te("cancel",t),Te("close",t);break;case"iframe":case"object":case"embed":Te("load",t);break;case"video":case"audio":for(n=0;n<il.length;n++)Te(il[n],t);break;case"source":Te("error",t);break;case"img":case"image":case"link":Te("error",t),Te("load",t);break;case"details":Te("toggle",t);break;case"input":Te("invalid",t),Pd(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":Te("invalid",t);break;case"textarea":Te("invalid",t),Fd(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||Yh(t.textContent,n)?(i.popover!=null&&(Te("beforetoggle",t),Te("toggle",t)),i.onScroll!=null&&Te("scroll",t),i.onScrollEnd!=null&&Te("scrollend",t),i.onClick!=null&&(t.onclick=Rn),t=!0):t=!1,t||ia(e,!0)}function Dp(e){for(bt=e.return;bt;)switch(bt.tag){case 5:case 31:case 13:tn=!1;return;case 27:case 3:tn=!0;return;default:bt=bt.return}}function Br(e){if(e!==bt)return!1;if(!Re)return Dp(e),Re=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Uc(e.type,e.memoizedProps)),n=!n),n&&We&&ia(e),Dp(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));We=ty(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));We=ty(e)}else t===27?(t=We,ba(e.type)?(e=qc,qc=null,We=e):We=t):We=bt?an(e.stateNode.nextSibling):null;return!0}function Qa(){We=bt=null,Re=!1}function bu(){var e=ra;return e!==null&&(Ht===null?Ht=e:Ht.push.apply(Ht,e),ra=null),e}function zi(e){ra===null?ra=[e]:ra.push(e)}var _u=v(null),Za=null,Nn=null;function la(e,t,n){F(_u,t._currentValue),t._currentValue=n}function Ln(e){e._currentValue=_u.current,N(_u)}function Su(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 Eu(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 b=0;b<t.length;b++)if(h.context===t[b]){u.lanes|=n,h=u.alternate,h!==null&&(h.lanes|=n),Su(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),Su(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 jr(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;It(o.pendingProps.value,d.value)||(e!==null?e.push(h):e=[h])}}else if(o===Me.current){if(d=o.alternate,d===null)throw Error(s(387));d.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(cl):e=[cl])}o=o.return}e!==null&&Eu(t,e,n,i),t.flags|=262144}function Kl(e){for(e=e.firstContext;e!==null;){if(!It(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Xa(e){Za=e,Nn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function _t(e){return xp(Za,e)}function Jl(e,t){return Za===null&&Xa(e),xp(e,t)}function xp(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Nn===null){if(e===null)throw Error(s(308));Nn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Nn=Nn.next=t;return n}var c_=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()})}},f_=a.unstable_scheduleCallback,d_=a.unstable_NormalPriority,st={$$typeof:re,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Cu(){return{controller:new c_,data:new Map,refCount:0}}function Bi(e){e.refCount--,e.refCount===0&&f_(d_,function(){e.controller.abort()})}var ji=null,Au=0,Ir=0,qr=null;function p_(e,t){if(ji===null){var n=ji=[];Au=0,Ir=wc(),qr={status:"pending",value:void 0,then:function(i){n.push(i)}}}return Au++,t.then(kp,kp),t}function kp(){if(--Au===0&&ji!==null){qr!==null&&(qr.status="fulfilled");var e=ji;ji=null,Ir=0,qr=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function m_(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 Np=D.S;D.S=function(e,t){yh=ze(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&p_(e,t),Np!==null&&Np(e,t)};var Wa=v(null);function Tu(){var e=Wa.current;return e!==null?e:Ze.pooledCache}function eo(e,t){t===null?F(Wa,Wa.current):F(Wa,t.pool)}function Lp(){var e=Tu();return e===null?null:{parent:st._currentValue,pool:e}}var Pr=Error(s(460)),Mu=Error(s(474)),to=Error(s(542)),no={then:function(){}};function Hp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Up(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Rn,Rn),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Bp(e),e;default:if(typeof t.status=="string")t.then(Rn,Rn);else{if(e=Ze,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,Bp(e),e}throw Ja=t,Pr}}function Ka(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Ja=n,Pr):n}}var Ja=null;function zp(){if(Ja===null)throw Error(s(459));var e=Ja;return Ja=null,e}function Bp(e){if(e===Pr||e===to)throw Error(s(483))}var Gr=null,Ii=0;function ao(e){var t=Ii;return Ii+=1,Gr===null&&(Gr=[]),Up(Gr,e,t)}function qi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function ro(e,t){throw t.$$typeof===U?Error(s(525)):(e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function jp(e){function t(C,_){if(e){var M=C.deletions;M===null?(C.deletions=[_],C.flags|=16):M.push(_)}}function n(C,_){if(!e)return null;for(;_!==null;)t(C,_),_=_.sibling;return null}function i(C){for(var _=new Map;C!==null;)C.key!==null?_.set(C.key,C):_.set(C.index,C),C=C.sibling;return _}function o(C,_){return C=xn(C,_),C.index=0,C.sibling=null,C}function u(C,_,M){return C.index=M,e?(M=C.alternate,M!==null?(M=M.index,M<_?(C.flags|=67108866,_):M):(C.flags|=67108866,_)):(C.flags|=1048576,_)}function d(C){return e&&C.alternate===null&&(C.flags|=67108866),C}function h(C,_,M,k){return _===null||_.tag!==6?(_=mu(M,C.mode,k),_.return=C,_):(_=o(_,M),_.return=C,_)}function b(C,_,M,k){var ae=M.type;return ae===K?x(C,_,M.props.children,k,M.key):_!==null&&(_.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===et&&Ka(ae)===_.type)?(_=o(_,M.props),qi(_,M),_.return=C,_):(_=Xl(M.type,M.key,M.props,null,C.mode,k),qi(_,M),_.return=C,_)}function w(C,_,M,k){return _===null||_.tag!==4||_.stateNode.containerInfo!==M.containerInfo||_.stateNode.implementation!==M.implementation?(_=hu(M,C.mode,k),_.return=C,_):(_=o(_,M.children||[]),_.return=C,_)}function x(C,_,M,k,ae){return _===null||_.tag!==7?(_=$a(M,C.mode,k,ae),_.return=C,_):(_=o(_,M),_.return=C,_)}function H(C,_,M){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return _=mu(""+_,C.mode,M),_.return=C,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case P:return M=Xl(_.type,_.key,_.props,null,C.mode,M),qi(M,_),M.return=C,M;case j:return _=hu(_,C.mode,M),_.return=C,_;case et:return _=Ka(_),H(C,_,M)}if(Pe(_)||Z(_))return _=$a(_,C.mode,M,null),_.return=C,_;if(typeof _.then=="function")return H(C,ao(_),M);if(_.$$typeof===re)return H(C,Jl(C,_),M);ro(C,_)}return null}function O(C,_,M,k){var ae=_!==null?_.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return ae!==null?null:h(C,_,""+M,k);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case P:return M.key===ae?b(C,_,M,k):null;case j:return M.key===ae?w(C,_,M,k):null;case et:return M=Ka(M),O(C,_,M,k)}if(Pe(M)||Z(M))return ae!==null?null:x(C,_,M,k,null);if(typeof M.then=="function")return O(C,_,ao(M),k);if(M.$$typeof===re)return O(C,_,Jl(C,M),k);ro(C,M)}return null}function R(C,_,M,k,ae){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return C=C.get(M)||null,h(_,C,""+k,ae);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case P:return C=C.get(k.key===null?M:k.key)||null,b(_,C,k,ae);case j:return C=C.get(k.key===null?M:k.key)||null,w(_,C,k,ae);case et:return k=Ka(k),R(C,_,M,k,ae)}if(Pe(k)||Z(k))return C=C.get(M)||null,x(_,C,k,ae,null);if(typeof k.then=="function")return R(C,_,M,ao(k),ae);if(k.$$typeof===re)return R(C,_,M,Jl(_,k),ae);ro(_,k)}return null}function W(C,_,M,k){for(var ae=null,ke=null,ee=_,ge=_=0,Oe=null;ee!==null&&ge<M.length;ge++){ee.index>ge?(Oe=ee,ee=null):Oe=ee.sibling;var Ne=O(C,ee,M[ge],k);if(Ne===null){ee===null&&(ee=Oe);break}e&&ee&&Ne.alternate===null&&t(C,ee),_=u(Ne,_,ge),ke===null?ae=Ne:ke.sibling=Ne,ke=Ne,ee=Oe}if(ge===M.length)return n(C,ee),Re&&kn(C,ge),ae;if(ee===null){for(;ge<M.length;ge++)ee=H(C,M[ge],k),ee!==null&&(_=u(ee,_,ge),ke===null?ae=ee:ke.sibling=ee,ke=ee);return Re&&kn(C,ge),ae}for(ee=i(ee);ge<M.length;ge++)Oe=R(ee,C,ge,M[ge],k),Oe!==null&&(e&&Oe.alternate!==null&&ee.delete(Oe.key===null?ge:Oe.key),_=u(Oe,_,ge),ke===null?ae=Oe:ke.sibling=Oe,ke=Oe);return e&&ee.forEach(function(Aa){return t(C,Aa)}),Re&&kn(C,ge),ae}function le(C,_,M,k){if(M==null)throw Error(s(151));for(var ae=null,ke=null,ee=_,ge=_=0,Oe=null,Ne=M.next();ee!==null&&!Ne.done;ge++,Ne=M.next()){ee.index>ge?(Oe=ee,ee=null):Oe=ee.sibling;var Aa=O(C,ee,Ne.value,k);if(Aa===null){ee===null&&(ee=Oe);break}e&&ee&&Aa.alternate===null&&t(C,ee),_=u(Aa,_,ge),ke===null?ae=Aa:ke.sibling=Aa,ke=Aa,ee=Oe}if(Ne.done)return n(C,ee),Re&&kn(C,ge),ae;if(ee===null){for(;!Ne.done;ge++,Ne=M.next())Ne=H(C,Ne.value,k),Ne!==null&&(_=u(Ne,_,ge),ke===null?ae=Ne:ke.sibling=Ne,ke=Ne);return Re&&kn(C,ge),ae}for(ee=i(ee);!Ne.done;ge++,Ne=M.next())Ne=R(ee,C,ge,Ne.value,k),Ne!==null&&(e&&Ne.alternate!==null&&ee.delete(Ne.key===null?ge:Ne.key),_=u(Ne,_,ge),ke===null?ae=Ne:ke.sibling=Ne,ke=Ne);return e&&ee.forEach(function(TS){return t(C,TS)}),Re&&kn(C,ge),ae}function $e(C,_,M,k){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 ae=M.key;_!==null;){if(_.key===ae){if(ae=M.type,ae===K){if(_.tag===7){n(C,_.sibling),k=o(_,M.props.children),k.return=C,C=k;break e}}else if(_.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===et&&Ka(ae)===_.type){n(C,_.sibling),k=o(_,M.props),qi(k,M),k.return=C,C=k;break e}n(C,_);break}else t(C,_);_=_.sibling}M.type===K?(k=$a(M.props.children,C.mode,k,M.key),k.return=C,C=k):(k=Xl(M.type,M.key,M.props,null,C.mode,k),qi(k,M),k.return=C,C=k)}return d(C);case j:e:{for(ae=M.key;_!==null;){if(_.key===ae)if(_.tag===4&&_.stateNode.containerInfo===M.containerInfo&&_.stateNode.implementation===M.implementation){n(C,_.sibling),k=o(_,M.children||[]),k.return=C,C=k;break e}else{n(C,_);break}else t(C,_);_=_.sibling}k=hu(M,C.mode,k),k.return=C,C=k}return d(C);case et:return M=Ka(M),$e(C,_,M,k)}if(Pe(M))return W(C,_,M,k);if(Z(M)){if(ae=Z(M),typeof ae!="function")throw Error(s(150));return M=ae.call(M),le(C,_,M,k)}if(typeof M.then=="function")return $e(C,_,ao(M),k);if(M.$$typeof===re)return $e(C,_,Jl(C,M),k);ro(C,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,_!==null&&_.tag===6?(n(C,_.sibling),k=o(_,M),k.return=C,C=k):(n(C,_),k=mu(M,C.mode,k),k.return=C,C=k),d(C)):n(C,_)}return function(C,_,M,k){try{Ii=0;var ae=$e(C,_,M,k);return Gr=null,ae}catch(ee){if(ee===Pr||ee===to)throw ee;var ke=qt(29,ee,null,C.mode);return ke.lanes=k,ke.return=C,ke}finally{}}}var er=jp(!0),Ip=jp(!1),oa=!1;function wu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ou(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 sa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ua(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(He&2)!==0){var o=i.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),i.pending=t,t=Zl(e),Cp(e,null,n),t}return Ql(e,i,t,n),Zl(e)}function Pi(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,G(e,n)}}function Ru(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 Du=!1;function Gi(){if(Du){var e=qr;if(e!==null)throw e}}function Fi(e,t,n,i){Du=!1;var o=e.updateQueue;oa=!1;var u=o.firstBaseUpdate,d=o.lastBaseUpdate,h=o.shared.pending;if(h!==null){o.shared.pending=null;var b=h,w=b.next;b.next=null,d===null?u=w:d.next=w,d=b;var x=e.alternate;x!==null&&(x=x.updateQueue,h=x.lastBaseUpdate,h!==d&&(h===null?x.firstBaseUpdate=w:h.next=w,x.lastBaseUpdate=b))}if(u!==null){var H=o.baseState;d=0,x=w=b=null,h=u;do{var O=h.lane&-536870913,R=O!==h.lane;if(R?(we&O)===O:(i&O)===O){O!==0&&O===Ir&&(Du=!0),x!==null&&(x=x.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{var W=e,le=h;O=t;var $e=n;switch(le.tag){case 1:if(W=le.payload,typeof W=="function"){H=W.call($e,H,O);break e}H=W;break e;case 3:W.flags=W.flags&-65537|128;case 0:if(W=le.payload,O=typeof W=="function"?W.call($e,H,O):W,O==null)break e;H=S({},H,O);break e;case 2:oa=!0}}O=h.callback,O!==null&&(e.flags|=64,R&&(e.flags|=8192),R=o.callbacks,R===null?o.callbacks=[O]:R.push(O))}else R={lane:O,tag:h.tag,payload:h.payload,callback:h.callback,next:null},x===null?(w=x=R,b=H):x=x.next=R,d|=O;if(h=h.next,h===null){if(h=o.shared.pending,h===null)break;R=h,h=R.next,R.next=null,o.lastBaseUpdate=R,o.shared.pending=null}}while(!0);x===null&&(b=H),o.baseState=b,o.firstBaseUpdate=w,o.lastBaseUpdate=x,u===null&&(o.shared.lanes=0),ma|=d,e.lanes=d,e.memoizedState=H}}function qp(e,t){if(typeof e!="function")throw Error(s(191,e));e.call(t)}function Pp(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)qp(n[e],t)}var Fr=v(null),io=v(0);function Gp(e,t){e=Gn,F(io,e),F(Fr,t),Gn=e|t.baseLanes}function xu(){F(io,Gn),F(Fr,Fr.current)}function ku(){Gn=io.current,N(Fr),N(io)}var Pt=v(null),nn=null;function ca(e){var t=e.alternate;F(lt,lt.current&1),F(Pt,e),nn===null&&(t===null||Fr.current!==null||t.memoizedState!==null)&&(nn=e)}function Nu(e){F(lt,lt.current),F(Pt,e),nn===null&&(nn=e)}function Fp(e){e.tag===22?(F(lt,lt.current),F(Pt,e),nn===null&&(nn=e)):fa()}function fa(){F(lt,lt.current),F(Pt,Pt.current)}function Gt(e){N(Pt),nn===e&&(nn=null),N(lt)}var lt=v(0);function lo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||jc(n)||Ic(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 Hn=0,he=null,Ve=null,ut=null,oo=!1,Vr=!1,tr=!1,so=0,Vi=0,Yr=null,h_=0;function at(){throw Error(s(321))}function Lu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!It(e[n],t[n]))return!1;return!0}function Hu(e,t,n,i,o,u){return Hn=u,he=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,D.H=e===null||e.memoizedState===null?wm:Xu,tr=!1,u=n(i,o),tr=!1,Vr&&(u=Yp(t,n,i,o)),Vp(e),u}function Vp(e){D.H=Qi;var t=Ve!==null&&Ve.next!==null;if(Hn=0,ut=Ve=he=null,oo=!1,Vi=0,Yr=null,t)throw Error(s(300));e===null||ct||(e=e.dependencies,e!==null&&Kl(e)&&(ct=!0))}function Yp(e,t,n,i){he=e;var o=0;do{if(Vr&&(Yr=null),Vi=0,Vr=!1,25<=o)throw Error(s(301));if(o+=1,ut=Ve=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}D.H=Om,u=t(n,i)}while(Vr);return u}function y_(){var e=D.H,t=e.useState()[0];return t=typeof t.then=="function"?Yi(t):t,e=e.useState()[0],(Ve!==null?Ve.memoizedState:null)!==e&&(he.flags|=1024),t}function Uu(){var e=so!==0;return so=0,e}function zu(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Bu(e){if(oo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}oo=!1}Hn=0,ut=Ve=he=null,Vr=!1,Vi=so=0,Yr=null}function wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ut===null?he.memoizedState=ut=e:ut=ut.next=e,ut}function ot(){if(Ve===null){var e=he.alternate;e=e!==null?e.memoizedState:null}else e=Ve.next;var t=ut===null?he.memoizedState:ut.next;if(t!==null)ut=t,Ve=e;else{if(e===null)throw he.alternate===null?Error(s(467)):Error(s(310));Ve=e,e={memoizedState:Ve.memoizedState,baseState:Ve.baseState,baseQueue:Ve.baseQueue,queue:Ve.queue,next:null},ut===null?he.memoizedState=ut=e:ut=ut.next=e}return ut}function uo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Yi(e){var t=Vi;return Vi+=1,Yr===null&&(Yr=[]),e=Up(Yr,e,t),t=he,(ut===null?t.memoizedState:ut.next)===null&&(t=t.alternate,D.H=t===null||t.memoizedState===null?wm:Xu),e}function co(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Yi(e);if(e.$$typeof===re)return _t(e)}throw Error(s(438,String(e)))}function ju(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=uo(),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]=nt;return t.index++,n}function Un(e,t){return typeof t=="function"?t(e):t}function fo(e){var t=ot();return Iu(t,Ve,e)}function Iu(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,b=null,w=t,x=!1;do{var H=w.lane&-536870913;if(H!==w.lane?(we&H)===H:(Hn&H)===H){var O=w.revertLane;if(O===0)b!==null&&(b=b.next={lane:0,revertLane:0,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null}),H===Ir&&(x=!0);else if((Hn&O)===O){w=w.next,O===Ir&&(x=!0);continue}else H={lane:0,revertLane:w.revertLane,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},b===null?(h=b=H,d=u):b=b.next=H,he.lanes|=O,ma|=O;H=w.action,tr&&n(u,H),u=w.hasEagerState?w.eagerState:n(u,H)}else O={lane:H,revertLane:w.revertLane,gesture:w.gesture,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},b===null?(h=b=O,d=u):b=b.next=O,he.lanes|=H,ma|=H;w=w.next}while(w!==null&&w!==t);if(b===null?d=u:b.next=h,!It(u,e.memoizedState)&&(ct=!0,x&&(n=qr,n!==null)))throw n;e.memoizedState=u,e.baseState=d,e.baseQueue=b,i.lastRenderedState=u}return o===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function qu(e){var t=ot(),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);It(u,t.memoizedState)||(ct=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),n.lastRenderedState=u}return[u,i]}function $p(e,t,n){var i=he,o=ot(),u=Re;if(u){if(n===void 0)throw Error(s(407));n=n()}else n=t();var d=!It((Ve||o).memoizedState,n);if(d&&(o.memoizedState=n,ct=!0),o=o.queue,Fu(Xp.bind(null,i,o,e),[e]),o.getSnapshot!==t||d||ut!==null&&ut.memoizedState.tag&1){if(i.flags|=2048,$r(9,{destroy:void 0},Zp.bind(null,i,o,n,t),null),Ze===null)throw Error(s(349));u||(Hn&127)!==0||Qp(i,t,n)}return n}function Qp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=he.updateQueue,t===null?(t=uo(),he.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Zp(e,t,n,i){t.value=n,t.getSnapshot=i,Wp(t)&&Kp(e)}function Xp(e,t,n){return n(function(){Wp(t)&&Kp(e)})}function Wp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!It(e,n)}catch{return!0}}function Kp(e){var t=Ya(e,2);t!==null&&Ut(t,e,2)}function Pu(e){var t=wt();if(typeof e=="function"){var n=e;if(e=n(),tr){Qt(!0);try{n()}finally{Qt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Un,lastRenderedState:e},t}function Jp(e,t,n,i){return e.baseState=n,Iu(e,Ve,typeof i=="function"?i:Un)}function g_(e,t,n,i,o){if(ho(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)}};D.T!==null?n(!0):u.isTransition=!1,i(u),n=t.pending,n===null?(u.next=t.pending=u,em(t,u)):(u.next=n.next,t.pending=n.next=u)}}function em(e,t){var n=t.action,i=t.payload,o=e.state;if(t.isTransition){var u=D.T,d={};D.T=d;try{var h=n(o,i),b=D.S;b!==null&&b(d,h),tm(e,t,h)}catch(w){Gu(e,t,w)}finally{u!==null&&d.types!==null&&(u.types=d.types),D.T=u}}else try{u=n(o,i),tm(e,t,u)}catch(w){Gu(e,t,w)}}function tm(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){nm(e,t,i)},function(i){return Gu(e,t,i)}):nm(e,t,n)}function nm(e,t,n){t.status="fulfilled",t.value=n,am(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,em(e,n)))}function Gu(e,t,n){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=n,am(t),t=t.next;while(t!==i)}e.action=null}function am(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function rm(e,t){return t}function im(e,t){if(Re){var n=Ze.formState;if(n!==null){e:{var i=he;if(Re){if(We){t:{for(var o=We,u=tn;o.nodeType!==8;){if(!u){o=null;break t}if(o=an(o.nextSibling),o===null){o=null;break t}}u=o.data,o=u==="F!"||u==="F"?o:null}if(o){We=an(o.nextSibling),i=o.data==="F!";break e}}ia(i)}i=!1}i&&(t=n[0])}}return n=wt(),n.memoizedState=n.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rm,lastRenderedState:t},n.queue=i,n=Am.bind(null,he,i),i.dispatch=n,i=Pu(!1),u=Zu.bind(null,he,!1,i.queue),i=wt(),o={state:t,dispatch:null,action:e,pending:null},i.queue=o,n=g_.bind(null,he,o,u,n),o.dispatch=n,i.memoizedState=e,[t,n,!1]}function lm(e){var t=ot();return om(t,Ve,e)}function om(e,t,n){if(t=Iu(e,t,rm)[0],e=fo(Un)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=Yi(t)}catch(d){throw d===Pr?to:d}else i=t;t=ot();var o=t.queue,u=o.dispatch;return n!==t.memoizedState&&(he.flags|=2048,$r(9,{destroy:void 0},v_.bind(null,o,n),null)),[i,u,e]}function v_(e,t){e.action=t}function sm(e){var t=ot(),n=Ve;if(n!==null)return om(t,n,e);ot(),t=t.memoizedState,n=ot();var i=n.queue.dispatch;return n.memoizedState=e,[t,i,!1]}function $r(e,t,n,i){return e={tag:e,create:n,deps:i,inst:t,next:null},t=he.updateQueue,t===null&&(t=uo(),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 um(){return ot().memoizedState}function po(e,t,n,i){var o=wt();he.flags|=e,o.memoizedState=$r(1|t,{destroy:void 0},n,i===void 0?null:i)}function mo(e,t,n,i){var o=ot();i=i===void 0?null:i;var u=o.memoizedState.inst;Ve!==null&&i!==null&&Lu(i,Ve.memoizedState.deps)?o.memoizedState=$r(t,u,n,i):(he.flags|=e,o.memoizedState=$r(1|t,u,n,i))}function cm(e,t){po(8390656,8,e,t)}function Fu(e,t){mo(2048,8,e,t)}function b_(e){he.flags|=4;var t=he.updateQueue;if(t===null)t=uo(),he.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function fm(e){var t=ot().memoizedState;return b_({ref:t,nextImpl:e}),function(){if((He&2)!==0)throw Error(s(440));return t.impl.apply(void 0,arguments)}}function dm(e,t){return mo(4,2,e,t)}function pm(e,t){return mo(4,4,e,t)}function mm(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 hm(e,t,n){n=n!=null?n.concat([e]):null,mo(4,4,mm.bind(null,t,e),n)}function Vu(){}function ym(e,t){var n=ot();t=t===void 0?null:t;var i=n.memoizedState;return t!==null&&Lu(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function gm(e,t){var n=ot();t=t===void 0?null:t;var i=n.memoizedState;if(t!==null&&Lu(t,i[1]))return i[0];if(i=e(),tr){Qt(!0);try{e()}finally{Qt(!1)}}return n.memoizedState=[i,t],i}function Yu(e,t,n){return n===void 0||(Hn&1073741824)!==0&&(we&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=vh(),he.lanes|=e,ma|=e,n)}function vm(e,t,n,i){return It(n,t)?n:Fr.current!==null?(e=Yu(e,n,i),It(e,t)||(ct=!0),e):(Hn&42)===0||(Hn&1073741824)!==0&&(we&261930)===0?(ct=!0,e.memoizedState=n):(e=vh(),he.lanes|=e,ma|=e,t)}function bm(e,t,n,i,o){var u=q.p;q.p=u!==0&&8>u?u:8;var d=D.T,h={};D.T=h,Zu(e,!1,t,n);try{var b=o(),w=D.S;if(w!==null&&w(h,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var x=m_(b,i);$i(e,t,x,Yt(e))}else $i(e,t,i,Yt(e))}catch(H){$i(e,t,{then:function(){},status:"rejected",reason:H},Yt())}finally{q.p=u,d!==null&&h.types!==null&&(d.types=h.types),D.T=d}}function __(){}function $u(e,t,n,i){if(e.tag!==5)throw Error(s(476));var o=_m(e).queue;bm(e,o,t,te,n===null?__:function(){return Sm(e),n(i)})}function _m(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Un,lastRenderedState:te},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Un,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Sm(e){var t=_m(e);t.next===null&&(t=e.alternate.memoizedState),$i(e,t.next.queue,{},Yt())}function Qu(){return _t(cl)}function Em(){return ot().memoizedState}function Cm(){return ot().memoizedState}function S_(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Yt();e=sa(n);var i=ua(t,e,n);i!==null&&(Ut(i,t,n),Pi(i,t,n)),t={cache:Cu()},e.payload=t;return}t=t.return}}function E_(e,t,n){var i=Yt();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ho(e)?Tm(t,n):(n=du(e,t,n,i),n!==null&&(Ut(n,e,i),Mm(n,t,i)))}function Am(e,t,n){var i=Yt();$i(e,t,n,i)}function $i(e,t,n,i){var o={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ho(e))Tm(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,It(h,d))return Ql(e,t,o,0),Ze===null&&$l(),!1}catch{}finally{}if(n=du(e,t,o,i),n!==null)return Ut(n,e,i),Mm(n,t,i),!0}return!1}function Zu(e,t,n,i){if(i={lane:2,revertLane:wc(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},ho(e)){if(t)throw Error(s(479))}else t=du(e,n,i,2),t!==null&&Ut(t,e,2)}function ho(e){var t=e.alternate;return e===he||t!==null&&t===he}function Tm(e,t){Vr=oo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Mm(e,t,n){if((n&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,G(e,n)}}var Qi={readContext:_t,use:co,useCallback:at,useContext:at,useEffect:at,useImperativeHandle:at,useLayoutEffect:at,useInsertionEffect:at,useMemo:at,useReducer:at,useRef:at,useState:at,useDebugValue:at,useDeferredValue:at,useTransition:at,useSyncExternalStore:at,useId:at,useHostTransitionStatus:at,useFormState:at,useActionState:at,useOptimistic:at,useMemoCache:at,useCacheRefresh:at};Qi.useEffectEvent=at;var wm={readContext:_t,use:co,useCallback:function(e,t){return wt().memoizedState=[e,t===void 0?null:t],e},useContext:_t,useEffect:cm,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,po(4194308,4,mm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return po(4194308,4,e,t)},useInsertionEffect:function(e,t){po(4,2,e,t)},useMemo:function(e,t){var n=wt();t=t===void 0?null:t;var i=e();if(tr){Qt(!0);try{e()}finally{Qt(!1)}}return n.memoizedState=[i,t],i},useReducer:function(e,t,n){var i=wt();if(n!==void 0){var o=n(t);if(tr){Qt(!0);try{n(t)}finally{Qt(!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=E_.bind(null,he,e),[i.memoizedState,e]},useRef:function(e){var t=wt();return e={current:e},t.memoizedState=e},useState:function(e){e=Pu(e);var t=e.queue,n=Am.bind(null,he,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Vu,useDeferredValue:function(e,t){var n=wt();return Yu(n,e,t)},useTransition:function(){var e=Pu(!1);return e=bm.bind(null,he,e.queue,!0,!1),wt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var i=he,o=wt();if(Re){if(n===void 0)throw Error(s(407));n=n()}else{if(n=t(),Ze===null)throw Error(s(349));(we&127)!==0||Qp(i,t,n)}o.memoizedState=n;var u={value:n,getSnapshot:t};return o.queue=u,cm(Xp.bind(null,i,u,e),[e]),i.flags|=2048,$r(9,{destroy:void 0},Zp.bind(null,i,u,n,t),null),n},useId:function(){var e=wt(),t=Ze.identifierPrefix;if(Re){var n=Sn,i=_n;n=(i&~(1<<32-dt(i)-1)).toString(32)+n,t="_"+t+"R_"+n,n=so++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=h_++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Qu,useFormState:im,useActionState:im,useOptimistic:function(e){var t=wt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Zu.bind(null,he,!0,n),n.dispatch=t,[e,t]},useMemoCache:ju,useCacheRefresh:function(){return wt().memoizedState=S_.bind(null,he)},useEffectEvent:function(e){var t=wt(),n={impl:e};return t.memoizedState=n,function(){if((He&2)!==0)throw Error(s(440));return n.impl.apply(void 0,arguments)}}},Xu={readContext:_t,use:co,useCallback:ym,useContext:_t,useEffect:Fu,useImperativeHandle:hm,useInsertionEffect:dm,useLayoutEffect:pm,useMemo:gm,useReducer:fo,useRef:um,useState:function(){return fo(Un)},useDebugValue:Vu,useDeferredValue:function(e,t){var n=ot();return vm(n,Ve.memoizedState,e,t)},useTransition:function(){var e=fo(Un)[0],t=ot().memoizedState;return[typeof e=="boolean"?e:Yi(e),t]},useSyncExternalStore:$p,useId:Em,useHostTransitionStatus:Qu,useFormState:lm,useActionState:lm,useOptimistic:function(e,t){var n=ot();return Jp(n,Ve,e,t)},useMemoCache:ju,useCacheRefresh:Cm};Xu.useEffectEvent=fm;var Om={readContext:_t,use:co,useCallback:ym,useContext:_t,useEffect:Fu,useImperativeHandle:hm,useInsertionEffect:dm,useLayoutEffect:pm,useMemo:gm,useReducer:qu,useRef:um,useState:function(){return qu(Un)},useDebugValue:Vu,useDeferredValue:function(e,t){var n=ot();return Ve===null?Yu(n,e,t):vm(n,Ve.memoizedState,e,t)},useTransition:function(){var e=qu(Un)[0],t=ot().memoizedState;return[typeof e=="boolean"?e:Yi(e),t]},useSyncExternalStore:$p,useId:Em,useHostTransitionStatus:Qu,useFormState:sm,useActionState:sm,useOptimistic:function(e,t){var n=ot();return Ve!==null?Jp(n,Ve,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:ju,useCacheRefresh:Cm};Om.useEffectEvent=fm;function Wu(e,t,n,i){t=e.memoizedState,n=n(i,t),n=n==null?t:S({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ku={enqueueSetState:function(e,t,n){e=e._reactInternals;var i=Yt(),o=sa(i);o.payload=t,n!=null&&(o.callback=n),t=ua(e,o,i),t!==null&&(Ut(t,e,i),Pi(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=Yt(),o=sa(i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=ua(e,o,i),t!==null&&(Ut(t,e,i),Pi(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Yt(),i=sa(n);i.tag=2,t!=null&&(i.callback=t),t=ua(e,i,n),t!==null&&(Ut(t,e,n),Pi(t,e,n))}};function Rm(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?!Li(n,i)||!Li(o,u):!0}function Dm(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&&Ku.enqueueReplaceState(t,t.state,null)}function nr(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=S({},n));for(var o in e)n[o]===void 0&&(n[o]=e[o])}return n}function xm(e){Yl(e)}function km(e){console.error(e)}function Nm(e){Yl(e)}function yo(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function Lm(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 Ju(e,t,n){return n=sa(n),n.tag=3,n.payload={element:null},n.callback=function(){yo(e,t)},n}function Hm(e){return e=sa(e),e.tag=3,e}function Um(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(){Lm(t,n,i)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){Lm(t,n,i),typeof o!="function"&&(ha===null?ha=new Set([this]):ha.add(this));var h=i.stack;this.componentDidCatch(i.value,{componentStack:h!==null?h:""})})}function C_(e,t,n,i,o){if(n.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=n.alternate,t!==null&&jr(t,n,o,!0),n=Pt.current,n!==null){switch(n.tag){case 31:case 13:return nn===null?Oo():n.alternate===null&&rt===0&&(rt=3),n.flags&=-257,n.flags|=65536,n.lanes=o,i===no?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([i]):t.add(i),Ac(e,i,o)),!1;case 22:return n.flags|=65536,i===no?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)),Ac(e,i,o)),!1}throw Error(s(435,n.tag))}return Ac(e,i,o),Oo(),!1}if(Re)return t=Pt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==vu&&(e=Error(s(422),{cause:i}),zi(Kt(e,n)))):(i!==vu&&(t=Error(s(423),{cause:i}),zi(Kt(t,n))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,i=Kt(i,n),o=Ju(e.stateNode,i,o),Ru(e,o),rt!==4&&(rt=2)),!1;var u=Error(s(520),{cause:i});if(u=Kt(u,n),nl===null?nl=[u]:nl.push(u),rt!==4&&(rt=2),t===null)return!0;i=Kt(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,e=Ju(n.stateNode,i,e),Ru(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"&&(ha===null||!ha.has(u))))return n.flags|=65536,o&=-o,n.lanes|=o,o=Hm(o),Um(o,e,n,i),Ru(n,o),!1}n=n.return}while(n!==null);return!1}var ec=Error(s(461)),ct=!1;function St(e,t,n,i){t.child=e===null?Ip(t,null,n,i):er(t,e.child,n,i)}function zm(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 Xa(t),i=Hu(e,t,n,d,u,o),h=Uu(),e!==null&&!ct?(zu(e,t,o),zn(e,t,o)):(Re&&h&&yu(t),t.flags|=1,St(e,t,i,o),t.child)}function Bm(e,t,n,i,o){if(e===null){var u=n.type;return typeof u=="function"&&!pu(u)&&u.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=u,jm(e,t,u,i,o)):(e=Xl(n.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!sc(e,o)){var d=u.memoizedProps;if(n=n.compare,n=n!==null?n:Li,n(d,i)&&e.ref===t.ref)return zn(e,t,o)}return t.flags|=1,e=xn(u,i),e.ref=t.ref,e.return=t,t.child=e}function jm(e,t,n,i,o){if(e!==null){var u=e.memoizedProps;if(Li(u,i)&&e.ref===t.ref)if(ct=!1,t.pendingProps=i=u,sc(e,o))(e.flags&131072)!==0&&(ct=!0);else return t.lanes=e.lanes,zn(e,t,o)}return tc(e,t,n,i,o)}function Im(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 qm(e,t,u,n,i)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&eo(t,u!==null?u.cachePool:null),u!==null?Gp(t,u):xu(),Fp(t);else return i=t.lanes=536870912,qm(e,t,u!==null?u.baseLanes|n:n,n,i)}else u!==null?(eo(t,u.cachePool),Gp(t,u),fa(),t.memoizedState=null):(e!==null&&eo(t,null),xu(),fa());return St(e,t,o,n),t.child}function Zi(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function qm(e,t,n,i,o){var u=Tu();return u=u===null?null:{parent:st._currentValue,pool:u},t.memoizedState={baseLanes:n,cachePool:u},e!==null&&eo(t,null),xu(),Fp(t),e!==null&&jr(e,t,i,!0),t.childLanes=o,null}function go(e,t){return t=bo({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Pm(e,t,n){return er(t,e.child,null,n),e=go(t,t.pendingProps),e.flags|=2,Gt(t),t.memoizedState=null,e}function A_(e,t,n){var i=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Re){if(i.mode==="hidden")return e=go(t,i),t.lanes=536870912,Zi(null,e);if(Nu(t),(e=We)?(e=ey(e,tn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:aa!==null?{id:_n,overflow:Sn}:null,retryLane:536870912,hydrationErrors:null},n=Tp(e),n.return=t,t.child=n,bt=t,We=null)):e=null,e===null)throw ia(t);return t.lanes=536870912,null}return go(t,i)}var u=e.memoizedState;if(u!==null){var d=u.dehydrated;if(Nu(t),o)if(t.flags&256)t.flags&=-257,t=Pm(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(s(558));else if(ct||jr(e,t,n,!1),o=(n&e.childLanes)!==0,ct||o){if(i=Ze,i!==null&&(d=I(i,n),d!==0&&d!==u.retryLane))throw u.retryLane=d,Ya(e,d),Ut(i,e,d),ec;Oo(),t=Pm(e,t,n)}else e=u.treeContext,We=an(d.nextSibling),bt=t,Re=!0,ra=null,tn=!1,e!==null&&Op(t,e),t=go(t,i),t.flags|=4096;return t}return e=xn(e.child,{mode:i.mode,children:i.children}),e.ref=t.ref,t.child=e,e.return=t,e}function vo(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 tc(e,t,n,i,o){return Xa(t),n=Hu(e,t,n,i,void 0,o),i=Uu(),e!==null&&!ct?(zu(e,t,o),zn(e,t,o)):(Re&&i&&yu(t),t.flags|=1,St(e,t,n,o),t.child)}function Gm(e,t,n,i,o,u){return Xa(t),t.updateQueue=null,n=Yp(t,i,n,o),Vp(e),i=Uu(),e!==null&&!ct?(zu(e,t,u),zn(e,t,u)):(Re&&i&&yu(t),t.flags|=1,St(e,t,n,u),t.child)}function Fm(e,t,n,i,o){if(Xa(t),t.stateNode===null){var u=Hr,d=n.contextType;typeof d=="object"&&d!==null&&(u=_t(d)),u=new n(i,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Ku,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=i,u.state=t.memoizedState,u.refs={},wu(t),d=n.contextType,u.context=typeof d=="object"&&d!==null?_t(d):Hr,u.state=t.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(Wu(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&&Ku.enqueueReplaceState(u,u.state,null),Fi(t,i,u,o),Gi(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){u=t.stateNode;var h=t.memoizedProps,b=nr(n,h);u.props=b;var w=u.context,x=n.contextType;d=Hr,typeof x=="object"&&x!==null&&(d=_t(x));var H=n.getDerivedStateFromProps;x=typeof H=="function"||typeof u.getSnapshotBeforeUpdate=="function",h=t.pendingProps!==h,x||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h||w!==d)&&Dm(t,u,i,d),oa=!1;var O=t.memoizedState;u.state=O,Fi(t,i,u,o),Gi(),w=t.memoizedState,h||O!==w||oa?(typeof H=="function"&&(Wu(t,n,H,i),w=t.memoizedState),(b=oa||Rm(t,n,b,i,O,w,d))?(x||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=w),u.props=i,u.state=w,u.context=d,i=b):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{u=t.stateNode,Ou(e,t),d=t.memoizedProps,x=nr(n,d),u.props=x,H=t.pendingProps,O=u.context,w=n.contextType,b=Hr,typeof w=="object"&&w!==null&&(b=_t(w)),h=n.getDerivedStateFromProps,(w=typeof h=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(d!==H||O!==b)&&Dm(t,u,i,b),oa=!1,O=t.memoizedState,u.state=O,Fi(t,i,u,o),Gi();var R=t.memoizedState;d!==H||O!==R||oa||e!==null&&e.dependencies!==null&&Kl(e.dependencies)?(typeof h=="function"&&(Wu(t,n,h,i),R=t.memoizedState),(x=oa||Rm(t,n,x,i,O,R,b)||e!==null&&e.dependencies!==null&&Kl(e.dependencies))?(w||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(i,R,b),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(i,R,b)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=R),u.props=i,u.state=R,u.context=b,i=x):(typeof u.componentDidUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),i=!1)}return u=i,vo(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=er(t,e.child,null,o),t.child=er(t,null,n,o)):St(e,t,n,o),t.memoizedState=u.state,e=t.child):e=zn(e,t,o),e}function Vm(e,t,n,i){return Qa(),t.flags|=256,St(e,t,n,i),t.child}var nc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ac(e){return{baseLanes:e,cachePool:Lp()}}function rc(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Vt),e}function Ym(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:(lt.current&2)!==0),d&&(o=!0,t.flags&=-129),d=(t.flags&32)!==0,t.flags&=-33,e===null){if(Re){if(o?ca(t):fa(),(e=We)?(e=ey(e,tn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:aa!==null?{id:_n,overflow:Sn}:null,retryLane:536870912,hydrationErrors:null},n=Tp(e),n.return=t,t.child=n,bt=t,We=null)):e=null,e===null)throw ia(t);return Ic(e)?t.lanes=32:t.lanes=536870912,null}var h=i.children;return i=i.fallback,o?(fa(),o=t.mode,h=bo({mode:"hidden",children:h},o),i=$a(i,o,n,null),h.return=t,i.return=t,h.sibling=i,t.child=h,i=t.child,i.memoizedState=ac(n),i.childLanes=rc(e,d,n),t.memoizedState=nc,Zi(null,i)):(ca(t),ic(t,h))}var b=e.memoizedState;if(b!==null&&(h=b.dehydrated,h!==null)){if(u)t.flags&256?(ca(t),t.flags&=-257,t=lc(e,t,n)):t.memoizedState!==null?(fa(),t.child=e.child,t.flags|=128,t=null):(fa(),h=i.fallback,o=t.mode,i=bo({mode:"visible",children:i.children},o),h=$a(h,o,n,null),h.flags|=2,i.return=t,h.return=t,i.sibling=h,t.child=i,er(t,e.child,null,n),i=t.child,i.memoizedState=ac(n),i.childLanes=rc(e,d,n),t.memoizedState=nc,t=Zi(null,i));else if(ca(t),Ic(h)){if(d=h.nextSibling&&h.nextSibling.dataset,d)var w=d.dgst;d=w,i=Error(s(419)),i.stack="",i.digest=d,zi({value:i,source:null,stack:null}),t=lc(e,t,n)}else if(ct||jr(e,t,n,!1),d=(n&e.childLanes)!==0,ct||d){if(d=Ze,d!==null&&(i=I(d,n),i!==0&&i!==b.retryLane))throw b.retryLane=i,Ya(e,i),Ut(d,e,i),ec;jc(h)||Oo(),t=lc(e,t,n)}else jc(h)?(t.flags|=192,t.child=e.child,t=null):(e=b.treeContext,We=an(h.nextSibling),bt=t,Re=!0,ra=null,tn=!1,e!==null&&Op(t,e),t=ic(t,i.children),t.flags|=4096);return t}return o?(fa(),h=i.fallback,o=t.mode,b=e.child,w=b.sibling,i=xn(b,{mode:"hidden",children:i.children}),i.subtreeFlags=b.subtreeFlags&65011712,w!==null?h=xn(w,h):(h=$a(h,o,n,null),h.flags|=2),h.return=t,i.return=t,i.sibling=h,t.child=i,Zi(null,i),i=t.child,h=e.child.memoizedState,h===null?h=ac(n):(o=h.cachePool,o!==null?(b=st._currentValue,o=o.parent!==b?{parent:b,pool:b}:o):o=Lp(),h={baseLanes:h.baseLanes|n,cachePool:o}),i.memoizedState=h,i.childLanes=rc(e,d,n),t.memoizedState=nc,Zi(e.child,i)):(ca(t),n=e.child,e=n.sibling,n=xn(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 ic(e,t){return t=bo({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function bo(e,t){return e=qt(22,e,null,t),e.lanes=0,e}function lc(e,t,n){return er(t,e.child,null,n),e=ic(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function $m(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Su(e.return,t,n)}function oc(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 Qm(e,t,n){var i=t.pendingProps,o=i.revealOrder,u=i.tail;i=i.children;var d=lt.current,h=(d&2)!==0;if(h?(d=d&1|2,t.flags|=128):d&=1,F(lt,d),St(e,t,i,n),i=Re?Ui:0,!h&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&$m(e,n,t);else if(e.tag===19)$m(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&&lo(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),oc(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&&lo(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}oc(t,!0,n,null,u,i);break;case"together":oc(t,!1,null,null,void 0,i);break;default:t.memoizedState=null}return t.child}function zn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ma|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(jr(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=xn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=xn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function sc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Kl(e)))}function T_(e,t,n){switch(t.tag){case 3:Ge(t,t.stateNode.containerInfo),la(t,st,e.memoizedState.cache),Qa();break;case 27:case 5:ht(t);break;case 4:Ge(t,t.stateNode.containerInfo);break;case 10:la(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Nu(t),null;break;case 13:var i=t.memoizedState;if(i!==null)return i.dehydrated!==null?(ca(t),t.flags|=128,null):(n&t.child.childLanes)!==0?Ym(e,t,n):(ca(t),e=zn(e,t,n),e!==null?e.sibling:null);ca(t);break;case 19:var o=(e.flags&128)!==0;if(i=(n&t.childLanes)!==0,i||(jr(e,t,n,!1),i=(n&t.childLanes)!==0),o){if(i)return Qm(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),F(lt,lt.current),i)break;return null;case 22:return t.lanes=0,Im(e,t,n,t.pendingProps);case 24:la(t,st,e.memoizedState.cache)}return zn(e,t,n)}function Zm(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ct=!0;else{if(!sc(e,n)&&(t.flags&128)===0)return ct=!1,T_(e,t,n);ct=(e.flags&131072)!==0}else ct=!1,Re&&(t.flags&1048576)!==0&&wp(t,Ui,t.index);switch(t.lanes=0,t.tag){case 16:e:{var i=t.pendingProps;if(e=Ka(t.elementType),t.type=e,typeof e=="function")pu(e)?(i=nr(e,i),t.tag=1,t=Fm(null,t,e,i,n)):(t.tag=0,t=tc(null,t,e,i,n));else{if(e!=null){var o=e.$$typeof;if(o===fe){t.tag=11,t=zm(null,t,e,i,n);break e}else if(o===Q){t.tag=14,t=Bm(null,t,e,i,n);break e}}throw t=Xe(e)||e,Error(s(306,t,""))}}return t;case 0:return tc(e,t,t.type,t.pendingProps,n);case 1:return i=t.type,o=nr(i,t.pendingProps),Fm(e,t,i,o,n);case 3:e:{if(Ge(t,t.stateNode.containerInfo),e===null)throw Error(s(387));i=t.pendingProps;var u=t.memoizedState;o=u.element,Ou(e,t),Fi(t,i,null,n);var d=t.memoizedState;if(i=d.cache,la(t,st,i),i!==u.cache&&Eu(t,[st],n,!0),Gi(),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=Vm(e,t,i,n);break e}else if(i!==o){o=Kt(Error(s(424)),t),zi(o),t=Vm(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(We=an(e.firstChild),bt=t,Re=!0,ra=null,tn=!0,n=Ip(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Qa(),i===o){t=zn(e,t,n);break e}St(e,t,i,n)}t=t.child}return t;case 26:return vo(e,t),e===null?(n=ly(t.type,null,t.pendingProps,null))?t.memoizedState=n:Re||(n=t.type,e=t.pendingProps,i=Ho(ne.current).createElement(n),i[Se]=t,i[Be]=e,Et(i,n,e),gt(i),t.stateNode=i):t.memoizedState=ly(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ht(t),e===null&&Re&&(i=t.stateNode=ay(t.type,t.pendingProps,ne.current),bt=t,tn=!0,o=We,ba(t.type)?(qc=o,We=an(i.firstChild)):We=o),St(e,t,t.pendingProps.children,n),vo(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Re&&((o=i=We)&&(i=tS(i,t.type,t.pendingProps,tn),i!==null?(t.stateNode=i,bt=t,We=an(i.firstChild),tn=!1,o=!0):o=!1),o||ia(t)),ht(t),o=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,i=u.children,Uc(o,u)?i=null:d!==null&&Uc(o,d)&&(t.flags|=32),t.memoizedState!==null&&(o=Hu(e,t,y_,null,null,n),cl._currentValue=o),vo(e,t),St(e,t,i,n),t.child;case 6:return e===null&&Re&&((e=n=We)&&(n=nS(n,t.pendingProps,tn),n!==null?(t.stateNode=n,bt=t,We=null,e=!0):e=!1),e||ia(t)),null;case 13:return Ym(e,t,n);case 4:return Ge(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=er(t,null,i,n):St(e,t,i,n),t.child;case 11:return zm(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,la(t,t.type,i.value),St(e,t,i.children,n),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,Xa(t),o=_t(o),i=i(o),t.flags|=1,St(e,t,i,n),t.child;case 14:return Bm(e,t,t.type,t.pendingProps,n);case 15:return jm(e,t,t.type,t.pendingProps,n);case 19:return Qm(e,t,n);case 31:return A_(e,t,n);case 22:return Im(e,t,n,t.pendingProps);case 24:return Xa(t),i=_t(st),e===null?(o=Tu(),o===null&&(o=Ze,u=Cu(),o.pooledCache=u,u.refCount++,u!==null&&(o.pooledCacheLanes|=n),o=u),t.memoizedState={parent:i,cache:o},wu(t),la(t,st,o)):((e.lanes&n)!==0&&(Ou(e,t),Fi(t,null,null,n),Gi()),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),la(t,st,i)):(i=u.cache,la(t,st,i),i!==o.cache&&Eu(t,[st],n,!0))),St(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function Bn(e){e.flags|=4}function uc(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(Eh())e.flags|=8192;else throw Ja=no,Mu}else e.flags&=-16777217}function Xm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!fy(t))if(Eh())e.flags|=8192;else throw Ja=no,Mu}function _o(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Er():536870912,e.lanes|=t,Wr|=t)}function Xi(e,t){if(!Re)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 Ke(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 M_(e,t,n){var i=t.pendingProps;switch(gu(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ke(t),null;case 1:return Ke(t),null;case 3:return n=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Ln(st),Y(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Br(t)?Bn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,bu())),Ke(t),null;case 26:var o=t.type,u=t.memoizedState;return e===null?(Bn(t),u!==null?(Ke(t),Xm(t,u)):(Ke(t),uc(t,o,null,i,n))):u?u!==e.memoizedState?(Bn(t),Ke(t),Xm(t,u)):(Ke(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&Bn(t),Ke(t),uc(t,o,e,i,n)),null;case 27:if(bn(t),n=ne.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Bn(t);else{if(!i){if(t.stateNode===null)throw Error(s(166));return Ke(t),null}e=$.current,Br(t)?Rp(t):(e=ay(o,i,n),t.stateNode=e,Bn(t))}return Ke(t),null;case 5:if(bn(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Bn(t);else{if(!i){if(t.stateNode===null)throw Error(s(166));return Ke(t),null}if(u=$.current,Br(t))Rp(t);else{var d=Ho(ne.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[Se]=t,u[Be]=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(Et(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&&Bn(t)}}return Ke(t),uc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Bn(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(s(166));if(e=ne.current,Br(t)){if(e=t.stateNode,n=t.memoizedProps,i=null,o=bt,o!==null)switch(o.tag){case 27:case 5:i=o.memoizedProps}e[Se]=t,e=!!(e.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||Yh(e.nodeValue,n)),e||ia(t,!0)}else e=Ho(e).createTextNode(i),e[Se]=t,t.stateNode=e}return Ke(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(i=Br(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[Se]=t}else Qa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ke(t),e=!1}else n=bu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Gt(t),t):(Gt(t),null);if((t.flags&128)!==0)throw Error(s(558))}return Ke(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=Br(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[Se]=t}else Qa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ke(t),o=!1}else o=bu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Gt(t),t):(Gt(t),null)}return Gt(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),_o(t,t.updateQueue),Ke(t),null);case 4:return Y(),e===null&&xc(t.stateNode.containerInfo),Ke(t),null;case 10:return Ln(t.type),Ke(t),null;case 19:if(N(lt),i=t.memoizedState,i===null)return Ke(t),null;if(o=(t.flags&128)!==0,u=i.rendering,u===null)if(o)Xi(i,!1);else{if(rt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=lo(e),u!==null){for(t.flags|=128,Xi(i,!1),e=u.updateQueue,t.updateQueue=e,_o(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ap(n,e),n=n.sibling;return F(lt,lt.current&1|2),Re&&kn(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&ze()>To&&(t.flags|=128,o=!0,Xi(i,!1),t.lanes=4194304)}else{if(!o)if(e=lo(u),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,_o(t,e),Xi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!Re)return Ke(t),null}else 2*ze()-i.renderingStartTime>To&&n!==536870912&&(t.flags|=128,o=!0,Xi(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=ze(),e.sibling=null,n=lt.current,F(lt,o?n&1|2:n&1),Re&&kn(t,i.treeForkCount),e):(Ke(t),null);case 22:case 23:return Gt(t),ku(),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&&(Ke(t),t.subtreeFlags&6&&(t.flags|=8192)):Ke(t),n=t.updateQueue,n!==null&&_o(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&&N(Wa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ln(st),Ke(t),null;case 25:return null;case 30:return null}throw Error(s(156,t.tag))}function w_(e,t){switch(gu(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ln(st),Y(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return bn(t),null;case 31:if(t.memoizedState!==null){if(Gt(t),t.alternate===null)throw Error(s(340));Qa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Gt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Qa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return N(lt),null;case 4:return Y(),null;case 10:return Ln(t.type),null;case 22:case 23:return Gt(t),ku(),e!==null&&N(Wa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ln(st),null;case 25:return null;default:return null}}function Wm(e,t){switch(gu(t),t.tag){case 3:Ln(st),Y();break;case 26:case 27:case 5:bn(t);break;case 4:Y();break;case 31:t.memoizedState!==null&&Gt(t);break;case 13:Gt(t);break;case 19:N(lt);break;case 10:Ln(t.type);break;case 22:case 23:Gt(t),ku(),e!==null&&N(Wa);break;case 24:Ln(st)}}function Wi(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){qe(t,t.return,h)}}function da(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 b=n,w=h;try{w()}catch(x){qe(o,b,x)}}}i=i.next}while(i!==u)}}catch(x){qe(t,t.return,x)}}function Km(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Pp(t,n)}catch(i){qe(e,e.return,i)}}}function Jm(e,t,n){n.props=nr(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(i){qe(e,t,i)}}function Ki(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){qe(e,t,o)}}function En(e,t){var n=e.ref,i=e.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(o){qe(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){qe(e,t,o)}else n.current=null}function eh(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){qe(e,e.return,o)}}function cc(e,t,n){try{var i=e.stateNode;Z_(i,e.type,n,t),i[Be]=t}catch(o){qe(e,e.return,o)}}function th(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ba(e.type)||e.tag===4}function fc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||th(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&&ba(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 dc(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=Rn));else if(i!==4&&(i===27&&ba(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(dc(e,t,n),e=e.sibling;e!==null;)dc(e,t,n),e=e.sibling}function So(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&&ba(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(So(e,t,n),e=e.sibling;e!==null;)So(e,t,n),e=e.sibling}function nh(e){var t=e.stateNode,n=e.memoizedProps;try{for(var i=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);Et(t,i,n),t[Se]=e,t[Be]=n}catch(u){qe(e,e.return,u)}}var jn=!1,ft=!1,pc=!1,ah=typeof WeakSet=="function"?WeakSet:Set,vt=null;function O_(e,t){if(e=e.containerInfo,Lc=Po,e=hp(e),lu(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,b=-1,w=0,x=0,H=e,O=null;t:for(;;){for(var R;H!==n||o!==0&&H.nodeType!==3||(h=d+o),H!==u||i!==0&&H.nodeType!==3||(b=d+i),H.nodeType===3&&(d+=H.nodeValue.length),(R=H.firstChild)!==null;)O=H,H=R;for(;;){if(H===e)break t;if(O===n&&++w===o&&(h=d),O===u&&++x===i&&(b=d),(R=H.nextSibling)!==null)break;H=O,O=H.parentNode}H=R}n=h===-1||b===-1?null:{start:h,end:b}}else n=null}n=n||{start:0,end:0}}else n=null;for(Hc={focusedElem:e,selectionRange:n},Po=!1,vt=t;vt!==null;)if(t=vt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,vt=e;else for(;vt!==null;){switch(t=vt,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 W=nr(n.type,o);e=i.getSnapshotBeforeUpdate(W,u),i.__reactInternalSnapshotBeforeUpdate=e}catch(le){qe(n,n.return,le)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Bc(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Bc(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,vt=e;break}vt=t.return}}function rh(e,t,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:qn(e,n),i&4&&Wi(5,n);break;case 1:if(qn(e,n),i&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(d){qe(n,n.return,d)}else{var o=nr(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(d){qe(n,n.return,d)}}i&64&&Km(n),i&512&&Ki(n,n.return);break;case 3:if(qn(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{Pp(e,t)}catch(d){qe(n,n.return,d)}}break;case 27:t===null&&i&4&&nh(n);case 26:case 5:qn(e,n),t===null&&i&4&&eh(n),i&512&&Ki(n,n.return);break;case 12:qn(e,n);break;case 31:qn(e,n),i&4&&oh(e,n);break;case 13:qn(e,n),i&4&&sh(e,n),i&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=z_.bind(null,n),aS(e,n))));break;case 22:if(i=n.memoizedState!==null||jn,!i){t=t!==null&&t.memoizedState!==null||ft,o=jn;var u=ft;jn=i,(ft=t)&&!u?Pn(e,n,(n.subtreeFlags&8772)!==0):qn(e,n),jn=o,ft=u}break;case 30:break;default:qn(e,n)}}function ih(e){var t=e.alternate;t!==null&&(e.alternate=null,ih(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Gs(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 tt=null,kt=!1;function In(e,t,n){for(n=n.child;n!==null;)lh(e,t,n),n=n.sibling}function lh(e,t,n){if(Mt&&typeof Mt.onCommitFiberUnmount=="function")try{Mt.onCommitFiberUnmount(ja,n)}catch{}switch(n.tag){case 26:ft||En(n,t),In(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:ft||En(n,t);var i=tt,o=kt;ba(n.type)&&(tt=n.stateNode,kt=!1),In(e,t,n),ol(n.stateNode),tt=i,kt=o;break;case 5:ft||En(n,t);case 6:if(i=tt,o=kt,tt=null,In(e,t,n),tt=i,kt=o,tt!==null)if(kt)try{(tt.nodeType===9?tt.body:tt.nodeName==="HTML"?tt.ownerDocument.body:tt).removeChild(n.stateNode)}catch(u){qe(n,t,u)}else try{tt.removeChild(n.stateNode)}catch(u){qe(n,t,u)}break;case 18:tt!==null&&(kt?(e=tt,Kh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),ii(e)):Kh(tt,n.stateNode));break;case 4:i=tt,o=kt,tt=n.stateNode.containerInfo,kt=!0,In(e,t,n),tt=i,kt=o;break;case 0:case 11:case 14:case 15:da(2,n,t),ft||da(4,n,t),In(e,t,n);break;case 1:ft||(En(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"&&Jm(n,t,i)),In(e,t,n);break;case 21:In(e,t,n);break;case 22:ft=(i=ft)||n.memoizedState!==null,In(e,t,n),ft=i;break;default:In(e,t,n)}}function oh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ii(e)}catch(n){qe(t,t.return,n)}}}function sh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ii(e)}catch(n){qe(t,t.return,n)}}function R_(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new ah),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new ah),t;default:throw Error(s(435,e.tag))}}function Eo(e,t){var n=R_(e);t.forEach(function(i){if(!n.has(i)){n.add(i);var o=B_.bind(null,e,i);i.then(o,o)}})}function Nt(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(ba(h.type)){tt=h.stateNode,kt=!1;break e}break;case 5:tt=h.stateNode,kt=!1;break e;case 3:case 4:tt=h.stateNode.containerInfo,kt=!0;break e}h=h.return}if(tt===null)throw Error(s(160));lh(u,d,o),tt=null,kt=!1,u=o.alternate,u!==null&&(u.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)uh(t,e),t=t.sibling}var pn=null;function uh(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Nt(t,e),Lt(e),i&4&&(da(3,e,e.return),Wi(3,e),da(5,e,e.return));break;case 1:Nt(t,e),Lt(e),i&512&&(ft||n===null||En(n,n.return)),i&64&&jn&&(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=pn;if(Nt(t,e),Lt(e),i&512&&(ft||n===null||En(n,n.return)),i&4){var u=n!==null?n.memoizedState:null;if(i=e.memoizedState,n===null)if(i===null)if(e.stateNode===null){e:{i=e.type,n=e.memoizedProps,o=o.ownerDocument||o;t:switch(i){case"title":u=o.getElementsByTagName("title")[0],(!u||u[Ti]||u[Se]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=o.createElement(i),o.head.insertBefore(u,o.querySelector("head > title"))),Et(u,i,n),u[Se]=e,gt(u),i=u;break e;case"link":var d=uy("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),Et(u,i,n),o.head.appendChild(u);break;case"meta":if(d=uy("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),Et(u,i,n),o.head.appendChild(u);break;default:throw Error(s(468,i))}u[Se]=e,gt(u),i=u}e.stateNode=i}else cy(o,e.type,e.stateNode);else e.stateNode=sy(o,i,e.memoizedProps);else u!==i?(u===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):u.count--,i===null?cy(o,e.type,e.stateNode):sy(o,i,e.memoizedProps)):i===null&&e.stateNode!==null&&cc(e,e.memoizedProps,n.memoizedProps)}break;case 27:Nt(t,e),Lt(e),i&512&&(ft||n===null||En(n,n.return)),n!==null&&i&4&&cc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Nt(t,e),Lt(e),i&512&&(ft||n===null||En(n,n.return)),e.flags&32){o=e.stateNode;try{Or(o,"")}catch(W){qe(e,e.return,W)}}i&4&&e.stateNode!=null&&(o=e.memoizedProps,cc(e,o,n!==null?n.memoizedProps:o)),i&1024&&(pc=!0);break;case 6:if(Nt(t,e),Lt(e),i&4){if(e.stateNode===null)throw Error(s(162));i=e.memoizedProps,n=e.stateNode;try{n.nodeValue=i}catch(W){qe(e,e.return,W)}}break;case 3:if(Bo=null,o=pn,pn=Uo(t.containerInfo),Nt(t,e),pn=o,Lt(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{ii(t.containerInfo)}catch(W){qe(e,e.return,W)}pc&&(pc=!1,ch(e));break;case 4:i=pn,pn=Uo(e.stateNode.containerInfo),Nt(t,e),Lt(e),pn=i;break;case 12:Nt(t,e),Lt(e);break;case 31:Nt(t,e),Lt(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Eo(e,i)));break;case 13:Nt(t,e),Lt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Ao=ze()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Eo(e,i)));break;case 22:o=e.memoizedState!==null;var b=n!==null&&n.memoizedState!==null,w=jn,x=ft;if(jn=w||o,ft=x||b,Nt(t,e),ft=x,jn=w,Lt(e),i&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(n===null||b||jn||ft||ar(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){b=n=t;try{if(u=b.stateNode,o)d=u.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{h=b.stateNode;var H=b.memoizedProps.style,O=H!=null&&H.hasOwnProperty("display")?H.display:null;h.style.display=O==null||typeof O=="boolean"?"":(""+O).trim()}}catch(W){qe(b,b.return,W)}}}else if(t.tag===6){if(n===null){b=t;try{b.stateNode.nodeValue=o?"":b.memoizedProps}catch(W){qe(b,b.return,W)}}}else if(t.tag===18){if(n===null){b=t;try{var R=b.stateNode;o?Jh(R,!0):Jh(b.stateNode,!1)}catch(W){qe(b,b.return,W)}}}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,Eo(e,n))));break;case 19:Nt(t,e),Lt(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Eo(e,i)));break;case 30:break;case 21:break;default:Nt(t,e),Lt(e)}}function Lt(e){var t=e.flags;if(t&2){try{for(var n,i=e.return;i!==null;){if(th(i)){n=i;break}i=i.return}if(n==null)throw Error(s(160));switch(n.tag){case 27:var o=n.stateNode,u=fc(e);So(e,u,o);break;case 5:var d=n.stateNode;n.flags&32&&(Or(d,""),n.flags&=-33);var h=fc(e);So(e,h,d);break;case 3:case 4:var b=n.stateNode.containerInfo,w=fc(e);dc(e,w,b);break;default:throw Error(s(161))}}catch(x){qe(e,e.return,x)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ch(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;ch(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function qn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)rh(e,t.alternate,t),t=t.sibling}function ar(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:da(4,t,t.return),ar(t);break;case 1:En(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&Jm(t,t.return,n),ar(t);break;case 27:ol(t.stateNode);case 26:case 5:En(t,t.return),ar(t);break;case 22:t.memoizedState===null&&ar(t);break;case 30:ar(t);break;default:ar(t)}e=e.sibling}}function Pn(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:Pn(o,u,n),Wi(4,u);break;case 1:if(Pn(o,u,n),i=u,o=i.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(w){qe(i,i.return,w)}if(i=u,o=i.updateQueue,o!==null){var h=i.stateNode;try{var b=o.shared.hiddenCallbacks;if(b!==null)for(o.shared.hiddenCallbacks=null,o=0;o<b.length;o++)qp(b[o],h)}catch(w){qe(i,i.return,w)}}n&&d&64&&Km(u),Ki(u,u.return);break;case 27:nh(u);case 26:case 5:Pn(o,u,n),n&&i===null&&d&4&&eh(u),Ki(u,u.return);break;case 12:Pn(o,u,n);break;case 31:Pn(o,u,n),n&&d&4&&oh(o,u);break;case 13:Pn(o,u,n),n&&d&4&&sh(o,u);break;case 22:u.memoizedState===null&&Pn(o,u,n),Ki(u,u.return);break;case 30:break;default:Pn(o,u,n)}t=t.sibling}}function mc(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&&Bi(n))}function hc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Bi(e))}function mn(e,t,n,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)fh(e,t,n,i),t=t.sibling}function fh(e,t,n,i){var o=t.flags;switch(t.tag){case 0:case 11:case 15:mn(e,t,n,i),o&2048&&Wi(9,t);break;case 1:mn(e,t,n,i);break;case 3:mn(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&&Bi(e)));break;case 12:if(o&2048){mn(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(b){qe(t,t.return,b)}}else mn(e,t,n,i);break;case 31:mn(e,t,n,i);break;case 13:mn(e,t,n,i);break;case 23:break;case 22:u=t.stateNode,d=t.alternate,t.memoizedState!==null?u._visibility&2?mn(e,t,n,i):Ji(e,t):u._visibility&2?mn(e,t,n,i):(u._visibility|=2,Qr(e,t,n,i,(t.subtreeFlags&10256)!==0||!1)),o&2048&&mc(d,t);break;case 24:mn(e,t,n,i),o&2048&&hc(t.alternate,t);break;default:mn(e,t,n,i)}}function Qr(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,b=i,w=d.flags;switch(d.tag){case 0:case 11:case 15:Qr(u,d,h,b,o),Wi(8,d);break;case 23:break;case 22:var x=d.stateNode;d.memoizedState!==null?x._visibility&2?Qr(u,d,h,b,o):Ji(u,d):(x._visibility|=2,Qr(u,d,h,b,o)),o&&w&2048&&mc(d.alternate,d);break;case 24:Qr(u,d,h,b,o),o&&w&2048&&hc(d.alternate,d);break;default:Qr(u,d,h,b,o)}t=t.sibling}}function Ji(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:Ji(n,i),o&2048&&mc(i.alternate,i);break;case 24:Ji(n,i),o&2048&&hc(i.alternate,i);break;default:Ji(n,i)}t=t.sibling}}var el=8192;function Zr(e,t,n){if(e.subtreeFlags&el)for(e=e.child;e!==null;)dh(e,t,n),e=e.sibling}function dh(e,t,n){switch(e.tag){case 26:Zr(e,t,n),e.flags&el&&e.memoizedState!==null&&hS(n,pn,e.memoizedState,e.memoizedProps);break;case 5:Zr(e,t,n);break;case 3:case 4:var i=pn;pn=Uo(e.stateNode.containerInfo),Zr(e,t,n),pn=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=el,el=16777216,Zr(e,t,n),el=i):Zr(e,t,n));break;default:Zr(e,t,n)}}function ph(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 tl(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];vt=i,hh(i,e)}ph(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)mh(e),e=e.sibling}function mh(e){switch(e.tag){case 0:case 11:case 15:tl(e),e.flags&2048&&da(9,e,e.return);break;case 3:tl(e);break;case 12:tl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Co(e)):tl(e);break;default:tl(e)}}function Co(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];vt=i,hh(i,e)}ph(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:da(8,t,t.return),Co(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Co(t));break;default:Co(t)}e=e.sibling}}function hh(e,t){for(;vt!==null;){var n=vt;switch(n.tag){case 0:case 11:case 15:da(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:Bi(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,vt=i;else e:for(n=e;vt!==null;){i=vt;var o=i.sibling,u=i.return;if(ih(i),i===n){vt=null;break e}if(o!==null){o.return=u,vt=o;break e}vt=u}}}var D_={getCacheForType:function(e){var t=_t(st),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return _t(st).controller.signal}},x_=typeof WeakMap=="function"?WeakMap:Map,He=0,Ze=null,Ae=null,we=0,Ie=0,Ft=null,pa=!1,Xr=!1,yc=!1,Gn=0,rt=0,ma=0,rr=0,gc=0,Vt=0,Wr=0,nl=null,Ht=null,vc=!1,Ao=0,yh=0,To=1/0,Mo=null,ha=null,pt=0,ya=null,Kr=null,Fn=0,bc=0,_c=null,gh=null,al=0,Sc=null;function Yt(){return(He&2)!==0&&we!==0?we&-we:D.T!==null?wc():Ce()}function vh(){if(Vt===0)if((we&536870912)===0||Re){var e=ea;ea<<=1,(ea&3932160)===0&&(ea=262144),Vt=e}else Vt=536870912;return e=Pt.current,e!==null&&(e.flags|=32),Vt}function Ut(e,t,n){(e===Ze&&(Ie===2||Ie===9)||e.cancelPendingCommit!==null)&&(Jr(e,0),ga(e,we,Vt,!1)),jt(e,n),((He&2)===0||e!==Ze)&&(e===Ze&&((He&2)===0&&(rr|=n),rt===4&&ga(e,we,Vt,!1)),Cn(e))}function bh(e,t,n){if((He&6)!==0)throw Error(s(327));var i=!n&&(t&127)===0&&(t&e.expiredLanes)===0||ta(e,t),o=i?L_(e,t):Cc(e,t,!0),u=i;do{if(o===0){Xr&&!i&&ga(e,t,0,!1);break}else{if(n=e.current.alternate,u&&!k_(n)){o=Cc(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=nl;var b=h.current.memoizedState.isDehydrated;if(b&&(Jr(h,d).flags|=256),d=Cc(h,d,!1),d!==2){if(yc&&!b){h.errorRecoveryDisabledLanes|=u,rr|=u,o=4;break e}u=Ht,Ht=o,u!==null&&(Ht===null?Ht=u:Ht.push.apply(Ht,u))}o=d}if(u=!1,o!==2)continue}}if(o===1){Jr(e,0),ga(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:ga(i,t,Vt,!pa);break e;case 2:Ht=null;break;case 3:case 5:break;default:throw Error(s(329))}if((t&62914560)===t&&(o=Ao+300-ze(),10<o)){if(ga(i,t,Vt,!pa),qa(i,0,!0)!==0)break e;Fn=t,i.timeoutHandle=Xh(_h.bind(null,i,n,Ht,Mo,vc,t,Vt,rr,Wr,pa,u,"Throttled",-0,0),o);break e}_h(i,n,Ht,Mo,vc,t,Vt,rr,Wr,pa,u,null,-0,0)}}break}while(!0);Cn(e)}function _h(e,t,n,i,o,u,d,h,b,w,x,H,O,R){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:Rn},dh(t,u,H);var W=(u&62914560)===u?Ao-ze():(u&4194048)===u?yh-ze():0;if(W=yS(H,W),W!==null){Fn=u,e.cancelPendingCommit=W(Oh.bind(null,e,t,u,n,i,o,d,h,b,x,H,null,O,R)),ga(e,u,d,!w);return}}Oh(e,t,u,n,i,o,d,h,b)}function k_(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(!It(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 ga(e,t,n,i){t&=~gc,t&=~rr,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var o=t;0<o;){var u=31-dt(o),d=1<<u;i[u]=-1,o&=~d}n!==0&&z(e,n,t)}function wo(){return(He&6)===0?(rl(0),!1):!0}function Ec(){if(Ae!==null){if(Ie===0)var e=Ae.return;else e=Ae,Nn=Za=null,Bu(e),Gr=null,Ii=0,e=Ae;for(;e!==null;)Wm(e.alternate,e),e=e.return;Ae=null}}function Jr(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,K_(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Fn=0,Ec(),Ze=e,Ae=n=xn(e.current,null),we=t,Ie=0,Ft=null,pa=!1,Xr=ta(e,t),yc=!1,Wr=Vt=gc=rr=ma=rt=0,Ht=nl=null,vc=!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-dt(i),u=1<<o;t|=e[o],i&=~u}return Gn=t,$l(),n}function Sh(e,t){he=null,D.H=Qi,t===Pr||t===to?(t=zp(),Ie=3):t===Mu?(t=zp(),Ie=4):Ie=t===ec?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Ft=t,Ae===null&&(rt=1,yo(e,Kt(t,e.current)))}function Eh(){var e=Pt.current;return e===null?!0:(we&4194048)===we?nn===null:(we&62914560)===we||(we&536870912)!==0?e===nn:!1}function Ch(){var e=D.H;return D.H=Qi,e===null?Qi:e}function Ah(){var e=D.A;return D.A=D_,e}function Oo(){rt=4,pa||(we&4194048)!==we&&Pt.current!==null||(Xr=!0),(ma&134217727)===0&&(rr&134217727)===0||Ze===null||ga(Ze,we,Vt,!1)}function Cc(e,t,n){var i=He;He|=2;var o=Ch(),u=Ah();(Ze!==e||we!==t)&&(Mo=null,Jr(e,t)),t=!1;var d=rt;e:do try{if(Ie!==0&&Ae!==null){var h=Ae,b=Ft;switch(Ie){case 8:Ec(),d=6;break e;case 3:case 2:case 9:case 6:Pt.current===null&&(t=!0);var w=Ie;if(Ie=0,Ft=null,ei(e,h,b,w),n&&Xr){d=0;break e}break;default:w=Ie,Ie=0,Ft=null,ei(e,h,b,w)}}N_(),d=rt;break}catch(x){Sh(e,x)}while(!0);return t&&e.shellSuspendCounter++,Nn=Za=null,He=i,D.H=o,D.A=u,Ae===null&&(Ze=null,we=0,$l()),d}function N_(){for(;Ae!==null;)Th(Ae)}function L_(e,t){var n=He;He|=2;var i=Ch(),o=Ah();Ze!==e||we!==t?(Mo=null,To=ze()+500,Jr(e,t)):Xr=ta(e,t);e:do try{if(Ie!==0&&Ae!==null){t=Ae;var u=Ft;t:switch(Ie){case 1:Ie=0,Ft=null,ei(e,t,u,1);break;case 2:case 9:if(Hp(u)){Ie=0,Ft=null,Mh(t);break}t=function(){Ie!==2&&Ie!==9||Ze!==e||(Ie=7),Cn(e)},u.then(t,t);break e;case 3:Ie=7;break e;case 4:Ie=5;break e;case 7:Hp(u)?(Ie=0,Ft=null,Mh(t)):(Ie=0,Ft=null,ei(e,t,u,7));break;case 5:var d=null;switch(Ae.tag){case 26:d=Ae.memoizedState;case 5:case 27:var h=Ae;if(d?fy(d):h.stateNode.complete){Ie=0,Ft=null;var b=h.sibling;if(b!==null)Ae=b;else{var w=h.return;w!==null?(Ae=w,Ro(w)):Ae=null}break t}}Ie=0,Ft=null,ei(e,t,u,5);break;case 6:Ie=0,Ft=null,ei(e,t,u,6);break;case 8:Ec(),rt=6;break e;default:throw Error(s(462))}}H_();break}catch(x){Sh(e,x)}while(!0);return Nn=Za=null,D.H=i,D.A=o,He=n,Ae!==null?0:(Ze=null,we=0,$l(),rt)}function H_(){for(;Ae!==null&&!xl();)Th(Ae)}function Th(e){var t=Zm(e.alternate,e,Gn);e.memoizedProps=e.pendingProps,t===null?Ro(e):Ae=t}function Mh(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Gm(n,t,t.pendingProps,t.type,void 0,we);break;case 11:t=Gm(n,t,t.pendingProps,t.type.render,t.ref,we);break;case 5:Bu(t);default:Wm(n,t),t=Ae=Ap(t,Gn),t=Zm(n,t,Gn)}e.memoizedProps=e.pendingProps,t===null?Ro(e):Ae=t}function ei(e,t,n,i){Nn=Za=null,Bu(t),Gr=null,Ii=0;var o=t.return;try{if(C_(e,o,t,n,we)){rt=1,yo(e,Kt(n,e.current)),Ae=null;return}}catch(u){if(o!==null)throw Ae=o,u;rt=1,yo(e,Kt(n,e.current)),Ae=null;return}t.flags&32768?(Re||i===1?e=!0:Xr||(we&536870912)!==0?e=!1:(pa=e=!0,(i===2||i===9||i===3||i===6)&&(i=Pt.current,i!==null&&i.tag===13&&(i.flags|=16384))),wh(t,e)):Ro(t)}function Ro(e){var t=e;do{if((t.flags&32768)!==0){wh(t,pa);return}e=t.return;var n=M_(t.alternate,t,Gn);if(n!==null){Ae=n;return}if(t=t.sibling,t!==null){Ae=t;return}Ae=t=e}while(t!==null);rt===0&&(rt=5)}function wh(e,t){do{var n=w_(e.alternate,e);if(n!==null){n.flags&=32767,Ae=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ae=e;return}Ae=e=n}while(e!==null);rt=6,Ae=null}function Oh(e,t,n,i,o,u,d,h,b){e.cancelPendingCommit=null;do Do();while(pt!==0);if((He&6)!==0)throw Error(s(327));if(t!==null){if(t===e.current)throw Error(s(177));if(u=t.lanes|t.childLanes,u|=fu,L(e,n,u,d,h,b),e===Ze&&(Ae=Ze=null,we=0),Kr=t,ya=e,Fn=n,bc=u,_c=o,gh=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,j_(Ba,function(){return Nh(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=D.T,D.T=null,o=q.p,q.p=2,d=He,He|=4;try{O_(e,t,n)}finally{He=d,q.p=o,D.T=i}}pt=1,Rh(),Dh(),xh()}}function Rh(){if(pt===1){pt=0;var e=ya,t=Kr,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=D.T,D.T=null;var i=q.p;q.p=2;var o=He;He|=4;try{uh(t,e);var u=Hc,d=hp(e.containerInfo),h=u.focusedElem,b=u.selectionRange;if(d!==h&&h&&h.ownerDocument&&mp(h.ownerDocument.documentElement,h)){if(b!==null&&lu(h)){var w=b.start,x=b.end;if(x===void 0&&(x=w),"selectionStart"in h)h.selectionStart=w,h.selectionEnd=Math.min(x,h.value.length);else{var H=h.ownerDocument||document,O=H&&H.defaultView||window;if(O.getSelection){var R=O.getSelection(),W=h.textContent.length,le=Math.min(b.start,W),$e=b.end===void 0?le:Math.min(b.end,W);!R.extend&&le>$e&&(d=$e,$e=le,le=d);var C=pp(h,le),_=pp(h,$e);if(C&&_&&(R.rangeCount!==1||R.anchorNode!==C.node||R.anchorOffset!==C.offset||R.focusNode!==_.node||R.focusOffset!==_.offset)){var M=H.createRange();M.setStart(C.node,C.offset),R.removeAllRanges(),le>$e?(R.addRange(M),R.extend(_.node,_.offset)):(M.setEnd(_.node,_.offset),R.addRange(M))}}}}for(H=[],R=h;R=R.parentNode;)R.nodeType===1&&H.push({element:R,left:R.scrollLeft,top:R.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<H.length;h++){var k=H[h];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}Po=!!Lc,Hc=Lc=null}finally{He=o,q.p=i,D.T=n}}e.current=t,pt=2}}function Dh(){if(pt===2){pt=0;var e=ya,t=Kr,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=D.T,D.T=null;var i=q.p;q.p=2;var o=He;He|=4;try{rh(e,t.alternate,t)}finally{He=o,q.p=i,D.T=n}}pt=3}}function xh(){if(pt===4||pt===3){pt=0,kl();var e=ya,t=Kr,n=Fn,i=gh;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?pt=5:(pt=0,Kr=ya=null,kh(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(ha=null),ue(n),t=t.stateNode,Mt&&typeof Mt.onCommitFiberRoot=="function")try{Mt.onCommitFiberRoot(ja,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=D.T,o=q.p,q.p=2,D.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{D.T=t,q.p=o}}(Fn&3)!==0&&Do(),Cn(e),o=e.pendingLanes,(n&261930)!==0&&(o&42)!==0?e===Sc?al++:(al=0,Sc=e):al=0,rl(0)}}function kh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Bi(t)))}function Do(){return Rh(),Dh(),xh(),Nh()}function Nh(){if(pt!==5)return!1;var e=ya,t=bc;bc=0;var n=ue(Fn),i=D.T,o=q.p;try{q.p=32>n?32:n,D.T=null,n=_c,_c=null;var u=ya,d=Fn;if(pt=0,Kr=ya=null,Fn=0,(He&6)!==0)throw Error(s(331));var h=He;if(He|=4,mh(u.current),fh(u,u.current,d,n),He=h,rl(0,!1),Mt&&typeof Mt.onPostCommitFiberRoot=="function")try{Mt.onPostCommitFiberRoot(ja,u)}catch{}return!0}finally{q.p=o,D.T=i,kh(e,t)}}function Lh(e,t,n){t=Kt(n,t),t=Ju(e.stateNode,t,2),e=ua(e,t,2),e!==null&&(jt(e,2),Cn(e))}function qe(e,t,n){if(e.tag===3)Lh(e,e,n);else for(;t!==null;){if(t.tag===3){Lh(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(ha===null||!ha.has(i))){e=Kt(n,e),n=Hm(2),i=ua(t,n,2),i!==null&&(Um(n,i,t,e),jt(i,2),Cn(i));break}}t=t.return}}function Ac(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new x_;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)||(yc=!0,o.add(n),e=U_.bind(null,e,t,n),t.then(e,e))}function U_(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ze===e&&(we&n)===n&&(rt===4||rt===3&&(we&62914560)===we&&300>ze()-Ao?(He&2)===0&&Jr(e,0):gc|=n,Wr===we&&(Wr=0)),Cn(e)}function Hh(e,t){t===0&&(t=Er()),e=Ya(e,t),e!==null&&(jt(e,t),Cn(e))}function z_(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Hh(e,n)}function B_(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),Hh(e,n)}function j_(e,t){return Mn(e,t)}var xo=null,ti=null,Tc=!1,ko=!1,Mc=!1,va=0;function Cn(e){e!==ti&&e.next===null&&(ti===null?xo=ti=e:ti=ti.next=e),ko=!0,Tc||(Tc=!0,q_())}function rl(e,t){if(!Mc&&ko){Mc=!0;do for(var n=!1,i=xo;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-dt(42|e)+1)-1,u&=o&~(d&~h),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(n=!0,jh(i,u))}else u=we,u=qa(i,i===Ze?u:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(u&3)===0||ta(i,u)||(n=!0,jh(i,u));i=i.next}while(n);Mc=!1}}function I_(){Uh()}function Uh(){ko=Tc=!1;var e=0;va!==0&&W_()&&(e=va);for(var t=ze(),n=null,i=xo;i!==null;){var o=i.next,u=zh(i,t);u===0?(i.next=null,n===null?xo=o:n.next=o,o===null&&(ti=n)):(n=i,(e!==0||(u&3)!==0)&&(ko=!0)),i=o}pt!==0&&pt!==5||rl(e),va!==0&&(va=0)}function zh(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var d=31-dt(u),h=1<<d,b=o[d];b===-1?((h&n)===0||(h&i)!==0)&&(o[d]=Ps(h,t)):b<=t&&(e.expiredLanes|=h),u&=~h}if(t=Ze,n=we,n=qa(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,n===0||e===t&&(Ie===2||Ie===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&cn(i),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||ta(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(i!==null&&cn(i),ue(n)){case 2:case 8:n=_i;break;case 32:n=Ba;break;case 268435456:n=Si;break;default:n=Ba}return i=Bh.bind(null,e),n=Mn(n,i),e.callbackPriority=t,e.callbackNode=n,t}return i!==null&&i!==null&&cn(i),e.callbackPriority=2,e.callbackNode=null,2}function Bh(e,t){if(pt!==0&&pt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Do()&&e.callbackNode!==n)return null;var i=we;return i=qa(e,e===Ze?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(bh(e,i,t),zh(e,ze()),e.callbackNode!=null&&e.callbackNode===n?Bh.bind(null,e):null)}function jh(e,t){if(Do())return null;bh(e,t,!0)}function q_(){J_(function(){(He&6)!==0?Mn(wn,I_):Uh()})}function wc(){if(va===0){var e=Ir;e===0&&(e=Sr,Sr<<=1,(Sr&261888)===0&&(Sr=256)),va=e}return va}function Ih(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:jl(""+e)}function qh(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 P_(e,t,n,i,o){if(t==="submit"&&n&&n.stateNode===o){var u=Ih((o[Be]||null).action),d=i.submitter;d&&(t=(t=d[Be]||null)?Ih(t.formAction):d.getAttribute("formAction"),t!==null&&(u=t,d=null));var h=new Gl("action","action",null,i,o);e.push({event:h,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(va!==0){var b=d?qh(o,d):new FormData(o);$u(n,{pending:!0,data:b,method:o.method,action:u},null,b)}}else typeof u=="function"&&(h.preventDefault(),b=d?qh(o,d):new FormData(o),$u(n,{pending:!0,data:b,method:o.method,action:u},u,b))},currentTarget:o}]})}}for(var Oc=0;Oc<cu.length;Oc++){var Rc=cu[Oc],G_=Rc.toLowerCase(),F_=Rc[0].toUpperCase()+Rc.slice(1);dn(G_,"on"+F_)}dn(vp,"onAnimationEnd"),dn(bp,"onAnimationIteration"),dn(_p,"onAnimationStart"),dn("dblclick","onDoubleClick"),dn("focusin","onFocus"),dn("focusout","onBlur"),dn(l_,"onTransitionRun"),dn(o_,"onTransitionStart"),dn(s_,"onTransitionCancel"),dn(Sp,"onTransitionEnd"),Mr("onMouseEnter",["mouseout","mouseover"]),Mr("onMouseLeave",["mouseout","mouseover"]),Mr("onPointerEnter",["pointerout","pointerover"]),Mr("onPointerLeave",["pointerout","pointerover"]),Pa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Pa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Pa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Pa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Pa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Pa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var il="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(" "),V_=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(il));function Ph(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],b=h.instance,w=h.currentTarget;if(h=h.listener,b!==u&&o.isPropagationStopped())break e;u=h,o.currentTarget=w;try{u(o)}catch(x){Yl(x)}o.currentTarget=null,u=b}else for(d=0;d<i.length;d++){if(h=i[d],b=h.instance,w=h.currentTarget,h=h.listener,b!==u&&o.isPropagationStopped())break e;u=h,o.currentTarget=w;try{u(o)}catch(x){Yl(x)}o.currentTarget=null,u=b}}}}function Te(e,t){var n=t[Rt];n===void 0&&(n=t[Rt]=new Set);var i=e+"__bubble";n.has(i)||(Gh(t,e,2,!1),n.add(i))}function Dc(e,t,n){var i=0;t&&(i|=4),Gh(n,e,i,t)}var No="_reactListening"+Math.random().toString(36).slice(2);function xc(e){if(!e[No]){e[No]=!0,Ud.forEach(function(n){n!=="selectionchange"&&(V_.has(n)||Dc(n,!1,e),Dc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[No]||(t[No]=!0,Dc("selectionchange",!1,t))}}function Gh(e,t,n,i){switch(vy(t)){case 2:var o=bS;break;case 8:o=_S;break;default:o=Yc}n=o.bind(null,t,n,e),o=void 0,!Ws||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 kc(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 b=d.tag;if((b===3||b===4)&&d.stateNode.containerInfo===o)return;d=d.return}for(;h!==null;){if(d=Cr(h),d===null)return;if(b=d.tag,b===5||b===6||b===26||b===27){i=u=d;continue e}h=h.parentNode}}i=i.return}Qd(function(){var w=u,x=Zs(n),H=[];e:{var O=Ep.get(e);if(O!==void 0){var R=Gl,W=e;switch(e){case"keypress":if(ql(n)===0)break e;case"keydown":case"keyup":R=Bb;break;case"focusin":W="focus",R=tu;break;case"focusout":W="blur",R=tu;break;case"beforeblur":case"afterblur":R=tu;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":R=Wd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":R=Mb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":R=qb;break;case vp:case bp:case _p:R=Rb;break;case Sp:R=Gb;break;case"scroll":case"scrollend":R=Ab;break;case"wheel":R=Vb;break;case"copy":case"cut":case"paste":R=xb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":R=Jd;break;case"toggle":case"beforetoggle":R=$b}var le=(t&4)!==0,$e=!le&&(e==="scroll"||e==="scrollend"),C=le?O!==null?O+"Capture":null:O;le=[];for(var _=w,M;_!==null;){var k=_;if(M=k.stateNode,k=k.tag,k!==5&&k!==26&&k!==27||M===null||C===null||(k=wi(_,C),k!=null&&le.push(ll(_,k,M))),$e)break;_=_.return}0<le.length&&(O=new R(O,W,null,n,x),H.push({event:O,listeners:le}))}}if((t&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",R=e==="mouseout"||e==="pointerout",O&&n!==Qs&&(W=n.relatedTarget||n.fromElement)&&(Cr(W)||W[Fe]))break e;if((R||O)&&(O=x.window===x?x:(O=x.ownerDocument)?O.defaultView||O.parentWindow:window,R?(W=n.relatedTarget||n.toElement,R=w,W=W?Cr(W):null,W!==null&&($e=f(W),le=W.tag,W!==$e||le!==5&&le!==27&&le!==6)&&(W=null)):(R=null,W=w),R!==W)){if(le=Wd,k="onMouseLeave",C="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(le=Jd,k="onPointerLeave",C="onPointerEnter",_="pointer"),$e=R==null?O:Mi(R),M=W==null?O:Mi(W),O=new le(k,_+"leave",R,n,x),O.target=$e,O.relatedTarget=M,k=null,Cr(x)===w&&(le=new le(C,_+"enter",W,n,x),le.target=M,le.relatedTarget=$e,k=le),$e=k,R&&W)t:{for(le=Y_,C=R,_=W,M=0,k=C;k;k=le(k))M++;k=0;for(var ae=_;ae;ae=le(ae))k++;for(;0<M-k;)C=le(C),M--;for(;0<k-M;)_=le(_),k--;for(;M--;){if(C===_||_!==null&&C===_.alternate){le=C;break t}C=le(C),_=le(_)}le=null}else le=null;R!==null&&Fh(H,O,R,le,!1),W!==null&&$e!==null&&Fh(H,$e,W,le,!0)}}e:{if(O=w?Mi(w):window,R=O.nodeName&&O.nodeName.toLowerCase(),R==="select"||R==="input"&&O.type==="file")var ke=op;else if(ip(O))if(sp)ke=a_;else{ke=t_;var ee=e_}else R=O.nodeName,!R||R.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?w&&$s(w.elementType)&&(ke=op):ke=n_;if(ke&&(ke=ke(e,w))){lp(H,ke,n,x);break e}ee&&ee(e,O,w),e==="focusout"&&w&&O.type==="number"&&w.memoizedProps.value!=null&&Ys(O,"number",O.value)}switch(ee=w?Mi(w):window,e){case"focusin":(ip(ee)||ee.contentEditable==="true")&&(kr=ee,ou=w,Hi=null);break;case"focusout":Hi=ou=kr=null;break;case"mousedown":su=!0;break;case"contextmenu":case"mouseup":case"dragend":su=!1,yp(H,n,x);break;case"selectionchange":if(i_)break;case"keydown":case"keyup":yp(H,n,x)}var ge;if(au)e:{switch(e){case"compositionstart":var Oe="onCompositionStart";break e;case"compositionend":Oe="onCompositionEnd";break e;case"compositionupdate":Oe="onCompositionUpdate";break e}Oe=void 0}else xr?ap(e,n)&&(Oe="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Oe="onCompositionStart");Oe&&(ep&&n.locale!=="ko"&&(xr||Oe!=="onCompositionStart"?Oe==="onCompositionEnd"&&xr&&(ge=Zd()):(na=x,Ks="value"in na?na.value:na.textContent,xr=!0)),ee=Lo(w,Oe),0<ee.length&&(Oe=new Kd(Oe,e,null,n,x),H.push({event:Oe,listeners:ee}),ge?Oe.data=ge:(ge=rp(n),ge!==null&&(Oe.data=ge)))),(ge=Zb?Xb(e,n):Wb(e,n))&&(Oe=Lo(w,"onBeforeInput"),0<Oe.length&&(ee=new Kd("onBeforeInput","beforeinput",null,n,x),H.push({event:ee,listeners:Oe}),ee.data=ge)),P_(H,e,w,n,x)}Ph(H,t)})}function ll(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Lo(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=wi(e,n),o!=null&&i.unshift(ll(e,o,u)),o=wi(e,t),o!=null&&i.push(ll(e,o,u))),e.tag===3)return i;e=e.return}return[]}function Y_(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Fh(e,t,n,i,o){for(var u=t._reactName,d=[];n!==null&&n!==i;){var h=n,b=h.alternate,w=h.stateNode;if(h=h.tag,b!==null&&b===i)break;h!==5&&h!==26&&h!==27||w===null||(b=w,o?(w=wi(n,u),w!=null&&d.unshift(ll(n,w,b))):o||(w=wi(n,u),w!=null&&d.push(ll(n,w,b)))),n=n.return}d.length!==0&&e.push({event:t,listeners:d})}var $_=/\r\n?/g,Q_=/\u0000|\uFFFD/g;function Vh(e){return(typeof e=="string"?e:""+e).replace($_,`
50
+ `).replace(Q_,"")}function Yh(e,t){return t=Vh(t),Vh(e)===t}function Ye(e,t,n,i,o,u){switch(n){case"children":typeof i=="string"?t==="body"||t==="textarea"&&i===""||Or(e,i):(typeof i=="number"||typeof i=="bigint")&&t!=="body"&&Or(e,""+i);break;case"className":zl(e,"class",i);break;case"tabIndex":zl(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":zl(e,n,i);break;case"style":Yd(e,i,u);break;case"data":if(t!=="object"){zl(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=jl(""+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"&&Ye(e,t,"name",o.name,o,null),Ye(e,t,"formEncType",o.formEncType,o,null),Ye(e,t,"formMethod",o.formMethod,o,null),Ye(e,t,"formTarget",o.formTarget,o,null)):(Ye(e,t,"encType",o.encType,o,null),Ye(e,t,"method",o.method,o,null),Ye(e,t,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=jl(""+i),e.setAttribute(n,i);break;case"onClick":i!=null&&(e.onclick=Rn);break;case"onScroll":i!=null&&Te("scroll",e);break;case"onScrollEnd":i!=null&&Te("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=jl(""+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":Te("beforetoggle",e),Te("toggle",e),Ul(e,"popover",i);break;case"xlinkActuate":On(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":On(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":On(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":On(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":On(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":On(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":On(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":On(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":On(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Ul(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=Eb.get(n)||n,Ul(e,n,i))}}function Nc(e,t,n,i,o,u){switch(n){case"style":Yd(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"?Or(e,i):(typeof i=="number"||typeof i=="bigint")&&Or(e,""+i);break;case"onScroll":i!=null&&Te("scroll",e);break;case"onScrollEnd":i!=null&&Te("scrollend",e);break;case"onClick":i!=null&&(e.onclick=Rn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!zd.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[Be]||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,""):Ul(e,n,i)}}}function Et(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Te("error",e),Te("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:Ye(e,t,u,d,n,null)}}o&&Ye(e,t,"srcSet",n.srcSet,n,null),i&&Ye(e,t,"src",n.src,n,null);return;case"input":Te("invalid",e);var h=u=d=o=null,b=null,w=null;for(i in n)if(n.hasOwnProperty(i)){var x=n[i];if(x!=null)switch(i){case"name":o=x;break;case"type":d=x;break;case"checked":b=x;break;case"defaultChecked":w=x;break;case"value":u=x;break;case"defaultValue":h=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(s(137,t));break;default:Ye(e,t,i,x,n,null)}}Pd(e,u,h,b,w,d,o,!1);return;case"select":Te("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:Ye(e,t,o,h,n,null)}t=u,n=d,e.multiple=!!i,t!=null?wr(e,!!i,t,!1):n!=null&&wr(e,!!i,n,!0);return;case"textarea":Te("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:Ye(e,t,d,h,n,null)}Fd(e,i,o,u);return;case"option":for(b in n)if(n.hasOwnProperty(b)&&(i=n[b],i!=null))switch(b){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:Ye(e,t,b,i,n,null)}return;case"dialog":Te("beforetoggle",e),Te("toggle",e),Te("cancel",e),Te("close",e);break;case"iframe":case"object":Te("load",e);break;case"video":case"audio":for(i=0;i<il.length;i++)Te(il[i],e);break;case"image":Te("error",e),Te("load",e);break;case"details":Te("toggle",e);break;case"embed":case"source":case"link":Te("error",e),Te("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(w in n)if(n.hasOwnProperty(w)&&(i=n[w],i!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:Ye(e,t,w,i,n,null)}return;default:if($s(t)){for(x in n)n.hasOwnProperty(x)&&(i=n[x],i!==void 0&&Nc(e,t,x,i,n,void 0));return}}for(h in n)n.hasOwnProperty(h)&&(i=n[h],i!=null&&Ye(e,t,h,i,n,null))}function Z_(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,b=null,w=null,x=null;for(R in n){var H=n[R];if(n.hasOwnProperty(R)&&H!=null)switch(R){case"checked":break;case"value":break;case"defaultValue":b=H;default:i.hasOwnProperty(R)||Ye(e,t,R,null,i,H)}}for(var O in i){var R=i[O];if(H=n[O],i.hasOwnProperty(O)&&(R!=null||H!=null))switch(O){case"type":u=R;break;case"name":o=R;break;case"checked":w=R;break;case"defaultChecked":x=R;break;case"value":d=R;break;case"defaultValue":h=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(s(137,t));break;default:R!==H&&Ye(e,t,O,R,i,H)}}Vs(e,d,h,b,w,x,u,o);return;case"select":R=d=h=O=null;for(u in n)if(b=n[u],n.hasOwnProperty(u)&&b!=null)switch(u){case"value":break;case"multiple":R=b;default:i.hasOwnProperty(u)||Ye(e,t,u,null,i,b)}for(o in i)if(u=i[o],b=n[o],i.hasOwnProperty(o)&&(u!=null||b!=null))switch(o){case"value":O=u;break;case"defaultValue":h=u;break;case"multiple":d=u;default:u!==b&&Ye(e,t,o,u,i,b)}t=h,n=d,i=R,O!=null?wr(e,!!n,O,!1):!!i!=!!n&&(t!=null?wr(e,!!n,t,!0):wr(e,!!n,n?[]:"",!1));return;case"textarea":R=O=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:Ye(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":O=o;break;case"defaultValue":R=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(s(91));break;default:o!==u&&Ye(e,t,d,o,i,u)}Gd(e,O,R);return;case"option":for(var W in n)if(O=n[W],n.hasOwnProperty(W)&&O!=null&&!i.hasOwnProperty(W))switch(W){case"selected":e.selected=!1;break;default:Ye(e,t,W,null,i,O)}for(b in i)if(O=i[b],R=n[b],i.hasOwnProperty(b)&&O!==R&&(O!=null||R!=null))switch(b){case"selected":e.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:Ye(e,t,b,O,i,R)}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 le in n)O=n[le],n.hasOwnProperty(le)&&O!=null&&!i.hasOwnProperty(le)&&Ye(e,t,le,null,i,O);for(w in i)if(O=i[w],R=n[w],i.hasOwnProperty(w)&&O!==R&&(O!=null||R!=null))switch(w){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(s(137,t));break;default:Ye(e,t,w,O,i,R)}return;default:if($s(t)){for(var $e in n)O=n[$e],n.hasOwnProperty($e)&&O!==void 0&&!i.hasOwnProperty($e)&&Nc(e,t,$e,void 0,i,O);for(x in i)O=i[x],R=n[x],!i.hasOwnProperty(x)||O===R||O===void 0&&R===void 0||Nc(e,t,x,O,i,R);return}}for(var C in n)O=n[C],n.hasOwnProperty(C)&&O!=null&&!i.hasOwnProperty(C)&&Ye(e,t,C,null,i,O);for(H in i)O=i[H],R=n[H],!i.hasOwnProperty(H)||O===R||O==null&&R==null||Ye(e,t,H,O,i,R)}function $h(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function X_(){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&&$h(d)){for(d=0,h=o.responseEnd,i+=1;i<n.length;i++){var b=n[i],w=b.startTime;if(w>h)break;var x=b.transferSize,H=b.initiatorType;x&&$h(H)&&(b=b.responseEnd,d+=x*(b<h?1:(h-w)/(b-w)))}if(--i,t+=8*(u+d)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Lc=null,Hc=null;function Ho(e){return e.nodeType===9?e:e.ownerDocument}function Qh(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 Zh(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 Uc(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 zc=null;function W_(){var e=window.event;return e&&e.type==="popstate"?e===zc?!1:(zc=e,!0):(zc=null,!1)}var Xh=typeof setTimeout=="function"?setTimeout:void 0,K_=typeof clearTimeout=="function"?clearTimeout:void 0,Wh=typeof Promise=="function"?Promise:void 0,J_=typeof queueMicrotask=="function"?queueMicrotask:typeof Wh<"u"?function(e){return Wh.resolve(null).then(e).catch(eS)}:Xh;function eS(e){setTimeout(function(){throw e})}function ba(e){return e==="head"}function Kh(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),ii(t);return}i--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")i++;else if(n==="html")ol(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,ol(n);for(var u=n.firstChild;u;){var d=u.nextSibling,h=u.nodeName;u[Ti]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=d}}else n==="body"&&ol(e.ownerDocument.body);n=o}while(n);ii(t)}function Jh(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 Bc(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":Bc(n),Gs(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function tS(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[Ti])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=an(e.nextSibling),e===null)break}return null}function nS(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=an(e.nextSibling),e===null))return null;return e}function ey(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=an(e.nextSibling),e===null))return null;return e}function jc(e){return e.data==="$?"||e.data==="$~"}function Ic(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function aS(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 an(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 qc=null;function ty(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return an(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function ny(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 ay(e,t,n){switch(t=Ho(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 ol(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Gs(e)}var rn=new Map,ry=new Set;function Uo(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Vn=q.d;q.d={f:rS,r:iS,D:lS,C:oS,L:sS,m:uS,X:fS,S:cS,M:dS};function rS(){var e=Vn.f(),t=wo();return e||t}function iS(e){var t=Ar(e);t!==null&&t.tag===5&&t.type==="form"?Sm(t):Vn.r(e)}var ni=typeof document>"u"?null:document;function iy(e,t,n){var i=ni;if(i&&typeof t=="string"&&t){var o=Xt(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof n=="string"&&(o+='[crossorigin="'+n+'"]'),ry.has(o)||(ry.add(o),e={rel:e,crossOrigin:n,href:t},i.querySelector(o)===null&&(t=i.createElement("link"),Et(t,"link",e),gt(t),i.head.appendChild(t)))}}function lS(e){Vn.D(e),iy("dns-prefetch",e,null)}function oS(e,t){Vn.C(e,t),iy("preconnect",e,t)}function sS(e,t,n){Vn.L(e,t,n);var i=ni;if(i&&e&&t){var o='link[rel="preload"][as="'+Xt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(o+='[imagesrcset="'+Xt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(o+='[imagesizes="'+Xt(n.imageSizes)+'"]')):o+='[href="'+Xt(e)+'"]';var u=o;switch(t){case"style":u=ai(e);break;case"script":u=ri(e)}rn.has(u)||(e=S({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),rn.set(u,e),i.querySelector(o)!==null||t==="style"&&i.querySelector(sl(u))||t==="script"&&i.querySelector(ul(u))||(t=i.createElement("link"),Et(t,"link",e),gt(t),i.head.appendChild(t)))}}function uS(e,t){Vn.m(e,t);var n=ni;if(n&&e){var i=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Xt(i)+'"][href="'+Xt(e)+'"]',u=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=ri(e)}if(!rn.has(u)&&(e=S({rel:"modulepreload",href:e},t),rn.set(u,e),n.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(ul(u)))return}i=n.createElement("link"),Et(i,"link",e),gt(i),n.head.appendChild(i)}}}function cS(e,t,n){Vn.S(e,t,n);var i=ni;if(i&&e){var o=Tr(i).hoistableStyles,u=ai(e);t=t||"default";var d=o.get(u);if(!d){var h={loading:0,preload:null};if(d=i.querySelector(sl(u)))h.loading=5;else{e=S({rel:"stylesheet",href:e,"data-precedence":t},n),(n=rn.get(u))&&Pc(e,n);var b=d=i.createElement("link");gt(b),Et(b,"link",e),b._p=new Promise(function(w,x){b.onload=w,b.onerror=x}),b.addEventListener("load",function(){h.loading|=1}),b.addEventListener("error",function(){h.loading|=2}),h.loading|=4,zo(d,t,i)}d={type:"stylesheet",instance:d,count:1,state:h},o.set(u,d)}}}function fS(e,t){Vn.X(e,t);var n=ni;if(n&&e){var i=Tr(n).hoistableScripts,o=ri(e),u=i.get(o);u||(u=n.querySelector(ul(o)),u||(e=S({src:e,async:!0},t),(t=rn.get(o))&&Gc(e,t),u=n.createElement("script"),gt(u),Et(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},i.set(o,u))}}function dS(e,t){Vn.M(e,t);var n=ni;if(n&&e){var i=Tr(n).hoistableScripts,o=ri(e),u=i.get(o);u||(u=n.querySelector(ul(o)),u||(e=S({src:e,async:!0,type:"module"},t),(t=rn.get(o))&&Gc(e,t),u=n.createElement("script"),gt(u),Et(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},i.set(o,u))}}function ly(e,t,n,i){var o=(o=ne.current)?Uo(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=ai(n.href),n=Tr(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=ai(n.href);var u=Tr(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(sl(e)))&&!u._p&&(d.instance=u,d.state.loading=5),rn.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},rn.set(e,n),u||pS(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=ri(n),n=Tr(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 ai(e){return'href="'+Xt(e)+'"'}function sl(e){return'link[rel="stylesheet"]['+e+"]"}function oy(e){return S({},e,{"data-precedence":e.precedence,precedence:null})}function pS(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}),Et(t,"link",n),gt(t),e.head.appendChild(t))}function ri(e){return'[src="'+Xt(e)+'"]'}function ul(e){return"script[async]"+e}function sy(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+Xt(n.href)+'"]');if(i)return t.instance=i,gt(i),i;var o=S({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),gt(i),Et(i,"style",o),zo(i,n.precedence,e),t.instance=i;case"stylesheet":o=ai(n.href);var u=e.querySelector(sl(o));if(u)return t.state.loading|=4,t.instance=u,gt(u),u;i=oy(n),(o=rn.get(o))&&Pc(i,o),u=(e.ownerDocument||e).createElement("link"),gt(u);var d=u;return d._p=new Promise(function(h,b){d.onload=h,d.onerror=b}),Et(u,"link",i),t.state.loading|=4,zo(u,n.precedence,e),t.instance=u;case"script":return u=ri(n.src),(o=e.querySelector(ul(u)))?(t.instance=o,gt(o),o):(i=n,(o=rn.get(u))&&(i=S({},n),Gc(i,o)),e=e.ownerDocument||e,o=e.createElement("script"),gt(o),Et(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,zo(i,n.precedence,e));return t.instance}function zo(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 Pc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Gc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Bo=null;function uy(e,t,n){if(Bo===null){var i=new Map,o=Bo=new Map;o.set(n,i)}else o=Bo,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[Ti]||u[Se]||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 cy(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function mS(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 fy(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function hS(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=ai(i.href),u=t.querySelector(sl(o));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=jo.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=u,gt(u);return}u=t.ownerDocument||t,i=oy(i),(o=rn.get(o))&&Pc(i,o),u=u.createElement("link"),gt(u);var d=u;d._p=new Promise(function(h,b){d.onload=h,d.onerror=b}),Et(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=jo.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var Fc=0;function yS(e,t){return e.stylesheets&&e.count===0&&qo(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var i=setTimeout(function(){if(e.stylesheets&&qo(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&Fc===0&&(Fc=62500*X_());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&qo(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>Fc?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(o)}}:null}function jo(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)qo(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Io=null;function qo(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Io=new Map,t.forEach(gS,e),Io=null,jo.call(e))}function gS(e,t){if(!(t.state.loading&4)){var n=Io.get(e);if(n)var i=n.get(null);else{n=new Map,Io.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=jo.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 cl={$$typeof:re,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function vS(e,t,n,i,o,u,d,h,b){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=Ci(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ci(0),this.hiddenUpdates=Ci(null),this.identifierPrefix=i,this.onUncaughtError=o,this.onCaughtError=u,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=b,this.incompleteTransitions=new Map}function dy(e,t,n,i,o,u,d,h,b,w,x,H){return e=new vS(e,t,n,d,b,w,x,H,h),t=1,u===!0&&(t|=24),u=qt(3,null,null,t),e.current=u,u.stateNode=e,t=Cu(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:i,isDehydrated:n,cache:t},wu(u),e}function py(e){return e?(e=Hr,e):Hr}function my(e,t,n,i,o,u){o=py(o),i.context===null?i.context=o:i.pendingContext=o,i=sa(t),i.payload={element:n},u=u===void 0?null:u,u!==null&&(i.callback=u),n=ua(e,i,t),n!==null&&(Ut(n,e,t),Pi(n,e,t))}function hy(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Vc(e,t){hy(e,t),(e=e.alternate)&&hy(e,t)}function yy(e){if(e.tag===13||e.tag===31){var t=Ya(e,67108864);t!==null&&Ut(t,e,67108864),Vc(e,67108864)}}function gy(e){if(e.tag===13||e.tag===31){var t=Yt();t=X(t);var n=Ya(e,t);n!==null&&Ut(n,e,t),Vc(e,t)}}var Po=!0;function bS(e,t,n,i){var o=D.T;D.T=null;var u=q.p;try{q.p=2,Yc(e,t,n,i)}finally{q.p=u,D.T=o}}function _S(e,t,n,i){var o=D.T;D.T=null;var u=q.p;try{q.p=8,Yc(e,t,n,i)}finally{q.p=u,D.T=o}}function Yc(e,t,n,i){if(Po){var o=$c(i);if(o===null)kc(e,t,i,Go,n),by(e,i);else if(ES(o,e,t,n,i))i.stopPropagation();else if(by(e,i),t&4&&-1<SS.indexOf(e)){for(;o!==null;){var u=Ar(o);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var d=fn(u.pendingLanes);if(d!==0){var h=u;for(h.pendingLanes|=2,h.entangledLanes|=2;d;){var b=1<<31-dt(d);h.entanglements[1]|=b,d&=~b}Cn(u),(He&6)===0&&(To=ze()+500,rl(0))}}break;case 31:case 13:h=Ya(u,2),h!==null&&Ut(h,u,2),wo(),Vc(u,2)}if(u=$c(i),u===null&&kc(e,t,i,Go,n),u===o)break;o=u}o!==null&&i.stopPropagation()}else kc(e,t,i,null,n)}}function $c(e){return e=Zs(e),Qc(e)}var Go=null;function Qc(e){if(Go=null,e=Cr(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 Go=e,null}function vy(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(Jn()){case wn:return 2;case _i:return 8;case Ba:case Nl:return 32;case Si:return 268435456;default:return 32}default:return 32}}var Zc=!1,_a=null,Sa=null,Ea=null,fl=new Map,dl=new Map,Ca=[],SS="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 by(e,t){switch(e){case"focusin":case"focusout":_a=null;break;case"dragenter":case"dragleave":Sa=null;break;case"mouseover":case"mouseout":Ea=null;break;case"pointerover":case"pointerout":fl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dl.delete(t.pointerId)}}function pl(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=Ar(t),t!==null&&yy(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function ES(e,t,n,i,o){switch(t){case"focusin":return _a=pl(_a,e,t,n,i,o),!0;case"dragenter":return Sa=pl(Sa,e,t,n,i,o),!0;case"mouseover":return Ea=pl(Ea,e,t,n,i,o),!0;case"pointerover":var u=o.pointerId;return fl.set(u,pl(fl.get(u)||null,e,t,n,i,o)),!0;case"gotpointercapture":return u=o.pointerId,dl.set(u,pl(dl.get(u)||null,e,t,n,i,o)),!0}return!1}function _y(e){var t=Cr(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,De(e.priority,function(){gy(n)});return}}else if(t===31){if(t=m(n),t!==null){e.blockedOn=t,De(e.priority,function(){gy(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 Fo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=$c(e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);Qs=i,n.target.dispatchEvent(i),Qs=null}else return t=Ar(n),t!==null&&yy(t),e.blockedOn=n,!1;t.shift()}return!0}function Sy(e,t,n){Fo(e)&&n.delete(t)}function CS(){Zc=!1,_a!==null&&Fo(_a)&&(_a=null),Sa!==null&&Fo(Sa)&&(Sa=null),Ea!==null&&Fo(Ea)&&(Ea=null),fl.forEach(Sy),dl.forEach(Sy)}function Vo(e,t){e.blockedOn===t&&(e.blockedOn=null,Zc||(Zc=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,CS)))}var Yo=null;function Ey(e){Yo!==e&&(Yo=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){Yo===e&&(Yo=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(Qc(i||n)===null)continue;break}var u=Ar(n);u!==null&&(e.splice(t,3),t-=3,$u(u,{pending:!0,data:o,method:n.method,action:i},i,o))}}))}function ii(e){function t(b){return Vo(b,e)}_a!==null&&Vo(_a,e),Sa!==null&&Vo(Sa,e),Ea!==null&&Vo(Ea,e),fl.forEach(t),dl.forEach(t);for(var n=0;n<Ca.length;n++){var i=Ca[n];i.blockedOn===e&&(i.blockedOn=null)}for(;0<Ca.length&&(n=Ca[0],n.blockedOn===null);)_y(n),n.blockedOn===null&&Ca.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[Be]||null;if(typeof u=="function")d||Ey(n);else if(d){var h=null;if(u&&u.hasAttribute("formAction")){if(o=u,d=u[Be]||null)h=d.formAction;else if(Qc(o)!==null)continue}else h=d.action;typeof h=="function"?n[i+1]=h:(n.splice(i,3),i-=3),Ey(n)}}}function Cy(){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 Xc(e){this._internalRoot=e}$o.prototype.render=Xc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));var n=t.current,i=Yt();my(n,i,e,t,null,null)},$o.prototype.unmount=Xc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;my(e.current,2,null,e,null,null),wo(),t[Fe]=null}};function $o(e){this._internalRoot=e}$o.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ce();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ca.length&&t!==0&&t<Ca[n].priority;n++);Ca.splice(n,0,e),n===0&&_y(e)}};var Ay=r.version;if(Ay!=="19.2.7")throw Error(s(527,Ay,"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=y(t),e=e!==null?E(e):null,e=e===null?null:e.stateNode,e};var AS={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Qo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Qo.isDisabled&&Qo.supportsFiber)try{ja=Qo.inject(AS),Mt=Qo}catch{}}return hl.createRoot=function(e,t){if(!c(e))throw Error(s(299));var n=!1,i="",o=xm,u=km,d=Nm;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=dy(e,1,!1,null,null,n,i,null,o,u,d,Cy),e[Fe]=t.current,xc(e),new Xc(t)},hl.hydrateRoot=function(e,t,n){if(!c(e))throw Error(s(299));var i=!1,o="",u=xm,d=km,h=Nm,b=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&&(b=n.formState)),t=dy(e,1,!0,t,n??null,i,o,b,u,d,h,Cy),t.context=py(null),n=t.current,i=Yt(),i=X(i),o=sa(i),o.callback=null,ua(n,o,i),n=i,t.current.lanes=n,jt(t,n),Cn(t),e[Fe]=t.current,xc(e),new $o(t)},hl.version="19.2.7",hl}var Ly;function BS(){if(Ly)return Jc.exports;Ly=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(),Jc.exports=zS(),Jc.exports}var jS=BS();const Qe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Da="8.55.2",Ue=globalThis;function _s(a,r,l){const s=l||Ue,c=s.__SENTRY__=s.__SENTRY__||{},f=c[Da]=c[Da]||{};return f[a]||(f[a]=r())}const dr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,IS="Sentry Logger ",Cf=["debug","info","warn","error","log","assert","trace"],fs={};function pr(a){if(!("console"in Ue))return a();const r=Ue.console,l={},s=Object.keys(fs);s.forEach(c=>{const f=fs[c];l[c]=r[c],r[c]=f});try{return a()}finally{s.forEach(c=>{r[c]=l[c]})}}function qS(){let a=!1;const r={enable:()=>{a=!0},disable:()=>{a=!1},isEnabled:()=>a};return dr?Cf.forEach(l=>{r[l]=(...s)=>{a&&pr(()=>{Ue.console[l](`${IS}[${l}]:`,...s)})}}):Cf.forEach(l=>{r[l]=()=>{}}),r}const oe=_s("logger",qS),g0=50,lr="?",Hy=/\(error: (.*)\)/,Uy=/captureMessage|captureException/;function v0(...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 g=p[m];if(g.length>1024)continue;const y=Hy.test(g)?g.replace(Hy,"$1"):g;if(!y.match(/\S*Error: /)){for(const E of r){const S=E(y);if(S){f.push(S);break}}if(f.length>=g0+c)break}}return GS(f.slice(c))}}function PS(a){return Array.isArray(a)?v0(...a):a}function GS(a){if(!a.length)return[];const r=Array.from(a);return/sentryWrapped/.test(Zo(r).function||"")&&r.pop(),r.reverse(),Uy.test(Zo(r).function||"")&&(r.pop(),Uy.test(Zo(r).function||"")&&r.pop()),r.slice(0,g0).map(l=>({...l,filename:l.filename||Zo(r).filename,function:l.function||lr}))}function Zo(a){return a[a.length-1]||{}}const af="<anonymous>";function La(a){try{return!a||typeof a!="function"?af:a.name||af}catch{return af}}function zy(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 rs={},By={};function mr(a,r){rs[a]=rs[a]||[],rs[a].push(r)}function hr(a,r){if(!By[a]){By[a]=!0;try{r()}catch(l){dr&&oe.error(`Error while instrumenting ${a}`,l)}}}function yn(a,r){const l=a&&rs[a];if(l)for(const s of l)try{s(r)}catch(c){dr&&oe.error(`Error while triggering instrumentation handler.
52
+ Type: ${a}
53
+ Name: ${La(s)}
54
+ Error:`,c)}}let rf=null;function FS(a){const r="error";mr(r,a),hr(r,VS)}function VS(){rf=Ue.onerror,Ue.onerror=function(a,r,l,s,c){return yn("error",{column:s,error:c,line:l,msg:a,url:r}),rf?rf.apply(this,arguments):!1},Ue.onerror.__SENTRY_INSTRUMENTED__=!0}let lf=null;function YS(a){const r="unhandledrejection";mr(r,a),hr(r,$S)}function $S(){lf=Ue.onunhandledrejection,Ue.onunhandledrejection=function(a){return yn("unhandledrejection",a),lf?lf.apply(this,arguments):!0},Ue.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function Ss(){return rd(Ue),Ue}function rd(a){const r=a.__SENTRY__=a.__SENTRY__||{};return r.version=r.version||Da,r[Da]=r[Da]||{}}const b0=Object.prototype.toString;function Es(a){switch(b0.call(a)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return or(a,Error)}}function yi(a,r){return b0.call(a)===`[object ${r}]`}function _0(a){return yi(a,"ErrorEvent")}function jy(a){return yi(a,"DOMError")}function QS(a){return yi(a,"DOMException")}function Zn(a){return yi(a,"String")}function id(a){return typeof a=="object"&&a!==null&&"__sentry_template_string__"in a&&"__sentry_template_values__"in a}function ld(a){return a===null||id(a)||typeof a!="object"&&typeof a!="function"}function ui(a){return yi(a,"Object")}function Cs(a){return typeof Event<"u"&&or(a,Event)}function ZS(a){return typeof Element<"u"&&or(a,Element)}function XS(a){return yi(a,"RegExp")}function As(a){return!!(a&&a.then&&typeof a.then=="function")}function WS(a){return ui(a)&&"nativeEvent"in a&&"preventDefault"in a&&"stopPropagation"in a}function or(a,r){try{return a instanceof r}catch{return!1}}function S0(a){return!!(typeof a=="object"&&a!==null&&(a.__isVue||a._isVue))}const od=Ue,KS=80;function E0(a,r={}){if(!a)return"<unknown>";try{let l=a;const s=5,c=[];let f=0,p=0;const m=" > ",g=m.length;let y;const E=Array.isArray(r)?r:r.keyAttrs,S=!Array.isArray(r)&&r.maxStringLength||KS;for(;l&&f++<s&&(y=JS(l,E),!(y==="html"||f>1&&p+c.length*g+y.length>=S));)c.push(y),p+=y.length,l=l.parentNode;return c.reverse().join(m)}catch{return"<unknown>"}}function JS(a,r){const l=a,s=[];if(!l||!l.tagName)return"";if(od.HTMLElement&&l instanceof HTMLElement&&l.dataset){if(l.dataset.sentryComponent)return l.dataset.sentryComponent;if(l.dataset.sentryElement)return l.dataset.sentryElement}s.push(l.tagName.toLowerCase());const c=r&&r.length?r.filter(p=>l.getAttribute(p)).map(p=>[p,l.getAttribute(p)]):null;if(c&&c.length)c.forEach(p=>{s.push(`[${p[0]}="${p[1]}"]`)});else{l.id&&s.push(`#${l.id}`);const p=l.className;if(p&&Zn(p)){const m=p.split(/\s+/);for(const g of m)s.push(`.${g}`)}}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 eE(){try{return od.document.location.href}catch{return""}}function tE(a){if(!od.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 oi(a,r=0){return typeof a!="string"||r===0||a.length<=r?a:`${a.slice(0,r)}...`}function Iy(a,r){if(!Array.isArray(a))return"";const l=[];for(let s=0;s<a.length;s++){const c=a[s];try{S0(c)?l.push("[VueViewModel]"):l.push(String(c))}catch{l.push("[value cannot be serialized]")}}return l.join(r)}function nE(a,r,l=!1){return Zn(a)?XS(r)?r.test(a):Zn(r)?l?a===r:a.includes(r):!1:!1}function Ts(a,r=[],l=!1){return r.some(s=>nE(a,s,l))}function $t(a,r,l){if(!(r in a))return;const s=a[r],c=l(s);typeof c=="function"&&C0(c,s);try{a[r]=c}catch{dr&&oe.log(`Failed to replace method "${r}" in object`,a)}}function sr(a,r,l){try{Object.defineProperty(a,r,{value:l,writable:!0,configurable:!0})}catch{dr&&oe.log(`Failed to add non-enumerable property "${r}" to object`,a)}}function C0(a,r){try{const l=r.prototype||{};a.prototype=r.prototype=l,sr(a,"__sentry_original__",r)}catch{}}function sd(a){return a.__sentry_original__}function A0(a){if(Es(a))return{message:a.message,name:a.name,stack:a.stack,...Py(a)};if(Cs(a)){const r={type:a.type,target:qy(a.target),currentTarget:qy(a.currentTarget),...Py(a)};return typeof CustomEvent<"u"&&or(a,CustomEvent)&&(r.detail=a.detail),r}else return a}function qy(a){try{return ZS(a)?E0(a):Object.prototype.toString.call(a)}catch{return"<unknown>"}}function Py(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 aE(a,r=40){const l=Object.keys(A0(a));l.sort();const s=l[0];if(!s)return"[object has no keys]";if(s.length>=r)return oi(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:oi(f,r)}return""}function on(a){return Af(a,new Map)}function Af(a,r){if(rE(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]=Af(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(Af(c,r))}),s}return a}function rE(a){if(!ui(a))return!1;try{const r=Object.getPrototypeOf(a).constructor.name;return!r||r==="Object"}catch{return!0}}const T0=1e3;function Ml(){return Date.now()/T0}function iE(){const{performance:a}=Ue;if(!a||!a.now)return Ml;const r=Date.now()-a.now(),l=a.timeOrigin==null?r:a.timeOrigin;return()=>(l+a.now())/T0}const Xn=iE();(()=>{const{performance:a}=Ue;if(!a||!a.now)return;const r=3600*1e3,l=a.now(),s=Date.now(),c=a.timeOrigin?Math.abs(a.timeOrigin+l-s):r,f=c<r,p=a.timing&&a.timing.navigationStart,g=typeof p=="number"?Math.abs(p+l-s):r,y=g<r;return f||y?c<=g?a.timeOrigin:p:s})();function sn(){const a=Ue,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 M0(a){return a.exception&&a.exception.values?a.exception.values[0]:void 0}function Oa(a){const{message:r,event_id:l}=a;if(r)return r;const s=M0(a);return s?s.type&&s.value?`${s.type}: ${s.value}`:s.type||s.value||l||"<unknown>":l||"<unknown>"}function Tf(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 ci(a,r){const l=M0(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 Gy(a){if(lE(a))return!0;try{sr(a,"__sentry_captured__",!0)}catch{}return!1}function lE(a){try{return a.__sentry_captured__}catch{}}var $n;(function(a){a[a.PENDING=0]="PENDING";const l=1;a[a.RESOLVED=l]="RESOLVED";const s=2;a[a.REJECTED=s]="REJECTED"})($n||($n={}));function ur(a){return new ln(r=>{r(a)})}function ds(a){return new ln((r,l)=>{l(a)})}class ln{constructor(r){ln.prototype.__init.call(this),ln.prototype.__init2.call(this),ln.prototype.__init3.call(this),ln.prototype.__init4.call(this),this._state=$n.PENDING,this._handlers=[];try{r(this._resolve,this._reject)}catch(l){this._reject(l)}}then(r,l){return new ln((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 ln((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($n.RESOLVED,r)}}__init2(){this._reject=r=>{this._setResult($n.REJECTED,r)}}__init3(){this._setResult=(r,l)=>{if(this._state===$n.PENDING){if(As(l)){l.then(this._resolve,this._reject);return}this._state=r,this._value=l,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===$n.PENDING)return;const r=this._handlers.slice();this._handlers=[],r.forEach(l=>{l[0]||(this._state===$n.RESOLVED&&l[1](this._value),this._state===$n.REJECTED&&l[2](this._value),l[0]=!0)})}}}function oE(a){const r=Xn(),l={sid:sn(),init:!0,timestamp:r,started:r,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>uE(l)};return a&&fi(l,a),l}function fi(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||Xn(),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:sn()),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 sE(a,r){let l={};a.status==="ok"&&(l={status:"exited"}),fi(a,l)}function uE(a){return on({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 Fy(){return sn()}function Mf(){return sn().substring(16)}function Ms(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]=Ms(s[c],r[c],l-1));return s}const wf="_sentrySpan";function Vy(a,r){r?sr(a,wf,r):delete a[wf]}function Yy(a){return a[wf]}const cE=100;class ud{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:Fy(),spanId:Mf()}}clone(){const r=new ud;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,Vy(r,Yy(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&&fi(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 Ha?[l.getScopeData(),l.getRequestSession()]:ui(l)?[r,r.requestSession]:[],{tags:f,extra:p,user:m,contexts:g,level:y,fingerprint:E=[],propagationContext:S}=s||{};return this._tags={...this._tags,...f},this._extra={...this._extra,...p},this._contexts={...this._contexts,...g},m&&Object.keys(m).length&&(this._user=m),y&&(this._level=y),E.length&&(this._fingerprint=E),S&&(this._propagationContext=S),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,Vy(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Fy()}),this._notifyScopeListeners(),this}addBreadcrumb(r,l){const s=typeof l=="number"?l:cE;if(s<=0)return this;const c={timestamp:Ml(),...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:Yy(this)}}setSDKProcessingMetadata(r){return this._sdkProcessingMetadata=Ms(this._sdkProcessingMetadata,r,2),this}setPropagationContext(r){return this._propagationContext={spanId:Mf(),...r},this}getPropagationContext(){return this._propagationContext}captureException(r,l){const s=l&&l.event_id?l.event_id:sn();if(!this._client)return oe.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:sn();if(!this._client)return oe.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:sn();return this._client?(this._client.captureEvent(r,{...l,event_id:s},this),s):(oe.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 Ha=ud;function fE(){return _s("defaultCurrentScope",()=>new Ha)}function dE(){return _s("defaultIsolationScope",()=>new Ha)}class pE{constructor(r,l){let s;r?s=r:s=new Ha;let c;l?c=l:c=new Ha,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 As(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 di(){const a=Ss(),r=rd(a);return r.stack=r.stack||new pE(fE(),dE())}function mE(a){return di().withScope(a)}function hE(a,r){const l=di();return l.withScope(()=>(l.getStackTop().scope=a,r(a)))}function $y(a){return di().withScope(()=>a(di().getIsolationScope()))}function yE(){return{withIsolationScope:$y,withScope:mE,withSetScope:hE,withSetIsolationScope:(a,r)=>$y(r),getCurrentScope:()=>di().getScope(),getIsolationScope:()=>di().getIsolationScope()}}function cd(a){const r=rd(a);return r.acs?r.acs:yE()}function gn(){const a=Ss();return cd(a).getCurrentScope()}function za(){const a=Ss();return cd(a).getIsolationScope()}function gE(){return _s("globalScope",()=>new Ha)}function ws(...a){const r=Ss(),l=cd(r);if(a.length===2){const[s,c]=a;return s?l.withSetScope(s,c):l.withScope(c)}return l.withScope(a[0])}function mt(){return gn().getClient()}function vE(a){const r=a.getPropagationContext(),{traceId:l,spanId:s,parentSpanId:c}=r;return on({trace_id:l,span_id:s,parent_span_id:c})}const bE="_sentryMetrics";function _E(a){const r=a[bE];if(!r)return;const l={};for(const[,[s,c]]of r)(l[s]||(l[s]=[])).push(on(c));return l}const SE="sentry.source",EE="sentry.sample_rate",CE="sentry.op",AE="sentry.origin",TE=0,ME=1,wE="sentry-",OE=/^sentry-/;function RE(a){const r=DE(a);if(!r)return;const l=Object.entries(r).reduce((s,[c,f])=>{if(c.match(OE)){const p=c.slice(wE.length);s[p]=f}return s},{});if(Object.keys(l).length>0)return l}function DE(a){if(!(!a||!Zn(a)&&!Array.isArray(a)))return Array.isArray(a)?a.reduce((r,l)=>{const s=Qy(l);return Object.entries(s).forEach(([c,f])=>{r[c]=f}),r},{}):Qy(a)}function Qy(a){return a.split(",").map(r=>r.split("=").map(l=>decodeURIComponent(l.trim()))).reduce((r,[l,s])=>(l&&s&&(r[l]=s),r),{})}const xE=1;let Zy=!1;function kE(a){const{spanId:r,traceId:l,isRemote:s}=a.spanContext(),c=s?r:fd(a).parent_span_id,f=s?Mf():r;return on({parent_span_id:c,span_id:f,trace_id:l})}function Xy(a){return typeof a=="number"?Wy(a):Array.isArray(a)?a[0]+a[1]/1e9:a instanceof Date?Wy(a.getTime()):Xn()}function Wy(a){return a>9999999999?a/1e3:a}function fd(a){if(LE(a))return a.getSpanJSON();try{const{spanId:r,traceId:l}=a.spanContext();if(NE(a)){const{attributes:s,startTime:c,name:f,endTime:p,parentSpanId:m,status:g}=a;return on({span_id:r,trace_id:l,data:s,description:f,parent_span_id:m,start_timestamp:Xy(c),timestamp:Xy(p)||void 0,status:UE(g),op:s[CE],origin:s[AE],_metrics_summary:_E(a)})}return{span_id:r,trace_id:l}}catch{return{}}}function NE(a){const r=a;return!!r.attributes&&!!r.startTime&&!!r.name&&!!r.endTime&&!!r.status}function LE(a){return typeof a.getSpanJSON=="function"}function HE(a){const{traceFlags:r}=a.spanContext();return r===xE}function UE(a){if(!(!a||a.code===TE))return a.code===ME?"ok":a.message||"unknown_error"}const zE="_sentryRootSpan";function w0(a){return a[zE]||a}function BE(){Zy||(pr(()=>{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.")}),Zy=!0)}function jE(a){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const r=mt(),l=r&&r.getOptions();return!!l&&(l.enableTracing||"tracesSampleRate"in l||"tracesSampler"in l)}const dd="production",IE="_frozenDsc";function O0(a,r){const l=r.getOptions(),{publicKey:s}=r.getDsn()||{},c=on({environment:l.environment||dd,release:l.release,public_key:s,trace_id:a});return r.emit("createDsc",c),c}function qE(a,r){const l=r.getPropagationContext();return l.dsc||O0(l.traceId,a)}function PE(a){const r=mt();if(!r)return{};const l=w0(a),s=l[IE];if(s)return s;const c=l.spanContext().traceState,f=c&&c.get("sentry.dsc"),p=f&&RE(f);if(p)return p;const m=O0(a.spanContext().traceId,r),g=fd(l),y=g.data||{},E=y[EE];E!=null&&(m.sample_rate=`${E}`);const S=y[SE],U=g.description;return S!=="url"&&U&&(m.transaction=U),jE()&&(m.sampled=String(HE(l))),r.emit("createDsc",m,l),m}function GE(a){if(typeof a=="boolean")return Number(a);const r=typeof a=="string"?parseFloat(a):a;if(typeof r!="number"||isNaN(r)||r<0||r>1){Qe&&oe.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 FE=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function VE(a){return a==="http"||a==="https"}function wl(a,r=!1){const{host:l,path:s,pass:c,port:f,projectId:p,protocol:m,publicKey:g}=a;return`${m}://${g}${r&&c?`:${c}`:""}@${l}${f?`:${f}`:""}/${s&&`${s}/`}${p}`}function YE(a){const r=FE.exec(a);if(!r){pr(()=>{console.error(`Invalid Sentry Dsn: ${a}`)});return}const[l,s,c="",f="",p="",m=""]=r.slice(1);let g="",y=m;const E=y.split("/");if(E.length>1&&(g=E.slice(0,-1).join("/"),y=E.pop()),y){const S=y.match(/^\d+/);S&&(y=S[0])}return R0({host:f,pass:c,path:g,projectId:y,port:p,protocol:l,publicKey:s})}function R0(a){return{protocol:a.protocol,publicKey:a.publicKey||"",pass:a.pass||"",host:a.host,port:a.port||"",path:a.path||"",projectId:a.projectId}}function $E(a){if(!dr)return!0;const{port:r,projectId:l,protocol:s}=a;return["protocol","publicKey","host","projectId"].find(p=>a[p]?!1:(oe.error(`Invalid Sentry Dsn: ${p} missing`),!0))?!1:l.match(/^\d+$/)?VE(s)?r&&isNaN(parseInt(r,10))?(oe.error(`Invalid Sentry Dsn: Invalid port ${r}`),!1):!0:(oe.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),!1):(oe.error(`Invalid Sentry Dsn: Invalid projectId ${l}`),!1)}function D0(a){const r=typeof a=="string"?YE(a):R0(a);if(!(!r||!$E(r)))return r}function QE(){const a=typeof WeakSet=="function",r=a?new WeakSet:[];function l(c){if(a)return r.has(c)?!0:(r.add(c),!1);for(let f=0;f<r.length;f++)if(r[f]===c)return!0;return r.push(c),!1}function s(c){if(a)r.delete(c);else for(let f=0;f<r.length;f++)if(r[f]===c){r.splice(f,1);break}}return[l,s]}function Qn(a,r=100,l=1/0){try{return Of("",a,r,l)}catch(s){return{ERROR:`**non-serializable** (${s})`}}}function x0(a,r=3,l=100*1024){const s=Qn(a,r);return KE(s)>l?x0(a,r-1,l):s}function Of(a,r,l=1/0,s=1/0,c=QE()){const[f,p]=c;if(r==null||["boolean","string"].includes(typeof r)||typeof r=="number"&&Number.isFinite(r))return r;const m=ZE(a,r);if(!m.startsWith("[object "))return m;if(r.__sentry_skip_normalization__)return r;const g=typeof r.__sentry_override_normalization_depth__=="number"?r.__sentry_override_normalization_depth__:l;if(g===0)return m.replace("object ","");if(f(r))return"[Circular ~]";const y=r;if(y&&typeof y.toJSON=="function")try{const P=y.toJSON();return Of("",P,g-1,s,c)}catch{}const E=Array.isArray(r)?[]:{};let S=0;const U=A0(r);for(const P in U){if(!Object.prototype.hasOwnProperty.call(U,P))continue;if(S>=s){E[P]="[MaxProperties ~]";break}const j=U[P];E[P]=Of(P,j,g-1,s,c),S++}return p(r),E}function ZE(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(S0(r))return"[VueViewModel]";if(WS(r))return"[SyntheticEvent]";if(typeof r=="number"&&!Number.isFinite(r))return`[${r}]`;if(typeof r=="function")return`[Function: ${La(r)}]`;if(typeof r=="symbol")return`[${String(r)}]`;if(typeof r=="bigint")return`[BigInt: ${String(r)}]`;const l=XE(r);return/^HTML(\w*)Element$/.test(l)?`[HTMLElement: ${l}]`:`[object ${l}]`}catch(l){return`**non-serializable** (${l})`}}function XE(a){const r=Object.getPrototypeOf(a);return r?r.constructor.name:"null prototype"}function WE(a){return~-encodeURI(a).split(/%..|./).length}function KE(a){return WE(JSON.stringify(a))}function Ol(a,r=[]){return[a,r]}function JE(a,r){const[l,s]=a;return[l,[...s,r]]}function Ky(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 Rf(a){return Ue.__SENTRY__&&Ue.__SENTRY__.encodePolyfill?Ue.__SENTRY__.encodePolyfill(a):new TextEncoder().encode(a)}function eC(a){const[r,l]=a;let s=JSON.stringify(r);function c(f){typeof s=="string"?s=typeof f=="string"?s+f:[Rf(s),f]:s.push(typeof f=="string"?Rf(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 g;try{g=JSON.stringify(m)}catch{g=JSON.stringify(Qn(m))}c(g)}}return typeof s=="string"?s:tC(s)}function tC(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 nC(a){const r=typeof a.data=="string"?Rf(a.data):a.data;return[on({type:"attachment",length:r.length,filename:a.filename,content_type:a.contentType,attachment_type:a.attachmentType}),r]}const aC={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 Jy(a){return aC[a]}function k0(a){if(!a||!a.sdk)return;const{name:r,version:l}=a.sdk;return{name:r,version:l}}function rC(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:wl(s)},...c&&{trace:on({...c})}}}function iC(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 lC(a,r,l,s){const c=k0(l),f={sent_at:new Date().toISOString(),...c&&{sdk:c},...!!s&&r&&{dsn:wl(r)}},p="aggregates"in a?[{type:"sessions"},a]:[{type:"session"},a.toJSON()];return Ol(f,[p])}function oC(a,r,l,s){const c=k0(l),f=a.type&&a.type!=="replay_event"?a.type:"event";iC(a,l&&l.sdk);const p=rC(a,c,s,r);return delete a.sdkProcessingMetadata,Ol(p,[[{type:f},a]])}function Df(a,r,l,s=0){return new ln((c,f)=>{const p=a[s];if(r===null||typeof p!="function")c(r);else{const m=p({...r},l);Qe&&p.id&&m===null&&oe.log(`Event processor "${p.id}" dropped event`),As(m)?m.then(g=>Df(a,g,l,s+1).then(c)).then(null,f):Df(a,m,l,s+1).then(c).then(null,f)}})}let Xo,eg,Wo;function sC(a){const r=Ue._sentryDebugIds;if(!r)return{};const l=Object.keys(r);return Wo&&l.length===eg||(eg=l.length,Wo=l.reduce((s,c)=>{Xo||(Xo={});const f=Xo[c];if(f)s[f[0]]=f[1];else{const p=a(c);for(let m=p.length-1;m>=0;m--){const g=p[m],y=g&&g.filename,E=r[c];if(y&&E){s[y]=E,Xo[c]=[y,E];break}}}return s},{})),Wo}function uC(a,r){const{fingerprint:l,span:s,breadcrumbs:c,sdkProcessingMetadata:f}=r;cC(a,r),s&&pC(a,s),mC(a,l),fC(a,c),dC(a,f)}function tg(a,r){const{extra:l,tags:s,user:c,contexts:f,level:p,sdkProcessingMetadata:m,breadcrumbs:g,fingerprint:y,eventProcessors:E,attachments:S,propagationContext:U,transactionName:P,span:j}=r;Ko(a,"extra",l),Ko(a,"tags",s),Ko(a,"user",c),Ko(a,"contexts",f),a.sdkProcessingMetadata=Ms(a.sdkProcessingMetadata,m,2),p&&(a.level=p),P&&(a.transactionName=P),j&&(a.span=j),g.length&&(a.breadcrumbs=[...a.breadcrumbs,...g]),y.length&&(a.fingerprint=[...a.fingerprint,...y]),E.length&&(a.eventProcessors=[...a.eventProcessors,...E]),S.length&&(a.attachments=[...a.attachments,...S]),a.propagationContext={...a.propagationContext,...U}}function Ko(a,r,l){a[r]=Ms(a[r],l,1)}function cC(a,r){const{extra:l,tags:s,user:c,contexts:f,level:p,transactionName:m}=r,g=on(l);g&&Object.keys(g).length&&(a.extra={...g,...a.extra});const y=on(s);y&&Object.keys(y).length&&(a.tags={...y,...a.tags});const E=on(c);E&&Object.keys(E).length&&(a.user={...E,...a.user});const S=on(f);S&&Object.keys(S).length&&(a.contexts={...S,...a.contexts}),p&&(a.level=p),m&&a.type!=="transaction"&&(a.transaction=m)}function fC(a,r){const l=[...a.breadcrumbs||[],...r];a.breadcrumbs=l.length?l:void 0}function dC(a,r){a.sdkProcessingMetadata={...a.sdkProcessingMetadata,...r}}function pC(a,r){a.contexts={trace:kE(r),...a.contexts},a.sdkProcessingMetadata={dynamicSamplingContext:PE(r),...a.sdkProcessingMetadata};const l=w0(r),s=fd(l).description;s&&!a.transaction&&a.type==="transaction"&&(a.transaction=s)}function mC(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 hC(a,r,l,s,c,f){const{normalizeDepth:p=3,normalizeMaxBreadth:m=1e3}=a,g={...r,event_id:r.event_id||l.event_id||sn(),timestamp:r.timestamp||Ml()},y=l.integrations||a.integrations.map(V=>V.name);yC(g,a),bC(g,y),c&&c.emit("applyFrameMetadata",r),r.type===void 0&&gC(g,a.stackParser);const E=SC(s,l.captureContext);l.mechanism&&ci(g,l.mechanism);const S=c?c.getEventProcessors():[],U=gE().getScopeData();if(f){const V=f.getScopeData();tg(U,V)}if(E){const V=E.getScopeData();tg(U,V)}const P=[...l.attachments||[],...U.attachments];P.length&&(l.attachments=P),uC(g,U);const j=[...S,...U.eventProcessors];return Df(j,g,l).then(V=>(V&&vC(V),typeof p=="number"&&p>0?_C(V,p,m):V))}function yC(a,r){const{environment:l,release:s,dist:c,maxValueLength:f=250}=r;a.environment=a.environment||l||dd,!a.release&&s&&(a.release=s),!a.dist&&c&&(a.dist=c),a.message&&(a.message=oi(a.message,f));const p=a.exception&&a.exception.values&&a.exception.values[0];p&&p.value&&(p.value=oi(p.value,f));const m=a.request;m&&m.url&&(m.url=oi(m.url,f))}function gC(a,r){const l=sC(r);try{a.exception.values.forEach(s=>{s.stacktrace.frames.forEach(c=>{l&&c.filename&&(c.debug_id=l[c.filename])})})}catch{}}function vC(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 bC(a,r){r.length>0&&(a.sdk=a.sdk||{},a.sdk.integrations=[...a.sdk.integrations||[],...r])}function _C(a,r,l){if(!a)return null;const s={...a,...a.breadcrumbs&&{breadcrumbs:a.breadcrumbs.map(c=>({...c,...c.data&&{data:Qn(c.data,r,l)}}))},...a.user&&{user:Qn(a.user,r,l)},...a.contexts&&{contexts:Qn(a.contexts,r,l)},...a.extra&&{extra:Qn(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=Qn(a.contexts.trace.data,r,l))),a.spans&&(s.spans=a.spans.map(c=>({...c,...c.data&&{data:Qn(c.data,r,l)}}))),a.contexts&&a.contexts.flags&&s.contexts&&(s.contexts.flags=Qn(a.contexts.flags,3,l)),s}function SC(a,r){if(!r)return a;const l=a?a.clone():new Ha;return l.update(r),l}function EC(a){if(a)return CC(a)?{captureContext:a}:TC(a)?{captureContext:a}:a}function CC(a){return a instanceof Ha||typeof a=="function"}const AC=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function TC(a){return Object.keys(a).some(r=>AC.includes(r))}function yr(a,r){return gn().captureException(a,EC(r))}function MC(a,r){const s={captureContext:r};return gn().captureMessage(a,void 0,s)}function N0(a,r){return gn().captureEvent(a,r)}function wC(a,r){za().setContext(a,r)}function of(a,r){za().setTag(a,r)}function OC(){return za().lastEventId()}function ng(a){const r=mt(),l=za(),s=gn(),{release:c,environment:f=dd}=r&&r.getOptions()||{},{userAgent:p}=Ue.navigator||{},m=oE({release:c,environment:f,user:s.getUser()||l.getUser(),...p&&{userAgent:p},...a}),g=l.getSession();return g&&g.status==="ok"&&fi(g,{status:"exited"}),L0(),l.setSession(m),s.setSession(m),m}function L0(){const a=za(),r=gn(),l=r.getSession()||a.getSession();l&&sE(l),H0(),a.setSession(),r.setSession()}function H0(){const a=za(),r=gn(),l=mt(),s=r.getSession()||a.getSession();s&&l&&l.captureSession(s)}function ag(a=!1){if(a){L0();return}H0()}const RC="7";function U0(a){const r=a.protocol?`${a.protocol}:`:"",l=a.port?`:${a.port}`:"";return`${r}//${a.host}${l}${a.path?`/${a.path}`:""}/api/`}function DC(a){return`${U0(a)}${a.projectId}/envelope/`}function xC(a,r){const l={sentry_version:RC};return a.publicKey&&(l.sentry_key=a.publicKey),r&&(l.sentry_client=`${r.name}/${r.version}`),new URLSearchParams(l).toString()}function kC(a,r,l){return r||`${DC(a)}?${xC(a,l)}`}function NC(a,r){const l=D0(a);if(!l)return"";const s=`${U0(l)}embed/error-page/`;let c=`dsn=${wl(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 rg=[];function LC(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 HC(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=LC(s),f=c.findIndex(p=>p.name==="Debug");if(f>-1){const[p]=c.splice(f,1);c.push(p)}return c}function UC(a,r){const l={};return r.forEach(s=>{s&&z0(a,s,l)}),l}function ig(a,r){for(const l of r)l&&l.afterAllSetup&&l.afterAllSetup(a)}function z0(a,r,l){if(l[r.name]){Qe&&oe.log(`Integration skipped because it was already installed: ${r.name}`);return}if(l[r.name]=r,rg.indexOf(r.name)===-1&&typeof r.setupOnce=="function"&&(r.setupOnce(),rg.push(r.name)),r.setup&&typeof r.setup=="function"&&r.setup(a),typeof r.preprocessEvent=="function"){const s=r.preprocessEvent.bind(r);a.on("preprocessEvent",(c,f)=>s(c,f,a))}if(typeof r.processEvent=="function"){const s=r.processEvent.bind(r),c=Object.assign((f,p)=>s(f,p,a),{id:r.name});a.addEventProcessor(c)}Qe&&oe.log(`Integration installed: ${r.name}`)}function zC(a){const r=mt();if(!r){Qe&&oe.warn(`Cannot add integration "${a.name}" because no SDK Client is available.`);return}r.addIntegration(a)}function BC(a,r,l){const s=[{type:"client_report"},{timestamp:Ml(),discarded_events:a}];return Ol(r?{dsn:r}:{},[s])}class hn extends Error{constructor(r,l="warn"){super(r),this.message=r,this.logLevel=l}}const lg="Not capturing exception because it's already been captured.";class jC{constructor(r){if(this._options=r,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],r.dsn?this._dsn=D0(r.dsn):Qe&&oe.warn("No DSN provided, client will not send events."),this._dsn){const c=kC(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&&pr(()=>{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=sn();if(Gy(r))return Qe&&oe.log(lg),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:sn(),...s},p=id(r)?r:String(r),m=ld(r)?this.eventFromMessage(p,l,f):this.eventFromException(r,f);return this._process(m.then(g=>this._captureEvent(g,f,c))),f.event_id}captureEvent(r,l,s){const c=sn();if(l&&l.originalException&&Gy(l.originalException))return Qe&&oe.log(lg),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"?Qe&&oe.warn("Discarded session because of missing or non-string release"):(this.sendSession(r),fi(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))):ur(!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];z0(this,r,this._integrations),l||ig(this,[r])}sendEvent(r,l={}){this.emit("beforeSendEvent",r,l);let s=oC(r,this._dsn,this._options._metadata,this._options.tunnel);for(const f of l.attachments||[])s=JE(s,nC(f));const c=this.sendEnvelope(s);c&&c.then(f=>this.emit("afterSendEvent",r,f),null)}sendSession(r){const l=lC(r,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(l)}recordDroppedEvent(r,l,s){if(this._options.sendClientReports){const c=typeof s=="number"?s:1,f=`${r}:${l}`;Qe&&oe.log(`Recording outcome: "${f}"${c>1?` (${c} times)`:""}`),this._outcomes[f]=(this._outcomes[f]||0)+c}}on(r,l){const s=this._hooks[r]=this._hooks[r]||[];return s.push(l),()=>{const c=s.indexOf(l);c>-1&&s.splice(c,1)}}emit(r,...l){const s=this._hooks[r];s&&s.forEach(c=>c(...l))}sendEnvelope(r){return this.emit("beforeEnvelope",r),this._isEnabled()&&this._transport?this._transport.send(r).then(null,l=>(Qe&&oe.error("Error while sending envelope:",l),l)):(Qe&&oe.error("Transport disabled"),ur({}))}_setupIntegrations(){const{integrations:r}=this._options;this._integrations=UC(this,r),ig(this,r)}_updateSessionFromEvent(r,l){let s=l.level==="fatal",c=!1;const f=l.exception&&l.exception.values;if(f){c=!0;for(const g of f){const y=g.mechanism;if(y&&y.handled===!1){s=!0;break}}}const p=r.status==="ok";(p&&r.errors===0||p&&s)&&(fi(r,{...s&&{status:"crashed"},errors:r.errors||Number(c||s)}),this.captureSession(r))}_isClientDoneProcessing(r){return new ln(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=gn(),c=za()){const f=this.getOptions(),p=Object.keys(this._integrations);return!l.integrations&&p.length>0&&(l.integrations=p),this.emit("preprocessEvent",r,l),r.type||c.setLastEventId(r.event_id||l.event_id),hC(f,r,l,s,this,c).then(m=>{if(m===null)return m;m.contexts={trace:vE(s),...m.contexts};const g=qE(this,s);return m.sdkProcessingMetadata={dynamicSamplingContext:g,...m.sdkProcessingMetadata},m})}_captureEvent(r,l={},s){return this._processEvent(r,l,s).then(c=>c.event_id,c=>{Qe&&(c instanceof hn&&c.logLevel==="log"?oe.log(c.message):oe.warn(c))})}_processEvent(r,l,s){const c=this.getOptions(),{sampleRate:f}=c,p=j0(r),m=B0(r),g=r.type||"error",y=`before send for type \`${g}\``,E=typeof f>"u"?void 0:GE(f);if(m&&typeof E=="number"&&Math.random()>E)return this.recordDroppedEvent("sample_rate","error",r),ds(new hn(`Discarding event because it's not included in the random sample (sampling rate = ${f})`,"log"));const S=g==="replay_event"?"replay":g,P=(r.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(r,l,s,P).then(j=>{if(j===null)throw this.recordDroppedEvent("event_processor",S,r),new hn("An event processor returned `null`, will not send event.","log");if(l.data&&l.data.__sentry__===!0)return j;const V=qC(this,c,j,l);return IC(V,y)}).then(j=>{if(j===null){if(this.recordDroppedEvent("before_send",S,r),p){const me=1+(r.spans||[]).length;this.recordDroppedEvent("before_send","span",me)}throw new hn(`${y} returned \`null\`, will not send event.`,"log")}const K=s&&s.getSession();if(!p&&K&&this._updateSessionFromEvent(K,j),p){const ie=j.sdkProcessingMetadata&&j.sdkProcessingMetadata.spanCountBeforeProcessing||0,me=j.spans?j.spans.length:0,re=ie-me;re>0&&this.recordDroppedEvent("before_send","span",re)}const V=j.transaction_info;if(p&&V&&j.transaction!==r.transaction){const ie="custom";j.transaction_info={...V,source:ie}}return this.sendEvent(j,l),j}).then(null,j=>{throw j instanceof hn?j:(this.captureException(j,{data:{__sentry__:!0},originalException:j}),new hn(`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(){Qe&&oe.log("Flushing outcomes...");const r=this._clearOutcomes();if(r.length===0){Qe&&oe.log("No outcomes to send");return}if(!this._dsn){Qe&&oe.log("No dsn provided, will not send outcomes");return}Qe&&oe.log("Sending outcomes:",r);const l=BC(r,this._options.tunnel&&wl(this._dsn));this.sendEnvelope(l)}}function IC(a,r){const l=`${r} must return \`null\` or a valid event.`;if(As(a))return a.then(s=>{if(!ui(s)&&s!==null)throw new hn(l);return s},s=>{throw new hn(`${r} rejected with ${s}`)});if(!ui(a)&&a!==null)throw new hn(l);return a}function qC(a,r,l,s){const{beforeSend:c,beforeSendTransaction:f,beforeSendSpan:p}=r;if(B0(l)&&c)return c(l,s);if(j0(l)){if(l.spans&&p){const m=[];for(const g of l.spans){const y=p(g);y?m.push(y):(BE(),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 B0(a){return a.type===void 0}function j0(a){return a.type==="transaction"}function PC(a,r){r.debug===!0&&(Qe?oe.enable():pr(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),gn().update(r.initialScope);const s=new a(r);return GC(s),s.init(),s}function GC(a){gn().setClient(a)}function FC(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 ds(new hn("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 ln((m,g)=>{let y=r.length;if(!y)return m(!0);const E=setTimeout(()=>{p&&p>0&&m(!1)},p);r.forEach(S=>{ur(S).then(()=>{--y||(clearTimeout(E),m(!0))},g)})})}return{$:r,add:c,drain:f}}const VC=60*1e3;function YC(a,r=Date.now()){const l=parseInt(`${a}`,10);if(!isNaN(l))return l*1e3;const s=Date.parse(`${a}`);return isNaN(s)?VC:s-r}function $C(a,r){return a[r]||a.all||0}function QC(a,r,l=Date.now()){return $C(a,r)>l}function ZC(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[g,y,,,E]=m.split(":",5),S=parseInt(g,10),U=(isNaN(S)?60:S)*1e3;if(!y)c.all=s+U;else for(const P of y.split(";"))P==="metric_bucket"?(!E||E.split(";").includes("custom"))&&(c[P]=s+U):c[P]=s+U}else p?c.all=s+YC(p,s):r===429&&(c.all=s+60*1e3);return c}const XC=64;function WC(a,r,l=FC(a.bufferSize||XC)){let s={};const c=p=>l.drain(p);function f(p){const m=[];if(Ky(p,(S,U)=>{const P=Jy(U);if(QC(s,P)){const j=og(S,U);a.recordDroppedEvent("ratelimit_backoff",P,j)}else m.push(S)}),m.length===0)return ur({});const g=Ol(p[0],m),y=S=>{Ky(g,(U,P)=>{const j=og(U,P);a.recordDroppedEvent(S,Jy(P),j)})},E=()=>r({body:eC(g)}).then(S=>(S.statusCode!==void 0&&(S.statusCode<200||S.statusCode>=300)&&Qe&&oe.warn(`Sentry responded with status code ${S.statusCode} to sent event.`),s=ZC(s,S),S),S=>{throw y("network_error"),S});return l.add(E).then(S=>S,S=>{if(S instanceof hn)return Qe&&oe.error("Skipped sending event because buffer is full."),y("queue_overflow"),ur({});throw S})}return{send:f,flush:c}}function og(a,r){if(!(r!=="event"&&r!=="transaction"))return Array.isArray(a)?a[1]:void 0}function I0(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:Da})),version:Da}),a._metadata=c}const KC=100;function Ua(a,r){const l=mt(),s=za();if(!l)return;const{beforeBreadcrumb:c=null,maxBreadcrumbs:f=KC}=l.getOptions();if(f<=0)return;const m={timestamp:Ml(),...a},g=c?pr(()=>c(m,r)):m;g!==null&&(l.emit&&l.emit("beforeAddBreadcrumb",g,r),s.addBreadcrumb(g,f))}let sg;const JC="FunctionToString",ug=new WeakMap,e1=(()=>({name:JC,setupOnce(){sg=Function.prototype.toString;try{Function.prototype.toString=function(...a){const r=sd(this),l=ug.has(mt())&&r!==void 0?r:this;return sg.apply(l,a)}}catch{}},setup(a){ug.set(a,!0)}})),t1=e1,n1=[/^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$/],a1="InboundFilters",r1=((a={})=>({name:a1,processEvent(r,l,s){const c=s.getOptions(),f=l1(a,c);return o1(r,f)?null:r}})),i1=r1;function l1(a={},r={}){return{allowUrls:[...a.allowUrls||[],...r.allowUrls||[]],denyUrls:[...a.denyUrls||[],...r.denyUrls||[]],ignoreErrors:[...a.ignoreErrors||[],...r.ignoreErrors||[],...a.disableErrorDefaults?[]:n1],ignoreTransactions:[...a.ignoreTransactions||[],...r.ignoreTransactions||[]],ignoreInternal:a.ignoreInternal!==void 0?a.ignoreInternal:!0}}function o1(a,r){return r.ignoreInternal&&p1(a)?(Qe&&oe.warn(`Event dropped due to being internal Sentry Error.
58
+ Event: ${Oa(a)}`),!0):s1(a,r.ignoreErrors)?(Qe&&oe.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
59
+ Event: ${Oa(a)}`),!0):h1(a)?(Qe&&oe.warn(`Event dropped due to not having an error message, error type or stacktrace.
60
+ Event: ${Oa(a)}`),!0):u1(a,r.ignoreTransactions)?(Qe&&oe.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
61
+ Event: ${Oa(a)}`),!0):c1(a,r.denyUrls)?(Qe&&oe.warn(`Event dropped due to being matched by \`denyUrls\` option.
62
+ Event: ${Oa(a)}.
63
+ Url: ${ps(a)}`),!0):f1(a,r.allowUrls)?!1:(Qe&&oe.warn(`Event dropped due to not being matched by \`allowUrls\` option.
64
+ Event: ${Oa(a)}.
65
+ Url: ${ps(a)}`),!0)}function s1(a,r){return a.type||!r||!r.length?!1:d1(a).some(l=>Ts(l,r))}function u1(a,r){if(a.type!=="transaction"||!r||!r.length)return!1;const l=a.transaction;return l?Ts(l,r):!1}function c1(a,r){if(!r||!r.length)return!1;const l=ps(a);return l?Ts(l,r):!1}function f1(a,r){if(!r||!r.length)return!0;const l=ps(a);return l?Ts(l,r):!0}function d1(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 p1(a){try{return a.exception.values[0].type==="SentryError"}catch{}return!1}function m1(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 ps(a){try{let r;try{r=a.exception.values[0].stacktrace.frames}catch{}return r?m1(r):null}catch{return Qe&&oe.error(`Cannot extract url for event ${Oa(a)}`),null}}function h1(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 y1(a,r,l=250,s,c,f,p){if(!f.exception||!f.exception.values||!p||!or(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=g1(xf(a,r,c,p.originalException,s,f.exception.values,m,0),l))}function xf(a,r,l,s,c,f,p,m){if(f.length>=l+1)return f;let g=[...f];if(or(s[c],Error)){cg(p,m);const y=a(r,s[c]),E=g.length;fg(y,c,E,m),g=xf(a,r,l,s[c],c,[y,...g],y,E)}return Array.isArray(s.errors)&&s.errors.forEach((y,E)=>{if(or(y,Error)){cg(p,m);const S=a(r,y),U=g.length;fg(S,`errors[${E}]`,U,m),g=xf(a,r,l,y,c,[S,...g],S,U)}}),g}function cg(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 fg(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 g1(a,r){return a.map(l=>(l.value&&(l.value=oi(l.value,r)),l))}function sf(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 v1(a){const r="console";mr(r,a),hr(r,b1)}function b1(){"console"in Ue&&Cf.forEach(function(a){a in Ue.console&&$t(Ue.console,a,function(r){return fs[a]=r,function(...l){yn("console",{args:l,level:a});const c=fs[a];c&&c.apply(Ue.console,l)}})})}function _1(a){return a==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(a)?a:"log"}const S1="Dedupe",E1=(()=>{let a;return{name:S1,processEvent(r){if(r.type)return r;try{if(A1(r,a))return Qe&&oe.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return a=r}}}),C1=E1;function A1(a,r){return r?!!(T1(a,r)||M1(a,r)):!1}function T1(a,r){const l=a.message,s=r.message;return!(!l&&!s||l&&!s||!l&&s||l!==s||!P0(a,r)||!q0(a,r))}function M1(a,r){const l=dg(r),s=dg(a);return!(!l||!s||l.type!==s.type||l.value!==s.value||!P0(a,r)||!q0(a,r))}function q0(a,r){let l=zy(a),s=zy(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 P0(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 dg(a){return a.exception&&a.exception.values&&a.exception.values[0]}function G0(a){if(a!==void 0)return a>=400&&a<500?"warning":a>=500?"error":void 0}const kf=Ue;function F0(){if(!("fetch"in kf))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function Nf(a){return a&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(a.toString())}function w1(){if(typeof EdgeRuntime=="string")return!0;if(!F0())return!1;if(Nf(kf.fetch))return!0;let a=!1;const r=kf.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=Nf(l.contentWindow.fetch)),r.head.removeChild(l)}catch(l){dr&&oe.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",l)}return a}function O1(a,r){const l="fetch";mr(l,a),hr(l,()=>R1(void 0,r))}function R1(a,r=!1){r&&!w1()||$t(Ue,"fetch",function(l){return function(...s){const c=new Error,{method:f,url:p}=D1(s),m={args:s,fetchData:{method:f,url:p},startTimestamp:Xn()*1e3,virtualError:c};return yn("fetch",{...m}),l.apply(Ue,s).then(async g=>(yn("fetch",{...m,endTimestamp:Xn()*1e3,response:g}),g),g=>{throw yn("fetch",{...m,endTimestamp:Xn()*1e3,error:g}),Es(g)&&g.stack===void 0&&(g.stack=c.stack,sr(g,"framesToPop",1)),g})}})}function Lf(a,r){return!!a&&typeof a=="object"&&!!a[r]}function pg(a){return typeof a=="string"?a:a?Lf(a,"url")?a.url:a.toString?a.toString():"":""}function D1(a){if(a.length===0)return{method:"GET",url:""};if(a.length===2){const[l,s]=a;return{url:pg(l),method:Lf(s,"method")?String(s.method).toUpperCase():"GET"}}const r=a[0];return{url:pg(r),method:Lf(r,"method")?String(r.method).toUpperCase():"GET"}}function x1(){return"npm"}const Jo=Ue;function k1(){const a=Jo.chrome,r=a&&a.app&&a.app.runtime,l="history"in Jo&&!!Jo.history.pushState&&!!Jo.history.replaceState;return!r&&l}const Ee=Ue;let Hf=0;function V0(){return Hf>0}function N1(){Hf++,setTimeout(()=>{Hf--})}function pi(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(sd(a))return a}catch{return a}const s=function(...c){try{const f=c.map(p=>pi(p,r));return a.apply(this,f)}catch(f){throw N1(),ws(p=>{p.addEventProcessor(m=>(r.mechanism&&(Tf(m,void 0),ci(m,r.mechanism)),m.extra={...m.extra,arguments:c},m)),yr(f)}),f}};try{for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&(s[c]=a[c])}catch{}C0(s,a),sr(a,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get(){return a.name}})}catch{}return s}const xa=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function pd(a,r){const l=md(a,r),s={type:B1(r),value:j1(r)};return l.length&&(s.stacktrace={frames:l}),s.type===void 0&&s.value===""&&(s.value="Unrecoverable error caught"),s}function L1(a,r,l,s){const c=mt(),f=c&&c.getOptions().normalizeDepth,p=F1(r),m={__serialized__:x0(r,f)};if(p)return{exception:{values:[pd(a,p)]},extra:m};const g={exception:{values:[{type:Cs(r)?r.constructor.name:s?"UnhandledRejection":"Error",value:P1(r,{isUnhandledRejection:s})}]},extra:m};if(l){const y=md(a,l);y.length&&(g.exception.values[0].stacktrace={frames:y})}return g}function uf(a,r){return{exception:{values:[pd(a,r)]}}}function md(a,r){const l=r.stacktrace||r.stack||"",s=U1(r),c=z1(r);try{return a(l,s,c)}catch{}return[]}const H1=/Minified React error #\d+;/i;function U1(a){return a&&H1.test(a.message)?1:0}function z1(a){return typeof a.framesToPop=="number"?a.framesToPop:0}function Y0(a){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?a instanceof WebAssembly.Exception:!1}function B1(a){const r=a&&a.name;return!r&&Y0(a)?a.message&&Array.isArray(a.message)&&a.message.length==2?a.message[0]:"WebAssembly.Exception":r}function j1(a){const r=a&&a.message;return r?r.error&&typeof r.error.message=="string"?r.error.message:Y0(a)&&Array.isArray(a.message)&&a.message.length==2?a.message[1]:r:"No error message"}function I1(a,r,l,s){const c=l&&l.syntheticException||void 0,f=hd(a,r,c,s);return ci(f),f.level="error",l&&l.event_id&&(f.event_id=l.event_id),ur(f)}function q1(a,r,l="info",s,c){const f=s&&s.syntheticException||void 0,p=Uf(a,r,f,c);return p.level=l,s&&s.event_id&&(p.event_id=s.event_id),ur(p)}function hd(a,r,l,s,c){let f;if(_0(r)&&r.error)return uf(a,r.error);if(jy(r)||QS(r)){const p=r;if("stack"in r)f=uf(a,r);else{const m=p.name||(jy(p)?"DOMError":"DOMException"),g=p.message?`${m}: ${p.message}`:m;f=Uf(a,g,l,s),Tf(f,g)}return"code"in p&&(f.tags={...f.tags,"DOMException.code":`${p.code}`}),f}return Es(r)?uf(a,r):ui(r)||Cs(r)?(f=L1(a,r,l,c),ci(f,{synthetic:!0}),f):(f=Uf(a,r,l,s),Tf(f,`${r}`),ci(f,{synthetic:!0}),f)}function Uf(a,r,l,s){const c={};if(s&&l){const f=md(a,l);f.length&&(c.exception={values:[{value:r,stacktrace:{frames:f}}]}),ci(c,{synthetic:!0})}if(id(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 P1(a,{isUnhandledRejection:r}){const l=aE(a),s=r?"promise rejection":"exception";return _0(a)?`Event \`ErrorEvent\` captured as ${s} with message \`${a.message}\``:Cs(a)?`Event \`${G1(a)}\` (type=${a.type}) captured as ${s}`:`Object captured as ${s} with keys: ${l}`}function G1(a){try{const r=Object.getPrototypeOf(a);return r?r.constructor.name:void 0}catch{}}function F1(a){for(const r in a)if(Object.prototype.hasOwnProperty.call(a,r)){const l=a[r];if(l instanceof Error)return l}}function V1(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:wl(s)}},f=Y1(a);return Ol(c,[f])}function Y1(a){return[{type:"user_report"},a]}class $1 extends jC{constructor(r){const l={parentSpanIsAlwaysRootSpan:!0,...r},s=Ee.SENTRY_SDK_SOURCE||x1();I0(l,"browser",["browser"],s),super(l),l.sendClientReports&&Ee.document&&Ee.document.addEventListener("visibilitychange",()=>{Ee.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(r,l){return I1(this._options.stackParser,r,l,this._options.attachStacktrace)}eventFromMessage(r,l="info",s){return q1(this._options.stackParser,r,l,s,this._options.attachStacktrace)}captureUserFeedback(r){if(!this._isEnabled()){xa&&oe.warn("SDK not enabled, will not capture user feedback.");return}const l=V1(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 Q1=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ot=Ue,Z1=1e3;let mg,zf,Bf;function X1(a){mr("dom",a),hr("dom",W1)}function W1(){if(!Ot.document)return;const a=yn.bind(null,"dom"),r=hg(a,!0);Ot.document.addEventListener("click",r,!1),Ot.document.addEventListener("keypress",r,!1),["EventTarget","Node"].forEach(l=>{const c=Ot[l],f=c&&c.prototype;!f||!f.hasOwnProperty||!f.hasOwnProperty("addEventListener")||($t(f,"addEventListener",function(p){return function(m,g,y){if(m==="click"||m=="keypress")try{const E=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},S=E[m]=E[m]||{refCount:0};if(!S.handler){const U=hg(a);S.handler=U,p.call(this,m,U,y)}S.refCount++}catch{}return p.call(this,m,g,y)}}),$t(f,"removeEventListener",function(p){return function(m,g,y){if(m==="click"||m=="keypress")try{const E=this.__sentry_instrumentation_handlers__||{},S=E[m];S&&(S.refCount--,S.refCount<=0&&(p.call(this,m,S.handler,y),S.handler=void 0,delete E[m]),Object.keys(E).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return p.call(this,m,g,y)}}))})}function K1(a){if(a.type!==zf)return!1;try{if(!a.target||a.target._sentryId!==Bf)return!1}catch{}return!0}function J1(a,r){return a!=="keypress"?!1:!r||!r.tagName?!0:!(r.tagName==="INPUT"||r.tagName==="TEXTAREA"||r.isContentEditable)}function hg(a,r=!1){return l=>{if(!l||l._sentryCaptured)return;const s=eA(l);if(J1(l.type,s))return;sr(l,"_sentryCaptured",!0),s&&!s._sentryId&&sr(s,"_sentryId",sn());const c=l.type==="keypress"?"input":l.type;K1(l)||(a({event:l,name:c,global:r}),zf=l.type,Bf=s?s._sentryId:void 0),clearTimeout(mg),mg=Ot.setTimeout(()=>{Bf=void 0,zf=void 0},Z1)}}function eA(a){try{return a.target}catch{return null}}let es;function $0(a){const r="history";mr(r,a),hr(r,tA)}function tA(){if(!k1())return;const a=Ot.onpopstate;Ot.onpopstate=function(...l){const s=Ot.location.href,c=es;if(es=s,yn("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=es,p=String(c);es=p,yn("history",{from:f,to:p})}return l.apply(this,s)}}$t(Ot.history,"pushState",r),$t(Ot.history,"replaceState",r)}const is={};function nA(a){const r=is[a];if(r)return r;let l=Ot[a];if(Nf(l))return is[a]=l.bind(Ot);const s=Ot.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){Q1&&oe.warn(`Could not create sandbox iframe for ${a} check, bailing to window.${a}: `,c)}return l&&(is[a]=l.bind(Ot))}function yg(a){is[a]=void 0}const bl="__sentry_xhr_v3__";function aA(a){mr("xhr",a),hr("xhr",rA)}function rA(){if(!Ot.XMLHttpRequest)return;const a=XMLHttpRequest.prototype;a.open=new Proxy(a.open,{apply(r,l,s){const c=new Error,f=Xn()*1e3,p=Zn(s[0])?s[0].toUpperCase():void 0,m=iA(s[1]);if(!p||!m)return r.apply(l,s);l[bl]={method:p,url:m,request_headers:{}},p==="POST"&&m.match(/sentry_key/)&&(l.__sentry_own_request__=!0);const g=()=>{const y=l[bl];if(y&&l.readyState===4){try{y.status_code=l.status}catch{}const E={endTimestamp:Xn()*1e3,startTimestamp:f,xhr:l,virtualError:c};yn("xhr",E)}};return"onreadystatechange"in l&&typeof l.onreadystatechange=="function"?l.onreadystatechange=new Proxy(l.onreadystatechange,{apply(y,E,S){return g(),y.apply(E,S)}}):l.addEventListener("readystatechange",g),l.setRequestHeader=new Proxy(l.setRequestHeader,{apply(y,E,S){const[U,P]=S,j=E[bl];return j&&Zn(U)&&Zn(P)&&(j.request_headers[U.toLowerCase()]=P),y.apply(E,S)}}),r.apply(l,s)}}),a.send=new Proxy(a.send,{apply(r,l,s){const c=l[bl];if(!c)return r.apply(l,s);s[0]!==void 0&&(c.body=s[0]);const f={startTimestamp:Xn()*1e3,xhr:l};return yn("xhr",f),r.apply(l,s)}})}function iA(a){if(Zn(a))return a;try{return a.toString()}catch{}}function lA(a,r=nA("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 yg("fetch"),ds("No fetch implementation available");try{return r(a.url,m).then(g=>(l-=p,s--,{statusCode:g.status,headers:{"x-sentry-rate-limits":g.headers.get("X-Sentry-Rate-Limits"),"retry-after":g.headers.get("Retry-After")}}))}catch(g){return yg("fetch"),l-=p,s--,ds(g)}}return WC(a,c)}const oA=30,sA=50;function jf(a,r,l,s){const c={filename:a,function:r==="<anonymous>"?lr:r,in_app:!0};return l!==void 0&&(c.lineno=l),s!==void 0&&(c.colno=s),c}const uA=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,cA=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,fA=/\((\S*)(?::(\d+))(?::(\d+))\)/,dA=a=>{const r=uA.exec(a);if(r){const[,s,c,f]=r;return jf(s,lr,+c,+f)}const l=cA.exec(a);if(l){if(l[2]&&l[2].indexOf("eval")===0){const p=fA.exec(l[2]);p&&(l[2]=p[1],l[3]=p[2],l[4]=p[3])}const[c,f]=Q0(l[1]||lr,l[2]);return jf(f,c,l[3]?+l[3]:void 0,l[4]?+l[4]:void 0)}},pA=[oA,dA],mA=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,hA=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,yA=a=>{const r=mA.exec(a);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){const f=hA.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]||lr;return[c,s]=Q0(c,s),jf(s,c,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}},gA=[sA,yA],vA=[pA,gA],bA=v0(...vA),Q0=(a,r)=>{const l=a.indexOf("safari-extension")!==-1,s=a.indexOf("safari-web-extension")!==-1;return l||s?[a.indexOf("@")!==-1?a.split("@")[0]:lr,l?`safari-extension:${r}`:`safari-web-extension:${r}`]:[a,r]},ts=1024,_A="Breadcrumbs",SA=((a={})=>{const r={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...a};return{name:_A,setup(l){r.console&&v1(TA(l)),r.dom&&X1(AA(l,r.dom)),r.xhr&&aA(MA(l)),r.fetch&&O1(wA(l)),r.history&&$0(OA(l)),r.sentry&&l.on("beforeSendEvent",CA(l))}}}),EA=SA;function CA(a){return function(l){mt()===a&&Ua({category:`sentry.${l.type==="transaction"?"transaction":"event"}`,event_id:l.event_id,level:l.level,message:Oa(l)},{event:l})}}function AA(a,r){return function(s){if(mt()!==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>ts&&(xa&&oe.warn(`\`dom.maxStringLength\` cannot exceed ${ts}, but a value of ${m} was configured. Sentry will use ${ts} instead.`),m=ts),typeof p=="string"&&(p=[p]);try{const y=s.event,E=RA(y)?y.target:y;c=E0(E,{keyAttrs:p,maxStringLength:m}),f=tE(E)}catch{c="<unknown>"}if(c.length===0)return;const g={category:`ui.${s.name}`,message:c};f&&(g.data={"ui.component_name":f}),Ua(g,{event:s.event,name:s.name,global:s.global})}}function TA(a){return function(l){if(mt()!==a)return;const s={category:"console",data:{arguments:l.args,logger:"console"},level:_1(l.level),message:Iy(l.args," ")};if(l.level==="assert")if(l.args[0]===!1)s.message=`Assertion failed: ${Iy(l.args.slice(1)," ")||"console.assert"}`,s.data.arguments=l.args.slice(1);else return;Ua(s,{input:l.args,level:l.level})}}function MA(a){return function(l){if(mt()!==a)return;const{startTimestamp:s,endTimestamp:c}=l,f=l.xhr[bl];if(!s||!c||!f)return;const{method:p,url:m,status_code:g,body:y}=f,E={method:p,url:m,status_code:g},S={xhr:l.xhr,input:y,startTimestamp:s,endTimestamp:c},U=G0(g);Ua({category:"xhr",data:E,type:"http",level:U},S)}}function wA(a){return function(l){if(mt()!==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};Ua({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},g=G0(p.status_code);Ua({category:"fetch",data:p,type:"http",level:g},m)}}}function OA(a){return function(l){if(mt()!==a)return;let s=l.from,c=l.to;const f=sf(Ee.location.href);let p=s?sf(s):void 0;const m=sf(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),Ua({category:"navigation",data:{from:s,to:c}})}}function RA(a){return!!a&&!!a.target}const DA=["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"],xA="BrowserApiErrors",kA=((a={})=>{const r={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...a};return{name:xA,setupOnce(){r.setTimeout&&$t(Ee,"setTimeout",gg),r.setInterval&&$t(Ee,"setInterval",gg),r.requestAnimationFrame&&$t(Ee,"requestAnimationFrame",NA),r.XMLHttpRequest&&"XMLHttpRequest"in Ee&&$t(XMLHttpRequest.prototype,"send",LA);const l=r.eventTarget;l&&(Array.isArray(l)?l:DA).forEach(HA)}}}),Z0=kA;function gg(a){return function(...r){const l=r[0];return r[0]=pi(l,{mechanism:{data:{function:La(a)},handled:!1,type:"instrument"}}),a.apply(this,r)}}function NA(a){return function(r){return a.apply(this,[pi(r,{mechanism:{data:{function:"requestAnimationFrame",handler:La(a)},handled:!1,type:"instrument"}})])}}function LA(a){return function(...r){const l=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(c=>{c in l&&typeof l[c]=="function"&&$t(l,c,function(f){const p={mechanism:{data:{function:c,handler:La(f)},handled:!1,type:"instrument"}},m=sd(f);return m&&(p.mechanism.data.handler=La(m)),pi(f,p)})}),a.apply(this,r)}}function HA(a){const l=Ee[a],s=l&&l.prototype;!s||!s.hasOwnProperty||!s.hasOwnProperty("addEventListener")||($t(s,"addEventListener",function(c){return function(f,p,m){try{UA(p)&&(p.handleEvent=pi(p.handleEvent,{mechanism:{data:{function:"handleEvent",handler:La(p),target:a},handled:!1,type:"instrument"}}))}catch{}return c.apply(this,[f,pi(p,{mechanism:{data:{function:"addEventListener",handler:La(p),target:a},handled:!1,type:"instrument"}}),m])}}),$t(s,"removeEventListener",function(c){return function(f,p,m){try{const g=p.__sentry_wrapped__;g&&c.call(this,f,g,m)}catch{}return c.call(this,f,p,m)}}))}function UA(a){return typeof a.handleEvent=="function"}const zA=()=>({name:"BrowserSession",setupOnce(){if(typeof Ee.document>"u"){xa&&oe.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}ng({ignoreDuration:!0}),ag(),$0(({from:a,to:r})=>{a!==void 0&&a!==r&&(ng({ignoreDuration:!0}),ag())})}}),BA="GlobalHandlers",jA=((a={})=>{const r={onerror:!0,onunhandledrejection:!0,...a};return{name:BA,setupOnce(){Error.stackTraceLimit=50},setup(l){r.onerror&&(qA(l),vg("onerror")),r.onunhandledrejection&&(PA(l),vg("onunhandledrejection"))}}}),IA=jA;function qA(a){FS(r=>{const{stackParser:l,attachStacktrace:s}=X0();if(mt()!==a||V0())return;const{msg:c,url:f,line:p,column:m,error:g}=r,y=VA(hd(l,g||c,void 0,s,!1),f,p,m);y.level="error",N0(y,{originalException:g,mechanism:{handled:!1,type:"onerror"}})})}function PA(a){YS(r=>{const{stackParser:l,attachStacktrace:s}=X0();if(mt()!==a||V0())return;const c=GA(r),f=ld(c)?FA(c):hd(l,c,void 0,s,!0);f.level="error",N0(f,{originalException:c,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function GA(a){if(ld(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 FA(a){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(a)}`}]}}}function VA(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||{},g=m.frames=m.frames||[],y=s,E=l,S=Zn(r)&&r.length>0?r:eE();return g.length===0&&g.push({colno:y,filename:S,function:lr,in_app:!0,lineno:E}),a}function vg(a){xa&&oe.log(`Global Handler attached: ${a}`)}function X0(){const a=mt();return a&&a.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const YA=()=>({name:"HttpContext",preprocessEvent(a){if(!Ee.navigator&&!Ee.location&&!Ee.document)return;const r=a.request&&a.request.url||Ee.location&&Ee.location.href,{referrer:l}=Ee.document||{},{userAgent:s}=Ee.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}}),$A="cause",QA=5,ZA="LinkedErrors",XA=((a={})=>{const r=a.limit||QA,l=a.key||$A;return{name:ZA,preprocessEvent(s,c,f){const p=f.getOptions();y1(pd,p.stackParser,p.maxValueLength,l,r,s,c)}}}),WA=XA;function KA(a){const r=[i1(),t1(),Z0(),EA(),IA(),WA(),C1(),YA()];return a.autoSessionTracking!==!1&&r.push(zA()),r}function JA(a={}){const r={defaultIntegrations:KA(a),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:Ee.SENTRY_RELEASE&&Ee.SENTRY_RELEASE.id?Ee.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return a.defaultIntegrations==null&&delete a.defaultIntegrations,{...r,...a}}function eT(){const a=typeof Ee.window<"u"&&Ee;if(!a)return!1;const r=a.chrome?"chrome":"browser",l=a[r],s=l&&l.runtime&&l.runtime.id,c=Ee.location&&Ee.location.href||"",f=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],p=!!s&&Ee===Ee.top&&f.some(g=>c.startsWith(`${g}//`)),m=typeof a.nw<"u";return!!s&&!p&&!m}function tT(a={}){const r=JA(a);if(!r.skipBrowserExtensionCheck&&eT()){pr(()=>{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}xa&&(F0()||oe.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:PS(r.stackParser||bA),integrations:HC(r),transport:r.transport||lA};return PC($1,l)}function bg(a={}){if(!Ee.document){xa&&oe.error("Global document not defined in showReportDialog call");return}const r=gn(),l=r.getClient(),s=l&&l.getDsn();if(!s){xa&&oe.error("DSN not configured for showReportDialog call");return}if(r&&(a.user={...r.getUser(),...a.user}),!a.eventId){const m=OC();m&&(a.eventId=m)}const c=Ee.document.createElement("script");c.async=!0,c.crossOrigin="anonymous",c.src=NC(s,a),a.onLoad&&(c.onload=a.onLoad);const{onClose:f}=a;if(f){const m=g=>{if(g.data==="__sentry_reportdialog_closed__")try{f()}finally{Ee.removeEventListener("message",m)}};Ee.addEventListener("message",m)}const p=Ee.document.head||Ee.document.body;p?p.appendChild(c):xa&&oe.error("Not injecting report dialog. No injection point found in HTML")}const nT={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"},_g=Ee;async function aT(a,r){const l=nT[a],s=_g.Sentry=_g.Sentry||{},c=s[a];if(typeof c=="function"&&!("_isShim"in c))return c;const f=rT(l),p=Ee.document.createElement("script");p.src=f,p.crossOrigin="anonymous",p.referrerPolicy="origin";const m=new Promise((S,U)=>{p.addEventListener("load",()=>S()),p.addEventListener("error",U)}),g=Ee.document.currentScript,y=Ee.document.body||Ee.document.head||g&&g.parentElement;if(y)y.appendChild(p);else throw new Error(`Could not find parent element to insert lazy-loaded ${a} script`);try{await m}catch{throw new Error(`Error when loading integration: ${a}`)}const E=s[a];if(typeof E!="function")throw new Error(`Could not load integration: ${a}`);return E}function rT(a){const r=mt(),l=r&&r.getOptions(),s=l&&l.cdnBaseUrl||"https://browser.sentry-cdn.com";return new URL(`/${Da}/${a}.min.js`,s).toString()}function iT(a){const r={...a};return I0(r,"react"),wC("react",{version:T.version}),tT(r)}function lT(a){const r=a.match(/^([^.]+)/);return r!==null&&parseInt(r[0])>=17}function oT(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 sT(a,{componentStack:r},l){if(lT(T.version)&&Es(a)&&r){const s=new Error(a.message);s.name=`React ErrorBoundary ${a.name}`,s.stack=r,oT(a,s)}return yr(a,{...l,captureContext:{contexts:{react:{componentStack:r}}}})}var cf={exports:{}},je={};/** @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 Sg;function uT(){if(Sg)return je;Sg=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,g=a?Symbol.for("react.async_mode"):60111,y=a?Symbol.for("react.concurrent_mode"):60111,E=a?Symbol.for("react.forward_ref"):60112,S=a?Symbol.for("react.suspense"):60113,U=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,V=a?Symbol.for("react.fundamental"):60117,ie=a?Symbol.for("react.responder"):60118,me=a?Symbol.for("react.scope"):60119;function re(B){if(typeof B=="object"&&B!==null){var _e=B.$$typeof;switch(_e){case r:switch(B=B.type,B){case g:case y:case s:case f:case c:case S:return B;default:switch(B=B&&B.$$typeof,B){case m:case E:case j:case P:case p:return B;default:return _e}}case l:return _e}}}function fe(B){return re(B)===y}return je.AsyncMode=g,je.ConcurrentMode=y,je.ContextConsumer=m,je.ContextProvider=p,je.Element=r,je.ForwardRef=E,je.Fragment=s,je.Lazy=j,je.Memo=P,je.Portal=l,je.Profiler=f,je.StrictMode=c,je.Suspense=S,je.isAsyncMode=function(B){return fe(B)||re(B)===g},je.isConcurrentMode=fe,je.isContextConsumer=function(B){return re(B)===m},je.isContextProvider=function(B){return re(B)===p},je.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===r},je.isForwardRef=function(B){return re(B)===E},je.isFragment=function(B){return re(B)===s},je.isLazy=function(B){return re(B)===j},je.isMemo=function(B){return re(B)===P},je.isPortal=function(B){return re(B)===l},je.isProfiler=function(B){return re(B)===f},je.isStrictMode=function(B){return re(B)===c},je.isSuspense=function(B){return re(B)===S},je.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===s||B===y||B===f||B===c||B===S||B===U||typeof B=="object"&&B!==null&&(B.$$typeof===j||B.$$typeof===P||B.$$typeof===p||B.$$typeof===m||B.$$typeof===E||B.$$typeof===V||B.$$typeof===ie||B.$$typeof===me||B.$$typeof===K)},je.typeOf=re,je}var Eg;function cT(){return Eg||(Eg=1,cf.exports=uT()),cf.exports}var ff,Cg;function fT(){if(Cg)return ff;Cg=1;var a=cT(),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,g=Object.getOwnPropertyNames,y=Object.getOwnPropertySymbols,E=Object.getOwnPropertyDescriptor,S=Object.getPrototypeOf,U=Object.prototype;function P(j,K,V){if(typeof K!="string"){if(U){var ie=S(K);ie&&ie!==U&&P(j,ie,V)}var me=g(K);y&&(me=me.concat(y(K)));for(var re=p(j),fe=p(K),B=0;B<me.length;++B){var _e=me[B];if(!l[_e]&&!(V&&V[_e])&&!(fe&&fe[_e])&&!(re&&re[_e])){var Q=E(K,_e);try{m(j,_e,Q)}catch{}}}}return j}return ff=P,ff}fT();const dT=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ag={componentStack:null,error:null,eventId:null};class yd extends T.Component{constructor(r){super(r),yd.prototype.__init.call(this),this.state=Ag,this._openFallbackReportDialog=!0;const l=mt();l&&r.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=l.on("afterSendEvent",s=>{!s.type&&this._lastEventId&&s.event_id===this._lastEventId&&bg({...r.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(r,l){const{componentStack:s}=l,c=s??void 0,{beforeCapture:f,onError:p,showDialog:m,dialogOptions:g}=this.props;ws(y=>{f&&f(y,r,c);const E=this.props.handled!=null?this.props.handled:!!this.props.fallback,S=sT(r,l,{mechanism:{handled:E}});p&&p(r,c,S),m&&(this._lastEventId=S,this._openFallbackReportDialog&&bg({...g,eventId:S})),this.setState({error:r,componentStack:s,eventId:S})})}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(Ag)}}render(){const{fallback:r,children:l}=this.props,s=this.state;if(s.error){let c;return typeof r=="function"?c=T.createElement(r,{error:s.error,componentStack:s.componentStack,resetError:this.resetErrorBoundary,eventId:s.eventId}):c=r,T.isValidElement(c)?c:(r&&dT&&oe.warn("fallback did not produce a valid ReactElement"),null)}return typeof l=="function"?l():l}}var pT=Object.defineProperty,gd=(a,r)=>pT(a,"name",{value:r,configurable:!0});function If(a,r){if(typeof a=="function")return a(r);a!=null&&(a.current=r)}gd(If,"setRef");function W0(...a){return r=>{let l=!1;const s=a.map(c=>{const f=If(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():If(a[c],null)}}}}gd(W0,"composeRefs");function K0(...a){return T.useCallback(W0(...a),a)}gd(K0,"useComposedRefs");var mT=Object.defineProperty,vn=(a,r)=>mT(a,"name",{value:r,configurable:!0});function J0(a){const r=T.forwardRef((l,s)=>{let{children:c,...f}=l,p=null,m=!1;const g=[];qf(c)&&typeof ns=="function"&&(c=ns(c._payload)),T.Children.forEach(c,U=>{if(av(U)){m=!0;const P=U;let j="child"in P.props?P.props.child:P.props.children;qf(j)&&typeof ns=="function"&&(j=ns(j._payload)),p=gT(P,j),g.push(p?.props?.children)}else g.push(U)}),p?p=T.cloneElement(p,void 0,g):!m&&T.Children.count(c)===1&&T.isValidElement(c)&&(p=c);const y=p?nv(p):void 0,E=K0(s,y);if(!p){if(c||c===0)throw new Error(m?_T(a):bT(a));return c}const S=tv(f,p.props??{});return p.type!==T.Fragment&&(S.ref=s?E:y),T.cloneElement(p,S)});return r.displayName=`${a}.Slot`,r}vn(J0,"createSlot");var hT=J0("Slot"),ev=Symbol.for("radix.slottable");function yT(a){const r=vn(l=>"child"in l?l.children(l.child):l.children,"Slottable");return r.displayName=`${a}.Slottable`,r.__radixId=ev,r}vn(yT,"createSlottable");var gT=vn((a,r)=>{if("child"in a.props){const l=a.props.child;return T.isValidElement(l)?T.cloneElement(l,void 0,a.props.children(l.props.children)):null}return T.isValidElement(r)?r:null},"getSlottableElementFromSlottable");function tv(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 g=f(...m);return c(...m),g}:c&&(l[s]=c):s==="style"?l[s]={...c,...f}:s==="className"&&(l[s]=[c,f].filter(Boolean).join(" "))}return{...a,...l}}vn(tv,"mergeProps");function nv(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)}vn(nv,"getElementRef");function av(a){return T.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===ev}vn(av,"isSlottable");var vT=Symbol.for("react.lazy");function qf(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===vT&&"_payload"in a&&rv(a._payload)}vn(qf,"isLazyComponent");function rv(a){return typeof a=="object"&&a!==null&&"then"in a}vn(rv,"isPromiseLike");var bT=vn(a=>`${a} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),_T=vn(a=>`${a} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),ns=kS[" use ".trim().toString()];function iv(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=iv(a[r]))&&(s&&(s+=" "),s+=l)}else for(l in a)a[l]&&(s&&(s+=" "),s+=l);return s}function lv(){for(var a,r,l=0,s="",c=arguments.length;l<c;l++)(a=arguments[l])&&(r=iv(a))&&(s&&(s+=" "),s+=r);return s}const Tg=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,Mg=lv,ST=(a,r)=>l=>{var s;if(r?.variants==null)return Mg(a,l?.class,l?.className);const{variants:c,defaultVariants:f}=r,p=Object.keys(c).map(y=>{const E=l?.[y],S=f?.[y];if(E===null)return null;const U=Tg(E)||Tg(S);return c[y][U]}),m=l&&Object.entries(l).reduce((y,E)=>{let[S,U]=E;return U===void 0||(y[S]=U),y},{}),g=r==null||(s=r.compoundVariants)===null||s===void 0?void 0:s.reduce((y,E)=>{let{class:S,className:U,...P}=E;return Object.entries(P).every(j=>{let[K,V]=j;return Array.isArray(V)?V.includes({...f,...m}[K]):{...f,...m}[K]===V})?[...y,S,U]:y},[]);return Mg(a,p,g,l?.class,l?.className)},vd="-",ET=a=>{const r=AT(a),{conflictingClassGroups:l,conflictingClassGroupModifiers:s}=a;return{getClassGroupId:p=>{const m=p.split(vd);return m[0]===""&&m.length!==1&&m.shift(),ov(m,r)||CT(p)},getConflictingClassGroupIds:(p,m)=>{const g=l[p]||[];return m&&s[p]?[...g,...s[p]]:g}}},ov=(a,r)=>{if(a.length===0)return r.classGroupId;const l=a[0],s=r.nextPart.get(l),c=s?ov(a.slice(1),s):void 0;if(c)return c;if(r.validators.length===0)return;const f=a.join(vd);return r.validators.find(({validator:p})=>p(f))?.classGroupId},wg=/^\[(.+)\]$/,CT=a=>{if(wg.test(a)){const r=wg.exec(a)[1],l=r?.substring(0,r.indexOf(":"));if(l)return"arbitrary.."+l}},AT=a=>{const{theme:r,prefix:l}=a,s={nextPart:new Map,validators:[]};return MT(Object.entries(a.classGroups),l).forEach(([f,p])=>{Pf(p,s,f,r)}),s},Pf=(a,r,l,s)=>{a.forEach(c=>{if(typeof c=="string"){const f=c===""?r:Og(r,c);f.classGroupId=l;return}if(typeof c=="function"){if(TT(c)){Pf(c(s),r,l,s);return}r.validators.push({validator:c,classGroupId:l});return}Object.entries(c).forEach(([f,p])=>{Pf(p,Og(r,f),l,s)})})},Og=(a,r)=>{let l=a;return r.split(vd).forEach(s=>{l.nextPart.has(s)||l.nextPart.set(s,{nextPart:new Map,validators:[]}),l=l.nextPart.get(s)}),l},TT=a=>a.isThemeGetter,MT=(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,wT=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)}}},sv="!",OT=a=>{const{separator:r,experimentalParseClassName:l}=a,s=r.length===1,c=r[0],f=r.length,p=m=>{const g=[];let y=0,E=0,S;for(let V=0;V<m.length;V++){let ie=m[V];if(y===0){if(ie===c&&(s||m.slice(V,V+f)===r)){g.push(m.slice(E,V)),E=V+f;continue}if(ie==="/"){S=V;continue}}ie==="["?y++:ie==="]"&&y--}const U=g.length===0?m:m.substring(E),P=U.startsWith(sv),j=P?U.substring(1):U,K=S&&S>E?S-E:void 0;return{modifiers:g,hasImportantModifier:P,baseClassName:j,maybePostfixModifierPosition:K}};return l?m=>l({className:m,parseClassName:p}):p},RT=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},DT=a=>({cache:wT(a.cacheSize),parseClassName:OT(a),...ET(a)}),xT=/\s+/,kT=(a,r)=>{const{parseClassName:l,getClassGroupId:s,getConflictingClassGroupIds:c}=r,f=[],p=a.trim().split(xT);let m="";for(let g=p.length-1;g>=0;g-=1){const y=p[g],{modifiers:E,hasImportantModifier:S,baseClassName:U,maybePostfixModifierPosition:P}=l(y);let j=!!P,K=s(j?U.substring(0,P):U);if(!K){if(!j){m=y+(m.length>0?" "+m:m);continue}if(K=s(U),!K){m=y+(m.length>0?" "+m:m);continue}j=!1}const V=RT(E).join(":"),ie=S?V+sv:V,me=ie+K;if(f.includes(me))continue;f.push(me);const re=c(K,j);for(let fe=0;fe<re.length;++fe){const B=re[fe];f.push(ie+B)}m=y+(m.length>0?" "+m:m)}return m};function NT(){let a=0,r,l,s="";for(;a<arguments.length;)(r=arguments[a++])&&(l=uv(r))&&(s&&(s+=" "),s+=l);return s}const uv=a=>{if(typeof a=="string")return a;let r,l="";for(let s=0;s<a.length;s++)a[s]&&(r=uv(a[s]))&&(l&&(l+=" "),l+=r);return l};function Rg(a,...r){let l,s,c,f=p;function p(g){const y=r.reduce((E,S)=>S(E),a());return l=DT(y),s=l.cache.get,c=l.cache.set,f=m,m(g)}function m(g){const y=s(g);if(y)return y;const E=kT(g,l);return c(g,E),E}return function(){return f(NT.apply(null,arguments))}}const Je=a=>{const r=l=>l[a]||[];return r.isThemeGetter=!0,r},cv=/^\[(?:([a-z-]+):)?(.+)\]$/i,LT=/^\d+\/\d+$/,HT=new Set(["px","full","screen"]),UT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zT=/\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$/,BT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,jT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,IT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Yn=a=>si(a)||HT.has(a)||LT.test(a),Ta=a=>gi(a,"length",QT),si=a=>!!a&&!Number.isNaN(Number(a)),df=a=>gi(a,"number",si),yl=a=>!!a&&Number.isInteger(Number(a)),qT=a=>a.endsWith("%")&&si(a.slice(0,-1)),ve=a=>cv.test(a),Ma=a=>UT.test(a),PT=new Set(["length","size","percentage"]),GT=a=>gi(a,PT,fv),FT=a=>gi(a,"position",fv),VT=new Set(["image","url"]),YT=a=>gi(a,VT,XT),$T=a=>gi(a,"",ZT),gl=()=>!0,gi=(a,r,l)=>{const s=cv.exec(a);return s?s[1]?typeof r=="string"?s[1]===r:r.has(s[1]):l(s[2]):!1},QT=a=>zT.test(a)&&!BT.test(a),fv=()=>!1,ZT=a=>jT.test(a),XT=a=>IT.test(a),Dg=()=>{const a=Je("colors"),r=Je("spacing"),l=Je("blur"),s=Je("brightness"),c=Je("borderColor"),f=Je("borderRadius"),p=Je("borderSpacing"),m=Je("borderWidth"),g=Je("contrast"),y=Je("grayscale"),E=Je("hueRotate"),S=Je("invert"),U=Je("gap"),P=Je("gradientColorStops"),j=Je("gradientColorStopPositions"),K=Je("inset"),V=Je("margin"),ie=Je("opacity"),me=Je("padding"),re=Je("saturate"),fe=Je("scale"),B=Je("sepia"),_e=Je("skew"),Q=Je("space"),et=Je("translate"),xe=()=>["auto","contain","none"],nt=()=>["auto","hidden","clip","visible","scroll"],ce=()=>["auto",ve,r],Z=()=>[ve,r],Le=()=>["",Yn,Ta],Xe=()=>["auto",si,ve],Pe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],D=()=>["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"],te=()=>["start","end","center","between","around","evenly","stretch"],ye=()=>["","0",ve],se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],v=()=>[si,ve];return{cacheSize:500,separator:":",theme:{colors:[gl],spacing:[Yn,Ta],blur:["none","",Ma,ve],brightness:v(),borderColor:[a],borderRadius:["none","","full",Ma,ve],borderSpacing:Z(),borderWidth:Le(),contrast:v(),grayscale:ye(),hueRotate:v(),invert:ye(),gap:Z(),gradientColorStops:[a],gradientColorStopPositions:[qT,Ta],inset:ce(),margin:ce(),opacity:v(),padding:Z(),saturate:v(),scale:v(),sepia:ye(),skew:v(),space:Z(),translate:Z()},classGroups:{aspect:[{aspect:["auto","square","video",ve]}],container:["container"],columns:[{columns:[Ma]}],"break-after":[{"break-after":se()}],"break-before":[{"break-before":se()}],"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:[...Pe(),ve]}],overflow:[{overflow:nt()}],"overflow-x":[{"overflow-x":nt()}],"overflow-y":[{"overflow-y":nt()}],overscroll:[{overscroll:xe()}],"overscroll-x":[{"overscroll-x":xe()}],"overscroll-y":[{"overscroll-y":xe()}],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",yl,ve]}],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",ve]}],grow:[{grow:ye()}],shrink:[{shrink:ye()}],order:[{order:["first","last","none",yl,ve]}],"grid-cols":[{"grid-cols":[gl]}],"col-start-end":[{col:["auto",{span:["full",yl,ve]},ve]}],"col-start":[{"col-start":Xe()}],"col-end":[{"col-end":Xe()}],"grid-rows":[{"grid-rows":[gl]}],"row-start-end":[{row:["auto",{span:[yl,ve]},ve]}],"row-start":[{"row-start":Xe()}],"row-end":[{"row-end":Xe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ve]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ve]}],gap:[{gap:[U]}],"gap-x":[{"gap-x":[U]}],"gap-y":[{"gap-y":[U]}],"justify-content":[{justify:["normal",...te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[me]}],px:[{px:[me]}],py:[{py:[me]}],ps:[{ps:[me]}],pe:[{pe:[me]}],pt:[{pt:[me]}],pr:[{pr:[me]}],pb:[{pb:[me]}],pl:[{pl:[me]}],m:[{m:[V]}],mx:[{mx:[V]}],my:[{my:[V]}],ms:[{ms:[V]}],me:[{me:[V]}],mt:[{mt:[V]}],mr:[{mr:[V]}],mb:[{mb:[V]}],ml:[{ml:[V]}],"space-x":[{"space-x":[Q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ve,r]}],"min-w":[{"min-w":[ve,r,"min","max","fit"]}],"max-w":[{"max-w":[ve,r,"none","full","min","max","fit","prose",{screen:[Ma]},Ma]}],h:[{h:[ve,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ve,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ve,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ve,r,"auto","min","max","fit"]}],"font-size":[{text:["base",Ma,Ta]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",df]}],"font-family":[{font:[gl]}],"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",ve]}],"line-clamp":[{"line-clamp":["none",si,df]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Yn,ve]}],"list-image":[{"list-image":["none",ve]}],"list-style-type":[{list:["none","disc","decimal",ve]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[ie]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[ie]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...D(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Yn,Ta]}],"underline-offset":[{"underline-offset":["auto",Yn,ve]}],"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",ve]}],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",ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[ie]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Pe(),FT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",GT]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},YT]}],"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":[ie]}],"border-style":[{border:[...D(),"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":[ie]}],"divide-style":[{divide:D()}],"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:["",...D()]}],"outline-offset":[{"outline-offset":[Yn,ve]}],"outline-w":[{outline:[Yn,Ta]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:Le()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[ie]}],"ring-offset-w":[{"ring-offset":[Yn,Ta]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",Ma,$T]}],"shadow-color":[{shadow:[gl]}],opacity:[{opacity:[ie]}],"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:[g]}],"drop-shadow":[{"drop-shadow":["","none",Ma,ve]}],grayscale:[{grayscale:[y]}],"hue-rotate":[{"hue-rotate":[E]}],invert:[{invert:[S]}],saturate:[{saturate:[re]}],sepia:[{sepia:[B]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[l]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[E]}],"backdrop-invert":[{"backdrop-invert":[S]}],"backdrop-opacity":[{"backdrop-opacity":[ie]}],"backdrop-saturate":[{"backdrop-saturate":[re]}],"backdrop-sepia":[{"backdrop-sepia":[B]}],"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",ve]}],duration:[{duration:v()}],ease:[{ease:["linear","in","out","in-out",ve]}],delay:[{delay:v()}],animate:[{animate:["none","spin","ping","pulse","bounce",ve]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[fe]}],"scale-x":[{"scale-x":[fe]}],"scale-y":[{"scale-y":[fe]}],rotate:[{rotate:[yl,ve]}],"translate-x":[{"translate-x":[et]}],"translate-y":[{"translate-y":[et]}],"skew-x":[{"skew-x":[_e]}],"skew-y":[{"skew-y":[_e]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ve]}],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",ve]}],"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",ve]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[Yn,Ta,df]}],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"]}}},WT=(a,{cacheSize:r,prefix:l,separator:s,experimentalParseClassName:c,extend:f={},override:p={}})=>{_l(a,"cacheSize",r),_l(a,"prefix",l),_l(a,"separator",s),_l(a,"experimentalParseClassName",c);for(const m in p)KT(a[m],p[m]);for(const m in f)JT(a[m],f[m]);return a},_l=(a,r,l)=>{l!==void 0&&(a[r]=l)},KT=(a,r)=>{if(r)for(const l in r)_l(a,l,r[l])},JT=(a,r)=>{if(r)for(const l in r){const s=r[l];s!==void 0&&(a[l]=(a[l]||[]).concat(s))}},eM=(a,...r)=>typeof a=="function"?Rg(Dg,a,...r):Rg(()=>WT(Dg(),a),...r);var tM=eM({prefix:"cds-"});function Wn(...a){return tM(lv(a))}var nM=ST("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"}}),aM=T.forwardRef(({className:a,variant:r,size:l,asChild:s=!1,...c},f)=>{let p=Wn(nM({variant:r,size:l}),a);return A.jsx(s?hT:"button",{className:p,ref:f,...c})});aM.displayName="Button";var rM="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",cr="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",bd=T.forwardRef(({className:a,...r},l)=>A.jsx("input",{ref:l,className:Wn(rM,a),...r}));bd.displayName="Input";var dv=T.forwardRef(({className:a,...r},l)=>A.jsx("label",{ref:l,className:Wn("cds-mb-1 cds-block cds-text-sm cds-font-semibold cds-text-fg",a),...r}));dv.displayName="Label";var iM=({onClick:a,disabled:r,children:l="Continue",className:s})=>A.jsx("button",{type:"button",disabled:r,onClick:a,className:Wn("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",cr,s),children:l}),xg=({message:a})=>a?A.jsx("p",{role:"alert",className:"cds-mt-2 cds-text-sm cds-font-medium cds-text-destructive",children:a}):null,Gf="(512) 640-2609",pv="tel:+15126402609",mv=({label:a,hint:r,error:l,className:s,children:c})=>{let f=T.useId(),p=r?`${f}-hint`:void 0,m=l?`${f}-error`:void 0;return A.jsxs("div",{className:Wn("cds-mb-4",s),children:[A.jsx(dv,{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]})},lM=[[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"]],li=a=>{if(!/^\d{5}$/.test(a))return;let r=Number(a);return lM.find(([l,s])=>r>=l&&r<=s)?.[2]},Sl=a=>/^\d{5}$/.test(String(a??"").replace(/\D/g,"")),Ff=a=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(String(a??"").trim()),oM=({label:a,value:r,onChange:l,error:s,hint:c,className:f})=>A.jsx(mv,{label:a,error:s,hint:c,className:f,children:({id:p,hintId:m,errorId:g})=>A.jsx(bd,{id:p,type:"text",inputMode:"numeric",autoComplete:"postal-code",value:r,"aria-invalid":s?!0:void 0,"aria-describedby":[m,g].filter(Boolean).join(" ")||void 0,onChange:y=>l(y.target.value.replace(/\D/g,"").slice(0,5)),className:s?"cds-border-destructive":void 0})}),sM=({label:a,value:r,onChange:l,error:s,hint:c,className:f})=>A.jsx(mv,{label:a,error:s,hint:c,className:f,children:({id:p,hintId:m,errorId:g})=>A.jsx(bd,{id:p,type:"email",inputMode:"email",autoComplete:"email",placeholder:"you@example.com",value:r,"aria-invalid":s?!0:void 0,"aria-describedby":[m,g].filter(Boolean).join(" ")||void 0,onChange:y=>l(y.target.value),className:s?"cds-border-destructive":void 0})}),uM={h:222,s:47,l:6},cM=(a,r,l)=>Math.min(l,Math.max(r,a)),kg=(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),g=p-m,y=(p+m)/2;if(g===0)return{h:0,s:0,l:y*100};let E=g/(1-Math.abs(2*y-1)),S;return S=p===s?(c-f)/g%6:p===c?(f-s)/g+2:(s-c)/g+4,S*=60,S<0&&(S+=360),{h:S,s:E*100,l:y*100}},fM=({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)),g=c-f/2,y;return y=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((y[0]+g)*255),Math.round((y[1]+g)*255),Math.round((y[2]+g)*255)]},dM=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(y=>y+y).join(""):p,g=Number.parseInt(m,16);return kg(g>>16&255,g>>8&255,g&255)}let s=/^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)/.exec(r);if(s?.[1]&&s[2]&&s[3])return kg(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},pM=({h:a,s:r,l})=>`${Math.round(a)} ${Math.round(r)}% ${Math.round(l)}%`,Ng=a=>{let[r,l,s]=fM(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)},Vf=(a,r)=>{let l=Ng(a),s=Ng(r),c=Math.max(l,s),f=Math.min(l,s);return(c+.05)/(f+.05)},mM=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 Vf(r,a)>=Vf(l,a)?r:l},hM=(a,r=3.2)=>{let l={h:a.h,s:cM(a.s*.9,0,100),l:a.l};for(;l.l<92&&Vf(l,uM)<r;)l.l+=2;return l},ms=(a,r)=>a?dM(a):null,pf=(a,r,l)=>{let s=ms(a);return{light:s,dark:ms(r)??(s?hM(s):null)}},as=(a,r,l)=>{l&&a.set(`--cds-${r}`,pM(l))},Lg=(a,r)=>{let l=new Map,s=(g,y)=>r==="light"?g:y;a.radius&&l.set("--cds-radius",a.radius);let c=pf(a.primary,a.primaryDark),f=pf(a.accent,a.accentDark),p=pf(a.destructive,a.destructiveDark);for(let[g,y]of[["primary",c],["accent",f],["destructive",p]]){let E=s(y.light,y.dark);as(l,g,E),E&&as(l,`${g}-foreground`,mM(E))}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[g,y,E]of m)as(l,g,ms(s(y,E)));return as(l,"ring",ms(s(a.ring,a.ringDark))??s(c.light,c.dark)),l},mf=(a,r,l="")=>r.size===0?"":`${l}${a} {
73
+ ${[...r].map(([s,c])=>`${l} ${s}: ${c};`).join(`
74
+ `)}
75
+ ${l}}
76
+ `,yM=(a,r)=>{let l=Lg(a,"light"),s=Lg(a,"dark"),c=[`${r}[data-cds-theme='dark']`,`.dark ${r}:not([data-cds-theme='light']):not([data-cds-theme='dark'])`].join(`,
77
+ `),f=mf(`${r}[data-cds-theme='auto']`,s," ");return[mf(r,l),mf(c,s),f?`@media (prefers-color-scheme: dark) {
78
+ ${f}}
79
+ `:""].filter(Boolean).join(`
80
+ `)},Hg="cds-theme-overrides",Ug=new WeakMap,Yf=new Map,$f=new Map,zg=0,gM=()=>{for(let[a,r]of $f){let l=r.deref();(!l||!l.isConnected)&&($f.delete(a),Yf.delete(a))}},vM=a=>{let r=a.getElementById(Hg);if(r instanceof HTMLStyleElement)return r;let l=a.createElement("style");return l.id=Hg,a.head.appendChild(l),l},bM=(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=Ug.get(a);l||(zg+=1,l=`cds-scope-${zg}`,Ug.set(a,l)),a.setAttribute("data-cds-scope",l),$f.set(l,new WeakRef(a)),gM(),Yf.set(l,yM(r,`[data-cds-scope='${l}']`)),vM(a.ownerDocument).textContent=[...Yf.values()].join(`
81
+ `)},hv=T.createContext({Link:"a",portalContainer:null}),gR=()=>T.useContext(hv).portalContainer,_M=({children:a,linkComponent:r="a",theme:l,mode:s,className:c,portalContainer:f=null})=>{let p=T.useRef(null),m=s??l?.mode??"light",g=l?JSON.stringify({...l,mode:m}):"",y=T.useRef(l);y.current=l,T.useEffect(()=>{let S=p.current,U=y.current;S&&U&&bM(S,{...U,mode:m})},[g]);let E=T.useMemo(()=>({Link:r,portalContainer:f}),[r,f]);return A.jsx(hv.Provider,{value:E,children:A.jsx("div",{ref:p,className:["credify-ui",c].filter(Boolean).join(" "),"data-cds-theme":m,children:a})})},hs={},SM=a=>{hs=a},Bg=new Set,ls=a=>{let r=`${a.code}:${a.detail??""}`;if(!Bg.has(r)){Bg.add(r);try{hs.onFailure?.(a)}catch{}}},jg=!1,hf,EM=()=>hf||(hf=new Promise(a=>{if(!hs.apiKey||typeof window>"u"){typeof window<"u"&&ls({code:"no_key"}),a(!1);return}if(window.google?.maps?.places){a(!0);return}if(jg){let s=Date.now(),c=()=>{window.google?.maps?.places?a(!0):Date.now()-s>8e3?a(!1):setTimeout(c,100)};c();return}jg=!0;let r=document.createElement("script");r.async=!0,r.src=`https://maps.googleapis.com/maps/api/js?key=${encodeURIComponent(hs.apiKey)}&libraries=places&loading=async&callback=credifyPlacesReady`,r.onerror=()=>{ls({code:"script_blocked"}),a(!1)};let l=window.gm_authFailure;window.gm_authFailure=()=>{ls({code:"auth_failed"}),l?.()},window.credifyPlacesReady=()=>a(!!window.google?.maps?.places),document.head.appendChild(r)}),hf),vR=async()=>{if(!await EM()||!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,c)=>{c&&c!=="OK"&&c!=="ZERO_RESULTS"&&ls({code:"request_denied",detail:c}),l((s??[]).slice(0,5))})})},Ig,bR=a=>new Promise(r=>{if(typeof window>"u"||!window.google?.maps?.places){r(null);return}Ig||=document.createElement("div"),new window.google.maps.places.PlacesService(Ig).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)})}),_R=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]??""}},CM={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"}},AM=a=>({title:a.replace(/([a-z])([A-Z])/g,"$1 $2"),short:a.replace(/([a-z])([A-Z])/g,"$1 $2")}),TM={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"}},MM={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."},wM=new Set(["Auto","Bundle"]),OM=(a,r)=>{if(a==="Product"&&r)return TM[r];let l=CM[a]??AM(a),s=MM[a];return s&&r&&wM.has(r)?{...l,subtitle:s}:l},RM=new Set(["SMSVerification","Phone"]),DM={title:"Review your answers",subtitle:"Carriers price from exactly this — a quick check now avoids surprises later.",short:"Review"},xM={title:"Your quotes",short:"Quotes"},kM={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"}},NM=null,yv=()=>NM;const LM="modulepreload",HM=function(a){return"/iframe/"+a},qg={},de=function(r,l,s){let c=Promise.resolve();if(l&&l.length>0){let g=function(y){return Promise.all(y.map(E=>Promise.resolve(E).then(S=>({status:"fulfilled",value:S}),S=>({status:"rejected",reason:S}))))};document.getElementsByTagName("link");const p=document.querySelector("meta[property=csp-nonce]"),m=p?.nonce||p?.getAttribute("nonce");c=g(l.map(y=>{if(y=HM(y),y in qg)return;qg[y]=!0;const E=y.endsWith(".css"),S=E?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${S}`))return;const U=document.createElement("link");if(U.rel=E?"stylesheet":LM,E||(U.as="script"),U.crossOrigin="",U.href=y,m&&U.setAttribute("nonce",m),document.head.appendChild(U),E)return new Promise((P,j)=>{U.addEventListener("load",P),U.addEventListener("error",()=>j(new Error(`Unable to preload CSS for ${y}`)))})}))}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 Pg=Object.defineProperty,gv=(a,r)=>{let l={};for(var s in a)Pg(l,s,{get:a[s],enumerable:!0});return Pg(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 UM=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),zM=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,l,s)=>s?s.toUpperCase():l.toLowerCase()),Gg=a=>{const r=zM(a);return r.charAt(0).toUpperCase()+r.slice(1)},vv=(...a)=>a.filter((r,l,s)=>!!r&&r.trim()!==""&&s.indexOf(r)===l).join(" ").trim(),BM=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 jM={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 IM=T.forwardRef(({color:a="currentColor",size:r=24,strokeWidth:l=2,absoluteStrokeWidth:s,className:c="",children:f,iconNode:p,...m},g)=>T.createElement("svg",{ref:g,...jM,width:r,height:r,stroke:a,strokeWidth:s?Number(l)*24/Number(r):l,className:vv("lucide",c),...!f&&!BM(m)&&{"aria-hidden":"true"},...m},[...p.map(([y,E])=>T.createElement(y,E)),...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 qM=(a,r)=>{const l=T.forwardRef(({className:s,...c},f)=>T.createElement(IM,{ref:f,iconNode:r,className:vv(`lucide-${UM(Gg(a))}`,`lucide-${a}`,s),...c}));return l.displayName=Gg(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 PM=[["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"}]],GM=qM("triangle-alert",PM);var bv=a=>{let r=a.replace(/\D/g,"").replace(/^1/,"").slice(0,10);return r.length<=3?r:r.length<=6?`(${r.slice(0,3)}) ${r.slice(3)}`:`(${r.slice(0,3)}) ${r.slice(3,6)}-${r.slice(6)}`},_v=a=>{let r=String(a??"").replace(/\D/g,"");return(r.length===11&&r.startsWith("1")?r.slice(1):r).length===10},_d=a=>a.length<=3?a:a.length<=5?`${a.slice(0,3)}-${a.slice(3)}`:`${a.slice(0,3)}-${a.slice(3,5)}-${a.slice(5)}`,FM=a=>_d(a.replace(/\D/g,"").slice(0,9)),VM="•",YM=5,$M=a=>{let r=a.replace(/\D/g,"").slice(0,9),l=Math.min(r.length,YM);return _d("•".repeat(l)+r.slice(l))},QM=(a,r)=>{let l=a.replace(/\D/g,""),s=r.split("•").length-1;return(l.slice(0,s)+r.replace(/\D/g,"")).slice(0,9)},Sv={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"}},ZM={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"},XM={"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"]},Ev={"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"},Cv=new Set(["Disabled","Retired","Unemployed","Other"]),Fg=new Set(["AAA","AARP","AIG","AIC","CNA","USAA","SR22","PIP","UM","UMPD","BI","PD","MP"]),WM=new Set,Al=a=>{if(Fg.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=>Fg.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()},Av=(a,r)=>Sv[a]?.[r]||ZM[r]||Al(r),KM=(a,r)=>(r??[]).map(l=>({value:l,label:Av(a,l)})),JM=a=>{let r=String(a??"").trim();return!r||Cv.has(r)?null:XM[r]??null},ew=a=>Ev[a]??Al(a),tw=()=>[...WM].sort(),Tv={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"}},Qf={};for(let a of Object.values(Tv))a.key&&!Qf[a.key]&&(Qf[a.key]=a);var Vg={PersonalVehicles:"vehicle",Vehicles:"vehicle",Drivers:"driver"},nw=/\[\?\([^)]*\)\]/g,aw=/\[\?\(@__id__\s*==\s*'([^']*)'\)\]/g,rw=new Set(["Id","SequenceNum","Assignments","IsDrv","DriverId","MainVehicleId"]),iw=a=>/^[a-z][a-z0-9_]*$/.test(a),Mv=a=>{let r=(a??"").trim();if(!r)return{raw:r,entity:"general",label:"",isOpaque:!0};if(iw(r)){let m=Qf[r];return{raw:r,entity:m?.entity??"general",key:r,label:m?.label??Al(r),isOpaque:!m}}let l=[...r.matchAll(aw)].map(m=>m[1]),s=r.replace(nw,"").split(".").filter(Boolean),c=s[s.length-1]??r;if(rw.has(c))return{raw:r,entity:"general",label:"",isOpaque:!0};let f=s.find(m=>m in Vg),p=Tv[c];return{raw:r,entity:(f?Vg[f]:void 0)??p?.entity??"general",entityId:l[l.length-1],key:p?.key,label:p?.label??Al(c),isOpaque:!p}},Sd=[{question:"What's your ZIP code?",inputType:"text",key:"postal_code",required:!0}],wv="Zip|",Ov=[{question:"What is your email address?",inputType:"email",key:"email",required:!0}],Rv="Email|",Zf=new Set(["TX","NJ"]),ys={Auto:["Zip","Email","Product","Name","Phone","Vehicle","Driver","AutoCurrentCarrier","Demographics","Ssn"],Home:["Zip","Email","Product","Name","Phone","Home","HomePolicy","Demographics","Ssn"],Bundle:["Zip","Email","Product","Name","Phone","Home","Vehicle","Driver","BundlePolicy","Demographics","Ssn"]},vi={},Dv=a=>{vi=a},lw=()=>{vi={}},Os=a=>{try{a()}catch{}},An=(a,r)=>{Os(()=>vi.onQuoteFailure?.(a,r))},xv=(a,r)=>{Os(()=>vi.onBreadcrumb?.(a,r))},Rs=(a,r)=>{Os(()=>vi.onTrack?.(a,r))},Ds=a=>{Os(()=>vi.onContext?.(a))},kv=a=>Ds({product:a}),Nv=a=>Ds({quoteId:a}),Lv=a=>Ds({stage:a}),wa=a=>{if(a&&typeof a=="object"&&"statusCode"in a){let r=a.statusCode;if(typeof r=="number")return r}},gs=null,Ed=a=>{gs=a},un=()=>{if(!gs)throw Error("[credify-ui-kit] configureApi() must be called before using the API client.");return gs},Hv=()=>{gs=null},ir=()=>{try{return!!un().isMockActive?.()}catch{return!1}},Cd=()=>{try{return!!un().isTestActive?.()}catch{return!1}},xs=()=>`${un().storagePrefix}quote_id`,ks=()=>`${un().storagePrefix}auth_token`,Uv=xs,zv=ks,ow="__mock",mi=a=>un().isMockActive?.()?`${a}${ow}`:a,sw=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,Bv=a=>{try{return localStorage.getItem(a)}catch{return null}},jv=(a,r)=>{try{localStorage.setItem(a,r)}catch{}},Yg=a=>{try{localStorage.removeItem(a)}catch{}},fr=()=>{let a=Bv(mi(xs()));return a!==null&&!un().isMockActive?.()&&!sw.test(a)?(hi(),null):a},Ns=a=>jv(mi(xs()),a),Ls=()=>Bv(mi(ks())),Hs=a=>jv(mi(ks()),a),hi=()=>{Yg(mi(xs())),Yg(mi(ks()))},uw=gv({buildResumeUrl:()=>Ad,captureResumeTokenFromUrl:()=>Us,consumeResumeToken:()=>Rl,hasResumeToken:()=>zs}),Xf="credify_rt",cw=["mock"],vs=null,Us=a=>{try{if(typeof window>"u")return;let r=new URL(window.location.href),l=r.searchParams.get(Xf);if(!l)return;vs=l,r.searchParams.delete(Xf),window.history.replaceState(window.history.state,"",r.toString())}catch(r){a?.(r)}},zs=()=>vs!==null,Rl=()=>{let a=vs;return vs=null,a},Ad=a=>{let r=new URL(window.location.href),l=cw.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(Xf,a),r.toString()},Wf,Td=a=>{Wf=a},$g=async a=>{try{let{ZIP_CITIES:r}=await de(async()=>{const{ZIP_CITIES:l}=await import("./zipCities-CU_i9iT--B1AIvNRh.js");return{ZIP_CITIES:l}},[]);return r[a]??null}catch{return null}},El=async a=>{if(!/^\d{5}$/.test(a))return null;let r=!1;try{r=!!un().isMockActive?.()}catch{r=!1}if(r){let{MOCK_ZIP_CITIES:l}=await de(()=>import("./fixtures-ijbZ16Zg-BmEw6uDw.js"),[]).then(s=>s.f);return l[a]??null}if(!Wf)return $g(a);try{return await Wf(a)}catch{return $g(a)}},fw=({disabled:a=!1,busy:r=!1,onChoose:l})=>{let[s,c]=T.useState(!1);return A.jsxs("section",{className:"cds-mb-4 cds-rounded-xl cds-border cds-border-border cds-bg-surface-elevated cds-p-4",children:[A.jsx("h3",{className:"cds-mb-3 cds-text-sm cds-font-bold cds-uppercase cds-tracking-wide cds-text-fg",children:"Communications consent"}),A.jsxs("label",{className:"cds-flex cds-cursor-pointer cds-items-start cds-gap-2 cds-text-sm cds-text-fg-muted",children:[A.jsx("input",{type:"checkbox",checked:s,disabled:a||r,onChange:f=>c(f.target.checked),className:"cds-mt-1 cds-h-4 cds-w-4 cds-shrink-0 cds-accent-brand-accent"}),A.jsx("span",{children:"I consent to communications from Credify Corporation (licensed insurance agency) and my selected carrier(s) at the phone number and email address I provided. This covers: support (including AI agents), carrier quote and service contact, automated rate shopping at or before renewal, policy renewal notifications, claims management, and Credify’s newsletter (which we may send by email, or by text message with a link to read it)."})]}),A.jsxs("div",{className:"cds-mt-3 cds-space-y-2 cds-text-xs cds-leading-relaxed cds-text-fg-muted",children:[A.jsx("p",{children:"These may use automated systems, emails or texts. Message frequency varies. Message & data rates may apply. Reply STOP to opt out of SMS; Reply HELP for help."}),A.jsx("p",{children:"Consent is not required to receive quotes or purchase insurance."}),A.jsxs("p",{children:["Credify Corporation – Texas #3309669."," ",A.jsx("a",{href:"/privacy-policy",target:"_blank",rel:"noreferrer",className:"cds-font-semibold cds-text-fg cds-underline",children:"Privacy Policy"})," ","|"," ",A.jsx("a",{href:"/terms-of-service",target:"_blank",rel:"noreferrer",className:"cds-font-semibold cds-text-fg cds-underline",children:"Terms of Service"})]})]}),A.jsxs("div",{className:"cds-mt-5 cds-grid cds-grid-cols-1 cds-gap-3 sm:cds-grid-cols-2",children:[A.jsx("button",{type:"button",disabled:!s||a||r,onClick:()=>l(!0),className:`cds-w-full cds-rounded-xl cds-bg-accent cds-px-6 cds-py-3.5 cds-text-base cds-font-bold cds-text-primary-foreground cds-transition hover:cds-bg-accent disabled:cds-cursor-not-allowed disabled:cds-bg-border disabled:hover:cds-bg-border ${cr}`,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 ${cr}`,children:"I Do Not Consent"})]})]})},dw=a=>{if(typeof window>"u")return null;try{return new URLSearchParams(window.location.search).get(a)}catch{return null}},Qg=[{stage:"Zip",key:"postal_code",normalize:a=>a.replace(/\D/g,"").slice(0,5),isValid:Sl,fromUrl:()=>dw("zip")},{stage:"Email",key:"email",normalize:a=>a.trim(),isValid:Ff,fromUrl:()=>null},{stage:"Phone",key:"phone",normalize:bv,isValid:_v,fromUrl:()=>null}],pw=()=>{typeof document<"u"&&delete document.documentElement.dataset.credifyResuming},Zg=()=>({[wv]:Sd,[Rv]:Ov}),yf=a=>[...ys[a]],mw=6,hw=1500,yw=new Set(["HomePolicy","BundlePolicy"]),gw=new Set(["processing","completed","no_rates","failed"]),Xg=(a,r)=>{if(!r)return 0;if(gw.has(String(r.rates_status??"")))return a.length+1;let l=a.indexOf(r.current_stage);return l>0?l:0},vw=()=>{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()))},Iv=()=>Cd()||vw(),bw=()=>Iv(),gf="78701",_w=()=>{let a=0;return r=>{r>mw||r<=a||(a=r,Rs("quote_step_completed",{stepIndex:r}))}},qv=(a,r)=>{let[l,s]=T.useState(null),[c,f]=T.useState({product:a}),[p,m]=T.useState(()=>yf(a)),[g,y]=T.useState(Zg),[E,S]=T.useState(0),[U,P]=T.useState(!1),[j,K]=T.useState(!1),[V,ie]=T.useState(!1),[me,re]=T.useState(!1),[fe,B]=T.useState(!1),[_e,Q]=T.useState(),[et,xe]=T.useState(!1),[nt,ce]=T.useState(null),[Z,Le]=T.useState(!1),[Xe,Pe]=T.useState(!1),[D,q]=T.useState(!1),[te,ye]=T.useState(!1),se=T.useRef(l),v=T.useRef(c),N=T.useRef(r?.prefill);T.useEffect(()=>{se.current=l,v.current=c,N.current=r?.prefill});let F=T.useRef(_w()),$=T.useRef(null),J=T.useRef(null),ne=T.useMemo(()=>[...p.map(L=>({kind:"stage",stage:L})),{kind:"terminal",screen:"review"},{kind:"terminal",screen:"rates"}],[p]),Me=T.useMemo(()=>Math.max(p.length,ys[a]?.length??0)+1,[p.length,a]),Ge=ne[E],Y=Ge?.kind==="stage"?Ge.stage:void 0,ht=String(c.state??"");T.useEffect(()=>{kv(a)},[a]),T.useEffect(()=>{Lv(Y),Y&&xv(`stage: ${Y}`,{screenIndex:E})},[Y,E]),T.useEffect(()=>{Nv(l)},[l]);let bn=T.useMemo(()=>{let L={};for(let z of p){let G=g[`${z}|${ht}`];G&&(L[z]=G)}return L},[p,g,ht]),zt=T.useMemo(()=>Y?g[`${Y}|${ht}`]??g[`${Y}|`]??[]:[],[Y,g,ht]),Kn=!!(Y&&(`${Y}|${ht}`in g||(Y==="Zip"||Y==="Email")&&`${Y}|`in g)),Bt=T.useMemo(()=>({errorsByKey:{},itemErrors:[],issues:[],isValid:!0}),[]),[vr,br]=T.useState(Bt),js=T.useMemo(()=>Y==="Zip"?Sl(c.postal_code)?Bt:{errorsByKey:{postal_code:"Enter a 5-digit ZIP code."},itemErrors:[],issues:["Enter a 5-digit ZIP code."],isValid:!1}:Y==="Email"?Ff(c.email)?Bt:{errorsByKey:{email:"Enter a valid email address."},itemErrors:[],issues:["Enter a valid email address."],isValid:!1}:Y?vr:Bt,[Y,c.postal_code,c.email,vr,Bt]);T.useEffect(()=>{if(!Y||Y==="Zip"||Y==="Email")return;let L=!1;return de(()=>import("./stage-BSRsu--X-BAWfI2cm.js"),__vite__mapDeps([0,1,2,3,4])).then(z=>z.a).then(({validateStage:z})=>{L||br(z({questions:zt,values:c,stageKey:Y}))}),()=>{L=!0}},[Y,zt,c]);let yt=T.useCallback(L=>{f(z=>{let G={...z,...L};return v.current=G,G})},[]),bi=T.useCallback((L,z)=>{if(L.city||L.__address_city)return;let G=String(L.postal_code??"").trim();Sl(G)&&El(G).then(I=>{if(!I||z())return;let X=v.current;X.city||X.__address_city||yt({city:I,__address_city:I})})},[yt]),Mn=T.useCallback(async L=>{let{getStagesForQuote:z}=await de(async()=>{const{getStagesForQuote:X}=await Promise.resolve().then(()=>Tt);return{getStagesForQuote:X}},void 0),{stages:G}=await z(L??void 0),I=G.filter(X=>X!=="CanopyConnect");return m(I),I},[]),cn=T.useCallback(async(L,z,G)=>{re(!0);try{let{getQuestionsByStage:I}=await de(async()=>{const{getQuestionsByStage:De}=await Promise.resolve().then(()=>Tt);return{getQuestionsByStage:De}},void 0),{questions:X}=await I(L,z??void 0),{ensureAutoCoverageSelections:ue}=await de(()=>import("./vehicleCoverage-DI2dKrnI-DVXwPfxd.js"),__vite__mapDeps([4,2,1,3])).then(De=>De.d),Ce=ue(L,X);return y(De=>({...De,[`${L}|${G}`]:Ce})),Ce}catch(I){return Q("We could not load this step. Please try again."),An(I,{phase:"stage_load",product:a,stage:L,quoteId:z,endpoint:"/get-questions-by-stage",statusCode:wa(I)}),[]}finally{re(!1)}},[a]),xl=T.useCallback(async(L,z,G)=>{ye(!0);try{await Promise.all(L.map(I=>cn(I,z,G)))}finally{ye(!1)}},[cn]);T.useEffect(()=>{Us(),Rs("quote_flow_start");let L=!1;return(async()=>{try{let z=Rl();if(z){K(!0);try{let{redeemResumeToken:De}=await de(async()=>{const{redeemResumeToken:be}=await Promise.resolve().then(()=>Tt);return{redeemResumeToken:be}},void 0);await De(z)}catch{L||Q("That link has expired. Enter your ZIP code to pick up where you left off.")}}let G=fr();G&&(se.current=G,s(G),K(!0));let I=se.current,X,ue=yf(a);if(I)try{let{getQuote:De}=await de(async()=>{const{getQuote:Se}=await Promise.resolve().then(()=>Tt);return{getQuote:Se}},void 0),{quote:be}=await De(I);if(!L&&be){X=be;let[{fromQuoteRecord:Se},{seedHomeCoverages:Be}]=await Promise.all([de(()=>import("./payload-CQc06PZC-BxklUdmW.js"),__vite__mapDeps([5,1,6])).then(Rt=>Rt.o),de(()=>import("./coverageDerivation-CV2ORogj-D3oRqD1U.js"),[]).then(Rt=>Rt.o)]),Fe=Se(be);f({...Fe,...Be(Fe),product:a}),bi(Fe,()=>L),J.current||await Promise.resolve(),await J.current?.(Fe,I,()=>L)}}catch(De){hi(),L||s(null),se.current=null,An(De,{phase:"quote_resume",product:a,quoteId:I,endpoint:"/get-quote",statusCode:wa(De)})}if(se.current&&(ue=await Mn(se.current),!L&&ue.length))if(X?.review_status==="pending_review")q(!0),ye(!0),S(ue.length);else{let De=Xg(ue,X);De>0&&S(De);let be=ue[De]??ue[0];be&&be!=="Zip"&&be!=="Email"&&await cn(be,se.current,String(v.current.state??""))}let Ce=L?null:(await de(async()=>{const{mockStepFromUrl:De}=await import("./mockJump-H1NFTDah-yzeq4yea.js");return{mockStepFromUrl:De}},[])).mockStepFromUrl();Ce!=null&&Ce!==Xg(ue,X)&&($.current||await Promise.resolve(),await $.current?.(Ce))}catch(z){L||Q("We could not start your quote. Please refresh and try again."),An(z,{phase:"quote_start",product:a,quoteId:se.current,statusCode:wa(z)})}finally{L||(K(!1),ie(!0),pw())}})(),()=>{L=!0}},[]);let kl=T.useRef(new Set);T.useEffect(()=>{if(!D)return;let L=p.filter(z=>{let G=`${z}|${ht}`;return!(G in g)&&!kl.current.has(G)});if(!L.length){ye(!1);return}for(let z of L)kl.current.add(`${z}|${ht}`);xl(L,se.current,ht)},[D,p,g,ht,xl]),T.useEffect(()=>{!Y||g[`${Y}|${ht}`]||(Y==="Zip"||Y==="Email")&&g[`${Y}|`]||cn(Y,se.current,ht)},[Y,g,ht,cn]);let ze=T.useCallback(L=>{S(L),P(!1),Q(void 0),ir()&&de(async()=>{const{writeMockStepHash:z}=await import("./mockJump-H1NFTDah-yzeq4yea.js");return{writeMockStepHash:z}},[]).then(({writeMockStepHash:z})=>{z(L)}),window.scrollTo(0,0)},[]),Jn=T.useRef(null),wn=T.useCallback(async L=>{let z=se.current;if(z)return z;let G=(L??String(v.current.postal_code??"")).trim(),{createQuote:I}=await de(async()=>{const{createQuote:ue}=await Promise.resolve().then(()=>Tt);return{createQuote:ue}},void 0),X=await I(G,bw());return se.current=X.quoteId,s(X.quoteId),X.quoteId},[]),_i=T.useCallback(async L=>{let z=String(v.current.postal_code??"").trim();El(z).then(ue=>{if(!ue)return;let Ce=v.current;yt({city:ue,...Ce.__address_city?{}:{__address_city:ue}})});let G=li(z);if(!G)return!0;yt({state:G,__address_state:v.current.__address_state??G});let{isSupportedState:I}=await de(async()=>{const{isSupportedState:ue}=await Promise.resolve().then(()=>Tt);return{isSupportedState:ue}},void 0),{isSupported:X}=await I(G,L);return X?!0:(xe(!0),!1)},[yt]),Ba=T.useCallback(()=>(Jn.current||=(async()=>{let L=await wn();if(!await _i(L))return L;let[{stageSlice:z},{toQuotePayload:G},{updateQuote:I}]=await Promise.all([de(()=>import("./stage-BSRsu--X-BAWfI2cm.js"),__vite__mapDeps([0,1,2,3,4])).then(X=>X.a),de(()=>import("./payload-CQc06PZC-BxklUdmW.js"),__vite__mapDeps([5,1,6])).then(X=>X.o),de(()=>Promise.resolve().then(()=>Tt),void 0)]);return await I({...G(z(g["Zip|"]??Sd,v.current,"Zip")),current_stage:"Email"},!1,L),L})().catch(L=>{throw Jn.current=null,L}),Jn.current),[wn,_i,g]),Nl=T.useCallback(async L=>{let z=v.current,[{parseAddress:G,normalizeStateCode:I},{isSupportedState:X}]=await Promise.all([de(()=>import("./address-BEVwov8q-RcBegFnh.js"),[]).then(be=>be.i),de(()=>Promise.resolve().then(()=>Tt),void 0)]),ue=G(String(z.address??"")),Ce=I(String(z.__address_state??ue.state));if(!Ce)return!0;yt({state:Ce});let{isSupported:De}=await X(Ce,L);return De?!0:(xe(!0),!1)},[yt]),Si=T.useCallback(async L=>{if(a==="Auto"||Z)return;let z=v.current,[{parseAddress:G},{prefillProperty:I},{seedHomeCoverages:X}]=await Promise.all([de(()=>import("./address-BEVwov8q-RcBegFnh.js"),[]).then(Se=>Se.i),de(()=>Promise.resolve().then(()=>Tt),void 0),de(()=>import("./coverageDerivation-CV2ORogj-D3oRqD1U.js"),[]).then(Se=>Se.o)]),ue=G(String(z.address??"")),Ce={address_line_1:String(z.__address_line_1??ue.line_1).trim(),city:String(z.__address_city??ue.city).trim(),state:String(z.__address_state??ue.state).trim(),postal_code:String(z.__address_postal_code??ue.postal_code).trim()};if(!Ce.address_line_1||!Ce.city||!Ce.state||!Ce.postal_code)return;let De=await I(L,Ce),{property:be}=De;!De.found||!be||(f(Se=>{let Be={...Se};for(let[Fe,Rt]of Object.entries(be)){if(Rt==null)continue;let Dt=Be[Fe];(Dt===void 0||Dt===""||Dt===null)&&(Be[Fe]=Rt)}return{...Be,...X(Be)}}),Le(!0))},[a,Z]),Ll=T.useCallback(L=>{let z=p.indexOf(L);if(z>=0&&z+1<p.length)return p[z+1];let G=ys[a]??[],I=G.indexOf(L);return I>=0&&I+1<G.length?G[I+1]:void 0},[p,a]),Ei=T.useCallback(async()=>{if(fe||!Y||!Kn)return;if(Y==="Zip"){if(!Sl(v.current.postal_code)){P(!0);return}let I=String(v.current.postal_code??"").trim(),X=li(I);if(X&&(yt({state:X,__address_state:v.current.__address_state??X}),!Zf.has(X))){xe(!0);return}F.current(E+1),ze(E+1),Ba();return}let{stageSlice:L,validateStage:z}=await de(()=>import("./stage-BSRsu--X-BAWfI2cm.js"),__vite__mapDeps([0,1,2,3,4])).then(I=>I.a),G=Y==="Email"?Ff(v.current.email)?{isValid:!0}:{isValid:!1}:z({questions:zt,values:v.current,stageKey:Y});if(!G.isValid){Y!=="Email"&&"errorsByKey"in G&&br(G),P(!0);return}B(!0),Q(void 0);try{let I=Jn.current?await Jn.current:await wn();if(Y==="Product"&&!await Nl(I))return;let[{toQuotePayload:X},{updateQuote:ue},{prefillSuggestions:Ce},{seedHomeCoverages:De}]=await Promise.all([de(()=>import("./payload-CQc06PZC-BxklUdmW.js"),__vite__mapDeps([5,1,6])).then(Fe=>Fe.o),de(()=>Promise.resolve().then(()=>Tt),void 0),de(()=>Promise.resolve().then(()=>Wg),void 0).then(Fe=>Fe.n),de(()=>import("./coverageDerivation-CV2ORogj-D3oRqD1U.js"),[]).then(Fe=>Fe.o)]),be=L(zt,v.current,Y);Y==="Product"&&(be.product=a),Y==="Phone"&&(be.suppress_verification_sms=!0);let Se=Ll(Y),Be={...X(be),...Se?{current_stage:Se}:{}};if(Object.keys(Be).length&&await ue(Be,!1,I),F.current(E+1),Y==="Phone"&&a!=="Home"&&Ce.vehicle.prefetch(I),Y==="Vehicle"&&Ce.driver.prefetch(I),Se&&yw.has(Se)){let Fe=De(v.current);Object.keys(Fe).length&&yt(Fe)}if(Y==="Product"){let Fe=await Mn(I);await Si(I);let Rt=Math.min(E+1,Fe.length);ze(Rt);return}ze(E+1)}catch(I){let{CredifyApiError:X}=await de(async()=>{const{CredifyApiError:Ce}=await Promise.resolve().then(()=>Tt);return{CredifyApiError:Ce}},void 0),ue=I instanceof X&&I.statusCode===404?"Your quote session expired. Please start again.":"Something went wrong saving your answers. Please try again.";Q(ue),An(I,{phase:"answer_save",product:a,stage:Y,quoteId:se.current,endpoint:"/update-quote",statusCode:wa(I)})}finally{B(!1)}},[fe,Y,Kn,Ba,wn,Nl,zt,a,E,Mn,Ll,Si,ze,yt]),ja=T.useCallback(()=>{E>0&&ze(E-1)},[E,ze]),Mt=T.useCallback(L=>{let z=ne.findIndex(G=>G.kind==="stage"&&G.stage===L);z>=0&&ze(z)},[ne,ze]),Qt=T.useRef(!1),dt=T.useCallback(async L=>{if(!(!ir()||Qt.current)){Qt.current=!0,Pe(!0),Q(void 0);try{let z={...v.current,product:a},G=String(z.postal_code??"").trim(),I=/^\d{5}$/.test(G)?G:gf,X=await wn(I),[{isSupportedState:ue,updateQuote:Ce},{toQuotePayload:De}]=await Promise.all([de(()=>Promise.resolve().then(()=>Tt),void 0),de(()=>import("./payload-CQc06PZC-BxklUdmW.js"),__vite__mapDeps([5,1,6])).then(Dt=>Dt.o)]),be=li(I)??"";be&&(await ue(be,X)).isSupported?z.postal_code=I:(z.postal_code=gf,be=li(gf)??"TX",await ue(be,X)),z.state=be,xe(!1),await Ce({product:a,postal_code:z.postal_code},!1,X);let Se=await Mn(X),Be=Math.max(0,Math.min(L,Se.length+1)),Fe=yv()?.autofillStage;if(!Fe)return;let{stageSlice:Rt}=await de(()=>import("./stage-BSRsu--X-BAWfI2cm.js"),__vite__mapDeps([0,1,2,3,4])).then(Dt=>Dt.a);for(let Dt of Se.slice(0,Be)){let Hl=g[`${Dt}|${be}`]??await cn(Dt,X,be);z=Fe(Hl,z,Dt);let Ai=De(Rt(Hl,z,Dt));Object.keys(Ai).length&&await Ce(Ai,!1,X)}f(z),v.current=z,Be===Se.length+1&&await Ce({},!0,X),ze(Be)}catch{Q("The mock jump could not seed this step. Reload and try again.")}finally{Qt.current=!1,Pe(!1)}}},[a,wn,Mn,cn,g,ze]),Is=T.useCallback(async()=>{ir()},[Y,zt]);T.useEffect(()=>{$.current=dt},[dt]),T.useEffect(()=>{if(!ir())return;let L=()=>{de(async()=>{const{mockStepFromUrl:z}=await import("./mockJump-H1NFTDah-yzeq4yea.js");return{mockStepFromUrl:z}},[]).then(({mockStepFromUrl:z})=>{let G=z();G!=null&&G!==E&&dt(G)})};return window.addEventListener("hashchange",L),()=>window.removeEventListener("hashchange",L)},[E,dt]);let qs=T.useCallback(async L=>{if(fe)return!1;let z=se.current;if(!z)return Q("Your quote session expired. Please start again."),!1;B(!0),Q(void 0);try{let G=typeof L=="boolean"?{communications_consent:L}:{},{updateQuote:I}=await de(async()=>{const{updateQuote:ue}=await Promise.resolve().then(()=>Tt);return{updateQuote:ue}},void 0),X=await I(G,!0,z);return X.status==="submission_failed"?(Q(X.message||"We could not submit your quote for rating."),An(Error(X.message||"Rating submission refused"),{phase:"rating_submit",product:a,quoteId:z,endpoint:"/update-quote"}),!1):(ze(ne.length-1),!0)}catch(G){return Q("We could not submit your quote for rating. Please try again."),An(G,{phase:"rating_submit",product:a,quoteId:z,endpoint:"/update-quote",statusCode:wa(G)}),!1}finally{B(!1)}},[fe,ne.length,ze,a]),_r=T.useCallback(async()=>{let[{stageSlice:L},{toQuotePayload:z}]=await Promise.all([de(()=>import("./stage-BSRsu--X-BAWfI2cm.js"),__vite__mapDeps([0,1,2,3,4])).then(I=>I.a),de(()=>import("./payload-CQc06PZC-BxklUdmW.js"),__vite__mapDeps([5,1,6])).then(I=>I.o)]),G={};for(let I of p){if(RM.has(I))continue;let X=bn[I];X?.length&&Object.assign(G,L(X,v.current,I))}return z(G)},[p,bn]),Sr=T.useCallback(async()=>{if(fe)return!1;let L=se.current;if(!L)return Q("Your quote session expired. Please start again."),!1;B(!0),Q(void 0);try{let{isSupportedState:z,updateQuote:G}=await de(async()=>{const{isSupportedState:ue,updateQuote:Ce}=await Promise.resolve().then(()=>Tt);return{isSupportedState:ue,updateQuote:Ce}},void 0),I=String(v.current.state??"");if(I){let{isSupported:ue}=await z(I,L);if(!ue)return xe(!0),!1}let X=await G({...await _r(),customer_review_confirmed:!0},!0,L);return X.status==="submission_failed"?(Q(X.message||"We could not submit your quote for rating."),An(Error(X.message||"Rating submission refused"),{phase:"rating_submit",product:a,quoteId:L,endpoint:"/update-quote"}),!1):(ze(ne.length-1),!0)}catch(z){return Q("We could not submit your quote. Please try again."),An(z,{phase:"rating_submit",product:a,quoteId:L,endpoint:"/update-quote",statusCode:wa(z)}),!1}finally{B(!1)}},[fe,_r,ne.length,ze,a]),ea=T.useRef(!1),Ia=T.useRef(_r);T.useEffect(()=>{Ia.current=_r}),T.useEffect(()=>{if(!D)return;if(!ea.current){ea.current=!0;return}let L=se.current;if(!L)return;let z=window.setTimeout(()=>{(async()=>{try{let{updateQuote:G}=await de(async()=>{const{updateQuote:X}=await Promise.resolve().then(()=>Tt);return{updateQuote:X}},void 0),I=await Ia.current();Object.keys(I).length&&await G(I,!1,L)}catch(G){An(G,{phase:"answer_save",product:a,quoteId:L,endpoint:"/update-quote",statusCode:wa(G)})}})()},hw);return()=>window.clearTimeout(z)},[D,c,a]);let fn=T.useCallback(()=>{hi(),q(!1),ea.current=!1,de(()=>Promise.resolve().then(()=>Wg),void 0).then(L=>L.n).then(({resetPrefillSuggestions:L})=>{L()}),Jn.current=null,s(null),se.current=null,f({product:a}),m(yf(a)),y(Zg()),xe(!1),ce(null),Le(!1),ze(0)},[a,ze]),qa=T.useCallback((L,z)=>{fn(),jt.current={seeded:new Set,advanced:new Set},ce({from:L,to:z})},[fn]),ta=T.useCallback(async(L,z,G)=>{let I=String(N.current?.postal_code??"").replace(/\D/g,"").slice(0,5);if(!Sl(I))return;let X=String(L.postal_code??"").trim();if(I===X)return;let ue=String(L.state??"").trim().toUpperCase()||li(X),Ce=li(I);if(ue&&Ce&&ue!==Ce){if(!Zf.has(Ce)){xe(!0),jt.current.seeded.add("Zip");return}qa(ue,Ce);return}let De=await El(I).catch(()=>null);if(G())return;let be=!!String(L.address??"").trim();yt({postal_code:I,city:De??"",__address_city:De??"",...be?{address:"",line_1:"",line_2:"",__address_line_1:"",__address_line_2:"",__address_postal_code:""}:{}}),be&&Le(!1);let{updateQuote:Se}=await de(async()=>{const{updateQuote:Be}=await Promise.resolve().then(()=>Tt);return{updateQuote:Be}},void 0);await Se({postal_code:I,city:De??null,...be?{line_1:null,line_2:null,county:null}:{}},!1,z)},[yt,qa]);T.useEffect(()=>{J.current=ta},[ta]);let Ps=T.useCallback(()=>ce(null),[]),Er=T.useCallback(L=>{let z=G=>{for(let I of G){if(I.key===L)return I;for(let X of I.conditionals??[]){let ue=z(X.conditionalQuestions??[]);if(ue)return ue}}};for(let G of p){let I=z(bn[G]??[]);if(I)return{question:I,stage:G}}},[p,bn]),Ci=T.useCallback(L=>Er(L)?.stage,[Er]),jt=T.useRef({seeded:new Set,advanced:new Set});return T.useEffect(()=>{if(!V||j||Ge?.kind!=="stage")return;let L=Qg.find(I=>I.stage===Ge.stage);if(!L||jt.current.seeded.has(L.stage)||v.current[L.key])return;let z=N.current?.[L.key]??L.fromUrl(),G=z?L.normalize(z):"";!G||!L.isValid(G)||(jt.current.seeded.add(L.stage),yt({[L.key]:G}))},[V,j,Ge,yt]),T.useEffect(()=>{if(Ge?.kind!=="stage")return;let L=Qg.find(z=>z.stage===Ge.stage);L&&(!jt.current.seeded.has(L.stage)||jt.current.advanced.has(L.stage)||!Kn||fe||L.isValid(c[L.key])&&(zt.some(z=>z.key!==L.key&&z.required&&!c[z.key])||(jt.current.advanced.add(L.stage),Ei())))},[Ge,Kn,fe,zt,c,Ei]),{product:a,quoteId:l,values:c,stages:p,questionsByStage:bn,stageForField:Ci,questionForField:Er,screens:ne,screenIndex:E,stepTotal:Me,current:Ge,questions:zt,validation:js,showErrors:U,booting:j,loadingQuestions:me,questionsReady:Kn,busy:fe,error:_e,unsupportedState:et,zipRestart:nt,dismissZipRestart:Ps,prefillApplied:Z,patch:yt,continueFromStage:Ei,back:ja,goToStage:Mt,submitForRates:qs,intakeReview:D,intakeQuestionsLoading:te,submitIntakeReview:Sr,resetSession:fn,mockJumping:Xe,mockJumpTo:dt,mockAutofillStage:Is}},Pv=()=>de(()=>import("./question-list-CcoyuyQD-DCzTkzeE.js"),__vite__mapDeps([7,1,6,8,2,3,4,0,9,10,11,12,13,14])).then(a=>a.n),Sw=T.lazy(()=>Pv().then(a=>({default:a.QuestionList}))),Ew=T.lazy(()=>de(()=>import("./household-prefill-DJ-Y0NcP-z6AnkJcR.js"),__vite__mapDeps([15,8,1,2,14])).then(a=>a.n).then(a=>({default:a.HouseholdPrefill}))),Cw=T.lazy(()=>de(()=>import("./copy-applicant-offer-BPo842pD-Cj352DzN.js"),__vite__mapDeps([16,2,1,9,3,10])).then(a=>a.n).then(a=>({default:a.CopyApplicantOffer}))),Aw=T.lazy(()=>de(()=>import("./review-panel-CFVxGU7F-CqUUCDLK.js").then(a=>a.r),__vite__mapDeps([17,0,1,2,3,4,12])).then(a=>a.i).then(a=>({default:a.ReviewPanel}))),Tw=T.lazy(()=>de(()=>import("./intake-review-panel-CWz2efw4-CP-sEc-j.js"),__vite__mapDeps([18,7,1,6,8,2,3,4,0,9,10,11,12,13,14,17])).then(a=>a.n).then(a=>({default:a.IntakeReviewPanel}))),Mw=T.lazy(()=>de(()=>import("./rates-panel-MXCbnqpL-TFkvW-DN.js"),__vite__mapDeps([19,10,13,14])).then(a=>a.n).then(a=>({default:a.RatesPanel}))),ww=new Set(["Demographics","Ssn"]),vl=({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})]}),Ow=({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}%`}})})]})},Rw=()=>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(GM,{"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."]})]}),Dw=({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:pv,onClick:()=>Rs("phone_call_click",{placement:"quote_unsupported_state",phone:Gf}),className:Wn("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",cr),children:["Call ",Gf]}),A.jsx("button",{type:"button",onClick:a,className:Wn("cds-mt-4 cds-block cds-w-full cds-text-sm cds-font-semibold cds-text-fg cds-underline",cr),children:"Try a different ZIP code"})]}),xw=new Set(["product"]),Gv=({product:a,suppressedKeys:r=xw,chrome:l=p=>A.jsx(A.Fragment,{children:p}),onScreenChange:s,onComplete:c,prefill:f})=>{let p=qv(a,{prefill:f}),{booting:m,busy:g,current:y,error:E,intakeReview:S,intakeQuestionsLoading:U,mockJumping:P,questionsReady:j,patch:K,questions:V,questionsByStage:ie,quoteId:me,screenIndex:re,showErrors:fe,stepTotal:B,questionForField:_e,stages:Q,unsupportedState:et,validation:xe,values:nt,zipRestart:ce}=p;T.useEffect(()=>{y?.kind==="stage"&&y.stage!=="Zip"&&Pv()},[y]);let Z=kM[a],Le=T.useCallback(J=>{let ne=_e(J);return ne?{label:ne.question.question,stage:ne.stage}:void 0},[_e]),Xe=T.useCallback(J=>{let ne=new Set;for(let Me of J){let{key:Ge}=Mv(Me.field),Y=Ge?_e(Ge)?.stage:void 0;Y&&ne.add(Y)}return Q.find(Me=>ne.has(Me))},[_e,Q]),Pe=T.useMemo(()=>y?y.kind==="terminal"?y.screen==="review"?DM:xM:OM(y.stage,a):Z?{title:Z.heading,short:Z.label}:void 0,[y,Z,a]),D=T.useRef(null),q=T.useRef(!1);T.useEffect(()=>{!Pe||!y||(s?.(y,{title:Pe.title,index:re,total:B}),q.current&&D.current?.focus({preventScroll:!0}),q.current=!0)},[Pe,y,re,B]);let te=yv()?.DevPanel,ye=ir()&&te?A.jsx(te,{product:a,stages:Q,screenIndex:re,currentStage:y?.kind==="stage"?y.stage:void 0,busy:P,onJump:J=>void p.mockJumpTo(J),onAutofill:()=>void p.mockAutofillStage()}):null,[se]=T.useState(Iv),v=J=>l(A.jsxs(A.Fragment,{children:[se?A.jsx(Rw,{}):null,A.jsx("div",{ref:D,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:J}),ye]}));if(m||P)return v(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:P?"Seeding mock answers…":"Loading your quote…"})]}));if(et)return v(A.jsx(Dw,{onRestart:p.resetSession}));if(!y||!Pe)return v(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:pv,className:"cds-font-semibold cds-text-fg cds-underline",children:Gf})]}));let N=y.kind==="terminal"&&y.screen==="rates",F=S&&y.kind==="terminal"&&y.screen==="review",$=!N&&!F;return v(A.jsxs(A.Fragment,{children:[ce?A.jsx("div",{role:"status",className:"cds-mb-5 cds-rounded-xl cds-border cds-border-warning cds-bg-warning-surface cds-p-4",children:A.jsxs("div",{className:"cds-flex cds-items-start cds-gap-3",children:[A.jsxs("p",{className:"cds-flex-1 cds-text-sm cds-text-fg",children:[A.jsxs("span",{className:"cds-font-semibold",children:["Your saved quote was for ",ce.from,"."]})," ",ce.to," is a different state, so we've started a new quote — your ",ce.from," quote is still in your email."]}),A.jsx("button",{type:"button",onClick:p.dismissZipRestart,"aria-label":"Dismiss",className:Wn("cds-shrink-0 cds-text-sm cds-font-semibold cds-text-fg hover:cds-underline",cr),children:"Got it"})]})}):null,$?A.jsx(Ow,{current:re,total:B,label:Z.label}):null,re>0&&$?A.jsxs("button",{type:"button",onClick:p.back,className:Wn("cds-mb-3 cds-inline-flex cds-items-center cds-gap-1 cds-text-sm cds-font-semibold cds-text-fg hover:cds-underline",cr),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:Pe.title}),Pe.subtitle?A.jsx("p",{className:"cds-mb-5 cds-text-sm cds-text-fg-muted",children:Pe.subtitle}):null,j?A.jsxs(A.Fragment,{children:[y.stage==="Vehicle"||y.stage==="Driver"?A.jsx(T.Suspense,{fallback:null,children:A.jsx(Ew,{kind:y.stage==="Vehicle"?"vehicle":"driver",quoteId:me,values:nt,onApply:K},y.stage)}):null,ww.has(y.stage)?A.jsx(T.Suspense,{fallback:null,children:A.jsx(Cw,{stage:y.stage,questions:V,values:nt,onPatch:K},`copy-${y.stage}`)}):null,y.stage==="Zip"?A.jsx(oM,{label:V[0]?.question??"What's your ZIP code?",value:String(nt.postal_code??""),error:fe?xe.errorsByKey.postal_code:void 0,onChange:J=>K({postal_code:J})}):y.stage==="Email"?A.jsx(sM,{label:V[0]?.question??"What is your email address?",value:String(nt.email??""),error:fe?xe.errorsByKey.email:void 0,onChange:J=>K({email:J})}):A.jsx(T.Suspense,{fallback:A.jsx(vl,{label:"Loading this step…"}),children:A.jsx(Sw,{questions:V,values:nt,errors:fe?xe.errorsByKey:{},itemErrors:fe?xe.itemErrors:[],stageKey:y.stage,quoteId:me,suppressedKeys:r,onPatch:K})}),fe&&!xe.isValid?A.jsx(xg,{message:"Please complete the highlighted questions."}):null,A.jsx(xg,{message:E}),A.jsx(iM,{disabled:g,onClick:()=>void p.continueFromStage(),children:g?"Saving…":"Continue"})]}):A.jsx(vl,{label:"Loading this step…"})]}):y.screen==="review"?S?A.jsx(T.Suspense,{fallback:A.jsx(vl,{label:"Loading this step…"}),children:A.jsx(Tw,{stages:Q,questionsByStage:ie,values:nt,quoteId:me,loading:U,busy:g,error:E,suppressedKeys:r,onPatch:K,onConfirm:()=>void p.submitIntakeReview()})}):A.jsx(T.Suspense,{fallback:A.jsx(vl,{label:"Loading this step…"}),children:A.jsx(Aw,{stages:Q,questionsByStage:ie,values:nt,busy:g,error:E,suppressedKeys:r,onEditStage:p.goToStage,onConfirm:J=>void p.submitForRates(J)})}):A.jsx(T.Suspense,{fallback:A.jsx(vl,{label:"Loading this step…"}),children:A.jsx(Mw,{product:a,quoteId:me,describeField:Le,onFixAnswers:J=>{let ne=Xe(J);p.goToStage(ne??Q[0])},onRetry:p.submitForRates,onBound:()=>c?.()})})]}))};const SR=Object.freeze(Object.defineProperty({__proto__:null,$:$M,A:Nv,B:Cv,C:xv,D:lw,E:An,F:ys,G:Av,H:KM,I:Zf,J:Sv,K:tw,L:wv,M:Rs,N:Rv,O:Ds,P:Ov,Q:bv,R:Sd,S:Hv,T:wa,U:ew,V:Al,W:JM,X:_d,Y:VM,Z:_v,_:Ns,a:Td,b:ir,c:Rl,d:zv,et:FM,f:Uv,g:Hs,h:fr,i:El,j:Lv,k:kv,l:zs,m:Ls,n:qv,o:Ad,p:hi,q:Ev,r:fw,s:Us,t:Gv,tt:QM,u:uw,v:Ed,w:Dv,x:Cd,y:un,z:Mv},Symbol.toStringTag,{value:"Module"}));var Dl=class extends Error{statusCode;retryAfterSeconds;constructor(r,l,s){super(r),this.name="CredifyApiError",this.statusCode=l,this.retryAfterSeconds=s}},kw=new Set(["/get-stages-for-quote","/get-questions-by-stage","/get-rates","/prefill-property","/get-vehicle-options"]),Nw=500,Lw=a=>new Promise(r=>setTimeout(r,a)),it=async(a,r)=>{let l=un();if(l.mockTransport){let y=await l.mockTransport(a,r);if(y!=null)return y}let s={"Content-Type":"application/json"},c=Ls();c&&(s.Authorization=`Bearer ${c}`);let f=l.fetchImpl??fetch,p=()=>f(`${l.baseUrl}${a}`,{method:"POST",headers:s,body:JSON.stringify(r)}),m=await p();!m.ok&&m.status>=500&&kw.has(a)&&(await Lw(Nw),m=await p());let g={};try{g=await m.json()}catch{}if(!m.ok){let y=typeof g.error=="string"&&g.error||`Request failed with status ${m.status}`,E=m.status===429?typeof g.retryAfterSeconds=="number"?g.retryAfterSeconds:60:void 0;throw new Dl(y,m.status,E)}return g},Ct=(a,r)=>r&&!Ls()?{...a,quoteId:r}:a,Hw=()=>un().source,Uw=()=>{let{partner:a}=un();return a?a.sub?{partner_id:a.id,sub_id:a.sub}:{partner_id:a.id}:{}},Fv=async(a,r=!1)=>{let l=await it("/create-quote",{postal_code:a,source:Hw(),...Uw(),...r?{is_test:!0}:{}});if(!l.quoteId)throw new Dl("Invalid createQuote response",0);return Ns(l.quoteId),{quoteId:l.quoteId}},Vv=(a,r=!1,l)=>it("/update-quote",Ct({payload:a,getRates:r},l)).then(s=>s.status?s:{status:"success"}),Md=a=>it("/get-quote",Ct({},a)),Yv=(a,r)=>it("/is-supported-state",Ct({state:a},r)),$v=(a,r)=>it("/verify-quote",{action:"send",quoteId:a,phone:r}),Qv=async(a,r)=>{let l=await it("/verify-quote",{quoteId:a,smsCode:r});return l.isVerified&&l.token&&Hs(l.token),{isVerified:!!l.isVerified}},Zv=a=>it("/get-rates",Ct({},a)),Xv=async a=>{let r=await it("/verify-quote",Ct({action:"issue_resume_link"},a));if(!r.resumeToken)throw new Dl("Invalid issueResumeLink response",0);return{resumeToken:r.resumeToken,expiresAt:r.expiresAt??null}},wd=async a=>{hi();let r=await it("/verify-quote",{action:"resume",resumeToken:a});if(!r.quoteId)throw new Dl("Invalid resume response",0);return Ns(r.quoteId),r.isVerified&&r.token&&Hs(r.token),{quoteId:r.quoteId}},Wv=(a,r)=>{let l=Array.isArray(a)?a:[a];return it("/request-bind",{...l.length===1?{quoteRateId:l[0]}:{quoteRateIds:l},privacyNoticeAcknowledged:r}).then(s=>"success"in s?s:{success:!0})},Kv=async(a,r)=>{try{return await it("/prefill-property",Ct({...r},a))}catch{return{found:!1}}},Jv=a=>it("/get-stages-for-quote",Ct({},a)),eb=(a,r)=>it("/get-questions-by-stage",Ct({stage:a},r)),Od=(a,r)=>it("/get-vehicle-options",Ct({...a},r)),tb=(a,r)=>Od({action:"vinDecode",vin:a},r),Rd=async a=>{try{let{suggestions:r}=await it("/get-vehicle-options",Ct({action:"vehiclePrefillSuggestions"},a));return r??[]}catch{return[]}},nb=async(a,r)=>{try{let{items:l}=await it("/get-vehicle-options",Ct({action:"applyVehiclePrefill",selectedIds:a},r));return l??[]}catch{return[]}},ab=async a=>{try{await it("/get-vehicle-options",Ct({action:"dismissVehiclePrefill"},a))}catch{}},Dd=async a=>{try{let{suggestions:r}=await it("/get-vehicle-options",Ct({action:"driverPrefillSuggestions"},a));return r??[]}catch{return[]}},rb=async(a,r)=>{try{let{items:l}=await it("/get-vehicle-options",Ct({action:"applyDriverPrefill",selectedIds:a},r));return l??[]}catch{return[]}},ib=async a=>{try{await it("/get-vehicle-options",Ct({action:"dismissDriverPrefill"},a))}catch{}},zw=gv({prefillSuggestions:()=>xd,resetPrefillSuggestions:()=>kd}),lb=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()}}},os=lb(Rd),ss=lb(Dd),xd={vehicle:{fetch:os.fetch,peek:os.peek,prefetch:os.prefetch},driver:{fetch:ss.fetch,peek:ss.peek,prefetch:ss.prefetch}},kd=()=>{os.reset(),ss.reset()};const Wg=Object.freeze(Object.defineProperty({__proto__:null,C:Vv,E:it,S:$v,T:Ct,_:Yv,a:nb,b:wd,c:ib,d:Rd,f:eb,g:Od,h:Jv,i:rb,l:ab,m:Zv,n:zw,o:Fv,p:Md,r:kd,s:tb,t:xd,u:Dd,v:Xv,w:Qv,x:Wv,y:Kv},Symbol.toStringTag,{value:"Module"})),Tt=Object.freeze(Object.defineProperty({__proto__:null,AUTH_TOKEN_STORAGE_KEY:zv,CredifyApiError:Dl,QUOTE_ID_STORAGE_KEY:Uv,applyDriverPrefill:rb,applyVehiclePrefill:nb,bodyWithQuoteId:Ct,buildResumeUrl:Ad,captureResumeTokenFromUrl:Us,cityFromZip:El,clearQuoteSession:hi,configureApi:Ed,configureZipCityLookup:Td,consumeResumeToken:Rl,createQuote:Fv,decodeVin:tb,dismissDriverPrefill:ib,dismissVehiclePrefill:ab,fetchDriverPrefillSuggestions:Dd,fetchVehiclePrefillSuggestions:Rd,getApiConfig:un,getQuestionsByStage:eb,getQuote:Md,getRates:Zv,getStagesForQuote:Jv,getVehicleOptions:Od,hasResumeToken:zs,isMockEnabled:ir,isSupportedState:Yv,isTestModeEnabled:Cd,issueResumeLink:Xv,loadAuthToken:Ls,loadQuoteId:fr,post:it,prefillProperty:Kv,prefillSuggestions:xd,redeemResumeToken:wd,requestBind:Wv,resetApiConfig:Hv,resetPrefillSuggestions:kd,saveAuthToken:Hs,saveQuoteId:Ns,sendSmsCode:$v,updateQuote:Vv,verifySmsCode:Qv},Symbol.toStringTag,{value:"Module"}));var vf={};const Bw="https://api.getcredify.com",jw=()=>{try{if(typeof vf<"u"&&vf?.baseUrl)return vf.baseUrl}catch{}return Bw},us=jw();var bf={};const Iw="mock";function qw(){try{return typeof bf<"u"&&bf?.key?bf.key:void 0}catch{return}}function Kf(){const a=qw();if(!a||typeof window>"u"||!window.location)return!1;try{return new URLSearchParams(window.location.search).get(Iw)===a}catch{return!1}}const Pw=()=>{const r=globalThis.process?.env?.NODE_ENV;return typeof r=="string"?r!=="production":!1};function Gw(a,r){try{Pw()&&console.error(`[credify-widget] ${a}:`,r),yr(r instanceof Error?r:new Error(String(r)),{tags:{source:a,failure_type:"side_effect"},level:"warning"})}catch{}}let Fw=!1;function Vw(){return Fw}let Yw;function $w(){return Yw}const Qw="credify-insurance-widget",Zw="1.0",ob=25,sb=64*1024,Xw=`
107
+ …[truncated]`;let Kg=!1,Jg=null,e0="",ub=ob,Jf=sb,Cl=[];function Ww(a){return typeof a=="string"?a:a instanceof URL?a.href:a.url}function Kw(a,r){return r?.method?r.method.toUpperCase():typeof a!="string"&&!(a instanceof URL)&&a.method?a.method.toUpperCase():"GET"}function t0(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 Jw(a){try{const r=[];return new URL(a).searchParams.forEach((l,s)=>r.push({name:s,value:l})),r}catch{return[]}}function eO(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 tO(a){const r=a.length;return r<=Jf?{text:a,size:r}:{text:a.slice(0,Jf)+Xw,size:r}}function nO(a){Cl.push(a),Cl.length>ub&&Cl.shift()}function aO(a){if(Kg)return!0;if(typeof window>"u"||typeof window.fetch!="function")return!1;e0=a.baseUrl,ub=a.maxEntries??ob,Jf=a.maxBodyBytes??sb,Jg=window.fetch.bind(window);const r=Jg;return window.fetch=async(l,s)=>{let c;try{c=Ww(l)}catch{return r(l,s)}if(!c.startsWith(e0))return r(l,s);const f=t0(s?.headers??(typeof l!="string"&&!(l instanceof URL)?l.headers:void 0)),p={startedDateTime:new Date().toISOString(),time:-1,request:{method:Kw(l,s),url:c,httpVersion:"HTTP/1.1",headers:f,queryString:Jw(c),cookies:[],headersSize:-1,bodySize:typeof s?.body=="string"?s.body.length:-1,postData:eO(f,s)},response:rO(),cache:{},timings:{send:0,wait:-1,receive:0}};nO(p);const m=typeof performance<"u"?performance.now():0;let g;try{g=await r(l,s)}catch(E){const S=(typeof performance<"u"?performance.now():0)-m;throw p.time=Math.round(S),p.timings.wait=Math.round(S),p.response._error=E instanceof Error?E.message:String(E),E}const y=(typeof performance<"u"?performance.now():0)-m;p.time=Math.round(y),p.timings.wait=Math.round(y),p.response.status=g.status,p.response.statusText=g.statusText,p.response.headers=t0(g.headers),p.response.content.mimeType=typeof g.headers?.get=="function"&&g.headers.get("content-type")||"";try{g.clone().text().then(S=>{const{text:U,size:P}=tO(S);p.response.content.text=U,p.response.content.size=P,p.response.bodySize=P}).catch(()=>{})}catch{}return g},Kg=!0,!0}function rO(){return{status:0,statusText:"",httpVersion:"HTTP/1.1",headers:[],cookies:[],content:{size:0,mimeType:""},redirectURL:"",headersSize:-1,bodySize:-1}}function iO(){return{log:{version:"1.2",creator:{name:Qw,version:Zw},entries:Cl.map(a=>({...a}))}}}function lO(){return Cl.length}const oO=[/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],sO=[/\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],ka="[REDACTED]",uO=8;function Bs(a){for(const r of oO)if(r.test(a))return!0;return!1}function Na(a){let r=a;for(const l of sO)r=r.replace(l,ka);return r}function Ra(a,r=0,l=new WeakSet){if(r>uO)return ka;if(a==null)return a;if(typeof a=="string")return Na(a);if(typeof a!="object")return a;if(l.has(a))return ka;if(l.add(a),Array.isArray(a))return a.map(f=>Ra(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(Bs(f)){c[f]=ka;continue}c[f]=Ra(p,r+1,l)}return c}function n0(a){if(a.request&&(a.request.data!==void 0&&(a.request.data=Ra(a.request.data)),a.request.cookies!==void 0&&(a.request.cookies=ka),a.request.headers)){const r=a.request.headers;for(const l of Object.keys(r))Bs(l)&&(r[l]=ka)}if(a.extra&&(a.extra=Ra(a.extra)),a.contexts&&(a.contexts=Ra(a.contexts)),a.tags&&(a.tags=Ra(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=Ra(r.data)),typeof r.message=="string"&&(r.message=Na(r.message));return typeof a.message=="string"&&(a.message=Na(a.message)),a}function a0(a){for(const r of a)r.value=Bs(r.name)?ka:Na(r.value)}function r0(a){try{return JSON.stringify(Ra(JSON.parse(a)))}catch{return Na(a)}}function cO(a){const r=JSON.parse(JSON.stringify(a));for(const l of r.log.entries){a0(l.request.headers),a0(l.response.headers);for(const s of l.request.queryString)s.value=Bs(s.name)?ka:Na(s.value);l.request.postData?.text&&(l.request.postData.text=r0(l.request.postData.text)),l.response.content.text&&(l.response.content.text=r0(l.response.content.text)),l.request.url=Na(l.request.url),l.response._error&&(l.response._error=Na(l.response._error))}return r}function fO(a,r={}){try{ws(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{lO()>0&&l.addAttachment({filename:"quote-failure.har",data:JSON.stringify(cO(iO())),contentType:"application/json"})}catch{}const s=a instanceof Error?a:new Error(r.message??"Quote failed");yr(s)})}catch{}}const dO=(a,r)=>{try{return a()}catch{return r}};function Nd(){return dO(()=>fr(),null)}const pO=["widgetOpened","widgetClosed","stageViewed","stageCompleted","flowCompleted","ratesViewed","ratesBack","submissionFailed","telemetry"],bs={};function mO(a){let r=bs[a];return r||(r=new Set,bs[a]=r),r}function cb(a,r){mO(a).add(r)}function fb(a,r){bs[a]?.delete(r)}function gr(a,...r){const l=bs[a];if(!l||l.size===0)return;const s=r[0],c={quoteId:Nd(),timestamp:Date.now()};for(const f of[...l])try{f(s,c)}catch(p){yr(p,{tags:{source:"widget-event-listener",event:a}})}}function hO(){gr("widgetOpened")}function i0(){gr("widgetClosed")}function yO(a){gr("stageViewed",a)}function gO(a){gr("stageCompleted",a)}function vO(){gr("flowCompleted")}function bO(a){gr("ratesViewed",a)}function db(a,r){gr("telemetry",{event:a,properties:r})}let l0=!1;const _O=()=>{if(l0||typeof window>"u")return;l0=!0;const a=window.gm_authFailure;window.gm_authFailure=()=>{try{ws(r=>{r.setLevel("warning"),r.setTag("failure_type","places"),r.setTag("places_failure","auth_failed"),r.setExtra("origin",window.location.origin),MC("Google Places key rejected (gm_authFailure)")})}catch{}db("places_auth_failed",{origin:window.location.origin}),a?.()}};var o0={apiKey:""};const SO=()=>{try{return typeof o0<"u"?o0?.apiKey:void 0}catch{return}};let s0=!1;const EO=async(a,r)=>null,pb=()=>{s0||(s0=!0,Ed({baseUrl:us,storagePrefix:"credify_",source:"widget",isMockActive:Kf,isTestActive:Vw,partner:$w(),mockTransport:(a,r)=>Kf()?EO():null}),Dv({onQuoteFailure:(a,r)=>fO(a,{...r,quoteId:r.quoteId??void 0}),onBreadcrumb:(a,r)=>{try{Ua({category:"quote",message:a,data:r,level:"info"})}catch{}},onTrack:(a,r)=>db(a,r),onContext:a=>{try{a.product&&of("product",a.product),a.stage&&of("stage",a.stage),"quoteId"in a&&of("quote_id",a.quoteId??void 0)}catch{}}}),SM({apiKey:SO()}),_O(),Td(void 0))},u0="credify-widget-font",CO="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";function AO(){if(typeof document>"u"||document.getElementById(u0))return;const a=document.createElement("link");a.id=u0,a.rel="stylesheet",a.href=CO,document.head.appendChild(a)}const Ld=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}),TO=Ld(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M3 10.5 12 3l9 7.5"}),A.jsx("path",{d:"M5 9.5V21h14V9.5"})]})),MO=Ld(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"})]})),wO=Ld(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"})]})),OO=[{product:"Home",label:"Home",detail:"Cover the place you live",glyph:TO},{product:"Auto",label:"Auto",detail:"Cover your vehicles",glyph:MO},{product:"Bundle",label:"Home + Auto",detail:"Quote both home and auto coverage",glyph:wO}],RO=({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:OO.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))})]}),DO=a=>!a&&(zs()||!!fr());var _f={blandWidgetId:"",cobrowseLicense:""};function xO(){try{return typeof _f<"u"&&_f?_f:{}}catch{return{}}}function kO(a){const r=xO(),l=r.blandWidgetId,s=r.cobrowseLicense;return{enabled:!!(l||s),blandWidgetId:l||void 0,cobrowseLicense:s||void 0,proactiveOnError:!0}}const Sf=new Map;function mb(a){if(typeof document>"u")return Promise.reject(new Error("loadScript called without a document"));const r=Sf.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=()=>{Sf.delete(a),c(new Error(`Failed to load script: ${a}`))},document.head.appendChild(f)});return Sf.set(a,l),l}const hb="https://widget.bland.ai/loader.js",Hd="bland-widget-host",NO="#bland-widget-root > button",LO=20,HO=100;let Tl=!1;function UO(){return typeof document>"u"?!1:!!window.blandSettings||!!document.querySelector(`script[src="${hb}"]`)||!!document.getElementById(Hd)}function zO(){return document.getElementById(Hd)?.shadowRoot?.querySelector(NO)??null}function BO(a,r){if(typeof window>"u"||UO())return;const l=Nd();window.blandSettings={widget_id:a,request_data:{source:"credify-insurance-widget",entry_path:window.location.pathname,...l?{quote_id:l}:{},...r}},Tl=!0,mb(hb).catch(s=>{Tl=!1,yr(s,{tags:{source:"widget-bland-loader"}})})}async function yb(a,r){if(typeof window>"u")return!1;BO(a,r);for(let l=0;l<LO;l+=1){const s=zO();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,HO))}return yr(new Error("Bland launcher did not mount"),{tags:{source:"widget-bland-open",owned:String(Tl)}}),!1}function jO(){typeof document>"u"||(Tl&&(document.getElementById(Hd)?.remove(),delete window.blandSettings),Tl=!1)}const IO="https://js.cobrowse.io/CobrowseIO.js";let ed=!1;async function qO(a){await mb(IO);const r=window.CobrowseIO;if(!r)return null;if(!ed){r.license=a,r.redactedViews=["input","select","textarea","[data-credify-redact]"],r.customData={quote_id:Nd()??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?.(),ed=!0}return r}async function PO(a){if(typeof window>"u")return null;try{const r=await qO(a);return r?.createSessionCode?await r.createSessionCode():null}catch{return null}}function GO(){try{window.CobrowseIO?.stop?.()}catch{}ed=!1}let Tn=null,cs=null,td=!1;function FO(a){QO();const r=kO();if(Tn=r,!!r.enabled&&r.proactiveOnError&&r.blandWidgetId){const l=s=>{td||(td=!0,yb(r.blandWidgetId,{last_quote_error:s?.reason??"unknown"}))};cb("submissionFailed",l),cs=l}}function VO(){return!Tn?.enabled||!Tn.blandWidgetId?Promise.resolve(!1):yb(Tn.blandWidgetId)}function YO(){return!Tn?.enabled||!Tn.cobrowseLicense?Promise.resolve(null):PO(Tn.cobrowseLicense)}function $O(){return!!(Tn?.enabled&&Tn.cobrowseLicense)}function QO(){cs&&(fb("submissionFailed",cs),cs=null),jO(),GO(),td=!1,Tn=null}const ZO=({label:a="Share my screen"})=>{const[r,l]=T.useState(null),[s,c]=T.useState(!1),[f,p]=T.useState(!1),m=T.useCallback(async()=>{c(!0),p(!1);try{const g=await YO();g?l(g):p(!0)}catch{p(!0)}finally{c(!1)}},[]);return $O()?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},XO="https://assets.getcredify.com",WO=()=>{try{if(typeof __CREDIFY_ASSETS__<"u"&&__CREDIFY_ASSETS__?.baseUrl)return __CREDIFY_ASSETS__.baseUrl}catch{}return XO};WO();function KO(){return Promise.resolve(null)}let JO;function eR(){return JO}const tR=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","),nR=new Set(["product"]),aR=a=>a==="Home"||a==="Auto"||a==="Bundle";function rR({isOpen:a,onClose:r,product:l}){pb(),AO();const[s,c]=T.useState(null);T.useEffect(()=>{let ce=!0;return KO().then(Z=>{ce&&c(Z)}),()=>{ce=!1}},[]);const f=T.useRef(null),[p,m]=T.useState(null),[g,y]=T.useState(),[E,S]=T.useState(()=>DO(l)),U=T.useRef(null),P=l??g,j=T.useRef(null),K=T.useRef(null),[V,ie]=T.useState(!1),[me,re]=T.useState(!1),fe=T.useRef(null),B=T.useCallback((ce,Z)=>{const Le=fe.current,Xe=ce.kind==="stage"?ce.stage:void 0;Le&&Le.stage&&Z.index>Le.index&&gO({stageKey:Le.stage,stageTitle:Le.stage,stepIndex:Le.index,totalSteps:Z.total}),Xe&&yO({stageKey:Xe,stageTitle:Z.title,stepIndex:Z.index,totalSteps:Z.total}),ce.kind==="terminal"&&ce.screen==="rates"&&bO({rateCount:0}),fe.current={stage:Xe,index:Z.index}},[]);T.useEffect(()=>{a&&hO()},[a]),T.useEffect(()=>{if(!a||l||g)return;if(!U.current){const Z=Rl();Z&&(U.current=wd(Z))}if(!U.current&&!fr())return;let ce=!1;return S(!0),(async()=>{try{await U.current;const{quote:Z}=await Md(fr()??void 0),Le=Z.product;!ce&&aR(Le)&&y(Le)}catch{}finally{ce||S(!1)}})(),()=>{ce=!0}},[a,l,g]);const _e=T.useCallback(()=>{if(me){i0(),r();return}ie(!0)},[me,r]),Q=T.useCallback(()=>ie(!1),[]),et=T.useCallback(()=>{ie(!1),i0(),r()},[r]),xe=T.useCallback(ce=>{if(ce.key==="Escape"){ce.preventDefault(),V?Q():_e();return}if(ce.key!=="Tab")return;const Z=V?j.current:f.current;if(!Z)return;const Le=Array.from(Z.querySelectorAll(tR)).filter(q=>q.offsetParent!==null||q===document.activeElement);if(Le.length===0)return;const Xe=Le[0],Pe=Le[Le.length-1],D=document.activeElement;ce.shiftKey&&D===Xe?(ce.preventDefault(),Pe.focus()):!ce.shiftKey&&D===Pe&&(ce.preventDefault(),Xe.focus())},[V,Q,_e]);T.useEffect(()=>{if(a)return window.addEventListener("keydown",xe),()=>window.removeEventListener("keydown",xe)},[a,xe]),T.useEffect(()=>{if(!V)return;const ce=window.setTimeout(()=>K.current?.focus(),0);return()=>window.clearTimeout(ce)},[V]),T.useEffect(()=>{a||(ie(!1),re(!1),y(void 0))},[a]);const nt=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:_e,className:"credify-widget-close","aria-label":"Close quote form",type:"button",children:A.jsx("span",{"aria-hidden":"true",children:"×"})}),nt&&A.jsx("div",{className:"credify-widget-co-brand",children:nt}),A.jsx(_M,{theme:{mode:"light",accent:s?.brandColour??void 0},className:"credify-widget-scope",portalContainer:p,children:E?A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame credify-widget-chooser","aria-live":"polite",children:A.jsx("p",{children:"Loading your quote…"})})}):P?A.jsx(Gv,{product:P,prefill:eR(),suppressedKeys:nR,onScreenChange:B,onComplete:()=>{re(!0),vO()},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(RO,{onChoose:y})})})}),A.jsxs("div",{className:"credify-widget-footer",children:[A.jsx(ZO,{label:"Need help? Share my screen"}),A.jsx("p",{children:"Insurance products offered through Credify Corporation, a licensed insurance agency."})]}),V&&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:Q,children:"Keep editing"}),A.jsx("button",{type:"button",className:"credify-widget-confirm-danger",onClick:et,children:"Close window"})]})]})})]})]}):null}function iR({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 Ef={dsn:"",environment:"production",release:"d7471065d1c225a23de962f9a191b807b878f14b"};function lR(){try{return typeof Ef<"u"&&Ef?Ef:{}}catch{return{}}}let c0=!1;function oR(a,r){if(!a)return r;const l=Number(a);return Number.isFinite(l)&&l>=0&&l<=1?l:r}function sR(a={}){if(c0)return!0;if(typeof window>"u")return!1;const r=lR(),l=a.dsn??r.dsn;return!l||a.enabled===!1?!1:(aO({baseUrl:us}),iT({dsn:l,environment:a.environment??r.environment??"production",release:a.release??r.release,sendDefaultPii:!1,maxBreadcrumbs:50,tracesSampleRate:a.tracesSampleRate??oR(r.tracesSampleRate,.1),tracePropagationTargets:[us],replaysSessionSampleRate:0,replaysOnErrorSampleRate:1,integrations:s=>[...s.filter(c=>c.name!=="BrowserApiErrors"),Z0({eventTarget:!1})],ignoreErrors:[/Java object is gone/,/Error invoking postMessage/],denyUrls:[/navigation_performance_logger/,/^iabjs:/],beforeSend:s=>n0(s),beforeBreadcrumb:s=>s&&(n0({breadcrumbs:[s]}),s)}),c0=!0,aT("replayIntegration").then(s=>{try{zC(s({maskAllText:!0,maskAllInputs:!0,blockAllMedia:!0,networkDetailAllowUrls:[us],networkCaptureBodies:!1}))}catch{}}).catch(()=>{}),!0)}const f0="credify_product",d0="credify_product",uR={home:"Home","home-insurance":"Home",homeowners:"Home",auto:"Auto","auto-insurance":"Auto",car:"Auto",vehicle:"Auto",bundle:"Bundle","bundle-insurance":"Bundle"};function p0(a){if(a)return uR[a.trim().toLowerCase()]}let nd,m0=!1;function cR(){try{if(typeof window>"u")return;nd=p0(window.sessionStorage?.getItem(d0)),m0=!1;const a=new URL(window.location.href),r=a.searchParams.get(f0);if(r===null)return;const l=p0(r);if(l){nd=l,m0=!0;try{window.sessionStorage?.setItem(d0,l)}catch{}}a.searchParams.delete(f0),window.history.replaceState(window.history.state,"",a.toString())}catch(a){Gw("widget-product-param",a)}}function h0(){return nd}function fR(){const[a,r]=T.useState(!1),[l,s]=T.useState(()=>(cR(),h0()));T.useEffect(()=>{pb(),sR(),FO()},[]);const c=T.useCallback(p=>{window.parent&&window.parent!==window&&window.parent.postMessage({type:p,source:"credify-insurance-widget"},"*")},[]);T.useEffect(()=>{const p=(g,y,E)=>{window.parent&&window.parent!==window&&window.parent.postMessage({type:"event",source:"credify-insurance-widget",event:g,data:y,meta:E},"*")},m=pO.map(g=>{const y=(E,S)=>p(g,E,S);return cb(g,y),[g,y]});return()=>{for(const[g,y]of m)fb(g,y)}},[]),T.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&&!h0()&&s(m.data.product),c("ready");break;case"support-open":VO();break}};return window.addEventListener("message",p),c("ready"),()=>{window.removeEventListener("message",p)}},[c]);const f=T.useCallback(()=>{r(!1),c("closed")},[c]);return A.jsx(yd,{fallback:A.jsx(iR,{onClose:f}),children:A.jsx(rR,{isOpen:a,onClose:f,product:l})})}var dR=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 y0=!1;function pR(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 mR(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 hR(){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 yR(){if(y0||typeof window>"u"||typeof window.fetch!="function"||!Kf())return;y0=!0;const a=window.fetch.bind(window);window.fetch=async(r,l)=>{const s=pR(r);return!s||!dR.has(s)||await mR(r,l),a(r,l)},hR(),typeof console<"u"&&console.info("[Credify] Mock mode active — all API calls are served from in-memory fixtures.")}yR();jS.createRoot(document.getElementById("root")).render(A.jsx(T.StrictMode,{children:A.jsx(fR,{})}));export{KM as $,Ev as A,Dl as B,Rs as C,$v as D,Wv as E,K0 as F,J0 as G,hi as H,JM as I,fw as J,An as K,US as L,_v as M,rb as N,Sv as O,ib as P,_R as Q,kS as R,xv as S,GM as T,wv as U,bR as V,gR as W,mv as X,vR as Y,ew as Z,de as _,nb as a,$M as a0,FM as a1,QM as a2,bv as a3,Od as a4,tb as a5,xS as a6,SR as a7,Tt as a8,A as b,RM as c,OM as d,Wn as e,cr as f,xg as g,iM as h,Av as i,ab as j,ir as k,Sd as l,qM as m,Mv as n,Gf as o,pv as p,rM as q,T as r,Md as s,gv as t,Cv as u,Zv as v,wa as w,Qv as x,ys as y,xd as z};