1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,401851,55545,455024,234662,677241,281092,99151,845110,e=>{"use strict";var t;let n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function r(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let a={date:r({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:r({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:r({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},o={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function i(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,a=n?.width?String(n.width):t;r=e.formattingValues[a]||e.formattingValues[t]}else{let t=e.defaultWidth,a=n?.width?String(n.width):e.defaultWidth;r=e.values[a]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function s(e){return(t,n={})=>{let r,a=n.width,o=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;let s=i[0],l=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(l,e=>e.test(s)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(l,e=>e.test(s));return r=e.valueCallback?e.valueCallback(c):c,{value:r=n.valueCallback?n.valueCallback(r):r,rest:t.slice(s.length)}}}let l={code:"en-US",formatDistance:(e,t,r)=>{let a,o=n[e];if(a="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),r?.addSuffix)if(r.comparison&&r.comparison>0)return"in "+a;else return a+" ago";return a},formatLong:a,formatRelative:(e,t,n,r)=>o[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:i({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:i({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:i({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:i({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:i({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(t={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,n={})=>{let r=e.match(t.matchPattern);if(!r)return null;let a=r[0],o=e.match(t.parsePattern);if(!o)return null;let i=t.valueCallback?t.valueCallback(o[0]):o[0];return{value:i=n.valueCallback?n.valueCallback(i):i,rest:e.slice(a.length)}}),era:s({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:s({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:s({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};e.s(["defaultLocale",0,l],55545);let c={};function u(){return c}e.s(["getDefaultOptions",0,u],455024);let d=Symbol.for("constructDateFrom");function h(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&d in e?e[d](t):e instanceof Date?new e.constructor(t):new Date(t)}function m(e,t){return h(t||e,e)}function f(e){let t=m(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}function g(e,...t){let n=h.bind(null,e||t.find(e=>"object"==typeof e));return t.map(n)}function p(e,t){let n=m(e,t?.in);return n.setHours(0,0,0,0),n}function y(e,t){let n=u(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=m(e,t?.in),o=a.getDay();return a.setDate(a.getDate()-(7*(o<r)+o-r)),a.setHours(0,0,0,0),a}function x(e,t){return y(e,{...t,weekStartsOn:1}
1)}function b(e,t){let n=m(e,t?.in),r=n.getFullYear(),a=h(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);let o=x(a),i=h(n,0);i.setFullYear(r,0,4),i.setHours(0,0,0,0);let s=x(i);return n.getTime()>=o.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function w(e,t){let n=m(e,t?.in),r=n.getFullYear(),a=u(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,i=h(t?.in||e,0);i.setFullYear(r+1,0,o),i.setHours(0,0,0,0);let s=y(i,t),l=h(t?.in||e,0);l.setFullYear(r,0,o),l.setHours(0,0,0,0);let c=y(l,t);return+n>=+s?r+1:+n>=+c?r:r-1}function k(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}e.s(["constructFromSymbol",0,d,"millisecondsInDay",0,864e5,"millisecondsInMinute",0,6e4,"millisecondsInWeek",0,6048e5,"minutesInDay",0,1440,"minutesInMonth",0,43200,"minutesInYear",0,525600],234662),e.s(["constructFrom",0,h],677241),e.s(["toDate",0,m],281092),e.s(["getTimezoneOffsetInMilliseconds",0,f],99151),e.s(["normalizeDates",0,g],845110);let v={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return k("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):k(n+1,2)},d:(e,t)=>k(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>k(e.getHours()%12||12,t.length),H:(e,t)=>k(e.getHours(),t.length),m:(e,t)=>k(e.getMinutes(),t.length),s:(e,t)=>k(e.getSeconds(),t.length),S(e,t){let n=t.length;return k(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},C={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return v.y(e,t)},Y:function(e,t,n,r){let a=w(e,r),o=a>0?a:1-a;return"YY"===t?k(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):k(o,t.length)},R:function(e,t){return k(b(e),t.length)},u:function(e,t){return k(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return k(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return k(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return v.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return k(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let a,o,i,s,l,c=Math.round((y(a=m(e,r?.in),r)-(o=u(),i=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,s=w(a,r),(l=h(r?.in||a,0)).setFullYear(s,0,i),l.setHours(0,0,0,0),y(l,r)))/6048e5)+1;return"wo"===t?n.ordinalNumber(c,{unit:"week"}):k(c,t.length)},I:function(e,t,n){let r,a,o,i=Math.round((x(r=m(e,void 0))-(a=b(r,void 0),(o=h(r,0)).setFullYear(a,0,4),o.setHours(0,0,0,0),x(o)))/6048e5)+1;return"Io"===t?n.ordinalNumber(i,{unit:"week"}):k(i,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):v.d(e,t)},D:function(e,t,n){let r,a,o=function(e,t){let[n,r]=g(void 0,e,t),a=p(n),o=p(r);return Math.round((a-f(a)-(o-f(o)))/864e5)}(a=m(e,void 0),((r=m(a,void 0)).setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r))+1;return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):k(o,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return k(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return k(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return k(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r,a=e.getHours();switch(r=12===a?"noon":0===a?"midnight":a/12>
1=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r,a=e.getHours();switch(r=a>=17?"evening":a>=12?"afternoon":a>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return v.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):v.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):k(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):k(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):v.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):v.s(e,t)},S:function(e,t){return v.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return S(r);case"XXXX":case"XX":return j(r);default:return j(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return S(r);case"xxxx":case"xx":return j(r);default:return j(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+M(r,":");default:return"GMT"+j(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+M(r,":");default:return"GMT"+j(r,":")}},t:function(e,t,n){return k(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return k(+e,t.length)}};function M(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),o=r%60;return 0===o?n+String(a):n+String(a)+t+k(o,2)}function S(e,t){return e%60==0?(e>0?"-":"+")+k(Math.abs(e)/60,2):j(e,t)}function j(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+k(Math.trunc(n/60),2)+t+k(n%60,2)}let P=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},T=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},D={p:T,P:(e,t)=>{let n,r=e.match(/(P+)(p+)?/)||[],a=r[1],o=r[2];if(!o)return P(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",P(a,t)).replace("{{time}}",T(o,t))}},W=/^D+$/,E=/^Y+$/,B=["D","DD","YY","YYYY"],z=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,O=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,U=/^'([^]*?)'?$/,L=/''/g,N=/[a-zA-Z]/;e.s(["format",0,function(e,t,n){let r=u(),a=n?.locale??r.locale??l,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=m(e,n?.in);if(!(s instanceof Date||"object"==typeof s&&"[object Date]"===Object.prototype.toString.call(s))&&"number"!=typeof s||isNaN(+m(s)))throw RangeError("Invalid time value");let c=t.match(O).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,D[t])(e,a.formatLong):e}).join("").match(z).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var n;let t;return{isToken:!1,value:(t=(n=e).match(U))?t[1].replace(L,"'"):n}}if(C[t])return{isToken:!0,value:e};if(t.match(N))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});a.localize.preprocessor&&(c=a.localize.preprocessor(s,c));let d={firstWeekContainsDate:o,weekStartsOn:i,locale:a};return c.map(r=>{if(!r.isToken)return r.value;let o=r.value;return(!n?.useAdditionalWeekYearTokens&&E.test(o)||!n?.useAdditionalDayOfYearTokens&&W.test(o))&&function(e,t,n){var r,a,o;let i,s=(r=e,a=t,o=n,i="Y"===r[0]?"years":"days of the month",`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${a}\`) for formatting ${i} to the input \`${o}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(s),B.includes(e))throw RangeError(s)}(o,t,String(e)),(0,C[o[0]])(s,o,a.localize,d)}).join("")}],401851)},333334,571508,978664,e=>{"use strict";var t=e.i(271645);function n(e,t){if(!t.theme&&!t.locale)return e;try{let n=new URL(e);return t.theme&&n.searchParams.set("theme",t.theme),t.locale&&n.searchParams.set("locale",t.locale),n.toString()}catch{return e}}function r(e){try{return new URL(e).origin}catch{return null}}function a(e){let t=document.createElement("iframe");return t.src=e,t.setAttribute("allow","payment *; publickey-credentials-get *"),t.title="Creem checkout",t.style.cssText="border:0;width:100%;height:100%;",t}function o(e,t){let n=r(e),a=null;function o(e){if(n&&e.origin!==n)return;let r=e.data;if(r&&"creem-embed"===r.source){if("ready"===r.type)t.onReady?.();else if("completed"===r.type){let e={checkoutId:r.checkoutId,orderId:r.orderId,orderNo:r.orderNo,redirect:r.redirect,redirectUrl:r.redirectUrl};
1if(t.onComplete?.(e),e.redirectUrl){let t=e.redirectUrl;a=setTimeout(()=>{window.location.href=t},3e3)}}}}return window.addEventListener("message",o),()=>{window.removeEventListener("message",o),a&&clearTimeout(a)}}function i(e){if("u"<typeof window||"u"<typeof document)throw Error("openCheckout must run in the browser");if(!r(e.checkoutUrl))throw Error("openCheckout: `checkoutUrl` is not a valid URL");let t=n(e.checkoutUrl,e),i="dark"===e.theme?"#000":"#f9fafb",s="#333",l="#fff",c=document.createElement("div");c.style.cssText="position:fixed;inset:0;z-index:2147483647;background:rgba(1,1,1,.7);display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto;overscroll-behavior:contain;";let u=document.createElement("div");u.style.cssText="display:flex;flex-direction:column;gap:12px;width:min(460px,100%);height:min(860px,100%);";let d=document.createElement("div");d.style.cssText="position:relative;display:flex;flex-direction:column;width:100%;flex:1 1 auto;min-height:0;background:"+i+";border-radius:14px;overflow:hidden;";let h=document.createElement("button");h.setAttribute("aria-label","Close checkout"),h.innerHTML='<svg width="13" height="13" viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M2 2 12 12M12 2 2 12"/></svg>',h.style.cssText="align-self:flex-end;flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border-radius:10px;border:none;background:"+s+";color:"+l+";cursor:pointer;transition:background .15s,color .15s,border-color .15s,box-shadow .15s;",h.addEventListener("mouseenter",()=>{h.style.background="#a78bfa",h.style.color="#2e1065"}),h.addEventListener("mouseleave",()=>{h.style.background=s,h.style.color=l});let m=a(t);m.style.flex="1 1 auto",m.style.height="auto",m.style.minHeight="0",m.style.background=i;let f=o(t,e),g="";function p(){f(),c.remove(),document.body.style.overflow=g,e.onClose?.()}return h.addEventListener("click",p),u.appendChild(h),u.appendChild(d),d.appendChild(m),c.appendChild(u),g=document.body.style.overflow,document.body.style.overflow="hidden",document.body.appendChild(c),m.focus(),{close:p}}var s=new WeakMap;function l(e){if("u"<typeof window||"u"<typeof document)throw Error("mount must run in the browser");if(!r(e.checkoutUrl))throw Error("mount: `checkoutUrl` is not a valid URL");let{container:t}=e,i=n(e.checkoutUrl,e);s.get(t)?.(),t.replaceChildren();let l=o(i,e),c=a(i);c.style.background="dark"===e.theme?"#000":"#fff",t.appendChild(c);let u=()=>{l(),s.delete(t)};return s.set(t,u),{destroy(){u(),t.replaceChildren()}}}e.s(["CreemEmbedCheckout",0,{create:e=>new Promise(t=>{let n=!1,r=e=>{n||(n=!0,t(e))},a=i({...e,onReady:()=>{e.onReady?.(),r(a)}});window.setTimeout(()=>r(a),3e3)})},"mount",0,l,"openCheckout",0,i],571508),e.s(["CreemCheckoutInline",0,function({checkoutUrl:e,theme:n,locale:r,onComplete:a,onReady:o,className:i,style:s}){let c=t.useRef(null);return t.useEffect(()=>{let t=c.current;if(!t)return;let i=l({checkoutUrl:e,theme:n,locale:r,onComplete:a,onReady:o,container:t});return()=>i.destroy()},[e,n,r]),t.createElement("div",{ref:c,className:i,style:s})}],333334);let c="We couldn't start your checkout right now. Please try again, or contact support if it keeps happening.";async function u(e){let t,n=new URLSearchParams(e);n.set("format","json");try{t=await fetch(`/api/checkout?${n.toString()}`)}catch{return{error:"network_error",message:c}}let r=null;try{r=await t.json()}catch{}return t.ok&&r?.checkoutUrl?{checkoutUrl:r.checkoutUrl}:{error:r?.error??"checkout_failed",message:r?.message??c}}e.s(["checkoutSuccessTarget",0,function(e){let t=e?.redirectUrl;if(t)try{let e=window.location.origin,n=new URL(t,e),r=`${n.pathname}${n.search}`;if(r&&"/"!==r)return r}catch{}return"/?checkout_success=1"},"fetchCheckoutUrl",0,u,"isCheckoutUrlError",0,function(e){return"error"in e}],978664)},535195,e=>{"use strict";var t=e.i(44979);e.s(["GlobalStyles",()=>t.default])},4206,386960,e=>{"use strict";var t=e.i(843476),n=e.i(271645);e.i(333334);var r=e.i(571508),a=e.i(776552),o=e.i(237828),i=e.i(535195),s=e.i(303548),s=s,l=e.i(866796),c=e.i(667239),u=e.i(210557),d=e.i(439931),h=e.i(978664);let m=(0,n.createContext)(void 0);e.s(["CheckoutProvider",0,function({children:e}){let{showNotification:f}
1=(0,d.useNotification)(),g=(0,u.useTheme)(),[p,y]=(0,n.useState)(!1),x=(0,n.useRef)(null),b=(0,n.useRef)(null),w=(0,n.useCallback)(e=>{x.current?.close(),b.current?.();let t=e=>{b.current?.(),b.current=null,x.current?.close(),x.current=null,window.location.assign((0,h.checkoutSuccessTarget)(e))},n=e=>{let n="";try{n=new URL(e.origin).hostname}catch{return}if("creem.io"!==n&&!n.endsWith(".creem.io"))return;let r=e.data;r&&"creem-embed"===r.source&&"completed"===r.type&&t(r)};window.addEventListener("message",n),b.current=()=>window.removeEventListener("message",n),x.current=(0,r.openCheckout)({checkoutUrl:e,theme:"dark"===g.palette.mode?"dark":"light",onComplete:e=>t(e)})},[g.palette.mode]),k=(0,n.useCallback)(e=>{w(e)},[w]),v=(0,n.useCallback)(async e=>{y(!0);let t=null;try{t=await e()}finally{y(!1)}return!!t&&(w(t),!0)},[w]),C=(0,n.useCallback)(e=>v(async()=>{let t=await (0,h.fetchCheckoutUrl)(e);return(0,h.isCheckoutUrlError)(t)?(f(t.message,"error"),null):t.checkoutUrl}),[f,v]),M=(0,n.useMemo)(()=>({openCheckout:C,openCheckoutUrl:k,openPreparedCheckout:v}),[C,k,v]);return(0,t.jsxs)(m.Provider,{value:M,children:[(0,t.jsx)(i.GlobalStyles,{styles:{'button[aria-label="Close checkout"]:hover':{background:`${g.palette.primary.main} !important`,color:`${g.palette.primary.contrastText} !important`}}}),e,p&&(0,t.jsx)(s.default,{children:(0,t.jsxs)(a.Box,{sx:e=>({position:"fixed",inset:0,zIndex:e.zIndex.modal,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:2,bgcolor:(0,c.alpha)(e.palette.common.black,.6)}),children:[(0,t.jsx)(o.CircularProgress,{color:"primary"}),(0,t.jsx)(l.Typography,{sx:{color:"common.white"},children:"Loading your checkoutâ¦"})]})})]})},"useEmbeddedCheckout",0,function(){let e=(0,n.useContext)(m);if(!e)throw Error("useEmbeddedCheckout must be used within a CheckoutProvider");return e.openCheckout},"useOpenCheckoutUrl",0,function(){let e=(0,n.useContext)(m);if(!e)throw Error("useOpenCheckoutUrl must be used within a CheckoutProvider");return e.openCheckoutUrl},"useOpenPreparedCheckout",0,function(){let e=(0,n.useContext)(m);if(!e)throw Error("useOpenPreparedCheckout must be used within a CheckoutProvider");return e.openPreparedCheckout}],386960),e.s([],4206)},221472,e=>{"use strict";var t=e.i(271645),n=e.i(439931);let r={unauthorized:"Please sign in again to open the billing portal.",not_provisioned:"No billing portal is available for this account. Contact support if you need a change to your plan.",config_error:"The billing portal is unavailable right now. Please try again shortly.",portal_unavailable:"The billing portal is unavailable right now. Please try again shortly."},a="We could not open the billing portal. Please try again in a moment.",o=` 2 :root { color-scheme: light dark; } 3 body { 4 margin: 0; 5 padding: 24px; 6 min-height: 100vh; 7 box-sizing: border-box; 8 display: flex; 9 justify-content: center; 10 align-items: center; 11 background-color: #ffffff; 12 color: #0f172a; 13 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 14 } 15 @media (prefers-color-scheme: dark) { 16 body { background-color: #121212; color: #f1f5f9; } 17 } 18 .container { text-align: center; max-width: 420px; } 19 .spinner { 20 width: 40px; 21 height: 40px; 22 border: 4px solid #e2e8f0;
23 border-top: 4px solid #3b82f6; 24 border-radius: 50%; 25 animation: spin 1s linear infinite; 26 margin: 0 auto; 27 } 28 @keyframes spin { 29 0% { transform: rotate(0deg); } 30 100% { transform: rotate(360deg); } 31 } 32 .text { margin-top: 16px; color: #64748b; font-size: 14px; line-height: 1.5; } 33 .title { font-size: 17px; font-weight: 600; } 34 .link { 35 display: inline-block; 36 margin-top: 20px; 37 padding: 9px 18px; 38 border-radius: 8px; 39 background: #3b82f6; 40 color: #ffffff; 41 font-size: 14px; 42 font-weight: 600; 43 text-decoration: none; 44 } 45`,i=e=>`<!DOCTYPE html> 46<html> 47<head> 48 <meta charset="utf-8"> 49 <title>Loading Portal...</title> 50 <meta name="referrer" content="no-referrer"> 51 <style>${o}</style> 52</head> 53<body> 54 <div class="container"> 55 <div class="spinner"></div> 56 <div class="text">Loading your subscription portal...</div> 57 </div> 58 ${e?`<script> 59 window.opener = null; 60 window.location.replace(${JSON.stringify(e)}); 61 </script>`:""} 62</body> 63</html>`;e.s(["useBillingPortal",0,function(){let{showNotification:e}=(0,n.useNotification)(),[o,s]=(0,t.useState)(!1),l=(0,t.useRef)(!1),c=(0,t.useCallback)(async()=>{if(l.current)return;l.current=!0,s(!0);let t=window.open("","_blank");t&&(t.document.write(i()),t.document.close());try{let n=await fetch("/api/portal",{headers:{Accept:"application/json"}}),o=await n.json().catch(()=>null);if(!n.ok||!o?.url){let n;t?.close(),e((n=o?.code)&&r[n]||a,"info");return}t?(t.document.write(i(o.url)),t.document.close()):window.location.href=o.url}catch{t?.close(),e(a,"error")}finally{l.current=!1,s(!1)}},[e]),u=(0,t.useCallback)(e=>{e.preventDefault(),c()},[c]);return{openBillingPortal:c,handleBillingPortalClick:u,isOpening:o}}],221472)},935829,e=>{"use strict";let t=(0,e.i(456420).default)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);e.s(["Minus",0,t],935829)},721914,e=>{"use strict";var t=e.i(271645),n=e.i(383642);e.i(4206);var r=e.i(386960);let a={no_plan:"Cloud connections attach to a paid plan. Pick one first, then add as many connections as you need.",trial:"Cloud connections attach to a paid plan. Pick one first, then add as many connections as you need.",plan_too_low:"Bridge covers a single trading account. Move up to Starter or higher to add more connections."};e.s(["CLOUD_ADDON_PLANS_HREF",0,"/upgrade#plans","addonDollars",0,e=>e%100==0?(e/100).toFixed(0):(e/100).toFixed(2),"cloudAddonBlockedReason",0,e=>a[e?.blockedReason??"no_plan"],"useCloudConnectAddon",0,function(){let[e,n]=(0,t.useState)(null),[r,a]=(0,t.useState)(!0);return(0,t.useEffect)(()=>{let e=!0;return(async()=>{try{let t=await fetch("/api/cloudconnect/subscriptions");if(!t.ok)throw Error("Failed to fetch");let r=await t.json();e&&n(r)}catch{e&&n(null)}finally{e&&a(!1)}})(),()=>{e=!1}},[]),{state:e,loading:r}},"useCloudConnectCheckout",0,function(e){let{user:a}=(0,n.useAuth)(),o=(0,r.useEmbeddedCheckout)(),[i,s]=(0,t.useState)(!1);return{startCheckout:(0,t.useCallback)(async(t,n)=>{if(!a||!e)return;let r="yearly"===n?e.pricing.productIdYearly:e.pricing.productIdMonthly;if(!r)return;s(!0);let i=new URLSearchParams({externalCustomerId:a.id,customerEmail:a.email||"",units:String(t),checkoutType:"cloudconnect"});i.append("productId",r);try{await o(i)}finally{s(!1)}},[a,e,o]),redirecting:i}}])},908063,e=>{"use strict";e.s(["CLOUD_ADDON_MAX_UNITS",0,999])},955050,814625,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(776552),a=e.i(234251),o=e.i(113607),i=e.i(237828),s=e.i(313995),l=e.i(769120),c=e.i(866796),u=e.i(667239),d=e.i(210557),h=e.i(522016),m=e.i(131214),f=e.i(935829),g=e.i(77071),p=e.i(428767),y=e.i(721914),x=e.i(908063),b=e.i(401851);let w=e=>{try{return(0,b.format)(new Date(e),"MMMM d, yyyy")}catch{return"Unknown"}};e.s(["formatDate",0,w,"getNextBillingDate",0,e=>{if(!e)return"Unknown";try{return(0,b.format)(new Date(e),"MMMM d, yyyy")}catch{return"Unknown"}}],814625);var k=e.i(221472);let v={fontWeight:600,fontSize:"0.65rem",textTransform:"uppercase",letterSpacing:"0.04em"};e.s(["default",0,function({variant:e="card",showManagement:b="card"===e,headline:C,subtext:M}){let S=(0,d.useTheme)(),j=S.palette.mode,{state:P,loading:T}=(0,y.useCloudConnectAddon)(),{startCheckout:D,redirecting:W}=(0,y.useCloudConnectCheckout)(P),{handleBillingPortalClick:E}
63=(0,k.useBillingPortal)(),[B,z]=(0,n.useState)(1),[O,U]=(0,n.useState)("monthly");if(T)return"dialog"===e?(0,t.jsx)(r.Box,{sx:{display:"flex",justifyContent:"center",py:4},children:(0,t.jsx)(i.CircularProgress,{size:28})}):null;if(!P||"card"===e&&!P.eligible)return null;let L=P.eligible,N={borderRadius:1,textTransform:"none",fontWeight:600,py:1,"&:hover":{bgcolor:S.palette.primary.dark}},A="yearly"===O?P.pricing.yearlyCents:P.pricing.monthlyCents,Y=A*B,F="yearly"===O?Math.round(P.pricing.yearlyCents/12):A,R=12*P.pricing.monthlyCents-P.pricing.yearlyCents,I=P.cloudCap??0,H=x.CLOUD_ADDON_MAX_UNITS,_=b&&P.subscriptions.length>0,q=(0,t.jsxs)(r.Box,{sx:{display:"flex",flexDirection:{xs:"column",sm:"row"},..."dialog"===e&&{borderRadius:1,border:`1px solid ${S.palette.divider}`,bgcolor:"dark"===j?(0,u.alpha)(S.palette.common.white,.02):(0,u.alpha)(S.palette.common.black,.01),overflow:"hidden"}},children:[(0,t.jsxs)(r.Box,{sx:{flex:1,p:{xs:2.5,sm:3},display:"flex",flexDirection:"column",gap:1.25},children:[(0,t.jsxs)(r.Box,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,t.jsx)(m.Cloud,{size:18,color:S.palette.primary.main}),(0,t.jsx)(c.Typography,{variant:"caption",color:"text.secondary",sx:{...v,fontSize:"0.78rem",fontWeight:700},children:"Cloud Connection"})]}),(0,t.jsxs)(r.Box,{sx:{display:"flex",alignItems:"baseline",gap:.75},children:[(0,t.jsxs)(c.Typography,{sx:{fontWeight:700,fontSize:"1.65rem",lineHeight:1,letterSpacing:"-0.02em"},children:["$",(0,y.addonDollars)(F)]}),(0,t.jsx)(c.Typography,{color:"text.secondary",sx:{fontSize:"0.8rem",fontWeight:500},children:"/mo each"})]}),"yearly"===O&&(0,t.jsx)(c.Typography,{variant:"caption",color:"text.secondary",sx:{fontSize:"0.7rem",mt:-.75},children:"Billed yearly"}),(0,t.jsx)(c.Typography,{variant:"body2",color:"text.secondary",sx:{fontSize:"0.82rem",lineHeight:1.5},children:"Add an always-on cloud connection. Trades keep executing even with your computer off."})]}),(0,t.jsx)(s.Divider,{orientation:"vertical",flexItem:!0,sx:{display:{xs:"none",sm:"block"}}}),(0,t.jsx)(s.Divider,{sx:{display:{xs:"block",sm:"none"}}}),(0,t.jsxs)(r.Box,{sx:{flex:1,p:{xs:2.5,sm:3},display:"flex",flexDirection:"column",gap:2},children:[(0,t.jsx)(r.Box,{sx:{display:"inline-flex",alignSelf:"flex-start",border:`1px solid ${S.palette.divider}`,borderRadius:1,overflow:"hidden"},children:["monthly","yearly"].map(e=>{let n=O===e;return(0,t.jsx)(r.Box,{role:"button",onClick:()=>U(e),sx:{px:2,py:.75,cursor:"pointer",fontSize:"0.8rem",fontWeight:600,bgcolor:n?S.palette.action.selected:"transparent",color:n?"text.primary":"text.secondary","&:hover":{bgcolor:S.palette.action.hover}},children:"yearly"===e?"Yearly":"Monthly"},e)})}),(0,t.jsxs)(r.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:2},children:[(0,t.jsxs)(r.Box,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,t.jsx)(l.IconButton,{size:"small","aria-label":"Fewer connections",disabled:B<=1,onClick:()=>z(e=>Math.max(1,e-1)),sx:{border:`1px solid ${S.palette.divider}`,borderRadius:1},children:(0,t.jsx)(f.Minus,{size:16})}),(0,t.jsx)(c.Typography,{variant:"h6",sx:{fontWeight:700,minWidth:28,textAlign:"center",fontVariantNumeric:"tabular-nums"},children:B}),(0,t.jsx)(l.IconButton,{size:"small","aria-label":"More connections",disabled:B>=H,onClick:()=>z(e=>Math.min(H,e+1)),sx:{border:`1px solid ${S.palette.divider}`,borderRadius:1},children:(0,t.jsx)(g.Plus,{size:16})})]}),(0,t.jsxs)(r.Box,{sx:{textAlign:"right"},children:[(0,t.jsxs)(c.Typography,{sx:{fontWeight:700,fontSize:"1.25rem",lineHeight:1.1,fontVariantNumeric:"tabular-nums"},children:["$",(0,y.addonDollars)("yearly"===O?Math.round(Y/12):Y),(0,t.jsx)(r.Box,{component:"span",sx:{fontWeight:500,fontSize:"0.8rem",color:"text.secondary"},children:"/mo"})]}),(0,t.jsxs)(c.Typography,{variant:"caption",color:"text.secondary",sx:{fontSize:"0.7rem",display:"block"},children:["yearly"===O?"Billed yearly":"Billed monthly","yearly"===O&&R>0&&(0,t.jsx)(r.Box,{component:"span",sx:{fontWeight:600,color:S.palette.success.dark,ml:1},children:`Save $${(0,y.addonDollars)(R*B)}/year`})]})]})]}),(0,t.jsxs)(r.Box,{children:[L?(0,t.jsx)(a.Button,{fullWidth:!0,variant:"contained",color:"primary",disableElevation:!0,disabled:W,onClick:()=>D(B,O),sx:N,children:W?(0,t.jsx)(i.CircularProgress,{size:18,color:"inherit"}):`${0===I?"Get":"Add"} ${B} ${P.addonRaisesTotalCap?"":"cloud "}connection${1===B?"":"s"}`}):(0,t.jsx)(a.Button,{component:h.default,href:y.CLOUD_ADDON_PLANS_HREF,fullWidth:!0,variant:"contained",color:"primary",disableElevation:!0,sx:N,children:"Choose a plan"}),!L&&(0,t.jsx)(c.Typography,{variant:"caption",color:"text.secondary",sx:{dis
63play:"block",mt:1,fontSize:"0.72rem",lineHeight:1.5},children:(0,y.cloudAddonBlockedReason)(P)})]})]})]}),$=_&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.Typography,{variant:"caption",color:"text.secondary",sx:{...v,display:"block",mt:3*("dialog"===e),mb:1.5},children:"Your Cloud Connections"}),P.subscriptions.map(e=>{let n=e.cancel_at_period_end,a="past_due"===e.status,o=a?S.palette.error.main:n?S.palette.warning.main:S.palette.success.main;return(0,t.jsxs)(r.Box,{sx:{display:"flex",flexDirection:{xs:"column",sm:"row"},justifyContent:"space-between",alignItems:{xs:"flex-start",sm:"center"},p:2,mb:1.5,borderRadius:1,border:`1px solid ${S.palette.divider}`,gap:1.5},children:[(0,t.jsxs)(r.Box,{sx:{display:"flex",alignItems:"center",gap:1.25,flexWrap:"wrap"},children:[(0,t.jsxs)(c.Typography,{variant:"body1",sx:{fontWeight:700},children:[e.quantity," connection",1===e.quantity?"":"s"]}),(0,t.jsx)(c.Typography,{variant:"body2",color:"text.secondary",sx:{textTransform:"capitalize"},children:e.billing_cycle}),(0,t.jsx)(r.Box,{sx:{px:1,py:.125,borderRadius:1,fontSize:"0.65rem",fontWeight:700,border:`1px solid ${(0,u.alpha)(o,.4)}`,color:o},children:a?"Past Due":n?"Canceling":"Active"})]}),e.current_period_end&&(0,t.jsxs)(r.Box,{children:[(0,t.jsx)(c.Typography,{variant:"caption",color:"text.secondary",sx:{textTransform:"uppercase",letterSpacing:"0.05em",fontWeight:700,fontSize:"0.6rem",display:"block"},children:n||a?"Ends On":"Next Renewal"}),(0,t.jsx)(c.Typography,{variant:"body2",sx:{fontWeight:600},children:w(e.current_period_end)})]})]},e.id)}),(0,t.jsx)(r.Box,{sx:{display:"flex",justifyContent:"flex-end",mt:.5},children:(0,t.jsx)(a.Button,{component:"a",href:"/api/portal",onClick:E,target:"_blank",rel:"noopener noreferrer",variant:"text",size:"small",sx:{textTransform:"none",fontWeight:600,color:"text.secondary","&:hover":{color:"text.primary",bgcolor:"transparent"}},children:"Manage or cancel billing"})})]});return"card"===e?(0,t.jsxs)(o.Card,{sx:(0,p.dashboardCardStyle)(S),children:[q,$&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.Divider,{}),(0,t.jsx)(r.Box,{sx:{p:{xs:2.5,sm:3}},children:$})]})]}):(0,t.jsxs)(r.Box,{children:[(0,t.jsx)(c.Typography,{variant:"subtitle1",sx:{fontWeight:600,fontSize:"1.1rem",mb:.25},children:C??"Cloud Connections"}),(0,t.jsx)(c.Typography,{variant:"body2",color:"text.secondary",sx:{display:"block",mb:2.5},children:M??"Always-on broker accounts, hosted on our terminals. Add as many as you need."}),q,$]})}],955050)}]);
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.