1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8966],{1911:(e,t,n)=>{"use strict";n.d(t,{q:()=>s});var o=n(43020),r=n(69466);let i=new Set([o.G8.preferences,o.G8.notifications]),s=({userName:e,locale:t=r.ll.EN,showPreferences:n=!0})=>{let s=(0,r.Jo)(t,"nav"),a=[{content:s("My Account"),href:o.G8.myAccount,iconType:"house",isNotPii:!0},{content:s("Documents & Notices"),href:o.G8.docsAndNotices,iconType:"article",isNotPii:!0},{content:s("Personal Info"),href:o.G8.personalInfo,iconType:"person",isNotPii:!0},{content:s("Preferences"),href:o.G8.preferences,iconType:"sliders",isNotPii:!0},{content:s("Notifications"),href:o.G8.notifications,iconType:"IconNotificationsActive",isNotPii:!0},{content:s("Account Settings"),href:o.G8.accountSettings,iconType:"settings",isNotPii:!0},{content:s("Log Out"),href:o.G8.logout,iconType:"logout",isNotPii:!0}];return{dropdown:{isPii:!0,text:e,items:n?a:a.filter(e=>!i.has(e.href))}}}},2917:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var o=n(37876),r=n(23687),i=n(50086),s=n(84274);n(51887);let a=({mobileMenu:e,withNotification:t,sentenceCase:n=!1})=>e.length?(0,o.jsx)(r.A,{component:"ul",children:(0,o.jsx)(s.L5,{atoms:{display:{mobile:"flex",tablet:"none"},paddingY:"s"},hasTransparentOverlay:!1,scrollLock:!0,trigger:e=>(0,o.jsx)(s.Nl,Object.assign({},e,{withNotification:t})),children:null==e?void 0:e.map(({href:e,onClick:t,content:a,iconType:l,atoms:c,isPii:u,isNotPii:d,withNotification:f})=>(0,o.jsx)(r.A,{children:(0,o.jsxs)(s.JY,{atoms:Object.assign({fontFamily:"heading"},c),className:n?"_1z4w051":"_1z4w050",href:e,isNotPii:d,isPii:u,onClick:t,children:["arrow"!==l&&(0,o.jsx)(s.In,{bold:!0,className:"_1z4w052",iconName:l,iconSize:"m",palette:"neutral90"}),a,f&&(0,o.jsx)(r.A,{component:"span",style:{display:"inline-flex",verticalAlign:"text-bottom",marginLeft:5},"aria-label":f,children:(0,o.jsx)(i.A,{size:"s",color:"onNegativeContainer"})})]})},`mobile-link-${a}`))})}):null},3307:()=>{},4208:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o,q:()=>r}),n(44741);var o="_1tv5q301",r="_1tv5q300"},4322:(e,t,n)=>{"use strict";n.d(t,{J:()=>a,p:()=>u});var o=n(37876),r=n(14160),i=n(77808),s=n(4208);function a(e){let{borrowDropdown:t,aboutDropdown:n,resourcesDropdown:o,onExpand:r}=e;return{desktopMenuItems:[function(e,t){let{title:n,personalLoansSection:o,consolidationSection:r,cta:i,dataAttributes:s}=e;return{cta:i,dataAttributes:s,menuSections:[{links:[c(Object.assign({href:"/personal-loans"},o.links.personalLoans)),c(Object.assign({href:"/wedding-loans"},o.links.weddingLoans)),c(Object.assign({href:"/home-improvement-loans"},o.links.homeImprovement)),c(Object.assign({href:"/moving-loans"},o.links.movingLoans)),c(Object.assign({href:"/medical-loans"},o.links.medicalLoans))],title:o.content},{links:[c(Object.assign({href:"/debt-consolidation-loans"},r.links.debtConsolidation)),c(Object.assign({href:"/credit-card-consolidation"},r.links.creditCardConsolidation))],title:r.content}],onExpand:t,title:n}}(t,r),c(Object.assign({href:"/lenders"},e.lenders)),c(Object.assign({href:"/dealers"},e.dealers)),function(e,t){let{title:n,aboutSection:o,dataAttributes:r}=e;return{dataAttributes:r,menuSections:[{links:[c(Object.assign({href:"/our-story "},o.links.ourStory)),c(Object.assign({href:"/i/leadership"},o.links.leadership)),c(Object.assign({href:"/news"},o.links.news)),c(Object.assign({href:"https://ir.upstart.com"},o.links.investorRelations)),c(Object.assign({href:"/careers"},o.links.careers)),c(Object.assign({href:"/umi"},o.links.umi))],title:o.content}],onExpand:t,title:n}}(n,r),function(e,t){let{title:n,toolsSection:o,educationSection:r,cta:i,dataAttributes:s,certificationsSection:a}=e;return{cta:i,dataAttributes:s,menuSections:[{links:[c(Object.assign({href:"/learn"},r.links.learn)),c(Object.assign({href:"/faq"},r.links.faq)),c(Object.assign({href:"/learn/borrower-stories"},r.links.borrowerStories)),c(Object.assign({href:"/credit-score"},r.links.creditScore))],title:r.content},{links:[c(Object.assign({href:"/personal-loan-calculator"},o.links.personalLoanCalculator)),c(Object.assign({href:"/payment-calculator"},o.links.paymentCalculator)),c(Object.assign({href:"/interest-calculator"},o.links.interestCalculator)),c(Object.assign({href:"/inflation-calculator"},o.links.inflationCalculator))],title:o.content},{links:[c(Object.assign({href:"https://www.upstart.com/ai-certification"},a.links.aiCert)),c(Object.assign({href:"https://www.whattheai.fm"},a.links.whatIsAiPodcast))],title:a.content}],onExpand:t,title:n}}(o,r)],mobileMenuItems:function(e,t){let{borrowDropdown:n,lenders:o,dealers:r,aboutDropdown:i,resourcesDropdown:s,login:a}=e,{consolidationSection:u,personalLoansSection:d,cta:f}=n,{educationSection:p,toolsSection:h,certificationsSection:m}=s,{aboutSection:g}=i,b=i.dataAttributes,v=n.dataAttributes,y=s.dataAttributes,x=Object.assign({content:n.title},n),w=Object.assign({content:s.title},s),j=Object.assign({content:i.title},i),A={about:{dataAttributes:b,links:[c(Object.assign({href:"/our-story"},g.links.ourStory)),c(Object.assign({href:"/i/leadership"},g.links.leadership)),c(Object.assign({href:"/news"},g.links.news)),c(Object.assign({href:"https://ir.upstart.com"},g.links.investorRelations)),c(Object.assign({href:"/careers"},g.links.careers)),c(Object.assign({href:"/umi"},g.links.umi))],onExpand:t,prev:{content:i.title,key:"root"}},borrow:{cta:f,dataAttributes:v,links:[Object.assign({next:"personalLoans"},d),Object.assign({next:"consolidation"},u)],onExpand:t,prev:{content:n.title,key:"root"}},consolidation:{dataAttributes:u.dataAttributes,links:[l(Object.assign({href:"/debt-consolidation-loans"},u.links.debtConsolidation),!0),l(Object.assign({href:"/credit-card-consolidation"},u.links.creditCardConsolidation),!0)],onExpand:t,prev:{content:u.content,key:"borrow"}},education:{dataAttributes:p.dataAttributes,links:[c(Object.assign({href:"/learn"},p.links.learn)),c(Object.assign({href:"/faq"},p.links.faq)),c(Object.assign({href:"/learn/borrower-stories"},p.links.borrowerStories)),c(Object.assign({href:"/credit-score"},p.links.creditScore))],onExpand:t,prev:{content:p.content,key:"resources"}},personalLoans:{dataAttributes:d.dataAttributes,links:[l(Object.assign({href:"/personal-loans"},d.links.personalLoans),!0),l(Object.assign({href:"/wedding-loans"},d.links.weddingLoans),!0),l(Object.assign({href:"/home-improvement-loans"},d.links.homeImprovement),!0),l(Object.assign({href:"/moving-loans"},d.links.movingLoans),!0),l(Object.assign({href:"/medical-loans"},d.links.medicalLoans),!0)],onExpand:t,prev:{content:d.content,key:"borrow"}},resources:{dataAttributes:y,links:[Object.assign({next:"education"},p),Object.assign({next:"tools"},h),Object.assign({next:"certifications"},m)],onExpand:t,prev:{content:s.title,key:"root"}},root:{links:[Object.assign({next:"borrow"},x),l(Object.assign({href:"/lenders"},o)),l(Object.assign({href:"/dealers"}
1,r)),Object.assign({next:"about"},j),Object.assign({next:"resources"},w),Object.assign(Object.assign({},a),{href:"/login"})],onExpand:t},tools:{dataAttributes:h.dataAttributes,links:[c(Object.assign({href:"/personal-loan-calculator"},h.links.personalLoanCalculator)),c(Object.assign({href:"/payment-calculator"},h.links.paymentCalculator)),c(Object.assign({href:"/interest-calculator"},h.links.interestCalculator)),c(Object.assign({href:"/inflation-calculator"},h.links.inflationCalculator))],onExpand:t,prev:{content:h.content,key:"resources"}},certifications:{dataAttributes:m.dataAttributes,links:[c(Object.assign({href:"https://www.upstart.com/ai-certification"},m.links.aiCert)),c(Object.assign({href:"https://www.whattheai.fm"},m.links.whatIsAiPodcast))],onExpand:t,prev:{content:m.content,key:"resources"}}};return{cta:f,sections:A}}(e,r)}}function l(e,t=!1){return t?Object.assign(Object.assign({},e),{content:(0,o.jsx)(r.A,{atoms:{display:"flex"},className:s.Z,color:"brand",children:e.content})}):Object.assign({},e)}function c(e){return Object.assign({},e)}function u(e){return{root:{links:[{content:(0,o.jsx)(i.A,{className:s.q,color:"brand",component:"h4",size:"s",children:e}),href:"/login"}]}}}},4602:(e,t,n)=>{"use strict";n.d(t,{V:()=>c});var o=n(64682),r=n(9646),i=n(60513);let s=i.Ay.object({applicationUuid:i.Ay.string().or(i.Ay.number()),lender:i.Ay.object({name:i.Ay.string(),primaryLogo:i.Ay.string().nullable().optional()}),loanId:i.Ay.string().or(i.Ay.number()).nullable().optional(),pbuProgramId:i.Ay.string().or(i.Ay.number()).nullable().optional(),productType:i.Ay.string()}),a="/applications_api/v1/cbl_footer",l=i.Ay.object({contactUsApplications:i.Ay.array(s),helpCenterApplications:i.Ay.array(s)}),c=(...e)=>{var t,n,i,s;return t=void 0,n=[...e],i=void 0,s=function*({config:e,isClientSide:t=!1}={isClientSide:!1}){try{let n=t?yield(0,o.GR)({url:a,config:e}):yield fetch(a,e),r=yield n.json();return l.parse(r)}catch(e){(0,r.je)(e)||console.error("Error fetching the footer CBL data.",e);return}},new(i||(i=Promise))(function(e,o){function r(e){try{l(s.next(e))}catch(e){o(e)}}function a(e){try{l(s.throw(e))}catch(e){o(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof i?n:new i(function(e){e(n)})).then(r,a)}l((s=s.apply(t,n||[])).next())})}},4809:()=>{},8448:(e,t,n)=>{"use strict";n.d(t,{JY:()=>p.A,TV:()=>b,L5:()=>ei,jt:()=>en});var o,r,i,s,a,l,c,u=n(37876),d=n(23687),f=(n(65027),n(22516)),p=n(32225),h=n(93194),m=n(30120);let g=({content:e,onClick:t,atoms:n,navigation:o,className:r,isPii:i,isNotPii:s,expanded:a=!1})=>(0,u.jsx)(d.A,{component:"li",children:(0,u.jsxs)(d.A,{isNotPii:s,isPii:i,onClick:t,role:"button","aria-haspopup":!0,"aria-expanded":a,component:"button",type:"button",atoms:Object.assign(Object.assign({alignItems:"center",color:"neutral90",display:"flex",padding:"m",width:"max"},f.Mu),n),className:(0,h.A)(f.j$[o||"default"],r),children:["back"===o?(0,u.jsx)(m.I,{className:f.rN,iconName:"arrow",iconSize:"s",palette:"brand"}):null,(0,u.jsx)(d.A,{component:"span",children:e}),"next"===o?(0,u.jsx)(m.I,{iconName:"arrow",iconSize:"s",palette:"brand"}):null]})});g.displayName="MenuItemList";let b=g;var v=n(14232),y=n(97225),x=function(){return(x=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function w(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}var j="right-scroll-bar-position",A="width-before-scroll-bar",k=(void 0===o&&(o={}),(void 0===r&&(r=function(e){return e}),i=[],s=!1,a={read:function(){if(s)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:null},useMedium:function(e){var t=r(e,s);return i.push(t),function(){i=i.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(s=!0;i.length;){var t=i;i=[],t.forEach(e)}i={push:function(t){return e(t)},filter:function(){return i}}},assignMedium:function(e){s=!0;var t=[];if(i.length){var n=i;
1i=[],n.forEach(e),t=i}var o=function(){var n=t;t=[],n.forEach(e)},r=function(){return Promise.resolve().then(o)};r(),i={push:function(e){t.push(e),r()},filter:function(e){return t=t.filter(e),i}}}}).options=x({async:!0,ssr:!1},o),a),C=function(){},O=v.forwardRef(function(e,t){var n,o,r,i=v.useRef(null),s=v.useState({onScrollCapture:C,onWheelCapture:C,onTouchMoveCapture:C}),a=s[0],l=s[1],c=e.forwardProps,u=e.children,d=e.className,f=e.removeScrollBar,p=e.enabled,h=e.shards,m=e.sideCar,g=e.noIsolation,b=e.inert,y=e.allowPinchZoom,j=e.as,A=e.gapMode,O=w(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=(n=[i,t],o=function(e){return n.forEach(function(t){return"function"==typeof t?t(e):t&&(t.current=e),t})},(r=(0,v.useState)(function(){return{value:null,callback:o,facade:{get current(){return r.value},set current(value){var e=r.value;e!==value&&(r.value=value,r.callback(value,e))}}}})[0]).callback=o,r.facade),N=x(x({},O),a);return v.createElement(v.Fragment,null,p&&v.createElement(m,{sideCar:k,removeScrollBar:f,shards:h,noIsolation:g,inert:b,setCallbacks:l,allowPinchZoom:!!y,lockRef:i,gapMode:A}),c?v.cloneElement(v.Children.only(u),x(x({},N),{ref:S})):v.createElement(void 0===j?"div":j,x({},N,{className:d,ref:S}),u))});O.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},O.classNames={fullWidth:A,zeroRight:j};var S=function(e){var t=e.sideCar,n=w(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw Error("Sidecar medium not found");return v.createElement(o,x({},n))};S.isSideCarExport=!0;var N=function(){var e=0,t=null;return{add:function(o){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||n.nc;return t&&e.setAttribute("nonce",t),e}())){var r,i;(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},E=function(){var e=N();return function(t,n){v.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},P=function(){var e=E();return function(t){return e(t.styles,t.dynamic),null}},L=function(e){return parseInt(e||"",10)||0},_=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],o=t["padding"===e?"paddingTop":"marginTop"],r=t["padding"===e?"paddingRight":"marginRight"];return[L(n),L(o),L(r)]},I=function(e){void 0===e&&(e="margin");var t=_(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},M=P(),T="data-scroll-locked",R=function(e,t,n,o){var r=e.left,i=e.top,s=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(o,";\n padding-right: ").concat(a,"px ").concat(o,";\n }\n body[").concat(T,"] {\n overflow: hidden ").concat(o,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(o,";"),"margin"===n&&"\n padding-left: ".concat(r,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(o,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(o,";")].filter(Boolean).join(""),"\n }\n \n .").concat(j," {\n right: ").concat(a,"px ").concat(o,";\n }\n \n .").concat(A," {\n margin-right: ").concat(a,"px ").concat(o,";\n }\n \n .").concat(j," .").concat(j," {\n right: 0 ").concat(o,";\n }\n \n .").concat(A," .").concat(A," {\n margin-right: 0 ").concat(o,";\n }\n \n body[").concat(T,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},D=function(){var e=parseInt(document.body.getAttribute(T)||"0",10);return isFinite(e)?e:0},B=function(){v.useEffect(function(){return document.body.setAttribute(T,(D()+1).toString()),function(){var e=D()-1;e<=0?document.body.removeAttribute(T):document.body.setAttribute(T,e.toString())}},[])},U=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,r=void 0===o?"margin":o;B();var i=v.useMemo(function(){return I(r)},[r]);return v.createElement(M,{styles:R(i,!t,r,n?"":"!important")})},H=!1;try{var q=Object.defineProperty({},"passive",{get:function(){return H=!0,!0}});window.addEventListener("test",q,q),window.removeEventListener("test",q,q)}catch(e){H=!1}var z=!!H&&{passive:!1},F=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},V=function(e,t){var n=t.ownerDocument,o=t;do{if("u">typeof ShadowRoot&&o instanceof ShadowRoot&&(o=o.host),W(e,o)){var r=Y(e,o);if(r[1]>r[2])return!0}o=o.parentNode}while(o&&o!==n.body);return!1},W=function(e,t){return"v"===e?F(t,"overflowY"):F(t,"overflowX")},Y=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},Z=function(e,t,n,o,r){var i,s=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),a=s*o,l=n.target,c=t.contains(l),u=!1,d=a>0,f=0,p=0;do{var h=Y(e,l),m=h[0],g=h[1]-h[2]-s*m;(m||g)&&W(e,l)&&(f+=g,p+=m),l=l instanceof ShadowRoot?l.host:l.parentNode}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return d&&(r&&1>Math.abs(f)||!r&&a>f)?u=!0:!d&&(r&&1>Math.abs(p)||!r&&-a>p)&&(u=!0),u},$=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},G=function(e){return[e.deltaX,e.deltaY]},J=function(e){return e&&"current"in e?e.current:e}
1,X=0,K=[];let Q=(l=function(e){var t=v.useRef([]),n=v.useRef([0,0]),o=v.useRef(),r=v.useState(X++)[0],i=v.useState(P)[0],s=v.useRef(e);v.useEffect(function(){s.current=e},[e]),v.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var t=(function(e,t,n){if(n||2==arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(J),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var a=v.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,i=$(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=V(d,u);if(!f)return!0;if(f?r=d:(r="v"===d?"h":"v",f=V(d,u)),!f)return!1;if(!o.current&&"changedTouches"in e&&(l||c)&&(o.current=r),!r)return!0;var p=o.current||r;return Z(p,t,e,"h"===p?l:c,!0)},[]),l=v.useCallback(function(e){if(K.length&&K[K.length-1]===i){var n="deltaY"in e?G(e):$(e),o=t.current.filter(function(t){var o;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(o=t.delta,o[0]===n[0]&&o[1]===n[1])})[0];if(o&&o.should){e.cancelable&&e.preventDefault();return}if(!o){var r=(s.current.shards||[]).map(J).filter(Boolean).filter(function(t){return t.contains(e.target)});(r.length>0?a(e,r[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=v.useCallback(function(e,n,o,r){var i={name:e,delta:n,target:o,should:r,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(o)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),u=v.useCallback(function(e){n.current=$(e),o.current=void 0},[]),d=v.useCallback(function(t){c(t.type,G(t),t.target,a(t,e.lockRef.current))},[]),f=v.useCallback(function(t){c(t.type,$(t),t.target,a(t,e.lockRef.current))},[]);v.useEffect(function(){return K.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",l,z),document.addEventListener("touchmove",l,z),document.addEventListener("touchstart",u,z),function(){K=K.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,z),document.removeEventListener("touchmove",l,z),document.removeEventListener("touchstart",u,z)}},[]);var p=e.removeScrollBar,h=e.inert;return v.createElement(v.Fragment,null,h?v.createElement(i,{styles:"\n .block-interactivity-".concat(r," {pointer-events: none;}\n .allow-interactivity-").concat(r," {pointer-events: all;}\n")}):null,p?v.createElement(U,{gapMode:e.gapMode}):null)},k.useMedium(l),S);var ee=v.forwardRef(function(e,t){return v.createElement(O,x({},e,{ref:t,sideCar:Q}))});ee.classNames=O.classNames;var et=n(63927);let en=e=>Array.from((null==e?void 0:e.querySelectorAll('button, a, [tabindex="0"]'))||[]).filter(e=>e instanceof HTMLElement&&!0!==e.hidden&&null!==e.offsetParent&&(!("disabled"in e)||!e.disabled)&&(!(e instanceof HTMLAnchorElement)||!!e.href)),eo,er=({onClose:e,onExpand:t,hasTransparentOverlay:n=!0,dataAttributes:o,overlayZIndex:r=19,trigger:i,scrollLock:s=!1,children:a,atoms:l,className:c=f.MK,dataTestId:p})=>{let[h,m]=(0,v.useState)(!1),g=function e(t,n=0,o=[]){return v.Children.toArray(t).reduce((t,r,i)=>((0,y.isFragment)(r)?t.push.apply(t,e(r.props.children,n+1,o.concat(r.key||i))):(0,v.isValidElement)(r)?t.push((0,v.cloneElement)(r,{key:o.concat(String(r.key)).join(".")})):("string"==typeof r||"number"==typeof r)&&t.push(r),t),[])}(a),b=(0,v.useRef)(null),x=(0,v.useRef)(null),w=(0,v.useRef)(!1),j=t=>{var n;w.current=!1,m(!1),null==(n=x.current)||n.focus(),e&&e({dataAttributes:o,event:t})};return(0,v.useEffect)(()=>{var e;h&&(null==(e=en(b.current)[0])||e.focus())},[h]),(0,u.jsxs)(d.A,{atoms:l,className:f.Aw,component:"li","data-testid":p,children:[(0,u.jsxs)(d.A,{atoms:{display:"inlineBlock",position:{desktop:"relative"}}
1,children:[(0,u.jsx)(i,{open:h,"aria-expanded":h,"aria-haspopup":!0,onClick:e=>{(e.stopPropagation(),e.preventDefault(),h)?j(e):(t&&t({dataAttributes:o,event:e}),m(!0))},triggerRef:x}),(0,u.jsx)(d.A,{"data-testid":eo,atoms:{position:"absolute"},className:h?c:f.Gn,ref:b,onBlur:e=>{var t;let n=e.relatedTarget,o=document.activeElement;b.current&&(n&&b.current.contains(n)||o&&b.current.contains(o))||(w.current?null==(t=en(b.current)[0])||t.focus():j(e))},onKeyDown:e=>{"Escape"===e.key&&(e.stopPropagation(),e.preventDefault(),j(e))},onMouseEnter:()=>{w.current=!0},onMouseLeave:()=>{w.current=!1},children:(0,u.jsx)(ee,{enabled:h&&s,children:g})})]}),h?(0,u.jsx)(et.h,{onClick:e=>{e.stopPropagation(),e.preventDefault(),j(e)},transparent:n,zIndex:r}):null]})};er.displayName="MenuRenderer";let ei=er},9646:(e,t,n)=>{"use strict";n.d(t,{je:()=>o});let o=e=>e instanceof Error&&"AbortError"===e.name||e instanceof Error&&"TypeError"===e.name&&e.message.includes("Load failed")},9868:(e,t,n)=>{"use strict";n.d(t,{L:()=>u});var o=n(14232),r=n(43020),i=n(69466),s=n(64682),a=n(60513),l=n(9646);let c=a.z.object({hasNotifications:a.z.boolean()}),u=({schema:e,locale:t,enabled:n=!0})=>{let a=(({enabled:e=!0})=>{let[t,n]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{var t,o,r,i;if(!e)return;let a=new AbortController,u=!0;return t=void 0,o=void 0,r=void 0,i=function*(){try{let e=yield(0,s.GR)({url:"/api/v2/ldnc/notifications",config:{method:"GET",signal:a.signal,headers:{accept:"application/json"}}});if(!e.ok)throw Error(`Failed to fetch notifications: ${e.status} - ${e.statusText}`);let t=yield e.json(),o=c.parse(t);u&&n(o.hasNotifications)}catch(e){(0,l.je)(e)||console.error("Error fetching the Docs & Notices notifications data.",e)}},new(r||(r=Promise))(function(e,n){function s(e){try{l(i.next(e))}catch(e){n(e)}}function a(e){try{l(i.throw(e))}catch(e){n(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof r?n:new r(function(e){e(n)})).then(s,a)}l((i=i.apply(t,o||[])).next())}),()=>{a.abort(),u=!1}},[e]),t})({enabled:n})?(0,i.sC)(t,"nav","Documents & Notices Notification"):void 0;return{parsedSchema:(0,o.useMemo)(()=>{if(!n)return e;let o=e.dropdown.items.findIndex(e=>e.href===r.G8.docsAndNotices);if(o>=0){let t=[...e.dropdown.items];return t[o]=Object.assign(Object.assign({},t[o]),{withNotification:a}),Object.assign(Object.assign({},e),{dropdown:Object.assign(Object.assign({},e.dropdown),{items:t})})}return Object.assign(Object.assign({},e),{dropdown:Object.assign(Object.assign({},e.dropdown),{items:[{content:(0,i.sC)(t,"nav","Documents & Notices"),href:r.G8.docsAndNotices,iconType:"article",withNotification:a},...e.dropdown.items]})})},[e,a,t,n]),withNotification:a}}},20717:()=>{},22516:(e,t,n)=>{"use strict";n.d(t,{Aw:()=>o,Gn:()=>i,MK:()=>r,Mu:()=>a,j$:()=>s,rN:()=>l}),n(61955),n(71976),n(49364),n(20717);var o="_9pszy88",r="_9pszy82 _9pszy81",i="_9pszy80",s={back:"_9pszy84 _9pszy83",cta:"_9pszy85 _9pszy83",default:"_9pszy83",next:"_9pszy86 _9pszy83"},a={borderBottom:"light"},l="_9pszy87"},22734:()=>{},26826:()=>{},30120:(e,t,n)=>{"use strict";n.d(t,{I:()=>N});var o=n(37876),r=n(14232);let i=(0,n(14138).A)({Component:({title:e,titleId:t,...n})=>r.createElement("svg",{viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M2 10.5c0-1.467.296-2.854.888-4.162A9.715 9.715 0 0 1 5.425 2.95l1.425 1.4a8.37 8.37 0 0 0-2.1 2.762A7.834 7.834 0 0 0 4 10.5H2Zm18 0c0-1.2-.25-2.33-.75-3.388a8.37 8.37 0 0 0-2.1-2.762l1.425-1.4c1.1.95 1.946 2.08 2.538 3.388A9.988 9.988 0 0 1 22 10.5h-2Zm-16 9v-2h2v-7c0-1.383.417-2.613 1.25-3.688.833-1.075 1.917-1.779 3.25-2.112V4c0-.417.146-.77.438-1.062A1.444 1.444 0 0 1 12 2.5c.417 0 .77.146 1.062.438.292.291.438.645.438 1.062v.7c1.333.333 2.417 1.037 3.25 2.112C17.583 7.887 18 9.117 18 10.5v7h2v2H4Zm8 3c-.55 0-1.02-.196-1.412-.587A1.927 1.927 0 0 1 10 20.5h4c0 .55-.196 1.021-.587 1.413A1.928 1.928 0 0 1 12 22.5Zm-4-5h8v-7c0-1.1-.392-2.042-1.175-2.825C14.042 6.892 13.1 6.5 12 6.5s-2.042.392-2.825 1.175C8.392 8.458 8 9.4 8 10.5v7Z",fill:"currentColor"})),displayName:"IconNotificationsActive"});var s=n(23687);let a=()=>(0,o.jsx)("svg",{color:"currentColor",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},viewBox:"0 0 10 16",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M0.314423 15.6867C0.732222 16.1045 1.40582 16.1045 1.82362 15.6867L8.90915 8.60112C9.24168 8.26859 9.24168 7.73141 8.90915 7.39888L1.82362 0.313349C1.40582 -0.10445 0.732222 -0.10445 0.314423 0.313349C-0.103376 0.731148 -0.103376 1.40474 0.314423 1.82254L6.48762 8.00426L0.305897 14.186C-0.103376 14.5953 -0.103376 15.2774 0.314423 15.6867Z",fill:"currentColor"})});a.displayName="SvgArrow";let l=()=>(0,o.jsx)("svg",{color:"currentColor",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M8 14L20 26L32 14H8Z",fill:"currentColor"})});l.displayName="SvgArrowDropDown";let c=()=>(0,o.jsx)("svg",{color:"currentColor",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fill:"currentColor",d:"M7 17h7v-2H7v2Zm0-4h10v-2H7v2Zm0-4h10V7H7v2ZM5 21c-.55 0-1.02-.196-1.413-.587A1.926 1.926 0 0 1 3 19V5c0-.55.196-1.02.587-1.413A1.926 1.926 0 0 1 5 3h14c.55 0 1.02.196 1.413.587.39.393.587.863.587 1.413v14c0 .55-.196 1.02-.587 1.413A1.926 1.926 0 0 1 19 21H5Zm0-2h14V5H5v14Z"})});c.displayName="SvgArticle";let u=()=>(0,o.jsx)("svg",{color:"currentColor",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M24 28.3q-.95 0-1.625-.65T21.7 26q0-.95.65-1.625T24 23.7q.95 0 1.625.65T26.3 26q0 .95-.65 1.625T24 28.3Zm-8 0q-.95 0-1.625-.65T13.7 26q0-.95.65-1.625T16 23.7q.95 0 1.625.65T18.3 26q0 .95-.65 1.625T16 28.3Zm16 0q-.9 0-1.6-.
165-.7-.65-.7-1.65 0-.95.7-1.625T32 23.7q.95 0 1.625.65T34.3 26q0 .95-.65 1.625T32 28.3Zm-8 8q-.95 0-1.625-.7T21.7 34q0-.95.65-1.625T24 31.7q.95 0 1.625.65T26.3 34q0 .9-.65 1.6-.65.7-1.65.7Zm-8 0q-.95 0-1.625-.7T13.7 34q0-.95.65-1.625T16 31.7q.95 0 1.625.65T18.3 34q0 .9-.65 1.6-.65.7-1.65.7Zm16 0q-.9 0-1.6-.7-.7-.7-.7-1.6 0-.95.7-1.625T32 31.7q.95 0 1.625.65T34.3 34q0 .9-.65 1.6-.65.7-1.65.7ZM9.45 45.25q-1.95 0-3.325-1.375Q4.75 42.5 4.75 40.55v-30.1q0-1.95 1.375-3.35Q7.5 5.7 9.45 5.7h2.8v-3h4.1v3h15.3v-3h4.1v3h2.8q1.95 0 3.35 1.4 1.4 1.4 1.4 3.35v30.1q0 1.95-1.4 3.325-1.4 1.375-3.35 1.375Zm0-4.7h29.1V19.5H9.45v21.05Z",fill:"currentColor"})});u.displayName="SvgCalendar";let d=()=>(0,o.jsx)("svg",{color:"currentColor",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M10.1 39.05v1.55q0 1.15-.8 1.9t-1.95.75h.15q-1.15 0-1.95-.8t-.8-1.95V24.05l4.3-12.95q.35-1.1 1.275-1.75.925-.65 2.075-.65h23.2q1.15 0 2.075.65.925.65 1.275 1.75l4.35 12.95V40.5q0 1.15-.85 1.95t-1.95.8h.1q-1.15 0-1.95-.75t-.8-1.9v-1.55Zm.6-17.75h26.65l-2.6-7.85h-21.5Zm3.85 10.75q1.1 0 1.9-.8.8-.8.8-1.9 0-1.15-.8-1.975-.8-.825-1.9-.825-1.2 0-2 .825t-.8 1.975q0 1.15.8 1.925.8.775 2 .775Zm19 0q1.15 0 1.975-.8.825-.8.825-1.9 0-1.15-.825-1.975-.825-.825-1.975-.825-1.15 0-1.925.825-.775.825-.775 1.975 0 1.15.8 1.925.8.775 1.9.775Z",fill:"currentColor"})});d.displayName="SvgCar";let f=()=>(0,o.jsx)("svg",{color:"currentColor",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",fill:"currentColor"})});f.displayName="SvgClear";let p=()=>(0,o.jsx)("svg",{color:"currentColor",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M13.2724 2.12132L13.9795 1.41421L12.5653 0L11.8582 0.707106L6.99388 5.57143L2.12956 0.707106L1.42245 0L0.00823909 1.41421L0.715346 2.12132L5.57967 6.98564L0.707107 11.8582L0 12.5653L1.41421 13.9795L2.12132 13.2724L6.99388 8.39985L11.8664 13.2724L12.5735 13.9795L13.9878 12.5653L13.2807 11.8582L8.40809 6.98564L13.2724 2.12132Z",fill:"currentColor"})});p.displayName="SvgCross";let h=()=>(0,o.jsx)("svg",{color:"currentColor",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M14.3832 20.315H16.9871V31.5968C16.9871 31.8195 17.1586 32 17.3703 32H21.7855C21.9971 32 22.1686 31.8195 22.1686 31.5968V20.3681H25.1621C25.3568 20.3681 25.5205 20.2144 25.5427 20.011L25.9974 15.8576C26.0099 15.7433 25.9755 15.6289 25.9028 15.5431C25.8301 15.4573 25.726 15.4082 25.6168 15.4082H22.1688V12.8047C22.1688 12.0198 22.5703 11.6219 23.3624 11.6219C23.4752 11.6219 25.6168 11.6219 25.6168 11.6219C25.8285 11.6219 26 11.4413 26 11.2186V7.40621C26 7.18347 25.8285 7.00298 25.6168 7.00298H22.5099C22.4879 7.00185 22.4393 7 22.3675 7C21.8284 7 19.9546 7.11137 18.4744 8.54444C16.8343 10.1325 17.0623 12.034 17.1168 12.3636V15.4081H14.3832C14.1715 15.4081 14 15.5886 14 15.8114V19.9117C14 20.1344 14.1715 20.315 14.3832 20.315Z",fill:"currentColor"})});h.displayName="SvgFacebook";let m=()=>(0,o.jsx)("svg",{color:"currentColor",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M11.7 39.4q-.45 0-.775-.325T10.6 38.3V19.85q0-.25.1-.475.1-.225.35-.375l12.3-9.35q.15-.1.3-.15.15-.05.35-.05.2 0 .35.05.15.05.3.15L36.95 19q.25.15.35.375.1.225.1.475V38.3q0 .45-.325.775t-.775.325h-8.8V27h-7v12.4Z",fill:"currentColor"})});m.displayName="SvgHouse";let g=()=>(0,o.jsx)("svg",{color:"currentColor",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.
116-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z",fill:"currentColor"})});g.displayName="SvgLanguage";let b=()=>(0,o.jsx)("svg",{color:"currentColor",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M24 25.8q-1 0-1.675-.675t-.675-1.675V6.6q0-1 .675-1.7T24 4.2q1 0 1.675.7t.675 1.7v16.85q0 1-.675 1.675T24 25.8Zm0 17.25q-4 0-7.5-1.5t-6.125-4.125Q7.75 34.8 6.25 31.3t-1.5-7.5q0-3.5 1.25-6.725Q7.25 13.85 9.6 11.3q.65-.8 1.7-.9 1.05-.1 1.85.6.7.7.675 1.675-.025.975-.625 1.725-1.75 1.95-2.75 4.35-1 2.4-1 5.05 0 6.05 4.25 10.3 4.25 4.25 10.3 4.25 6.05 0 10.3-4.25 4.25-4.25 4.25-10.3 0-2.65-.975-5.05T34.85 14.4q-.6-.8-.6-1.775 0-.975.7-1.625.8-.75 1.875-.6 1.075.15 1.825 1 2.25 2.55 3.45 5.75 1.2 3.2 1.2 6.65 0 4-1.525 7.5t-4.15 6.125Q35 40.05 31.5 41.55t-7.5 1.5Z",fill:"currentColor"})});b.displayName="SvgLogout";let v=()=>(0,o.jsx)("svg",{color:"currentColor",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M24 23q-3.3 0-5.65-2.35Q16 18.3 16 15q0-3.3 2.35-5.65Q20.7 7 24 7q3.3 0 5.65 2.35Q32 11.7 32 15q0 3.3-2.35 5.65Q27.3 23 24 23Zm-16 18v-4.7q0-1.9.95-3.25t2.55-2.05q3.65-1.65 6.975-2.325Q21.8 28 24 28q2.2 0 5.55.675Q32.9 29.35 36.5 31q1.6.7 2.55 2.05.95 1.35.95 3.25V41Z",fill:"currentColor"})});v.displayName="SvgPerson";let y=()=>(0,o.jsx)("svg",{color:"currentColor",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"m19.4 44-1-6.3q-.95-.35-2-.95t-1.85-1.25l-5.9 2.7L4 30l5.4-3.95q-.1-.45-.125-1.025Q9.25 24.45 9.25 24q0-.45.025-1.025T9.4 21.95L4 18l4.65-8.2 5.9 2.7q.8-.65 1.85-1.25t2-.9l1-6.35h9.2l1 6.3q.95.35 2.025.925Q32.7 11.8 33.45 12.5l5.9-2.7L44 18l-5.4 3.85q.1.5.125 1.075.025.575.025 1.075t-.025 1.05q-.025.55-.125 1.05L44 30l-4.65 8.2-5.9-2.7q-.8.65-1.825 1.275-1.025.625-2.025.925l-1 6.3ZM24 30.5q2.7 0 4.6-1.9 1.9-1.9 1.9-4.6 0-2.7-1.9-4.6-1.9-1.9-4.6-1.9-2.7 0-4.6 1.9-1.9 1.9-1.9 4.6 0 2.7 1.9 4.6 1.9 1.9 4.6 1.9Z",fill:"currentColor"})});y.displayName="SvgSettings";let x=()=>(0,o.jsxs)("svg",{color:"currentColor",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("rect",{x:"4",y:"11",width:"40",height:"3.5",rx:"1.75",fill:"currentColor"}),(0,o.jsx)("circle",{cx:"34",cy:"12.75",r:"6",fill:"currentColor"}),(0,o.jsx)("rect",{x:"4",y:"23",width:"40",height:"3.5",rx:"1.75",fill:"currentColor"}),(0,o.jsx)("circle",{cx:"16",cy:"24.75",r:"6",fill:"currentColor"}),(0,o.jsx)("rect",{x:"4",y:"35",width:"40",height:"3.5",rx:"1.75",fill:"currentColor"}),(0,o.jsx)("circle",{cx:"28",cy:"36.75",r:"6",fill:"currentColor"})]});x.displayName="SvgSliders";let w=()=>(0,o.jsx)("svg",{color:"currentColor",style:{height:"141%",left:0,position:"absolute",top:0,width:"141%"},viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M7 23C6.45 23 5.97933 22.8043 5.588 22.413C5.196 22.021 5 21.55 5 21V3C5 2.45 5.196 1.979 5.588 1.587C5.97933 1.19567 6.45 1 7 1H17C17.55 1 18.021 1.19567 18.413 1.587C18.8043 1.979 19 2.45 19 3V21C19 21.55 18.8043 22.021 18.413 22.413C18.021 22.8043 17.55 23 17 23H7ZM7 20V21H17V20H7ZM7 18H17V6H7V18ZM7 4H17V3H7V4Z",fill:"currentColor"})});w.displayName="SvgSmartphone";let j=()=>(0,o.jsx)("svg",{color:"currentColor",style:{height:"100%",left:0,position:"absolute",top:0,width:"100%"},viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M32.9105 13.2898C32.9295 13.5639 32.9295 13.8381 32.9295 14.1147C32.9295 22.5441 26.5124 32.2657 14.7785 32.2657V32.2607C11.3122 32.2657 7.918 31.2728 5 29.4008C5.50402 29.4614 6.01056 29.4917 6.51837 29.493C9.3909 29.4955 12.1813 28.5317 14.4412 26.7569C11.7114 26.7051 9.31764 24.9252 8.48139 22.3268C9.43764 22.5112 10.4229 22.4733 11.3615 22.2169C8.38539 21.6156 6.24426 19.0008 6.24426 15.964C6.24426 15.9362 6.24426 15.9097 6.24426 15.8832C7.13103 16.3771 8.12391 16.6512 9.13952 16.6815C6.33647 14.8082 5.47244 11.0792 7.16513 8.16374C10.404 12.1492 15.1827 14.572 20.3126 14.8284C19.7985 12.6128 20.5008 10.291 22.1581 8.73345C24.7275 6.3182 28.7685 6.44199 31.1837 9.01009C32.6124 8.7284 33.9817 8.20417 35.2348 7.4614C34.7586 8.93809 33.7619 10.1925 32.4305 10.9895C33.695 10.8405 34.9304 10.5019 36.0938 9.98529C35.2374 11.2687 34.1586 12.3866 32.9105 13.2898Z",fill:"currentColor"})});j.displayName="SvgTwitter";var A=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let k={arrow:a,arrowDropDown:l,calendar:u,car:d,clear:f,cross:p,facebook:h,house:m,language:g,logout:b,person:v,settings:y,sliders:x,smartphone:w,twitter:j,article:c},C={IconNotificationsActive:i},O=({icon:e})=>
1{if(!Object.keys(C).includes(e)){let t=k[e];return(0,o.jsx)(t,{})}let t=C[e];return(0,o.jsx)(s.A,{component:"span",style:{marginLeft:"-2px"},children:(0,o.jsx)(t,{size:"xs",useUpdatedSizes:!0,verticalAlign:"middle"})})},S=(0,r.forwardRef)((e,t)=>{var{bold:n=!1,iconSize:r="2xs",iconName:i,palette:a="brand",atoms:l,transparentIcon:c=!1}=e,u=A(e,["bold","iconSize","iconName","palette","atoms","transparentIcon"]);return(0,o.jsx)(s.A,Object.assign({atoms:Object.assign({color:a,display:"inlineBlock",flexShrink:0,height:r,position:"relative",width:r},l),style:{verticalAlign:"center"},component:"span",ref:t},u,{children:c?null:(0,o.jsx)(O,{icon:i})}))});S.displayName="Icon";let N=S},32225:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(37876),r=n(23687),i=n(93194),s=n(22516),a=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let l=({href:e,children:t,onClick:n,target:l,atoms:c,className:u,dataAttributes:d,isPii:f,isNotPii:p})=>{let h=null!=c?c:{},{color:m}=h,g=a(h,["color"]);return(0,o.jsx)(r.A,Object.assign({},d,{atoms:Object.assign(Object.assign({alignItems:"center",color:null!=m?m:"neutral90",display:"flex",paddingX:"m",paddingY:"m",width:"max"},s.Mu),g),className:(0,i.A)(s.j$.default,u),component:"a",href:e,onClick:e=>{n&&n({event:e,dataAttributes:d})},target:l,isNotPii:p,isPii:f,children:t}))};l.displayName="MenuItemLink";let c=l},32278:(e,t,n)=>{"use strict";n.d(t,{n_:()=>g,Ss:()=>v});var o=n(37876),r=n(56727),i=n(69466),s=n(56184),a=n(43020),l=n(96447),c=n(81610),u=n(14160);n(56314);let d=({branding:e,locale:t})=>{var n,r;let s,a=(0,c.t)()({desktop:" ",mobile:"\n",tablet:" "})||" ";return(t===i.ll.ES_US&&(s=null==(r=null==(n=e.issuingBank.translations)?void 0:n.footerDisplay)?void 0:r["es-US"]),s||(s=e.issuingBank.footerDisplay),s)?(0,o.jsxs)(u.A,{align:{desktop:"right",mobile:"left"},className:"_1fmfv490",color:"neutral70",variant:"detailMShort",children:[(0,i.sC)(t,"footer","All loans are made by"),(0,o.jsx)("br",{}),s.replace("<sep>",a),(0,o.jsx)("br",{}),(0,i.sC)(t,"footer","All loans subject to final credit approval.")]}):null};d.displayName="LoansBy";var f=n(84300);let p=e=>(null==e?void 0:e.pbuProgram.slug)==="upstart";var h=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let m=e=>{let t;var n,{config:i,locale:s}=e,c=h(e,["config","locale"]);let{branding:u}=(0,r.Im)(),m=(0,o.jsx)(f.p,{locale:s}),g=i;return u&&((0,a.fU)((null==(n=null==u?void 0:u.issuingBank)?void 0:n.slug)||"")&&(g=(0,a.lS)(s)),!p(u)&&(m=(0,o.jsx)(d,{branding:u,locale:s}),u.pbuProgram.assets.footerLogo&&(t=e=>(0,o.jsx)("img",Object.assign({},e,{alt:u.pbuProgram.siteName,src:u.pbuProgram.assets.footerLogo||void 0}))),"products"in g&&(g=Object.assign(Object.assign({},g),{products:Object.assign(Object.assign({},g.products),{links:g.products.links.reduce((e,t)=>{var n;return"applications"in t?[...e,t]:!1===u.pbuProgram.links.debtConsolidation&&(null==(n=t.meta)?void 0:n.id)===a.IZ.debtConsolidation?e:[...e,t]},[])})})))),(0,o.jsx)(l.R,Object.assign({},c,{locale:s,config:g,finePrint:m,BrandingLogo:t}))};m.displayName="FooterContainerBranded";let g=({locale:e=i.ll.EN,applicationInfo:t,cblProps:n={},onClick:a})=>{let{branding:l}=(0,r.Im)(),c=(0,s.m)({locale:e,applicationInfo:t,cblProps:n,enableCbl:p(l),onClick:a});return(0,o.jsx)(m,{locale:e,config:c})};g.displayName="FooterAuthenticatedBranded";var b=n(74232);let v=({locale:e=i.ll.EN,onClick:t})=>{let n=(0,b.j)({locale:e,onClick:t});return(0,o.jsx)(m,{locale:e,config:n})};v.displayName="FooterUnauthenticatedBranded",n(14232),n(49247),n(36197),n(2917),n(1911),n(9868);n(55222),n(96102);n(77584),n(60070),n(60253),n(99716)},33797:()=>{},36197:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});var o=n(37876),r=n(23687),i=n(77808),s=n(84274),a=n(78182);let l=({desktopMenu:e,withNotification:t,sentenceCase:n=!1})=>{var l;return(0,o.jsxs)(r.A,{atoms:{alignItems:"center",display:{mobile:"none",tablet:"flex"}},component:"ul",children:[null==(l=null==e?void 0:e.links)?void 0:l.map(e=>{if("href"in e&&void 0!==e.href){let{href:t,content:n,onClick:r,dataAttributes:a,isPii:l,isNotPii:c}=e;return(0,o.jsx)(s.pE,{content:(0,o.jsx)(i.A,{component:"h4",size:"s",children:n}),dataAttributes:a,href:t,isNotPii:c,isPii:l,onClick:r},`${t}-${n}`)}return e}),(null==e?void 0:e.dropdown)&&(0,o.jsx)(a.m,Object.assign({},e.dropdown,{withNotification:t,sentenceCase:n}))]})}},38987:()=>{},43020:(e,t,n)=>{"use strict";n.d(t,{YX:()=>r,IZ:()=>i,BM:()=>l,lS:()=>u,IX:()=>c,fU:()=>a,G8:()=>d});var o=n(69466);let r={helpCenter:"/helpcenter",contactUs:"/contact"},i={helpCenter:"helpCenter",contactUs:"contactUs",yourPrivacyChoices:"yourPrivacyChoices",debtConsolidation:"debtConsolidation",privacyPolicy:"privacyPolicy",stateLicenses:"stateLicenses"},s=["ffbkc","customersbank","ridgewoodbank","bankmobile","fin_wise","fnbo","tcfbank","kemba","applebank"],a=(e="")=>s.includes(e),l=e=>{let t=(0,o.Jo)(e,"footer");return{company:{title:t("Company"),links:[{href:"https://www.upstart.com/our-story",content:t("Our Story")},{href:"https://www.upstart.com/careers",content:t("Careers")},{href:"https://www.upstart.com/news",content:t("News")},{href:"https://swag.upstart.com/ ",content:t("Store")},{href:"https://www.upstart.com/i/affiliates",content:t("Affiliates")},{href:"https://ir.upstart.com/",content:t("Investor Relations")},{href:"https://www.upstart.com/learn/",content:t("Blog")}]},support:{title:t("Support"),links:[{href:r.helpCenter,meta:{id:i.helpCenter},content:t("Help Center")},{href:r.contactUs,meta:{id:i.contactUs},content:t("Contact Us")}]},legal:{title:t("Legal"),links:[{href:"/terms",content:t("Terms of Use")},{href:"/privacy_policy",content:t("Privacy Policy"),meta:{id:i.privacyPolicy}},{href:"/accessibility_statement",content:t("Accessibility")},{href:"/datarequest",meta:{id:i.yourPrivacyChoices},content:t("Your Privacy Choices")},{href:"/privacy_policy#your-privacy-rights",content:t("Data Collection and Use")}]}}},c=e=>{let t=(0,o.Jo)(e,"footer");return{products:{title:t("Products"),links:[{href:"/personal-loans",content:t("Personal Loans")},{href:"/wedding-loans",content:t("Wedding Loans")}
1,{href:"/home-improvement-loans",content:t("Home Improvement Loans")},{href:"/moving-loans",content:t("Moving Loans")},{href:"/medical-loans",content:t("Medical Loans")},{href:"/debt-consolidation-loans",meta:{id:i.debtConsolidation},content:t("Debt Consolidation")},{href:"/credit-card-consolidation",content:t("Credit Card Consolidation")},{href:"/relief-loans",content:t("Short-Term Relief")}]},company:{title:t("Company"),links:[{href:"/our-story",content:t("Our Story")},{href:"/i/leadership",content:t("Leadership")},{href:"/careers",content:t("Careers")},{href:"/news",content:t("News")},{href:"https://swag.upstart.com/",content:t("Store")},{href:"/affiliates",content:t("Affiliates")},{href:"https://ir.upstart.com/",content:t("Investor Relations")},{href:"/umi",content:t("Upstart Macro Index")}]},notableLinks:{title:t("Notable Links"),links:[{href:"/blog/how-to-build-credit",content:t("5 Ways to Build Credit Fast")},{href:"/blog/what-is-an-apr",content:t("What is an APR?")},{href:"/blog/how-to-calculate-debt-to-income-ratio",content:t("How to Calculate Your Debt-to-Income Ratio")},{href:"/blog/demystifying-credit-scores",content:t("What is a Credit Score")},{href:"/blog/how-to-consolidate-credit-card-debt",content:t("How to Consolidate Credit Card Debt in 6 Easy Steps")}]},toolsAndResources:{title:t("Tools And Resources"),links:[{href:"/learn",content:t("Learn")},{href:"/credit-score",content:t("Credit Score")},{href:"/loan-calculator",content:t("Loan Calculator")},{href:"/payment-calculator",content:t("Payment Calculator")},{href:"/interest-calculator",content:t("Interest Calculator")},{href:"/inflation-calculator",content:t("Inflation Calculator")},{href:r.helpCenter,meta:{id:i.helpCenter},content:t("Help Center")},{href:r.contactUs,meta:{id:i.contactUs},content:t("Contact Us")}]},legal:{title:t("Legal"),links:[{href:"/terms",content:t("Terms of Use")},{href:"/i/state-licenses",content:t("State Licenses")},{href:"/privacy_policy",content:t("Privacy Policy")},{href:"/accessibility_statement",content:t("Accessibility")},{href:"/datarequest",meta:{id:i.yourPrivacyChoices},content:t("Your Privacy Choices")},{href:"/privacy_policy#your-privacy-rights",content:t("Data Collection and Use")}]}}},u=e=>{let t=(0,o.Jo)(e,"footer");return{support:{title:t("Support"),links:[{href:r.helpCenter,meta:{id:i.helpCenter},content:t("Help Center")},{href:r.contactUs,meta:{id:i.contactUs},content:t("Contact Us")}]},legal:{title:t("Legal"),links:[{href:"/terms",content:t("Terms of Use")},{href:"/privacy_policy",content:t("Privacy Policy"),meta:{id:i.privacyPolicy}},{href:"/accessibility_statement",content:t("Accessibility")},{href:"/datarequest",meta:{id:i.yourPrivacyChoices},content:t("Your Privacy Choices")},{href:"/privacy_policy#your-privacy-rights",content:t("Data Collection and Use")}]}}},d={home:"/",docsAndNotices:"/legal-docs-and-notices",myAccount:"/my-account",personalInfo:"/profile/personal-info",preferences:"/preferences",notifications:"/notification-preferences",accountSettings:"/edit",logout:"/keycloak/global_logout"}},44741:()=>{},46603:(e,t,n)=>{"use strict";n.d(t,{yl:()=>F,d:()=>et,OI:()=>ea,nb:()=>J.nb,u:()=>G,ll:()=>X.ll,q4:()=>el.q});var o,r,i=n(37876),s=n(55222),a=n(81610),l=n(23687),c=n(93194),u=n(43020),d=n(14232),f=n(77072);function p(){let{innerWidth:e,innerHeight:t}=window;return{height:t,width:e}}(o=r||(r={})).up="up",o.down="down";let h=()=>{let[e,t]=(0,d.useState)(r.up),[n,o]=(0,d.useState)(window.scrollY);return(0,d.useEffect)(()=>{let e=window.scrollY,n=()=>{let n=window.scrollY;o(n),t(!(n>e)||e>0&&0===n||n>0&&0===e?r.up:r.down),e=n>0?n:0},i=(0,f.n)(()=>window.requestAnimationFrame(n),200);return window.addEventListener("scroll",i),()=>{window.removeEventListener("scroll",i),o(0),t(r.up)}},[]),{goingUp:e===r.up,scrollPosition:n}};var m=n(77523);n(89785);var g="_12p37or3",b={paddingX:{mobile:"s",tablet:"3xl"},backgroundColor:"baseBackground",borderBottom:"medium"};let v=({children:e,logo:t,mobileLogo:n,logoHref:o=u.G8.home,logoAriaLabel:r,isNotPii:s,isPii:v})=>{let{goingUp:y,scrollPosition:x}=h(),w=x<=58,j=(0,a.t)()({desktop:!0,mobile:!1,tablet:!1}),{width:A}=(()=>{let[e,t]=(0,d.useState)(p());return(0,d.useEffect)(()=>{let e=(0,f.n)(()=>{t(p())},200);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e})();return w||j||y?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(l.A,{atoms:b,className:(0,
1c.A)({_12p37or1:!0,_12p37or9:!w&&!j}),component:"nav",isNotPii:s,isPii:v,children:[(0,i.jsx)(l.A,{atoms:{flexShrink:0},children:(0,i.jsx)(m.H,{"aria-label":r,href:o,children:(0,i.jsx)(l.A,{atoms:{marginLeft:{mobile:"xs",tablet:"0"}},children:w&&A<=320||!w&&A<=380?(0,i.jsx)(n,{alt:r,className:"_12p37or7"}):(0,i.jsx)(t,{alt:r,className:(0,c.A)({_12p37or4:!0,_12p37or5:y&&!w})})})})}),(0,i.jsx)(l.A,{style:{float:"right"},children:e})]}),(0,i.jsx)(l.A,{className:g})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(l.A,{atoms:{display:"flex",justifyContent:"center"},className:"_12p37or2",component:"nav",children:[(0,i.jsx)(l.A,{}),(0,i.jsx)(l.A,{children:e})]}),(0,i.jsx)(l.A,{className:g})]})};v.displayName="NavContainer";var y=n(84274);let x=({desktopMenuItems:e,loginText:t,topLevelLoginDataAttributes:n,topLevelLoginOnClick:o})=>(0,i.jsxs)(l.A,{atoms:{alignItems:"center",display:{desktop:"flex",mobile:"none"}},component:"ul",children:[e&&e.map((e,t)=>(null==e?void 0:e.title)==="Borrow"?(0,i.jsx)(w,{cta:e.cta,dataAttributes:e.dataAttributes,menuSections:e.menuSections,onExpand:e.onExpand,title:e.title},t):(null==e?void 0:e.title)==="Resources"?(0,i.jsx)(j,{cta:e.cta,dataAttributes:e.dataAttributes,menuSections:e.menuSections,onExpand:e.onExpand,title:e.title},t):(null==e?void 0:e.title)==="About"?(0,i.jsx)(A,{cta:null==e?void 0:e.cta,dataAttributes:e.dataAttributes,menuSections:e.menuSections,onExpand:e.onExpand,title:e.title},e.title):(0,i.jsx)(y.pE,{content:e.content,dataAttributes:e.dataAttributes,href:e.href,isNotPii:e.isNotPii,isPii:e.isPii,onClick:e.onClick},t)),t&&(0,i.jsx)(y.pE,{content:t,fontColor:"brand",href:"/login",dataAttributes:n,onClick:o})]}),w=({title:e,menuSections:t,cta:n,onExpand:o,dataAttributes:r})=>(0,i.jsx)(y.L5,{dataAttributes:r,onExpand:o,trigger:t=>(0,i.jsx)(y.mG,{component:"div",content:e,triggerProps:t},"accordionNav-NavUnauthenticated-NavDesktop-NavDesktopBorrowDropdownMenu"),children:(0,i.jsxs)(y.H_,{actions:n?(0,i.jsx)(y.IJ,{content:n.content,dataAttributes:r,href:n.href,onClick:n.onClick,spacingTop:!0}):null,children:[(0,i.jsxs)(y.$F,{children:[(0,i.jsx)(y.A3,{menuSection:{links:t[0].links,title:t[0].title}}),(0,i.jsx)(y.A3,{menuSection:{links:t[1].links,title:t[1].title}})]}),(0,i.jsxs)(y.$F,{children:[t[2]&&(0,i.jsx)(y.A3,{menuSection:{links:t[2].links,title:t[2].title}}),t[3]&&(0,i.jsx)(y.A3,{menuSection:{links:t[3].links,title:t[3].title}}),t[4]&&(0,i.jsx)(y.A3,{menuSection:{links:t[4].links,title:t[4].title}})]})]})}),j=({title:e,menuSections:t,cta:n,onExpand:o,dataAttributes:r})=>(0,i.jsx)(y.L5,{dataAttributes:r,onExpand:o,trigger:t=>(0,i.jsx)(y.mG,{component:"div",content:e,triggerProps:t},"accordionNav-NavUnauthenticated-NavDesktop-NavDesktopResourcesDropdownMenu"),children:(0,i.jsx)(y.H_,{actions:n?(0,i.jsx)(y.IJ,{content:n.content,dataAttributes:n.dataAttributes,href:n.href,onClick:n.onClick,spacingTop:!0}):null,children:(0,i.jsx)(y.$F,{children:t.map(e=>(0,i.jsx)(y.A3,{menuSection:{links:e.links,title:e.title}},JSON.stringify(e.title)))})})}),A=({title:e,menuSections:t,cta:n,onExpand:o,dataAttributes:r})=>(0,i.jsx)(y.L5,{dataAttributes:r,onExpand:o,trigger:t=>(0,i.jsx)(y.mG,{component:"div",content:e,triggerProps:t},"accordionNav-NavUnauthenticated-NavDesktop-NavDesktopAboutDropdownMenu"),children:(0,i.jsx)(y.H_,{actions:n?(0,i.jsx)(y.IJ,{content:n.content,dataAttributes:n.dataAttributes,href:n.href,onClick:n.onClick,spacingTop:!0}):null,children:(0,i.jsx)(y.$F,{children:(0,i.jsx)(y.A3,{menuSection:{links:t[0].links,title:t[0].title}})})})});x.displayName="NavDesktop";var k=n(899),C=n(32225),O=n(65027),S=n(30120);n(61955),n(71976),n(49364),n(78977);var N={borderBottom:"light"};let E=({content:e,onClick:t=()=>{},atoms:n,className:o,children:r,dataAttributes:s,badgeContent:a,updateDropdownMenusState:u,dropdownMenus:f,isPii:p,isNotPii:h})=>{let[m,g]=(0,d.useState)(!1),{buttonId:b,panelId:v}=(()=>{let[e,t]=(0,d.useState)(void 0);return((0,d.useEffect)(()=>{t(Math.random().toString(36).substring(2))},[]),e)?{buttonId:`MenuItemList-button-${e}`,panelId:`MenuItemList-panel-${e}`}:{buttonId:void 0,panelId:void 0}})();return(0,d.useEffect)(()=>{let t=f[e];t&&g(t.showDropdown)},[JSON.stringify(f)]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(l.A,{atoms:Object.assign(Object.assign({alignItems:"center",color:"neutral90",display:"flex",padding:"m",width:"max"}
1,n),N),component:"button",className:(0,c.A)("p3cw3w2",o),isNotPii:h,isPii:p,onClick:n=>{u(e,m),t({dataAttributes:s,event:n})},"aria-haspopup":!0,"aria-expanded":m,"aria-controls":v,id:b,children:[(0,i.jsxs)(l.A,{component:"span",children:[e,a&&(0,i.jsx)(l.A,{atoms:{backgroundColor:"warningContainer",marginLeft:"s",marginRight:"xs",paddingX:"xs"},className:"p3cw3w6",component:"span",children:(0,i.jsx)(l.A,{component:"span",children:a})})]}),m?(0,i.jsx)(S.I,{className:"p3cw3w3",iconName:"arrow",iconSize:"s",palette:"brand"}):null,m?null:(0,i.jsx)(S.I,{className:"p3cw3w4",iconName:"arrow",iconSize:"s",palette:"brand"})]}),(0,i.jsx)(l.A,{id:v,role:"region","aria-labelledby":b,style:{display:m?void 0:"none"},children:(0,i.jsx)(l.A,{component:"ul",children:r})})]})};E.displayName="MenuItemList";var P=n(14160);n(92583);var L="kxo2v62";let _=({href:e,content:t,onClick:n,dataAttributes:o})=>(0,i.jsx)(l.A,{atoms:{width:"max"},component:"button",children:(0,i.jsx)(l.A,{atoms:{backgroundColor:"brand",padding:"m"},className:"kxo2v63",component:"a",href:e,onClick:e=>{n&&n({dataAttributes:o,event:e})},children:(0,i.jsx)(P.A,{bold:!0,className:"kxo2v64",color:"dangerousWhite",variant:"detailMShort",children:t})})});_.displayName="NavCTA";let I=({mobileMenuItems:e,showStickyMobileLoginButton:t,loginText:n,topLevelLoginOnClick:o,topLevelLoginDataAttributes:r})=>{let s=(0,a.t)()({desktop:!0,mobile:!1,tablet:!1}),c=null==e?void 0:e.sections,u=null==e?void 0:e.cta,d=null==e?void 0:e.rootMobileCTADataAttributes,f=null==e?void 0:e.rootMobileDropdownDataAttributes,p=null==e?void 0:e.onExpand,{goingUp:m,scrollPosition:g}=h(),b=e=>{o&&o({dataAttributes:r,event:e})};if(!(g<=58)&&!s){if(!m)return null;if(m)return(0,i.jsx)(l.A,{atoms:{alignItems:"center",display:{desktop:"none",mobile:"flex"}},component:"ul",children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(l.A,{atoms:{display:"flex",marginRight:"xs"},component:"li",children:[t&&(0,i.jsx)(k.A,{palette:"brand",size:"small",variant:"outlined",onClick:b,href:"/login",className:L,children:n}),u&&!t&&(0,i.jsx)(_,{content:u.content,dataAttributes:null==e?void 0:e.stickyCTADataAttributes,href:u.href,onClick:u.onClick})]}),c&&(0,i.jsx)(M,{menuItems:c,rootDropdownDataAttributes:f,rootDropdownOnExpand:p})]})})}return(0,i.jsxs)(l.A,{atoms:{alignItems:"center",display:{desktop:"none",mobile:"flex"}},component:"ul",children:[(0,i.jsx)(l.A,{atoms:{display:"flex",marginRight:"xs"},component:"li",children:t&&(0,i.jsx)(k.A,{palette:"brand",size:"small",variant:"outlined",onClick:b,href:"/login",className:L,children:n})}),c&&(0,i.jsx)(M,{menuItems:c,rootCtaDataAttributes:d,rootDropdownDataAttributes:f,rootDropdownOnExpand:p,rootMenuCta:u})]})},M=({menuItems:e,rootCtaDataAttributes:t,rootDropdownDataAttributes:n,rootDropdownOnExpand:o,rootMenuCta:r})=>{let[s,a]=(0,d.useState)(T(e)),c=(e,t)=>{let n=s[e];t||Object.keys(s).forEach(t=>{let o=s[t];o&&!0===o.showDropdown&&t!==e&&n&&("root"===n.parent||n.parent!==t)&&(o.showDropdown=!1,s[t]=o)});let o=s[e];o&&(o.showDropdown=!t),a(Object.assign({},s))};return(0,i.jsx)(y.L5,{atoms:{marginRight:"xs",paddingY:"s"},dataAttributes:n,onExpand:o,scrollLock:!0,trigger:y.Nl,children:(0,i.jsxs)(l.A,{component:"ul",className:"kxo2v60",style:{height:"calc(100vh - 58px)"},children:[e&&e.map((t,n)=>(0,i.jsx)(R,{dropdownMenus:s,item:t,lastItem:n===e.length-2,updateDropdownMenusState:c},`mobile-nav-menu-item-${n}`)),r&&(0,i.jsx)(D,{cta:r,dataAttributes:t})]})})},T=(e,t="root")=>{let n={};return e.forEach(e=>{if("isDropdown"in e&&e.isDropdown){let o=e.title?e.title:e.content;"string"==typeof o&&(n[o]={parent:t,showDropdown:!1},e.subMenu&&(n=Object.assign(Object.assign({},n),T(e.subMenu,o))))}}),n},R=({item:e,lastItem:t=!1,dropdownMenus:n,updateDropdownMenusState:o})=>(0,i.jsxs)(l.A,{component:"li",children:["isDropdown"in e&&(0,i.jsx)(E,{atoms:{fontFamily:"heading"},badgeContent:e.badgeContent,content:"title"in e&&"string"==typeof e.title?e.title:e.content,dataAttributes:e.dataAttributes,dropdownMenus:n,isNotPii:e.isNotPii,isPii:e.isPii,onClick:e.onExpand,updateDropdownMenusState:o,children:(0,i.jsxs)(i.Fragment,{children:[e.subMenu&&e.subMenu.map((t,r)=>(0,i.jsx)(R,{dropdownMenus:n,item:t,updateDropdownMenusState:o},`mobile-nav-${e.title||e.content}-menu-item-${r}`)),e.links&&(0,i.jsx)(B,{links:e.links})]})}),!("isDropdown"in e)&&(0,i.jsx)(C.A,{atoms:{color:e.color,fontFamily:"heading"}
1,className:(0,c.A)({kxo2v66:t}),dataAttributes:e.dataAttributes,href:e.href,isNotPii:e.isNotPii,isPii:e.isPii,onClick:e.onClick,children:e.content})]}),D=({cta:e,dataAttributes:t})=>(0,i.jsx)(l.A,{atoms:{paddingX:"m",paddingY:"s"},component:"li",children:(0,i.jsx)(O.A,{content:e.content,dataAttributes:t,href:e.href||"/funding-form",isNotPii:e.isNotPii,isPii:e.isPii,onClick:e.onClick,uppercase:!1},"mobile-nav-cta")}),B=({links:e})=>e.map(e=>(0,i.jsx)(l.A,{component:"li",children:(0,i.jsx)(C.A,{atoms:{color:e.color,fontFamily:"heading"},dataAttributes:e.dataAttributes,href:e.href,isNotPii:e.isNotPii,isPii:e.isPii,onClick:e.onClick,children:e.content})},`mobile-nav-${e.href}-menu-item-link`));I.displayName="NavMobile";var U=n(4208);function H(e,t=!1){return t?Object.assign(Object.assign({},e),{content:(0,i.jsx)(P.A,{atoms:{display:"flex"},className:U.Z,color:"dangerousBlack",children:e.content})}):Object.assign({},e)}function q(e){return Object.assign({},e)}var z=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let F=e=>{var{loginText:t,navigationSchema:n,topLevelLoginDataAttributes:o,topLevelLoginOnClick:r,showStickyMobileLoginButton:a}=e,l=z(e,["loginText","navigationSchema","topLevelLoginDataAttributes","topLevelLoginOnClick","showStickyMobileLoginButton"]);let{desktopMenuItems:c,mobileMenuItems:u}=(0,d.useMemo)(()=>n?function(e){let{borrowDropdown:t,aboutDropdown:n,resourcesDropdown:o,onExpand:r,cta:i}=e;return{desktopMenuItems:[function(e,t){let{title:n,personalLoansSection:o,consolidationSection:r,helocSection:i,reliefLoansSection:s,cashLineSection:a,cta:l,dataAttributes:c}=e,u=[{links:[q(Object.assign({href:"/personal-loans"},o.links.personalLoans)),q(Object.assign({href:"/wedding-loans"},o.links.weddingLoans)),q(Object.assign({href:"/home-improvement-loans"},o.links.homeImprovement)),q(Object.assign({href:"/moving-loans"},o.links.movingLoans)),q(Object.assign({href:"/medical-loans"},o.links.medicalLoans)),...o.links.reliefLoans?[q(Object.assign({href:"/relief-loans"},o.links.reliefLoans))]:[]],title:o.content},{links:[q(Object.assign({href:"/debt-consolidation-loans"},r.links.debtConsolidation)),q(Object.assign({href:"/credit-card-consolidation"},r.links.creditCardConsolidation))],title:r.content}];return i&&u.push({links:[q(Object.assign({href:"https://www.upstartmortgage.com"},i.links.homeEquityLineOfCredit))],title:i.content}),s&&u.push({links:[q(Object.assign({href:"/relief-loans"},s.links.reliefLoans))],title:s.content}),a&&u.push({links:[q(Object.assign({href:"/get-cash-line"},a.links.cashLine))],title:a.content}),{cta:l,dataAttributes:c,menuSections:u,onExpand:t,title:n}}(Object.assign({cta:i},t),r),q(Object.assign({href:"/lenders"},e.lenders)),q(Object.assign({href:"/dealers"},e.dealers)),function(e,t){let{title:n,aboutSection:o,dataAttributes:r}=e;return{dataAttributes:r,menuSections:[{links:[q(Object.assign({href:"/our-story "},o.links.ourStory)),q(Object.assign({href:"/i/leadership"},o.links.leadership)),q(Object.assign({href:"/news"},o.links.news)),q(Object.assign({href:"https://ir.upstart.com"},o.links.investorRelations)),q(Object.assign({href:"/careers"},o.links.careers)),q(Object.assign({href:"/umi"},o.links.umi))],title:o.content}],onExpand:t,title:n}}(n,r),function(e,t){let{title:n,toolsSection:o,educationSection:r,cta:i,dataAttributes:s,certificationsSection:a}=e;return{cta:i,dataAttributes:s,menuSections:[{links:[q(Object.assign({href:"/learn"},r.links.learn)),q(Object.assign({href:"/faq"},r.links.faq)),q(Object.assign({href:"/learn/borrower-stories"},r.links.borrowerStories)),q(Object.assign({href:"/credit-score"},r.links.creditScore))],title:r.content},{links:[q(Object.assign({href:"/personal-loan-calculator"},o.links.personalLoanCalculator)),q(Object.assign({href:"/payment-calculator"},o.links.paymentCalculator)),q(Object.assign({href:"/interest-calculator"},o.links.interestCalculator)),q(Object.assign({href:"/inflation-calculator"},o.links.inflationCalculator))],title:o.content},{links:[q(Object.assign({href:"https://www.upstart.com/ai-certification"},a.links.aiCert)),q(Object.assign({href:"https://www.whattheai.fm"},a.links.whatIsAiPodcast))],title:a.content}],onExpand:t,title:n}}(Object.assign({cta:i},o),r)],mobileMenuItems:function(e,t){let{borrowDropdown:n,lenders:o,dealers:r,aboutDropdown:i,resourcesDropdown:s,login:a,rootMobileDropdownDataAttributes:l,rootMobileCTADataAttributes:c,stickyCTADataAttributes:u,cta:d}=e,{consolidationSection:f,personalLoansSection:p,helocSection:h,reliefLoansSection:m,cashLineSection:g}=n,b=n.dataAttributes,{aboutSection:v}=i,y=i.dataAttributes,x=s.dataAttributes,{educationSection:w,toolsSection:j,certificationsSection:A}=s,{badgeContent:k}=s,C=[{dataAttributes:b,isDropdown:!0,links:[h&&H(Object.assign(Object.assign({},h.links.homeEquityLineOfCredit),{href:"https://www.upstartmortgage.com"})),m&&H(Object.assign({href:"/relief-loans"},m)),g&&H(Object.assign(Object.assign({}
1,g.links.cashLine),{href:"/get-cash-line"}))].filter(Boolean),onExpand:t,subMenu:[{content:p.content,dataAttributes:p.dataAttributes,isDropdown:!0,links:[H(Object.assign({href:"/personal-loans"},p.links.personalLoans),!0),H(Object.assign({href:"/wedding-loans"},p.links.weddingLoans),!0),H(Object.assign({href:"/home-improvement-loans"},p.links.homeImprovement),!0),H(Object.assign({href:"/moving-loans"},p.links.movingLoans),!0),H(Object.assign({href:"/medical-loans"},p.links.medicalLoans),!0)],onExpand:t},{content:f.content,dataAttributes:f.dataAttributes,isDropdown:!0,links:[H(Object.assign({href:"/debt-consolidation-loans"},f.links.debtConsolidation),!0),H(Object.assign({href:"/credit-card-consolidation"},f.links.creditCardConsolidation),!0)],onExpand:t}],title:n.title},Object.assign({},H(Object.assign({href:"/lenders"},o))),Object.assign({},H(Object.assign({href:"/dealers"},r))),{dataAttributes:y,isDropdown:!0,links:[H(Object.assign({href:"/our-story"},v.links.ourStory),!0),H(Object.assign({href:"/i/leadership"},v.links.leadership),!0),H(Object.assign({href:"/news"},v.links.news),!0),H(Object.assign({href:"https://ir.upstart.com"},v.links.investorRelations),!0),H(Object.assign({href:"/careers"},v.links.careers),!0),H(Object.assign({href:"/umi"},v.links.umi),!0)],onExpand:t,title:i.title},{badgeContent:k,dataAttributes:x,isDropdown:!0,links:[H(Object.assign({href:"/personal-loan-calculator"},j.links.personalLoanCalculator),!0),H(Object.assign({href:"/payment-calculator"},j.links.paymentCalculator),!0),H(Object.assign({href:"/interest-calculator"},j.links.interestCalculator),!0),H(Object.assign({href:"/inflation-calculator"},j.links.inflationCalculator),!0),H(Object.assign({href:"/learn"},w.links.learn),!0),H(Object.assign({href:"/faq"},w.links.faq),!0),H(Object.assign({href:"/learn/borrower-stories"},w.links.borrowerStories),!0),H(Object.assign({href:"/credit-score"},w.links.creditScore),!0),H(Object.assign({href:"https://www.upstart.com/ai-certification"},A.links.aiCert),!0),H(Object.assign({href:"https://www.whattheai.fm"},A.links.whatIsAiPodcast),!0)],onExpand:t,title:s.title},Object.assign({},H(Object.assign(Object.assign({},a),{content:a.content||"Log in",href:a.href||"/login"})))];return{cta:d,onExpand:t,rootMobileCTADataAttributes:c,rootMobileDropdownDataAttributes:l,sections:C,stickyCTADataAttributes:u}}(e,r)}}(n):{desktopMenuItems:void 0,mobileMenuItems:void 0},[n]);return(0,i.jsxs)(v,Object.assign({},l,{logo:s.tH,mobileLogo:s.cr,logoAriaLabel:s.IS,children:[(0,i.jsx)(I,{mobileMenuItems:u,showStickyMobileLoginButton:a,loginText:t,topLevelLoginOnClick:r,topLevelLoginDataAttributes:o}),(0,i.jsx)(x,{loginText:t,desktopMenuItems:c,topLevelLoginDataAttributes:o,topLevelLoginOnClick:r})]}))};F.displayName="AccordionNav";var V=n(96102),W=n(77584),Y=n(60070),Z=n(60253),$=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let G=e=>{var{logoHref:t,withStickyNav:n,isPii:o,isNotPii:r,navigationSchema:a,showProgressiveLogo:l=!1}=e,c=$(e,["logoHref","withStickyNav","isPii","isNotPii","navigationSchema","showProgressiveLogo"]);let{desktopMenuItems:u,mobileMenuItems:f}=(0,d.useMemo)(()=>a?(0,Z.J)(a):{desktopMenuItems:void 0,mobileMenuItems:void 0},[a]);return(0,i.jsxs)(V.v,{logoHref:t,logo:l?s.pZ:s.tH,isDoubleLogo:l,logoAriaLabel:l?`${s.UA} | ${s.IS}`:s.IS,withStickyNav:n,isNotPii:r,isPii:o,children:[(0,i.jsx)(Y.Y,Object.assign({},c,{withStickyNav:n,mobileMenuItems:f})),(0,i.jsx)(W.o,Object.assign({},c,{desktopMenuItems:u}))]})};G.displayName="NavUnauthenticated";var J=n(99716),X=n(69466),K=n(96447),Q=n(84300),ee=n(56184);let et=({locale:e=X.ll.EN,applicationInfo:t,cblProps:n={}})=>{let o=(0,ee.m)({locale:e,applicationInfo:t,cblProps:n,enableCbl:!0});return(0,i.jsx)(K.R,{locale:e,config:o,finePrint:(0,i.jsx)(Q.p,{locale:e})})};et.displayName="FooterAuthenticated",n(4602);var en=n(77808);let eo=({locale:e})=>(0,i.jsxs)(en.A,{color:"neutral90",component:"h4",size:"s",children:[(0,X.sC)(e,"footer","Borrower Support").toUpperCase(),":"," ",(0,i.jsx)(l.A,{atoms:{color:"brand"},component:"span",children:"1-855-438-8778"})]});eo.displayName="BorrowSupportNumber";let er=({locale:e})=>(0,i.jsx)(P.A,{variant:"detailMLong",children:(0,X.sC)(e,"footer","The information on this website does not constitute an offer to sell securities or a solicitation of an offer to buy securities. Further, none of the information contained on this website is a recommendation to invest in any securities. Currently, Upstart Network can sell the securities it issues only to accredited investors on a confidential basis at their request for consideration.")});er.displayName="UpstartFinePrintText";let ei=({locale:e})=>(0,i.jsxs)(l.A,{atoms:{paddingY:"xs"},children:[(0,i.jsx)(l.A,{atoms:{width:"max"},children:(0,i.jsx)(eo,{locale:e})}),(0,i.jsx)(l.A,{atoms:{width:"max",marginTop:"m"},children:(0,i.jsx)(Q.p,{locale:e})}),(0,i.jsx)(l.A,{atoms:{width:"max",marginTop:"m"},children:(0,i.jsx)(er,{locale:e})})]});ei.displayName="FinePrint";var es=n(74232);let ea=({locale:e=X.ll.EN,onClick:t})=>{let n=(0,es.j)({locale:e,onClick:t});return(0,i.jsx)(K.R,{locale:e,config:n,finePrint:(0,i.jsx)(ei,{locale:e})})};ea.displayName="FooterUnauthenticated";var el=n(49247)},49247:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var o=n(14232);let r=({development:e,ephemeral:t,preview:n,staging:r}={})=>{let[i,s]=(0,o.useState)(!0);return(0,o.useEffect)(()=>
1{if(/localhost/.test(window.location.hostname)){e&&s(e({environment:"development",hostname:window.location.hostname}));return}if(/ephemeral/.test(window.location.hostname)){t&&s(t({environment:"ephemeral",hostname:window.location.hostname}));return}if(/staging/.test(window.location.hostname)){r&&s(r({environment:"staging",hostname:window.location.hostname}));return}if(!/upstart.com/.test(window.location.hostname)){n&&s(n({environment:"preview",hostname:window.location.hostname}));return}let o=window.location.hostname.split(".");o.length>2&&"www"!==o[0]?s(!1):s(!0)},[]),i}},49364:()=>{},50086:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(14232);let r=(0,n(14138).A)({Component:({title:e,titleId:t,...n})=>o.createElement("svg",{viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?o.createElement("title",{id:t},e):null,o.createElement("path",{d:"M19.5 12.5a7.5 7.5 0 1 1-15 0 7.5 7.5 0 0 1 15 0Z",fill:"currentColor"})),displayName:"IconDot"})},51887:()=>{},55222:(e,t,n)=>{"use strict";n.d(t,{Z2:()=>l,je:()=>u,ck:()=>f,pZ:()=>O,cr:()=>m,tH:()=>w,UA:()=>k,IS:()=>x});var o=n(37876),r=n(69466);let i=e=>"string"==typeof e?e:null!==e&&"object"==typeof e&&"src"in e&&"string"==typeof e.src?e.src:void 0;var s=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let a=i({src:"/static-tofu/_next/static/media/equalHousingIcon.249d52af.png",height:96,width:92,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAIVBMVEWIkZGLlZWLlJSImZmKk5OMlZWKk5OKlJSKk5OLkJCLlJRf4T0oAAAAC3RSTlM3gd0CY8y4+U8aoVN0ClsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA2SURBVHicHcpBDgAxCMNAB8JC+/8HV+zcLJlMIsgk1VJr0zOOoEw3LuR9LFS6VyXmWzUcfucBHPYA3nGyVHcAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8}),l=e=>{var{locale:t}=e,n=s(e,["locale"]);return(0,o.jsx)("img",Object.assign({src:a,alt:(0,r.sC)(t,"footer","Equal Housing Opportunity"),style:{width:50}},n))},c=i({src:"/static-tofu/_next/static/media/ccpa-opt-out.783b3784.svg",height:14,width:30,blurWidth:0,blurHeight:0}),u=e=>(0,o.jsx)("img",Object.assign({alt:"California Consumer Privacy Act (CCPA) Opt-Out Icon",src:c},e)),d=i({src:"/static-tofu/_next/static/media/powered_by_upstart.8bd68a0c.png",height:54,width:162,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAIVBMVEUxNzcyMTEzMzNwfX1zi4sCr6qBbW0zLy90f39ueXlBKSnA9+DBAAAAC3RSTlM7VUZRC3M/ZzBYKwHurooAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAhSURBVHicBcGJAQAwCAKxA9Q++w9swrzkpor+xsY0R5ZYBW0AUUzicosAAAAASUVORK5CYII=",blurWidth:8,blurHeight:3}),f=e=>(0,o.jsx)("img",Object.assign({},e,{alt:"Powered By Upstart",src:d}));var p=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let h=i({src:"/static-tofu/_next/static/media/upstartChevron.833c7086.svg",height:81,width:100,blurWidth:0,blurHeight:0}),m=e=>{var{alt:t}=e,n=p(e,["alt"]);return(0,o.jsx)("img",Object.assign({alt:t||"Upstart",src:h},n))};var g=n(23687),b=n(27492),v=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let y=i({src:"/static-tofu/_next/static/media/upstart.4702a090.svg",height:65,width:353,blurWidth:0,blurHeight:0}),x="Upstart",w=e=>{var{alt:t}=e,n=v(e,["alt"]);return(0,o.jsx)("img",Object.assign({alt:t||x,src:y},n))};var j=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let A=i({src:"/static-tofu/_next/static/media/progressiveLogo.224cabc9.svg",height:115,width:964,blurWidth:0,blurHeight:0}),k="PROGRESSIVE",C=e=>{var{alt:t}=e,n=j(e,["alt"]);return(0,o.jsx)("img",Object.assign({alt:t||k,src:A},n))},O=e=>{var{className:t,style:n}=e,r=j(e,["className","style"]);return(0,o.jsxs)(g.A,{atoms:{display:"flex",justifyContent:"flexStart",alignItems:"center",flexWrap:"nowrap"},children:[(0,o.jsx)(C,Object.assign({style:Object.assign(Object.assign({},n),{paddingRight:3})},r)),(0,o.jsx)(g.A,Object.assign({style:{height:20,flexGrow:1,flexShrink:0,paddingRight:3}},r,{children:(0,o.jsx)(b.A,{vertical:!0})})),(0,o.jsx)(w,Object.assign({style:n},r))]})}},56184:(e,t,n)=>{"use strict";n.d(t,{m:()=>l});var o=n(14232),r=n(43020),i=n(69466),s=n(4602);let a=({application:e,locale:t,baseHref:n})=>{let o,r=n;switch(e.productType){case"personal_loan":case"small_dollar_loan":o=(0,i.sC)(t,"footer","Personal loan");break;case"auto_refinance":o=(0,i.sC)(t,"footer","Car refinance loan");break;case"auto_indirect_purchase":o=(0,i.sC)(t,"footer","Auto loan");break;case"business_loan":o=(0,i.sC)(t,"footer","Small business loan");break;default:o=e.productType}return o=e.loanId?`${o} #${e.loanId}`:`${o} ${(0,i.sC)(t,"footer","request")}`,e&&(r=`${r}?application_uuid=${encodeURIComponent(e.applicationUuid)}`,e.pbuProgramId&&(r=`${r}&pbu_program_id=${encodeURIComponent(e.pbuProgramId)}`)),{productDescription:o,href:r}},l=({locale:e,applicationInfo:t,cblProps:n,enableCbl:l,onClick:c})=>{let u=(({initialData:e,disableRefetch:t=!1,locale:n,enabled:l})=>{let[c,u]=(0,o.useState)(e);return(0,o.useEffect)(()=>{var e,n,o,r;if(!l||t&&c)return;let i=new AbortController;return e=void 0,n=void 0,o=void 0,r=function*(){let e=yield(0,s.V)({isClientSide:!0,config:{signal:i.signal}});e&&u(e)},new(o||(o=Promise))(function(t,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function a(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var n;e.done?t(e.value):((n=e.value)instanceof o?n:new o(function(e){e(n)})).then(s,a)}l((r=r.apply(e,n||[])).next())}),()=>{i.abort()}},[t,l]),(0,o.useMemo)(()=>
1{if(!l||!c)return;let e=(0,i.Jo)(n,"footer");return{contactUs:{baseHref:r.YX.contactUs,content:e("Contact Us"),modalSubTitle:e("How can we help you?"),modalTitle:e("Contact Us"),applications:c.contactUsApplications.map(e=>Object.assign(Object.assign({},e),a({application:e,locale:n,baseHref:r.YX.contactUs})))},helpCenter:{baseHref:r.YX.helpCenter,content:e("Help Center"),modalSubTitle:e("How can we help you?"),modalTitle:e("Help Center"),applications:c.helpCenterApplications.map(e=>Object.assign(Object.assign({},e),a({application:e,locale:n,baseHref:r.YX.helpCenter})))}}},[l,c,n])})(Object.assign(Object.assign({},n),{locale:e,enabled:l}));return(0,o.useMemo)(()=>{let n=(0,r.BM)(e);return((null==t?void 0:t.applicationUuid)||(null==t?void 0:t.issuingBankId))&&(null==t?void 0:t.currentSlug)&&"upstart"!==t.currentSlug&&(n.legal.links=n.legal.links.map(e=>{var n;if((null==(n=e.meta)?void 0:n.id)===r.IZ.privacyPolicy){if(null==t?void 0:t.issuingBankId)return Object.assign(Object.assign({},e),{href:`${e.href}?issuing_bank_id=${t.issuingBankId}`});if(null==t?void 0:t.applicationUuid)return Object.assign(Object.assign({},e),{href:`${e.href}?application_uuid=${t.issuingBankId}`})}return e})),u&&(n.support.links=n.support.links.map(e=>{var t,n;return(null==(t=e.meta)?void 0:t.id)===r.IZ.contactUs?u.contactUs:(null==(n=e.meta)?void 0:n.id)===r.IZ.helpCenter?u.helpCenter:e})),c&&Object.entries(n).forEach(([e,t])=>{n[e]=Object.assign(Object.assign({},t),{links:t.links.map(e=>"string"!=typeof e.href?e:Object.assign(Object.assign({},e),{onClick:t=>{c(t,e)}}))})}),n},[e,null==t?void 0:t.applicationUuid,null==t?void 0:t.currentSlug,null==t?void 0:t.issuingBankId,u,c])}},56314:()=>{},56563:()=>{},60070:(e,t,n)=>{"use strict";n.d(t,{Y:()=>f});var o=n(14232),r=n(37876),i=n(23687),s=n(77808),a=n(77072),l=n(84274),c=n(8448),u=n(74257),d=n(4322);let f=({mobileMenuItems:e,withStickyMobileCTA:t,withStickyNav:n,loginText:c,hasTopLevelMobileLoginLink:f,topLevelLoginDataAttributes:h,topLevelLoginOnClick:m})=>{let[g,b]=(0,o.useState)(!1),{y:v}=(e=>{let[t,n]=(0,o.useState)({x:0,y:0});return(0,o.useEffect)(()=>{let t=()=>{n(e=>{let{scrollX:t,scrollY:n}=window;return e.x!==t||e.y!==n?{x:t,y:n}:e})},o=(0,a.n)(t,e);return t(),window.addEventListener("scroll",o,{capture:!1,passive:!0}),()=>{window.removeEventListener("scroll",o)}},[]),t})(250);(0,o.useEffect)(()=>{t&&n&&b(v>=u.$L)},[v,t,n]);let y=(null==e?void 0:e.sections)||c&&!f&&(0,d.p)(c),x=null==e?void 0:e.cta;return(0,r.jsx)(i.A,{atoms:{alignItems:"center",display:{desktop:"none",mobile:"flex"}},component:"ul",children:g&&x?(0,r.jsx)(l.IJ,Object.assign({},x)):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.A,{atoms:{alignItems:"center",display:"flex",marginRight:"s"},component:"li",children:f&&c&&(0,r.jsx)(l.pE,{component:"span",content:(0,r.jsx)(s.A,{color:"brand",component:"h4",size:"s",style:{textTransform:"none"},children:c}),dataAttributes:h,fontColor:"brand",href:"/login",onClick:m})}),y&&(0,r.jsx)(p,{menuItems:y})]})})};f.displayName="NavMobile";let p=({menuItems:e})=>{var t,n;let[s,a]=(0,o.useState)(e.root),u=(0,o.useRef)(null),d=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{a(e.root)},[e.root]),(0,o.useEffect)(()=>{var e;s&&d.current&&(null==(e=(0,c.jt)(u.current)[0])||e.focus())},[s,d]),(0,r.jsx)(l.L5,{atoms:{paddingY:"s"},dataAttributes:(null==(t=null==e?void 0:e.root)?void 0:t.dataAttributes)?e.root.dataAttributes:void 0,onExpand:(null==(n=null==e?void 0:e.root)?void 0:n.onExpand)?e.root.onExpand:void 0,scrollLock:!0,trigger:e=>(d.current=e.open,(0,r.jsx)(l.Nl,Object.assign({},e),"NavUnauthenticated-NavMobile-Menu")),children:(0,r.jsxs)(i.A,{component:"ul",ref:u,children:[(null==s?void 0:s.prev)&&(0,r.jsx)(l.TV,{atoms:{fontFamily:"heading"},expanded:!0,content:null==s?void 0:s.prev.content,isNotPii:null==s?void 0:s.prev.isNotPii,isPii:null==s?void 0:s.prev.isPii,navigation:"back",onClick:()=>{(({prev:t})=>{t&&a(e[t.key])})(s)}},"mobile-nav-back"),null==s?void 0:s.links.map(t=>"href"in t?(0,r.jsx)(i.A,{component:"li",children:(0,r.jsx)(l.JY,{atoms:{color:t.color,fontFamily:"heading"},dataAttributes:t.dataAttributes,href:t.href,isNotPii:t.isNotPii,isPii:t.isPii,onClick:t.onClick,children:t.content})},`mobile-nav-link-${t.href}`):(0,r.jsx)(l.TV,{atoms:{fontFamily:"heading"},content:t.content,isNotPii:t.isNotPii,isPii:t.isPii,navigation:t.next?"next":void 0,onClick:n=>(({next:t},n)=>{if(!t)return;let o=e[t],{onExpand:r,dataAttributes:i}=o;r&&r({dataAttributes:i,event:n}),a(o)})(t,n)},`mobile-nav-list-item-${t.next}`)),(null==s?void 0:s.cta)&&(0,r.jsx)(i.A,{atoms:{paddingX:"m",paddingY:"s"},component:"li",children:(0,o.createElement)(l.IJ,Object.assign({},null==s?void 0:s.cta,{href:(null==s?void 0:s.cta.href)||"/funding-form",key:"mobile-nav-cta",spacingTop:!0}))})]})})}},60253:(e,t,n)=>{"use strict";n.d(t,{J:()=>
1o.J});var o=n(4322)},63927:(e,t,n)=>{"use strict";n.d(t,{h:()=>a});var o=n(37876),r=n(23687);n(61955),n(71976),n(49364),n(76788);var i=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let s=e=>{var{atoms:t,transparent:n=!1,zIndex:s}=e,a=i(e,["atoms","transparent","zIndex"]);return(0,o.jsx)(r.A,Object.assign({atoms:t,className:"mec6vg0",style:{zIndex:s}},a,{children:(0,o.jsx)(r.A,{style:n?{backgroundColor:"transparent"}:{},atoms:n?{}:{backgroundColor:"neutral90"},className:"mec6vg1 mec6vg0"})}))};s.displayName="Overlay";let a=s},65027:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(37876),r=n(23687),i=n(12456),s=n(93194),a=n(93695);let l=({href:e,content:t,onClick:n,dataAttributes:l,isPii:c,isNotPii:u,uppercase:d=!0,spacingTop:f=!1})=>(0,o.jsx)(r.A,{atoms:{marginTop:f?"xl":void 0,width:"max"},children:(0,o.jsx)(r.A,{className:a.zB,children:(0,o.jsx)(i.$n.Link,{fullWidth:!0,isNotPii:u,isPii:c,onClick:e=>{n&&n({dataAttributes:l,event:e})},href:e,className:a.PT,children:(0,o.jsx)("span",{className:(0,s.A)({[a.EU]:d}),children:t})})})});l.displayName="NavCTA";let c=l},67142:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=n(14232),r=n(50600),i=n(15125),s=n(83027),a=n(65891),l=n(23687);n(38987);let c=o.forwardRef(({children:e,component:t,fullWidth:n=!0,fullHeight:r=!1,boxShadow:i="default",border:s="none",backgroundColor:a="baseBackground",padding:c="m",className:u,...d},f)=>{let p,h={};"string"==typeof c||"number"==typeof c||"mobile"in c||"tablet"in c||"desktop"in c?p=c:("paddingX"in c||"paddingY"in c)&&(h=c);let{style:m,...g}=d;return o.createElement(l.A,{component:t||"div",ref:f,atoms:{width:n?"max":"auto",height:r?"max":"auto",border:s,backgroundColor:a,padding:p,paddingX:h.paddingX,paddingY:h.paddingY},className:["default"===i?"_1nf6apj0":void 0,u],style:{borderRadius:"8px",...m},...g},e)});s.IJ&&(c.displayName="BaseCard"),n(61955),n(71976),n(33797);let u=o.forwardRef(({component:e,fullWidth:t=!0,fullHeight:n=!1,padding:r="m",children:s,disabled:l,className:u,truncate:d,isPii:f,isNotPii:p,...h},m)=>{let g=e||"a";return l&&("a"===g?Object.assign(h,{"aria-disabled":!0,role:"link"}):"button"===g&&Object.assign(h,{disabled:!0})),o.createElement(a.A,{component:g,ref:m,disabled:l,atoms:{width:t?"max":"auto",height:n?"max":"auto"},...h},o.createElement(c,{...{fullHeight:n,fullWidth:t,padding:r,isNotPii:p,isPii:f},component:"div",className:(0,i.A)("r008fg1",l&&"r008fg0",u),border:"transparent"},s))});s.IJ&&(u.displayName="ActionCard");let d=Object.assign(c,{Action:(0,o.forwardRef)((e,t)=>((0,r.A)("The property access method for `Card.Action` has been deprecated. Please import the component directly instead:\n `import { ActionCard } from '@upstart/patina-design-system'`","https://patina.upst.dev/?path=/docs/deprecations-component-property-access--docs"),o.createElement(u,{...e,ref:t})))})},69466:(e,t,n)=>{"use strict";n.d(t,{ll:()=>i,sC:()=>h,Jo:()=>m});let o=JSON.parse('{"Company":"Company","Our Story":"Our Story","Leadership":"Leadership","Careers":"Careers","News":"News","Store":"Store","Affiliates":"Affiliates","Investor Relations":"Investor Relations","Blog":"Blog","Upstart Macro Index":"Upstart Macro Index","Support":"Support","Help Center":"Help Center","Contact Us":"Contact Us","Legal":"Legal","Terms of Use":"Terms of Use","State Licenses":"State Licenses","Privacy Policy":"Privacy Policy","Accessibility":"Accessibility","Your Privacy Choices":"Your Privacy Choices","Data Collection and Use":"Data Collection and Use","Products":"Products","Personal Loans":"Personal Loans","Wedding Loans":"Wedding Loans","Home Improvement Loans":"Home Improvement Loans","Moving Loans":"Moving Loans","Medical Loans":"Medical Loans","Debt Consolidation":"Debt Consolidation","Credit Card Consolidation":"Credit Card Consolidation","Short-Term Relief":"Short-Term Relief","Notable Links":"Notable Links","5 Ways to Build Credit Fast":"5 Ways to Build Credit Fast","What is an APR?":"What is an APR?","How to Calculate Your Debt-to-Income Ratio":"How to Calculate Your Debt-to-Income Ratio","What is a Credit Score":"What is a Credit Score","How to Consolidate Credit Card Debt in 6 Easy Steps":"How to Consolidate Credit Card Debt in 6 Easy Steps","Tools And Resources":"Tools And Resources","Learn":"Learn","Credit Score":"Credit Score","Loan Calculator":"Loan Calculator","Payment Calculator":"Payment Calculator","Interest Calculator":"Interest Calculator","Inflation Calculator":"Inflation Calculator","NMLS Consumer Access":"NMLS Consumer Access","All mortgage lending conducted by Upstart Mortgage, LLC. NMLS No. 2443873":"All mortgage lending conducted by Upstart Mortgage, LLC. NMLS No. 2443873","Equal Housing Opportunity":"Equal Housing Opportunity","Borrower Support":"Borrower Support","Visit Upstart on Facebook":"Visit Upstart on Facebook","Follow Upstart on X":"Follow Upstart on X","California Consumer Privacy Act (CCPA) Opt-Out Icon":"California Consumer Privacy Act (CCPA) Opt-Out Icon","Copyright \xa9 2012 - {{thisYear}} Upstart Network, Inc. All rights reserved. 2950 S. Delaware Street, San Mateo, CA 94403":"Copyright \xa9 2012 - {{thisYear}} Upstart Network, Inc. All rights reserved. 2950 S. Delaware Street, San Mateo, CA 94403","Copyright \xa9 2012 - {{thisYear}} Upstart Network, Inc. All rights reserved. 220 Park Rd, Suite 500, Burlingame, CA 94010":"Copyright \xa9 2012 - {{thisYear}} Upstart Network, Inc. All rights reserved. 220 Park Rd, Suite 500, Burlingame, CA 94010","How can we help you?":"How can we help you?","request":"request","Personal loan":"Personal loan","Car refinance loan":"Car refinance loan","Auto loan":"Auto loan","Small business loan":"Small business loan","All loans are made by":"All loans are made by","All loans subject to final credit approval.":"All loans subject to final credit approval.","The information on this website does not constitute an offer to sell securities or a solicitation of an offer to buy securities. Further, none of the information contained on this website is a recommendation to invest in any securities. Currently, Upstart Network can sell the securities it issues only to accredited investors on a confidential basis at their request for consideration.":"The information on this website does not constitute an offer to sell securities or a solicitation of an offer to buy securities. Further, none of the information contained on this website is a recommendation to invest in any securities. Currently, Upstart Network can sell the securities it issues only to accredited investors on a confidential basis at their request for consideration."}');var r,i,s=n.t(o,2);let a=JSON.parse('{"Documents & Notices":"Documents & Notices","Documents & Notices Notification":"Documents & Notices Notification","My Account":"My Account","Personal Info":"Personal Info","Preferences":"Preferences","Notifications":"Notifications","Account Settings":"Account Settings","Log Out":"Log Out"}');var l=n.t(a,2);let c=JSON.parse('{"Company":"Compa\xf1\xeda","Our Story":"Nuestra historia","Leadership":"liderazgo","Careers":"Trabajos","News":"Noticias","Store":"Tienda","Affiliates":"Afiliados","Investor Relations":"Relaciones de inversionistas","Blog":"Blog","Upstart Macro Index":"\xcdndice de macros de Upstart","Support":"Asistencia","Help Center":"Centro de ayuda","Contact Us":"Comun\xedquese con nosotros","Legal":"Legal","Terms of Use":"T\xe9rminos de uso","State Licenses":"Licencias de estado","Privacy Policy":"Pol\xedtica de privacidad","Accessibility":"Acce
1sibilidad","Your Privacy Choices":"Sus opciones de privacidad","Data Collection and Use":"Recopilaci\xf3n y Uso de Datos","Products":"Productos","Personal Loans":"Pr\xe9stamos personales","Wedding Loans":"Pr\xe9stamos para bodas","Home Improvement Loans":"Pr\xe9stamos para mejoras en el hogar","Moving Loans":"Pr\xe9stamos de mudanza","Medical Loans":"Pr\xe9stamos m\xe9dicos","Debt Consolidation":"Consolidaci\xf3n de deuda","Credit Card Consolidation":"Consolidaci\xf3n de tarjeta de cr\xe9dito","Short-Term Relief":"Alivio a corto plazo","Notable Links":"Enlaces destacados","5 Ways to Build Credit Fast":"5 formas de generar cr\xe9dito r\xe1pidamente","What is an APR?":"\xbfQu\xe9 es una tasa de porcentaje anual (APR, por sus siglas en ingl\xe9s)?","How to Calculate Your Debt-to-Income Ratio":"C\xf3mo calcular la relaci\xf3n entre sus deudas e ingresos","What is a Credit Score":"Qu\xe9 es el puntaje crediticio","How to Consolidate Credit Card Debt in 6 Easy Steps":"C\xf3mo consolidar la deuda con tarjeta de cr\xe9dito en 6 sencillos pasos","Tools And Resources":"Herramientas y recursos","Learn":"M\xe1s informaci\xf3n","Credit Score":"Puntaje crediticio","Loan Calculator":"Calculadora de pr\xe9stamos","Payment Calculator":"Calculadora de pagos","Interest Calculator":"Calculadora de intereses","Inflation Calculator":"Calculadora de inflaci\xf3n","NMLS Consumer Access":"NMLS Consumer Access","All mortgage lending conducted by Upstart Mortgage, LLC. NMLS No. 2443873":"Todos los pr\xe9stamos hipotecarios realizados por Upstart Mortgage, LLC. NMLS No. 2443873","Equal Housing Opportunity":"Oportunidad hipotecaria equitativa","Borrower Support":"Asistencia al prestatario","Visit Upstart on Facebook":"Visitar Upstart en Facebook","Follow Upstart on X":"Siga a Upstart en X","California Consumer Privacy Act (CCPA) Opt-Out Icon":"\xcdcono de exclusi\xf3n voluntaria de la Ley de Privacidad del Consumidor de California (CCPA)","Copyright \xa9 2012 - {{thisYear}} Upstart Network, Inc. All rights reserved. 2950 S. Delaware Street, San Mateo, CA 94403":"Copyright \xa9 2012 - {{thisYear}} Upstart Network, Inc. All rights reserved. 2950 S. Delaware Street, San Mateo, CA 94403","Copyright \xa9 2012 - {{thisYear}} Upstart Network, Inc. All rights reserved. 220 Park Rd, Suite 500, Burlingame, CA 94010":"Copyright \xa9 2012 - {{thisYear}} Upstart Network, Inc. All rights reserved. 220 Park Rd, Suite 500, Burlingame, CA 94010","How can we help you?":"\xbfC\xf3mo podemos ayudarlo?","request":"solicitud","Personal loan":"Pr\xe9stamo personal","Car refinance loan":"Pr\xe9stamo para refinanciamiento de autom\xf3vil","Auto loan":"Pr\xe9stamo vehicular","Small business loan":"Pr\xe9stamos para peque\xf1as empresas","All loans are made by":"Todos los pr\xe9stamos son realizados por","All loans subject to final credit approval.":"Todos los Prestamos est\xe1n sujetos a una aprobaci\xf3n final de cr\xe9dito.","The information on this website does not constitute an offer to sell securities or a solicitation of an offer to buy securities. Further, none of the information contained on this website is a recommendation to invest in any securities. Currently, Upstart Network can sell the securities it issues only to accredited investors on a confidential basis at their request for consideration.":"La informaci\xf3n presente en este sitio web no constituye una oferta para vender valores ni una solicitud de una oferta para comprar valores. Adem\xe1s, ninguna parte de la informaci\xf3n contenida en este sitio web es una recomendaci\xf3n para invertir en valores. Actualmente, Upstart Network puede vender los valores que emite solo a inversionistas acreditados de forma confidencial si as\xed lo solicitan para consideraci\xf3n."}');var u=n.t(c,2);let d=JSON.parse('{"Documents & Notices":"Documentos y Avisos","Documents & Notices Notification":"Notificaci\xf3n de Documentos y Avisos","My Account":"Mi Cuenta","Personal Info":"Informaci\xf3n Personal","Preferences":"Preferencias","Notifications":"Notificaciones","Account Settings":"Configuraci\xf3n de Cuenta","Log Out":"Cerrar Sesi\xf3n"}');var f=n.t(d,2);(r=i||(i={})).EN="en-US",r.ES_US="es-US";let p={[i.EN]:{footer:s,nav:l},[i.ES_US]:{footer:u,nav:f}},h=(e,t,n,...o)=>{var r,i;return((e,t)=>"string"==typeof e&&t?Object.entries(t).reduce((e,[t,n])=>e.replace(RegExp(`{{${t}}}`,"g"),n.toString()),e):e)((null==(i=null==(r=p[e])?void 0:r[t])?void 0:i[n])||n,...o)},m=(e,t)=>
1(n,...o)=>h(e,t,n,...o)},70789:(e,t)=>{"use strict";var n=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference"),t.isFragment=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case r:case s:case i:case d:case f:return e;default:switch(e=e&&e.$$typeof){case c:case l:case u:case h:case p:case a:return e;default:return t}}case o:return t}}}(e)===r}},73701:()=>{},74232:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var o=n(14232),r=n(43020);let i=({locale:e,onClick:t})=>(0,o.useMemo)(()=>{let n=(0,r.IX)(e);return t&&Object.entries(n).forEach(([e,o])=>{n[e]=Object.assign(Object.assign({},o),{links:o.links.map(e=>"string"!=typeof e.href?e:Object.assign(Object.assign({},e),{onClick:n=>{t(n,e)}}))})}),n},[e,t])},74257:(e,t,n)=>{"use strict";n.d(t,{$L:()=>o,DR:()=>c,S8:()=>r,Sq:()=>i,Tk:()=>s,W6:()=>f,fj:()=>h,hI:()=>l,jn:()=>u,wz:()=>a});let o=58,r={height:58,top:0},i={display:"flex",flexWrap:"nowrap",justifyContent:"spaceBetween",alignItems:"center",backgroundColor:"baseBackground",borderBottom:"medium",zIndex:"nav",width:"max",paddingLeft:{mobile:"s",tablet:"3xl"},paddingRight:{mobile:"s",tablet:"3xl"}},s=Object.assign(Object.assign({},i),{position:"fixed"}),a={height:0,overflow:"hidden",visibility:"hidden"},l=Object.assign(Object.assign({},a),{paddingTop:o}),c={flexBasis:"auto",flexGrow:0,flexShrink:0},u={width:"max",display:"flex",flexWrap:"nowrap",justifyContent:"flexEnd",alignItems:"center",flexShrink:1},d={paddingRight:"12px",width:"auto"},f={mobile:Object.assign(Object.assign({},d),{height:"24px"}),tablet:Object.assign(Object.assign({},d),{height:"32px"}),desktop:Object.assign(Object.assign({},d),{height:"32px"})},p={paddingRight:"6px",height:"auto"},h={mobile:Object.assign(Object.assign({},p),{width:"90px"}),tablet:Object.assign(Object.assign({},p),{width:"97px"}),desktop:Object.assign(Object.assign({},p),{width:"97px"})}},76211:()=>{},76788:()=>{},77072:(e,t,n)=>{"use strict";function o(e,t){let n=0,o=null;return(...r)=>{o&&clearTimeout(o);let i=Date.now();if(i-n<t){o=setTimeout(()=>{n=Date.now(),e(...r)},Math.max(0,t-(i-n)));return}n=i,e(...r)}}n.d(t,{n:()=>o})},77170:(e,t,n)=>{var o="Expected a function",r=0/0,i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,f=u||d||Function("return this")(),p=Object.prototype.toString,h=Math.max,m=Math.min,g=function(){return f.Date.now()};function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==p.call(t))return r;if(b(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=b(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var o=a.test(e);return o||l.test(e)?c(e.slice(2),o?2:8):s.test(e)?r:+e}e.exports=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw TypeError(o);return b(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),function(e,t,n){var r,i,s,a,l,c,u=0,d=!1,f=!1,p=!0;if("function"!=typeof e)throw TypeError(o);function y(t){var n=r,o=i;return r=i=void 0,u=t,a=e.apply(o,n)}function x(e){var n=e-c,o=e-u;return void 0===c||n>=t||n<0||f&&o>=s}function w(){var e,n,o,r=g();if(x(r))return j(r);l=setTimeout(w,(e=r-c,n=r-u,o=t-e,f?m(o,s-n):o))}function j(e){return(l=void 0,p&&r)?y(e):(r=i=void 0,a)}function A(){var e,n=g(),o=x(n);if(r=arguments,i=this,c=n,o){if(void 0===l)return u=e=c,l=setTimeout(w,t),d?y(e):a;if(f)return l=setTimeout(w,t),y(c)}return void 0===l&&(l=setTimeout(w,t)),a}return t=v(t)||0,b(n)&&(d=!!n.leading,s=(f="maxWait"in n)?h(v(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),A.cancel=function(){void 0!==l&&clearTimeout(l),u=0,r=c=i=l=void 0},A.flush=function(){return void 0===l?a:j(g())},A}(e,t,{leading:r,maxWait:t,trailing:i})}},77434:()=>{}
1,77523:(e,t,n)=>{"use strict";n.d(t,{H:()=>s});var o=n(37876),r=n(23687),i=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let s=e=>{var{children:t}=e,n=i(e,["children"]);return(0,o.jsx)(r.A,Object.assign({atoms:{display:"block"},component:"a",style:{lineHeight:0}},n,{children:t}))}},77584:(e,t,n)=>{"use strict";n.d(t,{o:()=>s});var o=n(37876),r=n(23687),i=n(84274);let s=({desktopMenuItems:e,loginText:t,topLevelLoginDataAttributes:n,topLevelLoginOnClick:s})=>(0,o.jsxs)(r.A,{atoms:{alignItems:"center",display:{desktop:"flex",mobile:"none"}},component:"ul",children:[e&&e.map(e=>(null==e?void 0:e.title)==="Borrow"?(0,o.jsx)(a,{cta:e.cta,dataAttributes:e.dataAttributes,menuSections:e.menuSections,onExpand:e.onExpand,title:e.title},e.title):(null==e?void 0:e.title)==="Resources"?(0,o.jsx)(l,{cta:e.cta,dataAttributes:e.dataAttributes,menuSections:e.menuSections,onExpand:e.onExpand,title:e.title},e.title):(null==e?void 0:e.title)==="About"?(0,o.jsx)(c,{cta:null==e?void 0:e.cta,dataAttributes:e.dataAttributes,menuSections:e.menuSections,onExpand:e.onExpand,title:e.title},e.title):(0,o.jsx)(i.pE,{content:e.content,dataAttributes:e.dataAttributes,href:e.href,isNotPii:e.isNotPii,isPii:e.isPii,onClick:e.onClick},`${e.content}-${e.href}`)),t&&(0,o.jsx)(i.pE,{content:t,dataAttributes:n,fontColor:"brand",href:"/login",onClick:s})]}),a=({title:e,menuSections:t,cta:n,onExpand:r,dataAttributes:s})=>(0,o.jsx)(i.L5,{dataAttributes:s,onExpand:r,trigger:t=>(0,o.jsx)(i.mG,{component:"div",content:e,triggerProps:t},"NavUnauthenticated-NavDesktop-NavDesktopBorrowDropdownMenu"),children:(0,o.jsx)(i.H_,{actions:n?(0,o.jsx)(i.IJ,{content:n.content,dataAttributes:n.dataAttributes,href:n.href,onClick:n.onClick,spacingTop:!0}):null,children:(0,o.jsxs)(i.$F,{children:[(0,o.jsx)(i.A3,{menuSection:{links:t[0].links,title:t[0].title}}),(0,o.jsx)(i.A3,{menuSection:{links:t[1].links,title:t[1].title}})]})})}),l=({title:e,menuSections:t,cta:n,onExpand:r,dataAttributes:s})=>(0,o.jsx)(i.L5,{dataAttributes:s,onExpand:r,trigger:t=>(0,o.jsx)(i.mG,{component:"div",content:e,triggerProps:t},"NavUnauthenticated-NavDesktop-NavDesktopResourcesDropdownMenu"),children:(0,o.jsx)(i.H_,{actions:n?(0,o.jsx)(i.IJ,{content:n.content,dataAttributes:n.dataAttributes,href:n.href,onClick:n.onClick,spacingTop:!0}):null,children:(0,o.jsx)(i.$F,{children:t.map(e=>(0,o.jsx)(i.A3,{menuSection:{links:e.links,title:e.title}},JSON.stringify(e.title)))})})}),c=({title:e,menuSections:t,cta:n,onExpand:r,dataAttributes:s})=>(0,o.jsx)(i.L5,{dataAttributes:s,onExpand:r,trigger:t=>(0,o.jsx)(i.mG,{component:"div",content:e,triggerProps:t},"NavUnauthenticated-NavDesktop-NavDesktopAboutDropdownMenu"),children:(0,o.jsx)(i.H_,{actions:n?(0,o.jsx)(i.IJ,{content:n.content,dataAttributes:n.dataAttributes,href:n.href,onClick:n.onClick,spacingTop:!0}):null,children:(0,o.jsx)(i.$F,{children:(0,o.jsx)(i.A3,{menuSection:{links:t[0].links,title:t[0].title}})})})});s.displayName="NavDesktop"},77679:()=>{},78182:(e,t,n)=>{"use strict";n.d(t,{m:()=>h});var o=n(37876),r=n(14232),i=n(63466),s=n(23687),a=n(50086),l=n(14160),c=n(84274);n(61955),n(71976),n(49364),n(20717),n(76211);let u={borderBottom:"light"},d={borderBottom:"light",color:"brandAccent"},f={display:"block",flexGrow:1,fontFamily:"heading"},p=({onClick:e,href:t,content:n,dataAttributes:r,iconType:l,isPii:u,isNotPii:d,withNotification:p})=>(0,o.jsxs)(i.Yq,{atoms:f,className:"_1lpu6xs3",href:t,isNotPii:d,isPii:u,onClick:t=>{e&&e({dataAttributes:r,event:t})},children:[(0,o.jsx)(c.In,{bold:!0,className:"_1lpu6xs4",iconName:l,iconSize:"s",palette:"brand"}),n,p&&(0,o.jsx)(s.A,{component:"span",style:{display:"inline-flex",verticalAlign:"text-bottom",marginLeft:5},"aria-label":p,children:(0,o.jsx)(a.A,{size:"s",color:"onNegativeContainer"})})]}),h=({items:e,text:t,isNotPii:n,isPii:i,withNotification:a,sentenceCase:f=!1})=>{let[h,m]=(0,r.useState)(-1);return(0,o.jsx)(c.L5,{className:"_1lpu6xs5 _9pszy81",trigger:e=>(0,o.jsx)(c.mG,{component:"div",content:t,isNotPii:n,isPii:i,triggerProps:e,withNotification:a},`nav-auth-dropdown-${t}`),children:(0,o.jsx)(s.A,{className:"_1lpu6xs0",component:"ul",children:null==e?void 0:e.map((e,t)=>(0,o.jsx)(s.A,{atoms:Object.assign(Object.assign({},h===t?d:u),e.atoms),className:f?"_1lpu6xs2":"_1lpu6xs1",component:"li",onMouseEnter:()=>m(t),onMouseLeave:()=>m(-1),children:(0,o.jsx)(l.A,{atoms:{display:"flex"},variant:"bodyM",children:(0,o.jsx)(p,Object.assign({},e))})},`dropdown-link-${e.content}-${e.href}`))})})}},78644:(e,t,n)=>{"use strict";let o;n.d(t,{A:()=>nP});var r=n(14232),i=n.t(r,2);function s(e){return c(e)?(e.nodeName||"").toLowerCase():"#document"}function a(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function l(e){var t;return null==(t=(c(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function c(e){return e instanceof Node||e instanceof a(e).Node}function u(e){return e instanceof Element||e instanceof a(e).Element}function d(e){return e instanceof HTMLElement||e instanceof a(e).HTMLElement}function f(e){return!("u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof a(e).ShadowRoot)}function p(e){let{overflow:t,overflowX:n,overflowY:o,display:r}=b(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function h(e){let t=m(),n=b(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function m(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function g(e){return["html","body","#document"].includes(s(e))}function b(e){return a(e).getComputedStyle(e)}function v(e){return u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function y(e){if("html"===s(e))return e;let t=e.assignedSlot||e.parentNode||f(e)&&e.host||l(e);return f(t)?t.host:t}function x(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);let r=function e(t){let n=y(t);return g(n)?t.ownerDocument?t.ownerDocument.body:t.body:d(n)&&p(n)?n:e(n)}(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),s=a(r);
1return i?t.concat(s,s.visualViewport||[],p(r)?r:[],s.frameElement&&n?x(s.frameElement):[]):t.concat(r,x(r,[],n))}function w(e){let t=e.activeElement;for(;(null==(n=t)||null==(o=n.shadowRoot)?void 0:o.activeElement)!=null;){var n,o;t=t.shadowRoot.activeElement}return t}function j(e,t){if(!e||!t)return!1;let n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&f(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function A(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function k(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function C(e){return(null==e?void 0:e.ownerDocument)||document}function O(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function S(e){return"composedPath"in e?e.composedPath()[0]:e.target}function N(e){return d(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function E(e){e.preventDefault(),e.stopPropagation()}let P=Math.min,L=Math.max,_=Math.round,I=e=>({x:e,y:e});function M(e){return e.split("-")[0]}function T(e){return["top","bottom"].includes(M(e))?"y":"x"}function R(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function D(e,t,n){let o,{reference:r,floating:i}=e,s=T(t),a="x"===T(t)?"y":"x",l="y"===a?"height":"width",c=M(t),u="y"===s,d=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,p=r[l]/2-i[l]/2;switch(c){case"top":o={x:d,y:r.y-i.height};break;case"bottom":o={x:d,y:r.y+r.height};break;case"right":o={x:r.x+r.width,y:f};break;case"left":o={x:r.x-i.width,y:f};break;default:o={x:r.x,y:r.y}}switch(t.split("-")[1]){case"start":o[a]-=p*(n&&u?-1:1);break;case"end":o[a]+=p*(n&&u?-1:1)}return o}let B=async(e,t,n)=>{let{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await (null==s.isRTL?void 0:s.isRTL(t)),c=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:d}=D(c,o,l),f=o,p={},h=0;for(let n=0;n<a.length;n++){let{name:i,fn:m}=a[n],{x:g,y:b,data:v,reset:y}=await m({x:u,y:d,initialPlacement:o,placement:f,strategy:r,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});if(u=null!=g?g:u,d=null!=b?b:d,p={...p,[i]:{...p[i],...v}},y&&h<=50){h++,"object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(c=!0===y.rects?await s.getElementRects({reference:e,floating:t,strategy:r}):y.rects),{x:u,y:d}=D(c,f,l)),n=-1;continue}}return{x:u,y:d,placement:f,strategy:r,middlewareData:p}};function U(e){let t=b(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,r=d(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,a=_(n)!==i||_(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}function H(e){return u(e)?e:e.contextElement}function q(e){let t=H(e);if(!d(t))return I(1);let n=t.getBoundingClientRect(),{width:o,height:r,$:i}=U(t),s=(i?_(n.width):n.width)/o,a=(i?_(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}let z=I(0);function F(e){let t=a(e);return m()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:z}function V(e,t,n,o){var r;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),s=H(e),l=I(1);t&&(o?u(o)&&(l=q(o)):l=q(e));let c=(void 0===(r=n)&&(r=!1),o&&(!r||o===a(s))&&r)?F(s):I(0),d=(i.left+c.x)/l.x,f=(i.top+c.y)/l.y,p=i.width/l.x,h=i.height/l.y;if(s){let e=a(s),t=o&&u(o)?a(o):o,n=e.frameElement;for(;n&&o&&t!==e;){let e=q(n),t=n.getBoundingClientRect(),o=b(n),r=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;d*=e.x,f*=e.y,p*=e.x,h*=e.y,d+=r,f+=i,n=a(n).frameElement}}return R({width:p,height:h,x:d,y:f})}function W(e){return V(l(e)).left+v(e).scrollLeft}function Y(e,t,n){var o;let r;if("viewport"===t)r=function(e,t){let n=a(e),o=l(e),r=n.visualViewport,i=o.clientWidth,s=o.clientHeight,c=0,u=0;if(r){i=r.width,s=r.height;let e=m();(!e||e&&"fixed"===t)&&(c=r.offsetLeft,u=r.offsetTop)}return{width:i,height:s,x:c,y:u}}(e,n);else if("document"===t){let t,n,i,s,a,c,u;
1o=l(e),t=l(o),n=v(o),i=o.ownerDocument.body,s=L(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=L(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),c=-n.scrollLeft+W(o),u=-n.scrollTop,"rtl"===b(i).direction&&(c+=L(t.clientWidth,i.clientWidth)-s),r={width:s,height:a,x:c,y:u}}else if(u(t)){let e,o,i,s,a,l;o=(e=V(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,s=d(t)?q(t):I(1),a=t.clientWidth*s.x,l=t.clientHeight*s.y,r={width:a,height:l,x:i*s.x,y:o*s.y}}else{let n=F(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return R(r)}function Z(e,t){return d(e)&&"fixed"!==b(e).position?t?t(e):e.offsetParent:null}function $(e,t){let n=a(e);if(!d(e))return n;let o=Z(e,t);for(;o&&["table","td","th"].includes(s(o))&&"static"===b(o).position;)o=Z(o,t);return o&&("html"===s(o)||"body"===s(o)&&"static"===b(o).position&&!h(o))?n:o||function(e){let t=y(e);for(;d(t)&&!g(t);)if(h(t))return t;else t=y(t);return null}(e)||n}let G=async function(e){let{reference:t,floating:n,strategy:o}=e,r=this.getOffsetParent||$,i=this.getDimensions;return{reference:function(e,t,n){let o=d(t),r=l(t),i="fixed"===n,a=V(e,!0,i,t),c={scrollLeft:0,scrollTop:0},u=I(0);if(o||!o&&!i)if(("body"!==s(t)||p(r))&&(c=v(t)),o){let e=V(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else r&&(u.x=W(r));return{x:a.left+c.scrollLeft-u.x,y:a.top+c.scrollTop-u.y,width:a.width,height:a.height}}(t,await r(n),o),floating:{x:0,y:0,...await i(n)}}},J={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e,r=d(n),i=l(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0},c=I(1),u=I(0);if((r||!r&&"fixed"!==o)&&(("body"!==s(n)||p(i))&&(a=v(n)),d(n))){let e=V(n);c=q(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-a.scrollLeft*c.x+u.x,y:t.y*c.y-a.scrollTop*c.y+u.y}},getDocumentElement:l,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e,i=[..."clippingAncestors"===n?function(e,t){let n=t.get(e);if(n)return n;let o=x(e,[],!1).filter(e=>u(e)&&"body"!==s(e)),r=null,i="fixed"===b(e).position,a=i?y(e):e;for(;u(a)&&!g(a);){let t=b(a),n=h(a);n||"fixed"!==t.position||(r=null),(i?!n&&!r:!n&&"static"===t.position&&!!r&&["absolute","fixed"].includes(r.position)||p(a)&&!n&&function e(t,n){let o=y(t);return!(o===n||!u(o)||g(o))&&("fixed"===b(o).position||e(o,n))}(e,a))?o=o.filter(e=>e!==a):r=t,a=y(a)}return t.set(e,o),o}(t,this._c):[].concat(n),o],a=i[0],l=i.reduce((e,n)=>{let o=Y(t,n,r);return e.top=L(o.top,e.top),e.right=P(o.right,e.right),e.bottom=P(o.bottom,e.bottom),e.left=L(o.left,e.left),e},Y(t,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:$,getElementRects:G,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return U(e)},getScale:q,isElement:u,isRTL:function(e){return"rtl"===b(e).direction}};var X=n(98477),K="u">typeof document?r.useLayoutEffect:r.useEffect;function Q(e,t){let n,o,r;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(o=n;0!=o--;)if(!Q(e[o],t[o]))return!1;return!0}if((n=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(o=n;0!=o--;)if(!({}).hasOwnProperty.call(t,r[o]))return!1;for(o=n;0!=o--;){let n=r[o];if(("_owner"!==n||!e.$$typeof)&&!Q(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ee(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function et(e,t){let n=ee(e);return Math.round(t*n)/n}function en(e){let t=r.useRef(e);return K(()=>{t.current=e}),t}var eo='input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable="false"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])',er="u"<typeof Element,ei=er?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,es=!er&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},ea=function e(t,n){void 0===n&&(n=!0);var o,r=null==t||null==(o=t.getAttribute)?void 0:o.call(t,"inert");return""===r||"true"===r||n&&t&&e(t.parentNode)},el=function(e){var t,n=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===n||"true"===n},ec=function(e,t,n){if(ea(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(eo));return t&&ei.call(e,eo)&&o.unshift(e),o=o.filter(n)},eu=function e(t,n,o){for(var r=[],i=Array.from(t);i.length;){var s=i.shift();if(!ea(s,!1))if("SLOT"===s.tagName){var a=s.assignedElements(),l=e(a.length?a:s.children,!0,o);
1o.flatten?r.push.apply(r,l):r.push({scopeParent:s,candidates:l})}else{ei.call(s,eo)&&o.filter(s)&&(n||!t.includes(s))&&r.push(s);var c=s.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(s),u=!ea(c,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(s));if(c&&u){var d=e(!0===c?s.children:c.children,!0,o);o.flatten?r.push.apply(r,d):r.push({scopeParent:s,candidates:d})}else i.unshift.apply(i,s.children)}}return r},ed=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ef=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||el(e))&&!ed(e)?0:e.tabIndex},ep=function(e,t){var n=ef(e);return n<0&&t&&!ed(e)?0:n},eh=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},em=function(e){return"INPUT"===e.tagName},eg=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},eb=function(e){if(!e.name)return!0;var t,n=e.form||es(e),o=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("u">typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(e.name));else try{t=o(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=eg(t,e.form);return!r||r===e},ev=function(e){return em(e)&&"radio"===e.type&&!eb(e)},ey=function(e){var t,n,o,r,i,s,a,l=e&&es(e),c=null==(t=l)?void 0:t.host,u=!1;if(l&&l!==e)for(u=!!(null!=(n=c)&&null!=(o=n.ownerDocument)&&o.contains(c)||null!=e&&null!=(r=e.ownerDocument)&&r.contains(e));!u&&c;)u=!!(null!=(s=c=null==(i=l=es(c))?void 0:i.host)&&null!=(a=s.ownerDocument)&&a.contains(c));return u},ex=function(e){var t=e.getBoundingClientRect(),n=t.width,o=t.height;return 0===n&&0===o},ew=function(e,t){var n=t.displayCheck,o=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=ei.call(e,"details>summary:first-of-type")?e.parentElement:e;if(ei.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return ex(e)}else{if("function"==typeof o){for(var i=e;e;){var s=e.parentElement,a=es(e);if(s&&!s.shadowRoot&&!0===o(s))return ex(e);e=e.assignedSlot?e.assignedSlot:s||a===e.ownerDocument?s:a.host}e=i}if(ey(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},ej=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var o=t.children.item(n);if("LEGEND"===o.tagName)return!!ei.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1},eA=function(e,t){return!(t.disabled||ea(t)||em(t)&&"hidden"===t.type||ew(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||ej(t))},ek=function(e,t){return!(ev(t)||0>ef(t))&&!!eA(e,t)},eC=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},eO=function e(t){var n=[],o=[];return t.forEach(function(t,r){var i=!!t.scopeParent,s=i?t.scopeParent:t,a=ep(s,i),l=i?e(t.candidates):s;0===a?i?n.push.apply(n,l):n.push(s):o.push({documentOrder:r,tabIndex:a,item:t,isScope:i,content:l})}),o.sort(eh).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},eS=function(e,t){return eO((t=t||{}).getShadowRoot?eu([e],t.includeContainer,{filter:ek.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:eC}):ec(e,t.includeContainer,ek.bind(null,t)))};function eN(e){return r.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})},e)}let eE=0;function eP(e,t){void 0===t&&(t={});let{preventScroll:n=!1,cancelPrevious:o=!0,sync:r=!1}=t;o&&cancelAnimationFrame(eE);let i=()=>null==e?void 0:e.focus({preventScroll:n});r?i():eE=requestAnimationFrame(i)}var eL="u">typeof document?r.useLayoutEffect:r.useEffect;function e_(){return(e_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}let eI=!1,eM=0,eT=()=>"floating-ui-"+eM++,eR=i["useId".toString()]||function(){let[e,t]=r.useState(()=>eI?eT():void 0);return eL(()=>{null==e&&t(eT())},[]),r.useEffect(()=>{eI||(eI=!0)},[]),e},eD=r.createContext(null),eB=r.createContext(null);function eU(e){return"data-floating-ui-"+e}function eH(e){let t=(0,r.useRef)(e);return eL(()=>{t.current=e}),t}function eq(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),o=n;for(;o.length;)o=e.filter(e=>{var t;return null==(t=o)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(o);return n}let ez=new WeakMap,eF=new WeakSet,eV={},eW=0,eY=e=>e&&(e.host||eY(e.parentNode));function eZ(e,t,n){var o,r;let i,s,a,l,c,u,d;void 0===t&&(t=!1),void 0===n&&(n=!1);let f=C(e[0]).body;return o=e.concat(Array.from(f.querySelectorAll("[aria-live]"))),r=t,i="data-floating-ui-inert",s=n?"inert":r?"aria-hidden":null,a=o.map(e=>{if(f.contains(e))return e;let t=eY(e);return f.contains(t)?t:null}).filter(e=>
1null!=e),l=new Set,c=new Set(a),u=[],eV[i]||(eV[i]=new WeakMap),d=eV[i],a.forEach(function e(t){!(!t||l.has(t))&&(l.add(t),t.parentNode&&e(t.parentNode))}),function e(t){!t||c.has(t)||Array.prototype.forEach.call(t.children,t=>{if(l.has(t))e(t);else{let e=s?t.getAttribute(s):null,n=null!==e&&"false"!==e,o=(ez.get(t)||0)+1,r=(d.get(t)||0)+1;ez.set(t,o),d.set(t,r),u.push(t),1===o&&n&&eF.add(t),1===r&&t.setAttribute(i,""),!n&&s&&t.setAttribute(s,"true")}})}(f),l.clear(),eW++,()=>{u.forEach(e=>{let t=(ez.get(e)||0)-1,n=(d.get(e)||0)-1;ez.set(e,t),d.set(e,n),t||(!eF.has(e)&&s&&e.removeAttribute(s),eF.delete(e)),n||e.removeAttribute(i)}),--eW||(ez=new WeakMap,ez=new WeakMap,eF=new WeakSet,eV={})}}let e$=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function eG(e,t){let n=eS(e,e$());"prev"===t&&n.reverse();let o=n.indexOf(w(C(e)));return n.slice(o+1)[0]}function eJ(){return eG(document.body,"next")}function eX(){return eG(document.body,"prev")}function eK(e,t){let n=t||e.currentTarget,o=e.relatedTarget;return!o||!j(n,o)}let eQ={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function e0(e){"Tab"===e.key&&(e.target,clearTimeout(o))}let e1=r.forwardRef(function(e,t){let[n,o]=r.useState();eL(()=>(/apple/i.test(navigator.vendor)&&o("button"),document.addEventListener("keydown",e0),()=>{document.removeEventListener("keydown",e0)}),[]);let i={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[eU("focus-guard")]:"",style:eQ};return r.createElement("span",e_({},e,i))}),e2=r.createContext(null);function e5(e){let{children:t,id:n,root:o=null,preserveTabOrder:i=!0}=e,s=function(e){let{id:t,root:n}=void 0===e?{}:e,[o,i]=r.useState(null),s=eR(),a=e3(),l=r.useMemo(()=>({id:t,root:n,portalContext:a,uniqueId:s}),[t,n,a,s]),c=r.useRef();return eL(()=>()=>{null==o||o.remove()},[o,l]),eL(()=>{if(c.current===l)return;c.current=l;let{id:e,root:t,portalContext:n,uniqueId:o}=l,r=e?document.getElementById(e):null,s=eU("portal");if(r){let e=document.createElement("div");e.id=o,e.setAttribute(s,""),r.appendChild(e),i(e)}else{let r=t||(null==n?void 0:n.portalNode);r&&!u(r)&&(r=r.current),r=r||document.body;let a=null;e&&((a=document.createElement("div")).id=e,r.appendChild(a));let l=document.createElement("div");l.id=o,l.setAttribute(s,""),(r=a||r).appendChild(l),i(l)}},[l]),o}({id:n,root:o}),[a,l]=r.useState(null),c=r.useRef(null),d=r.useRef(null),f=r.useRef(null),p=r.useRef(null),h=!!a&&!a.modal&&a.open&&i&&!!(o||s);return r.useEffect(()=>{if(s&&i&&(null==a||!a.modal))return s.addEventListener("focusin",e,!0),s.addEventListener("focusout",e,!0),()=>{s.removeEventListener("focusin",e,!0),s.removeEventListener("focusout",e,!0)};function e(e){s&&eK(e)&&("focusin"===e.type?function(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}:function(e){eS(e,e$()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})})(s)}},[s,i,null==a?void 0:a.modal]),r.createElement(e2.Provider,{value:r.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:c,afterOutsideRef:d,beforeInsideRef:f,afterInsideRef:p,portalNode:s,setFocusManagerState:l}),[i,s])},h&&s&&r.createElement(e1,{"data-type":"outside",ref:c,onFocus:e=>{if(eK(e,s)){var t;null==(t=f.current)||t.focus()}else{let e=eX()||(null==a?void 0:a.refs.domReference.current);null==e||e.focus()}}}),h&&s&&r.createElement("span",{"aria-owns":s.id,style:eQ}),s&&(0,X.createPortal)(t,s),h&&s&&r.createElement(e1,{"data-type":"outside",ref:d,onFocus:e=>{if(eK(e,s)){var t;null==(t=p.current)||t.focus()}else{let t=eJ()||(null==a?void 0:a.refs.domReference.current);null==t||t.focus(),(null==a?void 0:a.closeOnFocusOut)&&(null==a||a.onOpenChange(!1,e.nativeEvent))}}}))}let e3=()=>r.useContext(e2),e7=r.forwardRef(function(e,t){return r.createElement("button",e_({},e,{type:"button",ref:t,tabIndex:-1,style:eQ}))});
1function e4(e){let{context:t,children:n,disabled:o=!1,order:i=["content"],guards:s=!0,initialFocus:a=0,returnFocus:l=!0,modal:c=!0,visuallyHiddenDismiss:u=!1,closeOnFocusOut:f=!0}=e,{open:p,refs:h,nodeId:m,onOpenChange:g,events:b,dataRef:v,elements:{domReference:y,floating:x}}=t,A=!("u">typeof HTMLElement&&"inert"in HTMLElement.prototype)||s,k=eH(i),O=eH(a),P=eH(l),L=r.useContext(eB),_=e3(),I="number"==typeof a&&a<0,M=r.useRef(null),T=r.useRef(null),R=r.useRef(!1),D=r.useRef(null),B=r.useRef(!1),U=null!=_,H=y&&"combobox"===y.getAttribute("role")&&N(y)&&I,q=r.useCallback(function(e){return void 0===e&&(e=x),e?eS(e,e$()):[]},[x]),z=r.useCallback(e=>{let t=q(e);return k.current.map(e=>y&&"reference"===e?y:x&&"floating"===e?x:t).filter(Boolean).flat()},[y,x,k,q]);function F(e){return!o&&u&&c?r.createElement(e7,{ref:"start"===e?M:T,onClick:e=>g(!1,e.nativeEvent)},"string"==typeof u?u:"Dismiss"):null}r.useEffect(()=>{if(o||!c)return;function e(e){if("Tab"===e.key){j(x,w(C(x)))&&0===q().length&&!H&&E(e);let t=z(),n=S(e);"reference"===k.current[0]&&n===y&&(E(e),e.shiftKey?eP(t[t.length-1]):eP(t[1])),"floating"===k.current[1]&&n===x&&e.shiftKey&&(E(e),eP(t[0]))}}let t=C(x);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[o,y,x,c,k,h,H,q,z]),r.useEffect(()=>{if(!o&&f&&x&&d(y))return y.addEventListener("focusout",t),y.addEventListener("pointerdown",e),c||x.addEventListener("focusout",t),()=>{y.removeEventListener("focusout",t),y.removeEventListener("pointerdown",e),c||x.removeEventListener("focusout",t)};function e(){B.current=!0,setTimeout(()=>{B.current=!1})}function t(e){let t=e.relatedTarget;queueMicrotask(()=>{let n=!(j(y,t)||j(x,t)||j(t,x)||j(null==_?void 0:_.portalNode,t)||null!=t&&t.hasAttribute(eU("focus-guard"))||L&&(eq(L.nodesRef.current,m).find(e=>{var n,o;return j(null==(n=e.context)?void 0:n.elements.floating,t)||j(null==(o=e.context)?void 0:o.elements.domReference,t)})||(function(e,t){var n;let o=[],r=null==(n=e.find(e=>e.id===t))?void 0:n.parentId;for(;r;){let t=e.find(e=>e.id===r);r=null==t?void 0:t.parentId,t&&(o=o.concat(t))}return o})(L.nodesRef.current,m).find(e=>{var n,o;return(null==(n=e.context)?void 0:n.elements.floating)===t||(null==(o=e.context)?void 0:o.elements.domReference)===t})));t&&n&&!B.current&&t!==D.current&&(R.current=!0,g(!1,e))})}},[o,y,x,c,m,L,_,g,f]),r.useEffect(()=>{var e;if(o)return;let t=Array.from((null==_||null==(e=_.portalNode)?void 0:e.querySelectorAll("["+eU("portal")+"]"))||[]);if(x){let e=[x,...t,M.current,T.current,k.current.includes("reference")||H?y:null].filter(e=>null!=e),n=c?eZ(e,A,!A):eZ(e);return()=>{n()}}},[o,y,x,c,k,_,H,A]),eL(()=>{if(o||!x)return;let e=w(C(x));queueMicrotask(()=>{let t=z(x),n=O.current,o=("number"==typeof n?t[n]:n.current)||x,r=j(x,e);I||r||!p||eP(o,{preventScroll:o===x})})},[o,p,x,I,z,O]),eL(()=>{if(o||!x)return;let e=!1,t=C(x),n=w(t),r=v.current;function i(t){if("escapeKey"===t.type&&h.domReference.current&&(D.current=h.domReference.current),["referencePress","escapeKey"].includes(t.type))return;let n=t.data.returnFocus;"object"==typeof n?(R.current=!1,e=n.preventScroll):R.current=!n}return D.current=n,b.on("dismiss",i),()=>{b.off("dismiss",i);let n=w(t);(j(x,n)||L&&eq(L.nodesRef.current,m).some(e=>{var t;return j(null==(t=e.context)?void 0:t.elements.floating,n)})||r.openEvent&&["click","mousedown"].includes(r.openEvent.type))&&h.domReference.current&&(D.current=h.domReference.current),P.current&&d(D.current)&&!R.current&&eP(D.current,{cancelPrevious:!1,preventScroll:e})}},[o,x,P,v,h,b,L,m]),eL(()=>{if(!o&&_)return _.setFocusManagerState({modal:c,closeOnFocusOut:f,open:p,onOpenChange:g,refs:h}),()=>{_.setFocusManagerState(null)}},[o,_,c,p,g,h,f]),eL(()=>{if(!o&&x&&"function"==typeof MutationObserver&&!I){let e=()=>{let e=x.getAttribute("tabindex");k.current.includes("floating")||w(C(x))!==h.domReference.current&&0===q().length?"0"!==e&&x.setAttribute("tabindex","0"):"-1"!==e&&x.setAttribute("tabindex","-1")};e();let t=new MutationObserver(e);return t.observe(x,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}}},[o,x,h,k,q,I]);let V=!o&&A&&!H&&(U||c);return r.createElement(r.Fragment,null,V&&r.createElement(e1,{"data-type":"inside",ref:null==_?void 0:_.beforeInsideRef,onFocus:e=>{if(c){let e=z();eP("reference"===i[0]?e[0]:e[e.length-1])}else if(null!=_&&_.preserveTabOrder&&_.portalNode)if(R.current=!1,eK(e,_.portalNode)){let e=eJ()||y;null==e||e.focus()}else{var t;
1null==(t=_.beforeOutsideRef.current)||t.focus()}}}),!H&&F("start"),n,F("end"),V&&r.createElement(e1,{"data-type":"inside",ref:null==_?void 0:_.afterInsideRef,onFocus:e=>{if(c)eP(z()[0]);else if(null!=_&&_.preserveTabOrder&&_.portalNode)if(f&&(R.current=!0),eK(e,_.portalNode)){let e=eX()||y;null==e||e.focus()}else{var t;null==(t=_.afterOutsideRef.current)||t.focus()}}}))}let e6=new Set,e8=r.forwardRef(function(e,t){let{lockScroll:n=!1,...o}=e,i=eR();return eL(()=>{if(!n)return;e6.add(i);let e=/iP(hone|ad|od)|iOS/.test(A()),t=document.body.style,o=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",r=window.innerWidth-document.documentElement.clientWidth,s=t.left?parseFloat(t.left):window.pageXOffset,a=t.top?parseFloat(t.top):window.pageYOffset;if(t.overflow="hidden",r&&(t[o]=r+"px"),e){var l,c;let e=(null==(l=window.visualViewport)?void 0:l.offsetLeft)||0;Object.assign(t,{position:"fixed",top:-(a-Math.floor((null==(c=window.visualViewport)?void 0:c.offsetTop)||0))+"px",left:-(s-Math.floor(e))+"px",right:"0"})}return()=>{e6.delete(i),0===e6.size&&(Object.assign(t,{overflow:"",[o]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(s,a)))}},[i,n]),r.createElement("div",e_({ref:t},o,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...o.style}}))});function e9(e){return d(e.target)&&"BUTTON"===e.target.tagName}let te=i["useInsertionEffect".toString()]||(e=>e());function tt(e){let t=r.useRef(()=>{});return te(()=>{t.current=e}),r.useCallback(function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return null==t.current?void 0:t.current(...n)},[])}let tn={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},to={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"};function tr(e,t,n){let o=new Map;return{..."floating"===n&&{tabIndex:-1},...e,...t.map(e=>e?e[n]:null).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,r]=t;if(0===n.indexOf("on")){if(o.has(n)||o.set(n,[]),"function"==typeof r){var i;null==(i=o.get(n))||i.push(r),e[n]=function(){for(var e,t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];return null==(e=o.get(n))?void 0:e.map(e=>e(...r)).find(e=>void 0!==e)}}}else e[n]=r}),e),{})}}let ti=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(e,t)=>(t?"-":"")+e.toLowerCase());function ts(e,t){return"function"==typeof e?e(t):e}var ta=n(81610),tl=n(81856),tc=n(83027),tu=n(99550);let td=({children:e})=>{let{rootElement:t}=(0,tu.EZ)();return r.createElement(e5,{root:t},e)};n(61955),n(71976),n(23781),n(56563);var tf=n(15125),tp=n(77170),th=n.n(tp);let tm={attributes:!0,attributeFilter:["id","class","style"],characterData:!0,childList:!0,subtree:!0},tg=e=>{let[t,n]=(0,r.useState)({top:0,bottom:0,left:0,right:0});return(0,r.useEffect)(()=>{if(!e)return;let t=th()(()=>{n({top:e.scrollTop,bottom:e.scrollHeight-(e.scrollTop+e.clientHeight),left:e.scrollLeft,right:e.scrollWidth-(e.scrollLeft+e.clientWidth)})},75),o=new MutationObserver(t);return o.observe(e,tm),window.addEventListener("resize",t),e.addEventListener("scroll",t),t(),()=>{o.disconnect(),window.removeEventListener("resize",t),e.removeEventListener("scroll",t)}},[e]),t};var tb=n(23687),tv=n(64846),ty=n(12456);n(39213),n(3307);var tx="_483wlw2",tw={borderTop:"light"},tj={borderTop:"transparent"},tA=n(40649);let tk=(e,t)=>{if(null!==e&&"object"==typeof e&&tA.uV.some(t=>Object.keys(e).includes(t))){let n;return tA.uV.reduce((o,r)=>{let i=e[r];return void 0!==i&&(n=t?t(i):i),{...o,[r]:n}},{mobile:void 0,tablet:void 0,desktop:void 0})}let n=t?t(e):e;return{mobile:n,tablet:n,desktop:n}},tC=e=>"children"in e?{primary:e}:e,tO=({disableFixedActions:e,stackedActions:t,hasScrollBottom:n,actions:o,isDialog:i})=>{let s,a=(s=(0,ta.t)(),o?("children"in o||"primary"in o,s(tk(o,tC))):void 0);if(!a)return null;let l=t?"bare":"outlined";return(a.secondary?.variant==="outlined"||a.secondary?.variant==="bare")&&(l=a.secondary.variant),r.createElement(tv.A,{atoms:{...!e&&n?tw:tj,...e&&{paddingBottom:"2xl"}},className:(0,tf.A)("_483wlw1 _1mkd7gxgl _1mkd7gxf0 _1mkd7gxo9 _1mkd7gxx6 _1mkd7gxxr _1mkd7gxxf _1mkd7gxxx _1mkd7gxvu _1mkd7gxzf _1mkd7gxz9 _1mkd7gxbu _1mkd7gxsf",t&&"stacked_actions",i&&"dialog_actions")},r.createElement(tv.A,{className:tx},r.createElement(ty.$n,{...a.primary,variant:"filled",fullWidth:!0})),a.secondary&&r.createElement(tv.A,{className:tx},r.createElement(ty.$n,{...a.secondary,variant:l,fullWidth:!0})))};tc.IJ&&(tO.displayName="ModalActions");var tS=n(41883),tN=n(77808),tE=n(15265),tP=n(90568),tL={paddingX:"m",paddingBottom:"m",width:"max",display:"flex",flexWrap:"nowrap",justifyContent:"spaceBetween",flexGrow:0,flexShrink:0,borderBottom:"transparent"},t_={height:"0",overflow:"hidden"},tI={borderBottom:"light"},tM={flexGrow:1,flexShrink:1};let tT=({titleId:e,title:t,isPii:n,isNotPii:o,closeModal:i,hideCloseButton:s,hasScrollTop:a})=>{let{modal:l}=(0,tP.e)(),c=tL;return a&&(c={...c,...tI}),r.createElement(tb.A,{id:e,atoms:c},r.createElement(tb.A,{atoms:tM},r.createElement(tN.A,{component:"h1",typography:"headlineMd",isPii:n,isNotPii:o},t)),r.createElement(tb.A,{className:"_1mkd7gxwi _1mkd7gxzf _1mkd7gxz9 _1mkd7gxmr",atoms:s?t_:void 0},r.createElement(tS.A,{variant:"preview",palette:"default",onClick:i,"aria-label":l.close},r.createElement(tE.A,{role:"presentation",useUpdatedSizes:!0}))))};tc.IJ&&(tT.displayName="ModalTitle");var tR=n(34239);let tD={enter:{clamp:!0,duration:250,easing:tR.easings.easeOutCubic},leave:{clamp:!0,duration:150,easing:tR.easings.easeOutCubic}},tB=e=>null!==e&&!!e.querySelector('audio, button, canvas, details, iframe, input, select, summary, textarea, video, [accesskey], [contenteditable], [href], [tabindex = "0"], [tabindex = "1"],[tabindex = "2"],[tabindex = "3"]');n(77679);var tU={surfaceApp:"_1mkd7gxc",surfaceBrand:"_1mkd7gx0",surfaceBrandSecondary:"_1mkd7gxi",surfaceBrandTertiary:"_1irbnah8",surfaceCritical:"_1mkd7gx9",surfaceDefault:"_1mkd7gxf",surfaceInfo:"_1irbnahd",surfacePositive:"_1mkd7gx3",surfaceWarning:"_1mkd7gx6"},tH={width:"max",flexGrow:1,flexShrink:1,overflow:"auto",paddingX:"m"},tq={s:"_1irbnahi _1irbnah1 _1mkd7gx8c _1mkd7gxx6 _1mkd7gxxi _1mkd7gxxr _1mkd7gxxx _1mkd7gxvu _1mkd7gxbu _1mkd7gxdo",m:"_1irbnahj _1irbnah1 _1mkd7gx8c _1mkd7gxx6 _1mkd7gxxi _1mkd7gxxr _1mkd7gxxx _1mkd7gxvu _1mkd7gxbu _1mkd7gxdo",l:"_1irbnahk _1irbnah1 _1mkd7gx8c _1mkd7gxx6 _1mkd7gxxi _1mkd7gxxr _1mkd7gxxx _1mkd7gxvu _1mkd7gxbu _1mkd7gxdo"};let tz=r.forwardRef(({actions:e,children:t,closeModal:n,hideCloseButton:o,size:i="m",title:s,titleId:a,titlePiiProps:l={},backgroundColor:c="surfaceDefault",style:u,...d},f)=>{let[p,h]=(0,r.useState)(null),{top:m,bottom:g}=tg(p),b=!tB(p)&&(g>0||m>0);return r.createElement(tb.A,{ref:f,className:(0,tf.A)(tq[i],c&&tU[c]),...d,style:u},r.createElement(tT,{titleId:a,title:s,...l,hideCloseButton:o,closeModal:n,hasScrollTop:m>0}),r.createElement(tv.A,{atoms:tH,ref:h,tabIndex:b?0:void 0},r.createElement("div",{style:{height:"auto"}},t)),r.createElement(tO,{isDialog:!0,disableFixedActions:!1,stackedActions:!1,actions:e,hasScrollBottom:g>0}))});
1tc.IJ&&(tz.displayName="ModalDialog");let tF={toVector:(e,t)=>(void 0===e&&(e=t),Array.isArray(e)?e:[e,e]),add:(e,t)=>[e[0]+t[0],e[1]+t[1]],sub:(e,t)=>[e[0]-t[0],e[1]-t[1]],addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function tV(e,t,n){return 0===t||Math.abs(t)===1/0?Math.pow(e,5*n):e*t*n/(t+n*e)}function tW(e,t,n,o=.15){return 0===o?Math.max(t,Math.min(e,n)):e<t?-tV(t-e,n-t,o)+t:e>n?+tV(e-n,n-t,o)+n:e}function tY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function t$(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tZ(Object(n),!0).forEach(function(t){tY(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tZ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let tG={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function tJ(e){return e?e[0].toUpperCase()+e.slice(1):""}let tX=["enter","leave"],tK=["gotpointercapture","lostpointercapture"];function tQ(e){return"touches"in e}function t0(e){return tQ(e)?"touch":"pointerType"in e?e.pointerType:"mouse"}function t1(e){return tQ(e)?("touchend"===e.type||"touchcancel"===e.type?e.changedTouches:e.targetTouches)[0]:e}function t2(e){let t=t1(e);return tQ(e)?t.identifier:t.pointerId}function t5(e){let t=t1(e);return[t.clientX,t.clientY]}function t3(e,...t){return"function"==typeof e?e(...t):e}function t7(){}function t4(e,t){return Object.assign({},t,e||{})}class t6{constructor(e,t,n){this.ctrl=e,this.args=t,this.key=n,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(e){this.ctrl.state[this.key]=e}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){let{state:e,shared:t,ingKey:n,args:o}=this;t[n]=e._active=e.active=e._blocked=e._force=!1,e._step=[!1,!1],e.intentional=!1,e._movement=[0,0],e._distance=[0,0],e._direction=[0,0],e._delta=[0,0],e._bounds=[[-1/0,1/0],[-1/0,1/0]],e.args=o,e.axis=void 0,e.memo=void 0,e.elapsedTime=0,e.direction=[0,0],e.distance=[0,0],e.overflow=[0,0],e._movementBound=[!1,!1],e.velocity=[0,0],e.movement=[0,0],e.delta=[0,0],e.timeStamp=0}start(e){let t=this.state,n=this.config;t._active||(this.reset(),this.computeInitial(),t._active=!0,t.target=e.target,t.currentTarget=e.currentTarget,t.lastOffset=n.from?t3(n.from,t):t.offset,t.offset=t.lastOffset),t.startTime=t.timeStamp=e.timeStamp}computeValues(e){let t=this.state;t._values=e,t.values=this.config.transform(e)}computeInitial(){let e=this.state;e._initial=e._values,e.initial=e.values}compute(e){let{state:t,config:n,shared:o}=this;t.args=this.args;let r=0;if(e&&(t.event=e,n.preventDefault&&e.cancelable&&t.event.preventDefault(),t.type=e.type,o.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,o.locked=!!document.pointerLockElement,Object.assign(o,function(e){let t={};if("buttons"in e&&(t.buttons=e.buttons),"shiftKey"in e){let{shiftKey:n,altKey:o,metaKey:r,ctrlKey:i}=e;Object.assign(t,{shiftKey:n,altKey:o,metaKey:r,ctrlKey:i})}return t}(e)),o.down=o.pressed=o.buttons%2==1||o.touches>0,r=e.timeStamp-t.timeStamp,t.timeStamp=e.timeStamp,t.elapsedTime=t.timeStamp-t.startTime),t._active){let e=t._delta.map(Math.abs);tF.addTo(t._distance,e)}this.axisIntent&&this.axisIntent(e);let[i,s]=t._movement,[a,l]=n.threshold,{_step:c,values:u}=t;if(n.hasCustomTransform?(!1===c[0]&&(c[0]=Math.abs(i)>=a&&u[0]),!1===c[1]&&(c[1]=Math.abs(s)>=l&&u[1])):(!1===c[0]&&(c[0]=Math.abs(i)>=a&&Math.sign(i)*a),!1===c[1]&&(c[1]=Math.abs(s)>=l&&Math.sign(s)*l)),t.intentional=!1!==c[0]||!1!==c[1],!t.intentional)return;let d=[0,0];if(n.hasCustomTransform){let[e,t]=u;d[0]=!1!==c[0]?e-c[0]:0,d[1]=!1!==c[1]?t-c[1]:0}else d[0]=!1!==c[0]?i-c[0]:0,d[1]=!1!==c[1]?s-c[1]:0;this.restrictToAxis&&!t._blocked&&this.restrictToAxis(d);let f=t.offset,p=t._active&&!t._blocked||t.active;p&&(t.first=t._active&&!t.active,t.last=!t._active&&t.active,t.active=o[this.ingKey]=t._active,e&&(t.first&&("bounds"in n&&(t._bounds=t3(n.bounds,t)),this.setup&&this.setup()),t.movement=d,this.computeOffset()));let[h,m]=t.offset,[[g,b],[v,y]]=t._bounds;t.overflow=[h<g?-1:+(h>b),m<v?-1:+(m>y)],t._movementBound[0]=!!t.overflow[0]&&(!1===t._movementBound[0]?t._movement[0]:t._movementBound[0]),t._movementBound[1]=!!t.overflow[1]&&(!1===t._movementBound[1]?t._movement[1]:t._movementBound[1]);let x=t._active&&n.rubberband||[0,0];if(t.offset=function(e,[t,n],[o,r]){let[[i,s],[a,l]]=e;return[tW(t,i,s,o),tW(n,a,l,r)]}(t._bounds,t.offset,x),t.delta=tF.sub(t.offset,f),this.computeMovement(),p&&(!t.last||r>32)){t.delta=tF.sub(t.offset,f);let e=t.delta.map(Math.abs);tF.addTo(t.distance,e),t.direction=t.delta.map(Math.sign),t._direction=t._delta.map(Math.sign),!t.first&&r>0&&(t.velocity=[e[0]/r,e[1]/r])}}emit(){let e=this.state,t=this.shared,n=this.config;if(e._active||this.clean(),(e._blocked||!e.intentional)&&!e._force&&!n.triggerAllEvents)return;let o=this.handler(t$(t$(t$({},t),e),{},{[this.aliasKey]:e.values}));void 0!==o&&(e.memo=o)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}class t8 extends t6{constructor(...e){super(...e),tY(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=tF.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=tF.sub(this.state.offset,this.state.lastOffset)}axisIntent(e){let t=this.state,n=this.config;if(!t.axis&&e){let o="object"==typeof n.axisThreshold?n.axisThreshold[t0(e)]:n.axisThreshold;t.axis=function([e,t],n){let o=Math.abs(e),r=Math.abs(t);return o>r&&o>n?"x":r>o&&r>n?"y":void 0}(t._movement,o)}t._blocked=(n.lockDirection||!!n.axis)&&!t.axis||!!n.axis&&n.axis!==t.axis}restrictToAxis(e){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":e[1]=0;break;case"y":e[0]=0}}}let t9=e=>e,ne={enabled:(e=!0)=>e,eventOptions:(e,t,n)=>t$(t$({},n.shared.eventOptions),e),preventDefault:(e=!1)=>e,triggerAllEvents:(e=!1)=>e,rubberband(e=0){switch(e){case!0:return[.15,.15];case!1:return[0,0];default:return tF.toVector(e)}},from:e=>"function"==typeof e?e:null!=e?tF.toVector(e):void 0,transform(e,t,n){let o=e||n.shared.transform;return this.hasCustomTransform=!!o,o||t9},threshold:e=>tF.toVector(e,0)},nt=0,nn=t$(t$({},ne),{},{axis(e,t,{axis:n}){if(this.lockDirection="lock"===n,!this.lockDirection)return n},axisThreshold:(e=nt)=>e,bounds(e={}){if("function"==typeof e)return t=>nn.bounds(e(t));if("current"in e)return()=>e.current;if("function"==typeof HTMLElement&&e instanceof HTMLElement)return e;let{left:t=-1/0,right:n=1/0,top:o=-1/0,bottom:r=1/0}=e;return[[t,n],[o,r]]}}),no={ArrowRight:(e=1)=>[10*e,0],ArrowLeft:(e=1)=>[-10*e,0],ArrowUp:(e=1)=>[0,-10*e],ArrowDown:(e=1)=>[0,10*e]};
1class nr extends t8{constructor(...e){super(...e),tY(this,"ingKey","dragging")}reset(){super.reset();let e=this.state;e._pointerId=void 0,e._pointerActive=!1,e._keyboardActive=!1,e._preventScroll=!1,e._delayed=!1,e.swipe=[0,0],e.tap=!1,e.canceled=!1,e.cancel=this.cancel.bind(this)}setup(){let e=this.state;if(e._bounds instanceof HTMLElement){let t=e._bounds.getBoundingClientRect(),n=e.currentTarget.getBoundingClientRect(),o={left:t.left-n.left+e.offset[0],right:t.right-n.right+e.offset[0],top:t.top-n.top+e.offset[1],bottom:t.bottom-n.bottom+e.offset[1]};e._bounds=nn.bounds(o)}}cancel(){let e=this.state;e.canceled||(e.canceled=!0,e._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(e){let t=this.config,n=this.state;if(null!=e.buttons&&(Array.isArray(t.pointerButtons)?!t.pointerButtons.includes(e.buttons):-1!==t.pointerButtons&&t.pointerButtons!==e.buttons))return;let o=this.ctrl.setEventIds(e);t.pointerCapture&&e.target.setPointerCapture(e.pointerId),o&&o.size>1&&n._pointerActive||(this.start(e),this.setupPointer(e),n._pointerId=t2(e),n._pointerActive=!0,this.computeValues(t5(e)),this.computeInitial(),t.preventScrollAxis&&"mouse"!==t0(e)?(n._active=!1,this.setupScrollPrevention(e)):t.delay>0?(this.setupDelayTrigger(e),t.triggerAllEvents&&(this.compute(e),this.emit())):this.startPointerDrag(e))}startPointerDrag(e){let t=this.state;t._active=!0,t._preventScroll=!0,t._delayed=!1,this.compute(e),this.emit()}pointerMove(e){let t=this.state,n=this.config;if(!t._pointerActive||t.type===e.type&&e.timeStamp===t.timeStamp)return;let o=t2(e);if(void 0!==t._pointerId&&o!==t._pointerId)return;let r=t5(e);if(document.pointerLockElement===e.target?t._delta=[e.movementX,e.movementY]:(t._delta=tF.sub(r,t._values),this.computeValues(r)),tF.addTo(t._movement,t._delta),this.compute(e),t._delayed&&t.intentional){this.timeoutStore.remove("dragDelay"),t.active=!1,this.startPointerDrag(e);return}if(n.preventScrollAxis&&!t._preventScroll)if(!t.axis)return;else if(t.axis===n.preventScrollAxis||"xy"===n.preventScrollAxis){t._active=!1,this.clean();return}else{this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(e);return}this.emit()}pointerUp(e){this.ctrl.setEventIds(e);try{this.config.pointerCapture&&e.target.hasPointerCapture(e.pointerId)&&e.target.releasePointerCapture(e.pointerId)}catch(e){}let t=this.state,n=this.config;if(!t._active||!t._pointerActive)return;let o=t2(e);if(void 0!==t._pointerId&&o!==t._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(e);let[r,i]=t._distance;if(t.tap=r<=n.tapsThreshold&&i<=n.tapsThreshold,t.tap&&n.filterTaps)t._force=!0;else{let[e,o]=t.direction,[r,i]=t.velocity,[s,a]=t.movement,[l,c]=n.swipe.velocity,[u,d]=n.swipe.distance,f=n.swipe.duration;t.elapsedTime<f&&(Math.abs(r)>l&&Math.abs(s)>u&&(t.swipe[0]=e),Math.abs(i)>c&&Math.abs(a)>d&&(t.swipe[1]=o))}this.emit()}pointerClick(e){!this.state.tap&&e.detail>0&&(e.preventDefault(),e.stopPropagation())}setupPointer(e){let t=this.config,n=t.device;t.pointerLock&&e.currentTarget.requestPointerLock(),t.pointerCapture||(this.eventStore.add(this.sharedConfig.window,n,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(e){this.state._preventScroll&&e.cancelable&&e.preventDefault()}setupScrollPrevention(e){var t;this.state._preventScroll=!1,"persist"in(t=e)&&"function"==typeof t.persist&&t.persist();let n=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",n),this.eventStore.add(this.sharedConfig.window,"touch","cancel",n),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,e)}setupDelayTrigger(e){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(e)},this.config.delay)}keyDown(e){let t=no[e.key];if(t){let n=this.state,o=e.shiftKey?10:e.altKey?.1:1;this.start(e),n._delta=t(o),n._keyboardActive=!0,tF.addTo(n._movement,n._delta),this.compute(e),this.emit
1()}}keyUp(e){e.key in no&&(this.state._keyboardActive=!1,this.setActive(),this.compute(e),this.emit())}bind(e){let t=this.config.device;e(t,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(e(t,"change",this.pointerMove.bind(this)),e(t,"end",this.pointerUp.bind(this)),e(t,"cancel",this.pointerUp.bind(this)),e("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(e("key","down",this.keyDown.bind(this)),e("key","up",this.keyUp.bind(this))),this.config.filterTaps&&e("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}}let ni="u">typeof window&&window.document&&window.document.createElement;function ns(){return ni&&"ontouchstart"in window||ni&&window.navigator.maxTouchPoints>1}let na={isBrowser:ni,gesture:function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),touch:ns(),touchscreen:ns(),pointer:ni&&"onpointerdown"in window,pointerLock:ni&&"exitPointerLock"in window.document},nl={mouse:0,touch:0,pen:8},nc=t$(t$({},nn),{},{device(e,t,{pointer:{touch:n=!1,lock:o=!1,mouse:r=!1}={}}){return(this.pointerLock=o&&na.pointerLock,na.touch&&n)?"touch":this.pointerLock?"mouse":na.pointer&&!r?"pointer":na.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:n}){if(this.preventScrollDelay="number"==typeof n?n:n||void 0===n&&e?250:void 0,na.touchscreen&&!1!==n)return e||(void 0!==n?"y":void 0)},pointerCapture(e,t,{pointer:{capture:n=!0,buttons:o=1,keys:r=!0}={}}){return this.pointerButtons=o,this.keys=r,!this.pointerLock&&"pointer"===this.device&&n},threshold(e,t,{filterTaps:n=!1,tapsThreshold:o=3,axis:r}){let i=tF.toVector(e,n?o:+!!r);return this.filterTaps=n,this.tapsThreshold=o,i},swipe({velocity:e=.5,distance:t=50,duration:n=250}={}){return{velocity:this.transform(tF.toVector(e)),distance:this.transform(tF.toVector(t)),duration:n}},delay(e=0){switch(e){case!0:return 180;case!1:return 0;default:return e}},axisThreshold:e=>e?t$(t$({},nl),e):nl});t$(t$({},ne),{},{device(e,t,{shared:n,pointer:{touch:o=!1}={}}){if(n.target&&!na.touch&&na.gesture)return"gesture";if(na.touch&&o)return"touch";if(na.touchscreen){if(na.pointer)return"pointer";if(na.touch)return"touch"}},bounds(e,t,{scaleBounds:n={},angleBounds:o={}}){let r=e=>{let t=t4(t3(n,e),{min:-1/0,max:1/0});return[t.min,t.max]},i=e=>{let t=t4(t3(o,e),{min:-1/0,max:1/0});return[t.min,t.max]};return"function"!=typeof n&&"function"!=typeof o?[r(),i()]:e=>[r(e),i(e)]},threshold(e,t,n){return this.lockDirection="lock"===n.axis,tF.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey:e=>void 0===e?"ctrlKey":e,pinchOnWheel:(e=!0)=>e}),t$(t$({},nn),{},{mouseOnly:(e=!0)=>e}),t$(t$({},nn),{},{mouseOnly:(e=!0)=>e});let nu=new Map,nd=new Map,nf={key:"drag",engine:nr,resolver:nc},np={target(e){if(e)return()=>"current"in e?e.current:e},enabled:(e=!0)=>e,window:(e=na.isBrowser?window:void 0)=>e,eventOptions:({passive:e=!0,capture:t=!1}={})=>({passive:e,capture:t}),transform:e=>e},nh=["target","eventOptions","window","enabled","transform"];function nm(e={},t){let n={};for(let[o,r]of Object.entries(t))switch(typeof r){case"function":n[o]=r.call(n,e[o],o,e);break;case"object":n[o]=nm(e[o],r);break;case"boolean":r&&(n[o]=e[o])}return n}class ng{constructor(e,t){tY(this,"_listeners",new Set),this._ctrl=e,this._gestureKey=t}add(e,t,n,o,r){let i=this._listeners,s=function(e,t=""){let n=tG[e];return e+(n&&n[t]||t)}(t,n),a=t$(t$({},this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{}),r);e.addEventListener(s,o,a);let l=()=>{e.removeEventListener(s,o,a),i.delete(l)};return i.add(l),l}clean(){this._listeners.forEach(e=>e()),this._listeners.clear()}}class nb{constructor(){tY(this,"_timeouts",new Map)}add(e,t,n=140,...o){this.remove(e),this._timeouts.set(e,window.setTimeout(t,n,...o))}remove(e){let t=this._timeouts.get(e);t&&window.clearTimeout(t)}clean(){this._timeouts.forEach(e=>void window.clearTimeout(e)),this._timeouts.clear()}}class nv{constructor(e){tY(this,"gestures",new Set),tY(this,"_targetEventStore",new ng(this)),tY(this,"gestureEventStores",{}),tY(this,"gestureTimeoutStores",{}),tY(this,"handlers",{}),tY(this,"config",{}
1),tY(this,"pointerIds",new Set),tY(this,"touchIds",new Set),tY(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),function(e,t){t.drag&&ny(e,"drag"),t.wheel&&ny(e,"wheel"),t.scroll&&ny(e,"scroll"),t.move&&ny(e,"move"),t.pinch&&ny(e,"pinch"),t.hover&&ny(e,"hover")}(this,e)}setEventIds(e){if(tQ(e))return this.touchIds=new Set(Array.from(e.touches).filter(t=>{var n,o;return t.target===e.currentTarget||(null==(n=e.currentTarget)||null==(o=n.contains)?void 0:o.call(n,t.target))}).map(e=>e.identifier)),this.touchIds;if("pointerId"in e)return"pointerup"===e.type||"pointercancel"===e.type?this.pointerIds.delete(e.pointerId):"pointerdown"===e.type&&this.pointerIds.add(e.pointerId),this.pointerIds}applyHandlers(e,t){this.handlers=e,this.nativeHandlers=t}applyConfig(e,t){this.config=function(e,t,n={}){let{target:o,eventOptions:r,window:i,enabled:s,transform:a}=e,l=function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,nh);if(n.shared=nm({target:o,eventOptions:r,window:i,enabled:s,transform:a},np),t){let e=nd.get(t);n[t]=nm(t$({shared:n.shared},l),e)}else for(let e in l){let t=nd.get(e);t&&(n[e]=nm(t$({shared:n.shared},l[e]),t))}return n}(e,t,this.config)}clean(){for(let e of(this._targetEventStore.clean(),this.gestures))this.gestureEventStores[e].clean(),this.gestureTimeoutStores[e].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...e){let t,n=this.config.shared,o={};if(!n.target||(t=n.target())){if(n.enabled){for(let n of this.gestures){let r=this.config[n],i=nx(o,r.eventOptions,!!t);r.enabled&&new(nu.get(n))(this,e,n).bind(i)}let r=nx(o,n.eventOptions,!!t);for(let t in this.nativeHandlers)r(t,"",n=>this.nativeHandlers[t](t$(t$({},this.state.shared),{},{event:n,args:e})),void 0,!0)}for(let e in o)o[e]=function(...e){return 0===e.length?t7:1===e.length?e[0]:function(){let t;for(let n of e)t=n.apply(this,arguments)||t;return t}}(...o[e]);if(!t)return o;for(let e in o){let{device:n,capture:r,passive:i}=function(e){let t=e.substring(2).toLowerCase(),n=!!~t.indexOf("passive");n&&(t=t.replace("passive",""));let o=tK.includes(t)?"capturecapture":"capture",r=!!~t.indexOf(o);return r&&(t=t.replace("capture","")),{device:t,capture:r,passive:n}}(e);this._targetEventStore.add(t,n,"",o[e],{capture:r,passive:i})}}}}function ny(e,t){e.gestures.add(t),e.gestureEventStores[t]=new ng(e,t),e.gestureTimeoutStores[t]=new nb}let nx=(e,t,n)=>(o,r,i,s={},a=!1)=>{var l,c;let u=null!=(l=s.capture)?l:t.capture,d=null!=(c=s.passive)?c:t.passive,f=a?o:function(e,t="",n=!1){let o=tG[e],r=o&&o[t]||t;return"on"+tJ(e)+tJ(r)+(!function(e=!1,t){return e&&!tX.includes(t)}(n,r)?"":"Capture")}(o,r,u);n&&d&&(f+="Passive"),e[f]=e[f]||[],e[f].push(i)};var nw=n(99383);n(77434);var nj={surfaceApp:"_1mkd7gxc",surfaceBrand:"_1mkd7gx0",surfaceBrandSecondary:"_1mkd7gxi",surfaceBrandTertiary:"mo0yzuc",surfaceCritical:"_1mkd7gx9",surfaceDefault:"_1mkd7gxf",surfaceInfo:"mo0yzuh",surfacePositive:"_1mkd7gx3",surfaceWarning:"_1mkd7gx6"},nA={paddingX:"m",width:"max",flexGrow:1,flexShrink:1},nk={width:"max",flexGrow:1,flexShrink:1,overflow:"auto",display:"flex",flexDirection:"column",flexWrap:"nowrap"};let nC={axis:"y",filterTaps:!0,bounds:{top:0},rubberband:.1},nO={clamp:!0,mass:1,tension:170,friction:26},nS={clamp:!0,mass:.1,tension:200,friction:7},nN=r.forwardRef(({actions:e,children:t,closeModal:n,disableFixedActions:o,full:i,hideCloseButton:s,isOpen:a,stackedActions:l,title:c,titleId:u,titlePiiProps:d,backgroundColor:f="surfaceDefault",...p},h)=>{var m,g;let[b,v]=(0,r.useState)(null),[y,x]=(0,r.useState)(null),[w,j]=(0,tR.useSpring)(()=>({bottom:0,config:nO})),{top:A,bottom:k}=tg(b),C=eN([h,x]),O=!tB(b)&&(k>0||A>0),S=(m=({down:e,target:t,offset:[,o],swipe:[,r],delta:[,i]})=>
1{if(a){if((({swipeY:e,scrollTop:t,scrollContainer:n,target:o})=>e>0&&(0===t||!n||!(o instanceof HTMLElement)||o!==n&&!n.contains(o)))({swipeY:r,scrollTop:A,scrollContainer:b,target:t})){j.stop(!0),n();return}if(!e)return void((({modalSheet:e,offsetY:t})=>!!e&&e.offsetHeight>0&&t>=e.offsetHeight/2)({modalSheet:y,offsetY:o})?(j.stop(!0),n()):j.start({bottom:0,config:nO}));if((({deltaY:e,scrollTop:t,scrollBottom:n,scrollContainer:o,target:r,animations:i})=>(e>=0&&t>0||e<0&&n>0)&&0===i.bottom.get()&&o&&r instanceof HTMLElement&&(r===o||o.contains(r)))({deltaY:i,scrollTop:A,scrollBottom:k,scrollContainer:b,target:t,animations:w}))return void j.start({bottom:0,config:nO});j.start({bottom:-o,config:nS})}},g={...nC,from:[0,0]},nu.set(nf.key,nf.engine),nd.set(nf.key,nf.resolver),function(e,t={},n){let o=r.useMemo(()=>new nv(e),[]);if(o.applyHandlers(e,void 0),o.applyConfig(t,n),r.useEffect(o.effect.bind(o)),r.useEffect(()=>o.clean.bind(o),[]),void 0===t.target)return o.bind.bind(o)}({drag:m},g||{},"drag"));(0,r.useEffect)(()=>{if(!y)return;let e=y.offsetHeight;if(!a)return void j.start({bottom:-e,config:tD.leave});if(w.bottom.hasAnimated){w.bottom.get()<=-(.8*e)&&j.start({bottom:0,config:tD.enter});return}j.start({from:{bottom:-e},to:{bottom:0},config:tD.enter})},[a,y]);let N=r.createElement(tO,{disableFixedActions:o,stackedActions:l,actions:e,hasScrollBottom:k>0});return r.createElement(tb.A,{atoms:{width:"max",height:"max",position:"fixed",overflow:"hidden"}},r.createElement(nw.A,{ref:C,...S(),style:{...w,opacity:+!!w.bottom.hasAnimated},className:(0,tf.A)("mo0yzu5 _1mkd7gx103 _1mkd7gxo9 _1mkd7gx8c _1mkd7gxx6 _1mkd7gxxi _1mkd7gxxr _1mkd7gxxx _1mkd7gxvu _1mkd7gxbu",i&&"mo0yzu3",o&&"mo0yzu0",!o&&"_1mkd7gxdo",f&&nj[f]),...p},r.createElement(tT,{titleId:u,title:c,isPii:d?.isPii,isNotPii:d?.isNotPii,hideCloseButton:s,closeModal:n,hasScrollTop:A>0}),r.createElement(tb.A,{ref:v,atoms:nk,className:(0,tf.A)(o&&"mo0yzum"),tabIndex:O?0:void 0},r.createElement(tb.A,{atoms:nA},t),o&&N),!o&&N))});tc.IJ&&(nN.displayName="ModalSheet");let nE=r.forwardRef(({children:e,lockScroll:t=!0,returnFocus:n=!0,size:o="m",renderTrigger:i,isInitialOpen:s,isOpen:a,onIsOpenChange:l,disableCloseOnOutsidePress:c,actions:f,hideCloseButton:p,modalSheetProps:h={stackedActions:!1,full:!1,disableFixedActions:!1},title:m,titlePiiProps:v,backgroundColor:w="surfaceDefault",...E},P)=>
1{let L=eR(),[_,I]=(0,r.useState)(s),M=(0,r.useCallback)((e,t)=>{l?("boolean"!=typeof a&&I(e),l(e,t)):I(e),!0!==e&&"boolean"!=typeof n&&n&&(n instanceof HTMLElement&&!(n.tabIndex<0)?n.focus():"current"in n&&n.current instanceof HTMLElement&&!(n.current.tabIndex<0)&&n.current.focus())},[a,l,n]),{context:T,isOpen:R,closeModal:D,trigger:U,modal:H}=function({isOpen:e,onIsOpenChange:t,disableCloseOnOutsidePress:n}){var o;let i,s,a,{context:l,isPositioned:c,elements:f,refs:p}=function(e){var t;void 0===e&&(e={});let{open:n=!1,onOpenChange:o,nodeId:i}=e,[s,a]=r.useState(null),l=(null==(t=e.elements)?void 0:t.reference)||s,c=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:s,floating:a}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,f]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(o);Q(p,o)||h(o);let[m,g]=r.useState(null),[b,v]=r.useState(null),y=r.useCallback(e=>{e!=A.current&&(A.current=e,g(e))},[g]),x=r.useCallback(e=>{e!==k.current&&(k.current=e,v(e))},[v]),w=s||m,j=a||b,A=r.useRef(null),k=r.useRef(null),C=r.useRef(d),O=en(c),S=en(i),N=r.useCallback(()=>{var e,o;let r,i,s;if(!A.current||!k.current)return;let a={placement:t,strategy:n,middleware:p};S.current&&(a.platform=S.current),(e=A.current,o=k.current,r=new Map,s={...(i={platform:J,...a}).platform,_c:r},B(e,o,{...i,platform:s})).then(e=>{let t={...e,isPositioned:!0};E.current&&!Q(C.current,t)&&(C.current=t,X.flushSync(()=>{f(t)}))})},[p,t,n,S]);K(()=>{!1===u&&C.current.isPositioned&&(C.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[u]);let E=r.useRef(!1);K(()=>(E.current=!0,()=>{E.current=!1}),[]),K(()=>{if(w&&(A.current=w),j&&(k.current=j),w&&j)if(O.current)return O.current(w,j,N);else N()},[w,j,N,O]);let P=r.useMemo(()=>({reference:A,floating:k,setReference:y,setFloating:x}),[y,x]),L=r.useMemo(()=>({reference:w,floating:j}),[w,j]),_=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!L.floating)return e;let t=et(L.floating,d.x),o=et(L.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+o+"px)",...ee(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:o}},[n,l,L.floating,d.x,d.y]);return r.useMemo(()=>({...d,update:N,refs:P,elements:L,floatingStyles:_}),[d,N,P,L,_])}(e),d=r.useContext(eB),f=tt((e,t)=>{e&&(h.current.openEvent=t),null==o||o(e,t)}),p=r.useRef(null),h=r.useRef({}),m=r.useState(()=>{let e;return e=new Map,{emit(t,n){var o;null==(o=e.get(t))||o.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var o;e.set(t,(null==(o=e.get(t))?void 0:o.filter(e=>e!==n))||[])}}})[0],g=eR(),b=r.useCallback(e=>{let t=u(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;c.refs.setReference(t)},[c.refs]),v=r.useCallback(e=>{(u(e)||null===e)&&(p.current=e,a(e)),(u(c.refs.reference.current)||null===c.refs.reference.current||null!==e&&!u(e))&&c.refs.setReference(e)},[c.refs]),y=r.useMemo(()=>({...c.refs,setReference:v,setPositionReference:b,domReference:p}),[c.refs,v,b]),x=r.useMemo(()=>({...c.elements,domReference:l}),[c.elements,l]),w=r.useMemo(()=>({...c,refs:y,elements:x,dataRef:h,nodeId:i,floatingId:g,events:m,open:n,onOpenChange:f}),[c,i,g,m,n,f,y,x]);return eL(()=>{let e=null==d?void 0:d.nodesRef.current.find(e=>e.id===i);e&&(e.context=w)}),r.useMemo(()=>({...c,context:w,refs:y,elements:x}),[c,y,x,w])}({open:e,onOpenChange:t}),{onOpenChange:h,open:m}=l,v=(o=[function(e,t){void 0===t&&(t={});let{open:n,onOpenChange:o,dataRef:i,elements:{domReference:s}}=e,{enabled:a=!0,event:l="click",toggle:c=!0,ignoreMouse:u=!1,keyboardHandlers:d=!0}=t,f=r.useRef(),p=r.useRef(!1);return r.useMemo(()=>a?{reference:{onPointerDown(e){f.current=e.pointerType},onMouseDown(e){0!==e.button||k(f.current,!0)&&u||"click"!==l&&(n&&c&&(!i.current.openEvent||"mousedown"===i.current.openEvent.type)?o(!1,e.nativeEvent):(e.preventDefault(),o(!0,e.nativeEvent)))},onClick(e){if("mousedown"===l&&f.current){f.current=void 0;return}k(f.current,!0)&&u||(n&&c&&(!i.current.openEvent||"click"===i.current.openEvent.type)?o(!1,e.nativeEvent):o(!0,e.nativeEvent))},onKeyDown(e){f.current=void 0,e.defaultPrevented||!d||e9(e)||(" "!==e.key||N(s)||(e.preventDefault(),p.current=!0),"Enter"===e.key&&(n&&c?o(!1,e.nativeEvent):o(!0,e.nativeEvent)))},onKeyUp(e){!(e.defaultPrevented||!d||e9(e)||N(s))&&" "===e.key&&p.current&&(p.current=!1,n&&c?o(!1,e.nativeEvent):o(!0,e.nativeEvent))}}}:{}
1,[a,i,l,u,d,s,c,n,o])}(l),function(e,t){var n,o,i;void 0===t&&(t={});let{open:s,onOpenChange:a,events:l,nodeId:c,elements:{reference:f,domReference:p,floating:h},dataRef:m}=e,{enabled:v=!0,escapeKey:w=!0,outsidePress:k=!0,outsidePressEvent:N="pointerdown",referencePress:E=!1,referencePressEvent:P="pointerdown",ancestorScroll:L=!1,bubbles:_}=t,I=r.useContext(eB),M=null!=((null==(n=r.useContext(eD))?void 0:n.id)||null),T=tt("function"==typeof k?k:()=>!1),R="function"==typeof k?T:k,D=r.useRef(!1),{escapeKeyBubbles:B,outsidePressBubbles:U}={escapeKeyBubbles:"boolean"==typeof _?_:null!=(o=null==_?void 0:_.escapeKey)&&o,outsidePressBubbles:"boolean"==typeof _?_:null==(i=null==_?void 0:_.outsidePress)||i},H=tt(e=>{if(!s||!v||!w||"Escape"!==e.key)return;let t=I?eq(I.nodesRef.current,c):[];if(!B&&(e.stopPropagation(),t.length>0)){let e=!0;if(t.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}l.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),a(!1,"nativeEvent"in e?e.nativeEvent:e)}),q=tt(e=>{var t;let n=D.current;if(D.current=!1,n||"function"==typeof R&&!R(e))return;let o=S(e),r="["+eU("inert")+"]",i=C(h).querySelectorAll(r),s=u(o)?o:null;for(;s&&!g(s);){let e=y(s);if(e!==C(h).body&&u(e))s=e;else break}if(i.length&&u(o)&&!o.matches("html,body")&&!j(o,h)&&Array.from(i).every(e=>!j(s,e)))return;if(d(o)&&h){let t=o.clientWidth>0&&o.scrollWidth>o.clientWidth,n=o.clientHeight>0&&o.scrollHeight>o.clientHeight,r=n&&e.offsetX>o.clientWidth;if(n&&"rtl"===b(o).direction&&(r=e.offsetX<=o.offsetWidth-o.clientWidth),r||t&&e.offsetY>o.clientHeight)return}let f=I&&eq(I.nodesRef.current,c).some(t=>{var n;return O(e,null==(n=t.context)?void 0:n.elements.floating)});if(O(e,h)||O(e,p)||f)return;let m=I?eq(I.nodesRef.current,c):[];if(m.length>0){let e=!0;if(m.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}l.emit("dismiss",{type:"outsidePress",data:{returnFocus:M?{preventScroll:!0}:function(e){let t;if(0===e.mozInputSource&&e.isTrusted)return!0;let n=/Android/i;return(n.test(A())||n.test((t=navigator.userAgentData)&&Array.isArray(t.brands)?t.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent))&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType}(e)||0===(t=e).width&&0===t.height||1===t.width&&1===t.height&&0===t.pressure&&0===t.detail&&"mouse"!==t.pointerType||t.width<1&&t.height<1&&0===t.pressure&&0===t.detail}}),a(!1,e)});return r.useEffect(()=>{if(!s||!v)return;function e(e){a(!1,e)}m.current.__escapeKeyBubbles=B,m.current.__outsidePressBubbles=U;let t=C(h);w&&t.addEventListener("keydown",H),R&&t.addEventListener(N,q);let n=[];return L&&(u(p)&&(n=x(p)),u(h)&&(n=n.concat(x(h))),!u(f)&&f&&f.contextElement&&(n=n.concat(x(f.contextElement)))),(n=n.filter(e=>{var n;return e!==(null==(n=t.defaultView)?void 0:n.visualViewport)})).forEach(t=>{t.addEventListener("scroll",e,{passive:!0})}),()=>{w&&t.removeEventListener("keydown",H),R&&t.removeEventListener(N,q),n.forEach(t=>{t.removeEventListener("scroll",e)})}},[m,h,p,f,w,R,N,s,a,L,v,B,U,H,q]),r.useEffect(()=>{D.current=!1},[R,N]),r.useMemo(()=>v?{reference:{onKeyDown:H,[tn[P]]:e=>{E&&(l.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),a(!1,e.nativeEvent))}},floating:{onKeyDown:H,[to[N]]:()=>{D.current=!0}}}:{},[v,l,E,N,P,a,H])}(l,{outsidePressEvent:"mousedown",outsidePress:!n}),function(e,t){void 0===t&&(t={});let{open:n,floatingId:o}=e,{enabled:i=!0,role:s="dialog"}=t,a=eR();return r.useMemo(()=>{let e={id:o,role:s};return i?"tooltip"===s?{reference:{"aria-describedby":n?o:void 0},floating:e}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":"alertdialog"===s?"dialog":s,"aria-controls":n?o:void 0,..."listbox"===s&&{role:"combobox"},..."menu"===s&&{id:a}},floating:{...e,..."menu"===s&&{"aria-labelledby":a}}}:{}},[i,s,n,o,a])}(l)],i=r.useCallback(e=>tr(e,o,"reference"),o),s=r.useCallback(e=>tr(e,o,"floating"),o),a=r.useCallback(e=>tr(e,o,"item"),o.map(e=>null==e?void 0:e.item)),r.useMemo(()=>({getReferenceProps:i,getFloatingProps:s,getItemProps:a}),[i,s,a])),w=(0,r.useCallback)(()=>{h(!1)}
1,[h]);return(0,r.useMemo)(()=>({isPositioned:c,isOpen:m,closeModal:w,trigger:{ref:p.setReference,el:f.reference,getProps:v.getReferenceProps},modal:{ref:p.setFloating,el:f.floating,getProps:v.getFloatingProps},context:l}),[c,m,w,p.setReference,p.setFloating,f.reference,f.floating,v.getReferenceProps,v.getFloatingProps,l])}((0,r.useMemo)(()=>{let e={onIsOpenChange:M,disableCloseOnOutsidePress:c};return"boolean"==typeof a?{...e,isOpen:a}:{...e,isOpen:_}},[c,a,M,_])),q=eN([H.ref,P]),z=(0,ta.t)()({mobile:!1,tablet:!0,desktop:!0}),{isMounted:F,styles:V}=function(e,t){void 0===t&&(t={});let{initial:n={opacity:0},open:o,close:i,common:s,duration:a=250}=t,l=e.placement,c=l.split("-")[0],u=r.useMemo(()=>({side:c,placement:l}),[c,l]),d="number"==typeof a,f=(d?a:a.open)||0,p=(d?a:a.close)||0,[h,m]=r.useState(()=>({...ts(s,u),...ts(n,u)})),{isMounted:g,status:b}=function(e,t){void 0===t&&(t={});let{open:n,elements:{floating:o}}=e,{duration:i=250}=t,s=("number"==typeof i?i:i.close)||0,[a,l]=r.useState(!1),[c,u]=r.useState("unmounted"),d=function(e,t){let[n,o]=r.useState(e);return e&&!n&&o(!0),r.useEffect(()=>{if(!e){let e=setTimeout(()=>o(!1),t);return()=>clearTimeout(e)}},[e,t]),n}(n,s);return eL(()=>{a&&!d&&u("unmounted")},[a,d]),eL(()=>{if(o)if(n){u("initial");let e=requestAnimationFrame(()=>{u("open")});return()=>{cancelAnimationFrame(e)}}else l(!0),u("close")},[n,o]),{isMounted:d,status:c}}(e,{duration:a}),v=eH(n),y=eH(o),x=eH(i),w=eH(s);return eL(()=>{let e=ts(v.current,u),t=ts(x.current,u),n=ts(w.current,u),o=ts(y.current,u)||Object.keys(e).reduce((e,t)=>(e[t]="",e),{});if("initial"===b&&m(t=>({transitionProperty:t.transitionProperty,...n,...e})),"open"===b&&m({transitionProperty:Object.keys(o).map(ti).join(","),transitionDuration:f+"ms",...n,...o}),"close"===b){let o=t||e;m({transitionProperty:Object.keys(o).map(ti).join(","),transitionDuration:p+"ms",...n,...o})}},[p,x,v,y,w,f,b,u]),{isMounted:g,styles:h}}(T);return(0,r.useEffect)(()=>("boolean"!=typeof n&&n&&T.events.on("dismiss",M),()=>{T.events.off("dismiss",M)}),[T.events,M,n]),r.createElement(r.Fragment,null,i&&i(U.getProps),F&&r.createElement(td,null,r.createElement(e8,{className:"_16es2w44 _1mkd7gxx6 _1mkd7gxxx _1mkd7gxvu _1mkd7gx36",lockScroll:t,style:{...V,zIndex:tl.f.system.zIndex.modal}},r.createElement(e4,{context:T,returnFocus:"boolean"==typeof n&&n,visuallyHiddenDismiss:p},z?r.createElement(tz,{ref:q,closeModal:D,actions:f,size:o,title:m,titlePiiProps:v,titleId:L,hideCloseButton:p,...H.getProps(E),style:V,"aria-labelledby":L,backgroundColor:w},e):r.createElement(nN,{ref:q,actions:f,closeModal:D,hideCloseButton:p,isOpen:R,title:m,titlePiiProps:v,titleId:L,...h,...H.getProps(E),"aria-labelledby":L,backgroundColor:w},e)))))});tc.IJ&&(nE.displayName="Modal");let nP=nE},78977:()=>{},81610:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var o=n(66158),r=n(40649);let i=()=>{let e=(0,o.Q)();return function(t){let n;return e?(n=r.uV.find(t=>e===t))?t[n]:null:null}}}
1,84274:(e,t,n)=>{"use strict";n.d(t,{VP:()=>a,e:()=>u,In:()=>d.I,JY:()=>f.JY,TV:()=>f.TV,L5:()=>f.L5,IJ:()=>p.A,$F:()=>A,A3:()=>E,H_:()=>L,mG:()=>b,pE:()=>v,Nl:()=>w});var o=n(37876),r=n(23687),i=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let s=e=>{var{width:t="max",atoms:n,children:s,component:a="div"}=e,l=i(e,["width","atoms","children","component"]);return(0,o.jsx)(r.A,Object.assign({atoms:Object.assign({padding:"m",width:t},n),component:a},l,{children:s}))};s.displayName="Column";let a=s;var l=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let c=e=>{var{atoms:t,style:n}=e,i=l(e,["atoms","style"]);return(0,o.jsx)(r.A,Object.assign({atoms:Object.assign({display:"flex",flexWrap:"wrap",marginX:"auto"},t),style:Object.assign({alignItems:"stretch",maxWidth:"1170px"},n)},i,{children:i.children}))};c.displayName="Columns";let u=c;var d=n(30120),f=n(8448),p=n(65027),h=n(50086),m=n(93695),g=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let b=({content:e,triggerProps:t,component:n="li",isNotPii:i,isPii:s,withNotification:a})=>{let l=t||{},{triggerRef:c,open:u}=l,f=g(l,["triggerRef","open"]);return(0,o.jsx)(r.A,{component:n,children:(0,o.jsxs)(r.A,Object.assign({atoms:{fontFamily:"heading",alignItems:"center",color:"neutral90",display:"flex",fontWeight:"bold",paddingLeft:"m",paddingRight:"0",paddingY:"m",textAlign:"center"},component:"button"},f,{ref:c,isNotPii:i,isPii:s,className:m.MC,children:[(0,o.jsx)(r.A,{atoms:{paddingRight:a?"2xs":"xs"},component:"span",children:e}),a&&(0,o.jsx)(r.A,{atoms:{paddingRight:"xs",display:"flex"},style:{marginTop:-2},"aria-label":a,role:"status",children:(0,o.jsx)(h.A,{size:"s",color:"onNegativeContainer"})}),(0,o.jsx)(d.I,{"aria-hidden":!0,iconName:"arrowDropDown",iconSize:"s",palette:"neutral20"})]}))})};b.displayName="NavDropdownItem";let v=({href:e,content:t,fontColor:n="neutral90",onClick:i,dataAttributes:s,component:a="li",isPii:l,isNotPii:c})=>(0,o.jsx)(r.A,{component:a,children:(0,o.jsx)(r.A,{atoms:{fontFamily:"heading",color:n,display:"block",fontWeight:"bold",padding:"m"},href:e,onClick:e=>{i&&i({dataAttributes:s,event:e})},className:m.MC,component:"a",isNotPii:c,isPii:l,children:t})});v.displayName="NavLinkItem";var y=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let x=e=>{var{triggerRef:t,withNotification:n}=e,i=y(e,["triggerRef","withNotification"]);let s=i["aria-expanded"];return(0,o.jsx)(r.A,Object.assign({"aria-label":"Main navigation menu",atoms:m.VK,className:s?m.bz:m.pE,component:"button"},i,{ref:t,children:s?(0,o.jsx)(d.I,{alt:"close",atoms:{height:"s",width:"s"}
1,iconName:"cross",iconSize:"xl"}):(0,o.jsxs)(o.Fragment,{children:[n&&(0,o.jsx)(r.A,{atoms:{position:"absolute",display:"flex",borderRadius:"circle",backgroundColor:"dangerousWhite"},style:{top:4,right:2},"aria-label":n,role:"status",children:(0,o.jsx)(h.A,{size:"s",color:"onNegativeContainer"})}),(0,o.jsx)(r.A,{atoms:{backgroundColor:"brand"},className:m.sQ,component:"span"}),(0,o.jsx)(r.A,{atoms:{backgroundColor:"brand"},className:m.sQ,component:"span"}),(0,o.jsx)(r.A,{atoms:{backgroundColor:"brand"},className:m.sQ,component:"span"})]})}))};x.displayName="NavMenuButtonMobile";let w=x,j=({children:e})=>(0,o.jsx)(r.A,{className:m.ds,component:"div",children:e});j.displayName="NavDesktopGroup";let A=j;var k=n(14160),C=n(63466),O=n(77808);let S=e=>(0,o.jsx)(r.A,{atoms:{paddingY:"s"},component:"li",children:(0,o.jsx)(k.A,{children:(0,o.jsx)(C.Yq,{href:e.href,isNotPii:e.isNotPii,isPii:e.isPii,onClick:t=>{let{onClick:n,dataAttributes:o}=e;n&&n({dataAttributes:o,event:t})},children:e.content},`nav-desktop-link-${e.href}`)})}),N=({menuSection:e})=>{let{title:t,links:n}=e;return(0,o.jsxs)(r.A,{className:m.Yl,children:[(0,o.jsx)(O.A,{component:"h5",size:"s",children:t}),(0,o.jsx)(r.A,{atoms:{paddingX:"0"},component:"ul",children:n.map(e=>(0,o.jsx)(S,Object.assign({},e),`desktop-menu-link-${e.content}-${e.href}`))})]})};N.displayName="NavDesktopMenuSection";let E=N,P=({children:e,actions:t})=>(0,o.jsxs)(r.A,{className:m.Kr,component:"div",children:[(0,o.jsx)(r.A,{className:m.jA,children:e}),t?(0,o.jsx)(r.A,{children:t}):null]});P.displayName="NavDesktopSubMenu";let L=P;n(63927)},84300:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var o=n(37876),r=n(14160),i=n(63466),s=n(69466);let a=({locale:e})=>(0,o.jsxs)(r.A,{variant:"detailMLong",children:["Upstart NMLS No. 936133."," ",(0,o.jsx)(i.Yq,{href:"https://nmlsconsumeraccess.org/",children:(0,s.sC)(e,"footer","NMLS Consumer Access")})]});a.displayName="UpstartNmlsNumber"},89785:()=>{},91872:()=>{},92583:()=>{},93194:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o=function(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=function e(t){var n,o,r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(o=e(t[n]))&&(r&&(r+=" "),r+=o)}else for(o in t)t[o]&&(r&&(r+=" "),r+=o);return r}(e))&&(o&&(o+=" "),o+=t);return o}},93695:(e,t,n)=>{"use strict";n.d(t,{EU:()=>h,Kr:()=>d,MC:()=>i,PT:()=>p,VK:()=>a,Yl:()=>c,bz:()=>l,ds:()=>r,jA:()=>u,pE:()=>s,sQ:()=>o,zB:()=>f}),n(61955),n(71976),n(49364);var o="gxhwc89",r="gxhwc85",i="gxhwc8a",s="gxhwc80",a={backgroundColor:"baseBackground",position:"relative"},l="gxhwc81 gxhwc80",c="gxhwc82",u="gxhwc84",d="gxhwc83",f="gxhwc86",p="gxhwc87",h="gxhwc88"},96102:(e,t,n)=>{"use strict";n.d(t,{v:()=>c});var o=n(37876),r=n(23687),i=n(43020),s=n(81610),a=n(77523),l=n(74257);let c=({children:e,withStickyNav:t=!0,logoAriaLabel:n,logoHref:c=i.G8.home,logo:u,isDoubleLogo:d=!1,isNotPii:f,isPii:p,onLogoClick:h})=>{let m,g=(m=d?l.fj:l.W6,(0,s.t)()(m)||m.mobile);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(r.A,{component:"nav",isNotPii:f,isPii:p,style:l.S8,atoms:t?l.Tk:l.Sq,children:[(0,o.jsx)(r.A,{atoms:l.DR,onClick:h,children:(0,o.jsx)(a.H,{"aria-label":n,href:c,children:(0,o.jsx)(u,{alt:n,style:g})})}),(0,o.jsx)(r.A,{atoms:l.jn,children:e})]}),(0,o.jsx)(r.A,{style:t?l.hI:l.wz})]})};c.displayName="NavContainer"},96447:(e,t,n)=>{"use strict";n.d(t,{R:()=>z});var o=n(37876),r=n(23687),i=n(27492),s=n(55222),a=n(84274),l=n(14160),c=n(69466),u=n(77523);n(22734);var d="_1hy14av0",f={paddingBottom:{mobile:"m",tablet:"auto"},paddingRight:{mobile:"auto",tablet:"m"}};let p=Date.UTC(2026,5,15,4,0,0),h=()=>new Date(p),m=/^\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}(:\d{2}(\.\d+)?)?(Z|[+-]\d{2}:?\d{2}))?$/,g=({locale:e,BrandingLogo:t})=>{let n;return(0,o.jsxs)(r.A,{atoms:{alignItems:{mobile:"flexStart",tablet:"center"},display:"flex",flexDirection:{mobile:"column",tablet:"row"},justifyContent:"spaceBetween"},"data-testid":"copyright",children:[t&&(0,o.jsx)(r.A,{atoms:Object.assign({flexGrow:0,flexShrink:0},f),children:(0,o.jsx)(s.ck,{className:d})}),(0,o.jsx)(r.A,{atoms:Object.assign({flexGrow:1},f),children:(0,o.jsx)(l.A,{color:"neutral70",variant:"detailMLong",children:(0,c.sC)(e,"footer",(n=(e=>{if(void 0===e)return h();let t=e.trim();if(""!==t&&m.test(t)){let e=new Date(t);if(!Number.isNaN(e.getTime()))return e}return h()})("2026-06-15T04:00:00Z"),Date.now()>=n.getTime()?"Copyright \xa9 2012 - {{thisYear}} Upstart Network, Inc. All rights reserved. 220 Park Rd, Suite 500, Burlingame, CA 94010":"Copyright \xa9 2012 - {{thisYear}} Upstart Network, Inc. All rights reserved. 2950 S. Delaware Street, San Mateo, CA 94403"),{thisYear:new Date().getFullYear()})})}),(0,o.jsxs)(r.A,{atoms:{alignItems:"center",display:"flex",flexGrow:0,flexShrink:0,justifyContent:{mobile:"flexStart",tablet:"flexEnd"}},children:[t&&(0,o.jsx)(r.A,{atoms:{flexGrow:0,flexShrink:0,paddingRight:"m"},children:(0,o.jsx)(t,{className:d})}),(0,o.jsx)(r.A,{atoms:{paddingRight:"m"},children:(0,o.jsx)(u.H,{"aria-label":(0,c.sC)(e,"footer","Follow Upstart on X"),href:"https://twitter.com/Upstart",rel:"noopener noreferrer",children:(0,o.jsx)(a.In,{iconName:"twitter",iconSize:"2xl",palette:"neutral90"})})}),(0,o.jsx)(u.H,{"aria-label":(0,c.sC)(e,"footer","Visit Upstart on Facebook"),href:"https://www.facebook.com/TeamUpstart",rel:"noopener noreferrer",children:(0,o.jsx)(a.In,{iconName:"facebook",iconSize:"2xl",palette:"neutral90"})})]})]})};function b(e){return"company"in e&&"support"in e&&"legal"in e}function v(e){return"products"in e&&"company"in e&&"notableLinks"in e&&"toolsAndResources"in e&&"legal"in e}g.displayName="Copyright";var y=n(77808),x=n(14232),w=n(96282),j=n(63466);let A=()=>"u">typeof window&&void 0!==window.document;var k=n(43020);n(73701);var C="_159ii4y0",O="bodyM",S=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let N=e=>{var{content:t,meta:n,icon:i,onClick:a}=e,c=S(e,["content","meta","icon","onClick"]);let u=a,d=i;return(null==n?void 0:n.id)===k.IZ.yourPrivacyChoices&&(d=(0,o.jsx)(s.je,{}),u=e=>{"function"==typeof a&&a(e),(e=>{var t,n,o,r;if(A()&&"function"==typeof(null==(o=window.DG_BANNER_API)?void 0:o.showLayer)){try{null==(t=window.DG_BANNER_API)||t.showLayer("categories-layer"),e.preventDefault()}catch(e){console.error("Error opening the DataGrail consent modal:",e)}return}if(A()&&(null==(r=null==window?void 0:window.OneTrust)?void 0:r.ToggleInfoDisplay)&&"function"==typeof window.OneTrust.ToggleInfoDisplay)try{null==(n=window.OneTrust)||n.ToggleInfoDisplay(),e.preventDefault()}catch(e){console.error("Error opening the OneTrust preference center:",e)}})(e)}),(0,o.jsx)(l.A,{variant:O,children:(0,o.jsxs)(j.Yq,Object.assign({className:C,tapArea:"large"},c,{onClick:u,children:[t,d&&(0,o.jsxs)(o.Fragment,{children:[" ",(0,o.jsx)(r.A,{className:"_159ii4y1",component:"span",children:d})]})]}))})};N.displayName="FooterLink";var E=n(78644),P=n(67142),L=n(29094);let _=(0,n(14138).A)({Component:({title:e,titleId:t,...n})=>x.createElement("svg",{viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t}
1,e):null,x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.263 13.489a1.087 1.087 0 0 1-1.538 0L8.738 8.5a1.088 1.088 0 0 1 1.538-1.537l4.987 4.987a1.087 1.087 0 0 1 0 1.537Z",fill:"currentColor"}),x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.738 18.476a1.088 1.088 0 0 1 0-1.538l4.987-4.987a1.087 1.087 0 1 1 1.538 1.537l-4.987 4.988a1.088 1.088 0 0 1-1.538 0Z",fill:"currentColor"})),displayName:"IconChevronRight"});n(4809);var I="debhaf1";let M=({lender:e,href:t,productDescription:n})=>(0,o.jsx)(P.Z.Action,{component:"a",fullHeight:!1,fullWidth:!0,href:t,padding:{paddingX:"m",paddingY:"2xs"},children:(0,o.jsxs)(r.A,{atoms:{alignItems:"center",display:"flex",flexDirection:"row",flexWrap:"nowrap",overflow:"hidden",width:"max"},className:"debhaf0",children:[(0,o.jsxs)(r.A,{atoms:{display:"inlineFlex",flexDirection:"column",flexGrow:1,flexShrink:1,flexWrap:"nowrap",overflow:"hidden",paddingBottom:"s",paddingTop:"m",width:"max"},children:[(0,o.jsx)(l.A,{color:"neutral90",children:(0,o.jsx)(L.A,{className:I,children:n})}),(0,o.jsx)(r.A,{atoms:{display:"inlineFlex",paddingTop:"s",width:"max"},children:"string"==typeof e.primaryLogo?(0,o.jsx)(r.A,{alt:e.name,atoms:{flexGrow:0,flexShrink:0},component:"img",src:e.primaryLogo,style:{height:20}}):(0,o.jsx)(l.A,{bold:!0,children:(0,o.jsx)(L.A,{className:I,children:e.name})})})]}),(0,o.jsx)(r.A,{atoms:{display:"inlineFlex",flexGrow:0,flexShrink:0,paddingLeft:"xs"},children:(0,o.jsx)(_,{color:"neutral70",role:"presentation",size:"l"})})]})});M.displayName="AppActionCard";var T=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let R=e=>{var{applications:t,subTitle:n}=e,i=T(e,["applications","subTitle"]);return(0,o.jsxs)(E.A,Object.assign({},i,{modalSheetProps:{full:!0},children:[(0,o.jsx)(r.A,{atoms:{paddingBottom:"l",paddingTop:"m"},children:(0,o.jsx)(l.A,{color:"neutral70",children:n})}),t.map(e=>(0,o.jsx)(r.A,{atoms:{paddingBottom:"m"},children:(0,o.jsx)(M,Object.assign({},e))},e.applicationUuid))]}))};R.displayName="Modal";var D=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let B=e=>{var{content:t,modalSubTitle:n,modalTitle:r,onClick:i,applications:s,isNotPii:a,isPii:c}=e;D(e,["content","modalSubTitle","modalTitle","onClick","applications","isNotPii","isPii"]);let u=(0,x.useRef)(null),[d,f]=(0,x.useState)(!1);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(l.A,{variant:O,children:(0,o.jsx)(w.A,{tapArea:"large",className:C,onClick:e=>{"function"==typeof i&&i(e),f(!0)},isNotPii:a,isPii:c,ref:u,children:t})}),(0,o.jsx)(R,{isOpen:d,onIsOpenChange:e=>{f(e)},returnFocus:u,subTitle:n,title:r,applications:s})]})};B.displayName="LinkWithModal";let U=e=>{var t;return e.applications.length<=1?(0,o.jsx)(N,{content:e.content,href:(null==(t=e.applications[0])?void 0:t.href)||e.baseHref,onClick:e.onClick}):(0,o.jsx)(B,Object.assign({},e))};U.displayName="FooterLinkCbl",n(91872);let H=({title:e,links:t})=>(0,o.jsxs)(r.A,{atoms:{marginBottom:"2xl"},style:{flexBasis:"100%",flexWrap:"wrap"},children:[(0,o.jsx)(r.A,{atoms:{paddingBottom:"m"},children:(0,o.jsx)(y.A,{component:"h4",size:"s",children:e.toUpperCase()})}),(0,o.jsx)(r.A,{atoms:{display:"flex",flexDirection:"column"},className:"_2ha2su0",component:"ul",children:t.map(e=>(0,o.jsx)(r.A,{atoms:{marginBottom:"l"},component:"li",children:"string"==typeof e.href?(0,o.jsx)(N,Object.assign({},e)):(0,o.jsx)(U,Object.assign({},e))},e.content))})]}),q=({config:e})=>{let t=[[],[]];if(v(e))t[0].push(e.products,e.company,e.notableLinks),t[1].push(e.toolsAndResources,e.legal);else if(b(e))t[0].push(e.company),t[1].push(e.support,e.legal);else!b(e)&&!v(e)&&"legal"in e&&"support"in e&&(t[0].push(e.support),t[1].push(e.legal));return(0,o.jsx)(r.A,{atoms:{width:"max",display:"flex",flexWrap:{mobile:"wrap",tablet:"nowrap",desktop:"nowrap"}},children:t.filter(e=>e.length>0).map((e,t)=>(0,o.jsx)(r.A,{atoms:{width:"max",paddingX:"0",paddingY:"0"},children:e.map(e=>(0,o.jsx)(H,Object.assign({},e),e.title))},`column-${t}`))})};n(26826);let z=({locale:e,finePrint:t,config:n,BrandingLogo:l})=>(0,o.jsx)(r.A,{atoms:{backgroundColor:"neutral0",borderTop:"medium"},component:"footer",children:(0,o.jsx)(r.A,{atoms:{display:"flex",flexWrap:"wrap",marginX:"auto"},className:"qzyqyr0",children:(0,o.jsx)(r.A,{atoms:{paddingX:{mobile:"m"}},children:(0,o.jsxs)(a.e,{atoms:{paddingTop:"2xl"},children:[(0,o.jsx)(a.VP,{atoms:{padding:"0"},className:"qzyqyr1",children:(0,o.jsx)(a.e,{atoms:{paddingLeft:"0"},children:(0,o.jsx)(q,{config:n})})}),(0,o.jsx)(a.VP,{atoms:{paddingBottom:{mobile:"xl",tablet:"xl"},paddingLeft:{desktop:"4xl"},paddingTop:{desktop:"0"}},className:"qzyqyr2",children:t}),(0,o.jsx)(a.VP,{atoms:{paddingBottom:"0",paddingX:"0"},children:(0,o.jsx)(s.Z2,{locale:e})}),(0,o.jsxs)(a.VP,{atoms:{paddingTop:"0",paddingX:"0"},children:[(0,o.jsx)(r.A,{atoms:{paddingY:"s"},children:(0,o.jsx)(i.A,{})}),(0,o.jsx)(g,{BrandingLogo:l,locale:e})]})]})})})});z.displayName="FooterContainer"},97225:(e,t,n)=>{"use strict";e.exports=n(70789)},99716:(e,t,n)=>{"use strict";n.d(t,{nb:()=>p});var o=n(37876),r=n(14232),i=n(49247),s=n(69466),a=n(55222),l=n(96102),c=n(36197),u=n(2917),d=n(1911),f=n(9868);let p=({logoHref:e,isPii:t,isNotPii:n,navigationSchema:p,userName:h="",showProgressiveLogo:m=!1,locale:g=s.ll.EN,disableDocsAndNotices:b=!1})=>{let v=!p,y=(0,i.q)(),x=(0,r.useMemo)(()=>null!=p?p:(0,d.q)({userName:h,locale:g,showPreferences:y}),[p,h,g,y]),{parsedSchema:w,withNotification:j}=(0,f.L)({schema:x,locale:g,enabled:!b});return(0,o.jsxs)(l.v,{isNotPii:n,isPii:t,logoHref:e,logo:m?a.pZ:a.tH,isDoubleLogo:m,logoAriaLabel:m?`${a.UA} | ${a.IS}`:a.IS,withStickyNav:!0,children:[(0,o.jsx)(c.o,{desktopMenu:w,withNotification:j,sentenceCase:v}),(0,o.jsx)(u.Y,{mobileMenu:w.dropdown.items||[],withNotification:j,sentenceCase:v})]})};p.displayName="NavAuthenticated",n(78182)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.