mobigrid-module 1.1.12 → 1.1.14

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import*as e from"react";import t,{forwardRef as r,createElement as n,createContext as o,useContext as i,useState as l,useEffect as a,useLayoutEffect as s,useRef as c,useMemo as u}from"react";import*as f from"react-dom";import p from"react-dom";var d=function(){return d=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)};function g(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function y(e,t,r,n){return new(r||(r=Promise))((function(o,i){function l(e){try{s(n.next(e))}catch(e){i(e)}}function a(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(l,a)}s((n=n.apply(e,t||[])).next())}))}function h(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return l.next=a(0),l.throw=a(1),l.return=a(2),"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function a(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;l&&(l=0,a[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function v(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;const m=6048e5,b=Symbol.for("constructDateFrom");function w(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&b in e?e[b](t):e instanceof Date?new e.constructor(t):new Date(t)}function O(e,t){return w(t||e,e)}function x(e,t,r){const n=O(e,r?.in);return isNaN(t)?w(r?.in||e,NaN):t?(n.setDate(n.getDate()+t),n):n}function j(e,t,r){const n=O(e,r?.in);if(isNaN(t))return w(r?.in||e,NaN);if(!t)return n;const o=n.getDate(),i=w(r?.in||e,n.getTime());i.setMonth(n.getMonth()+t+1,0);return o>=i.getDate()?i:(n.setFullYear(i.getFullYear(),i.getMonth(),o),n)}let E={};function k(){return E}function S(e,t){const r=k(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,o=O(e,t?.in),i=o.getDay(),l=(i<n?7:0)+i-n;return o.setDate(o.getDate()-l),o.setHours(0,0,0,0),o}function P(e,t){return S(e,{...t,weekStartsOn:1})}function C(e,t){const r=O(e,t?.in),n=r.getFullYear(),o=w(r,0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);const i=P(o),l=w(r,0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);const a=P(l);return r.getTime()>=i.getTime()?n+1:r.getTime()>=a.getTime()?n:n-1}function z(e){const t=O(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function T(e,...t){const r=w.bind(null,e||t.find((e=>"object"==typeof e)));return t.map(r)}function L(e,t){const r=O(e,t?.in);return r.setHours(0,0,0,0),r}function N(e,t,r){const[n,o]=T(r?.in,e,t),i=L(n),l=L(o),a=+i-z(i),s=+l-z(l);return Math.round((a-s)/864e5)}function R(e,t,r){return x(e,7*t,r)}function M(e,t,r){return j(e,12*t,r)}function I(e,t){let r,n=t?.in;return e.forEach((e=>{n||"object"!=typeof e||(n=w.bind(null,e));const t=O(e,n);(!r||r<t||isNaN(+t))&&(r=t)})),w(n,r||NaN)}function A(e,t){let r,n=t?.in;return e.forEach((e=>{n||"object"!=typeof e||(n=w.bind(null,e));const t=O(e,n);(!r||r>t||isNaN(+t))&&(r=t)})),w(n,r||NaN)}function _(e,t,r){const[n,o]=T(r?.in,e,t);return+L(n)==+L(o)}function D(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function B(e,t,r){const[n,o]=T(r?.in,e,t);return 12*(n.getFullYear()-o.getFullYear())+(n.getMonth()-o.getMonth())}function F(e,t){const r=O(e,t?.in),n=r.getMonth();return r.setFullYear(r.getFullYear(),n+1,0),r.setHours(23,59,59,999),r}function W(e,t){const r=O(e,t?.in);return r.setDate(1),r.setHours(0,0,0,0),r}function V(e,t){const r=O(e,t?.in),n=r.getFullYear();return r.setFullYear(n+1,0,0),r.setHours(23,59,59,999),r}function H(e,t){const r=O(e,t?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}function U(e,t){const r=k(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,o=O(e,t?.in),i=o.getDay(),l=6+(i<n?-7:0)-(i-n);return o.setDate(o.getDate()+l),o.setHours(23,59,59,999),o}function G(e,t){return U(e,{...t,weekStartsOn:1})}const $={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 q(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const Y={date:q({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:q({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:q({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},K={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function X(e){return(t,r)=>{let n;if("formatting"===(r?.context?String(r.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,o=r?.width?String(r.width):t;n=e.formattingValues[o]||e.formattingValues[t]}else{const t=e.defaultWidth,o=r?.width?String(r.width):e.defaultWidth;n=e.values[o]||e.values[t]}return n[e.argumentCallback?e.argumentCallback(t):t]}}const J={ordinalNumber:(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:X({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:X({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:X({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:X({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:X({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"})};function Z(e){return(t,r={})=>{const n=r.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const l=i[0],a=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(a)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r;return}(a,(e=>e.test(l))):function(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r;return}(a,(e=>e.test(l)));let c;c=e.valueCallback?e.valueCallback(s):s,c=r.valueCallback?r.valueCallback(c):c;return{value:c,rest:t.slice(l.length)}}}const Q={ordinalNumber:(ee={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const r=e.match(ee.matchPattern);if(!r)return null;const n=r[0],o=e.match(ee.parsePattern);if(!o)return null;let i=ee.valueCallback?ee.valueCallback(o[0]):o[0];return i=t.valueCallback?t.valueCallback(i):i,{value:i,rest:e.slice(n.length)}}),era:Z({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:Z({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:Z({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:Z({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:Z({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"})};var ee;const te={code:"en-US",formatDistance:(e,t,r)=>{let n;const o=$[e];return n="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n},formatLong:Y,formatRelative:(e,t,r,n)=>K[e],localize:J,match:Q,options:{weekStartsOn:0,firstWeekContainsDate:1}};function re(e,t){const r=O(e,t?.in),n=+P(r)-+function(e,t){const r=C(e,t),n=w(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),P(n)}(r);return Math.round(n/m)+1}function ne(e,t){const r=O(e,t?.in),n=r.getFullYear(),o=k(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,l=w(t?.in||e,0);l.setFullYear(n+1,0,i),l.setHours(0,0,0,0);const a=S(l,t),s=w(t?.in||e,0);s.setFullYear(n,0,i),s.setHours(0,0,0,0);const c=S(s,t);return+r>=+a?n+1:+r>=+c?n:n-1}function oe(e,t){const r=O(e,t?.in),n=+S(r,t)-+function(e,t){const r=k(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=ne(e,t),i=w(t?.in||e,0);return i.setFullYear(o,0,n),i.setHours(0,0,0,0),S(i,t)}(r,t);return Math.round(n/m)+1}function ie(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const le={y(e,t){const r=e.getFullYear(),n=r>0?r:1-r;return ie("yy"===t?n%100:n,t.length)},M(e,t){const r=e.getMonth();return"M"===t?String(r+1):ie(r+1,2)},d:(e,t)=>ie(e.getDate(),t.length),a(e,t){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:(e,t)=>ie(e.getHours()%12||12,t.length),H:(e,t)=>ie(e.getHours(),t.length),m:(e,t)=>ie(e.getMinutes(),t.length),s:(e,t)=>ie(e.getSeconds(),t.length),S(e,t){const r=t.length,n=e.getMilliseconds();return ie(Math.trunc(n*Math.pow(10,r-3)),t.length)}},ae="midnight",se="noon",ce="morning",ue="afternoon",fe="evening",pe="night",de={G:function(e,t,r){const n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){const t=e.getFullYear(),n=t>0?t:1-t;return r.ordinalNumber(n,{unit:"year"})}return le.y(e,t)},Y:function(e,t,r,n){const o=ne(e,n),i=o>0?o:1-o;if("YY"===t){return ie(i%100,2)}return"Yo"===t?r.ordinalNumber(i,{unit:"year"}):ie(i,t.length)},R:function(e,t){return ie(C(e),t.length)},u:function(e,t){return ie(e.getFullYear(),t.length)},Q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return ie(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return ie(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){const n=e.getMonth();switch(t){case"M":case"MM":return le.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){const n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return ie(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){const o=oe(e,n);return"wo"===t?r.ordinalNumber(o,{unit:"week"}):ie(o,t.length)},I:function(e,t,r){const n=re(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):ie(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getDate(),{unit:"date"}):le.d(e,t)},D:function(e,t,r){const n=function(e,t){const r=O(e,t?.in);return N(r,H(r))+1}(e);return"Do"===t?r.ordinalNumber(n,{unit:"dayOfYear"}):ie(n,t.length)},E:function(e,t,r){const n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){const o=e.getDay(),i=(o-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return ie(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){const o=e.getDay(),i=(o-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return ie(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,r){const n=e.getDay(),o=0===n?7:n;switch(t){case"i":return String(o);case"ii":return ie(o,t.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){const n=e.getHours();let o;switch(o=12===n?se:0===n?ae:n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,r){const n=e.getHours();let o;switch(o=n>=17?fe:n>=12?ue:n>=4?ce:pe,t){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),r.ordinalNumber(t,{unit:"hour"})}return le.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getHours(),{unit:"hour"}):le.H(e,t)},K:function(e,t,r){const n=e.getHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):ie(n,t.length)},k:function(e,t,r){let n=e.getHours();return 0===n&&(n=24),"ko"===t?r.ordinalNumber(n,{unit:"hour"}):ie(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):le.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getSeconds(),{unit:"second"}):le.s(e,t)},S:function(e,t){return le.S(e,t)},X:function(e,t,r){const n=e.getTimezoneOffset();if(0===n)return"Z";switch(t){case"X":return ye(n);case"XXXX":case"XX":return he(n);default:return he(n,":")}},x:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"x":return ye(n);case"xxxx":case"xx":return he(n);default:return he(n,":")}},O:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ge(n,":");default:return"GMT"+he(n,":")}},z:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ge(n,":");default:return"GMT"+he(n,":")}},t:function(e,t,r){return ie(Math.trunc(+e/1e3),t.length)},T:function(e,t,r){return ie(+e,t.length)}};function ge(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),o=Math.trunc(n/60),i=n%60;return 0===i?r+String(o):r+String(o)+t+ie(i,2)}function ye(e,t){if(e%60==0){return(e>0?"-":"+")+ie(Math.abs(e)/60,2)}return he(e,t)}function he(e,t=""){const r=e>0?"-":"+",n=Math.abs(e);return r+ie(Math.trunc(n/60),2)+t+ie(n%60,2)}const ve=(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"})}},me=(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"})}},be={p:me,P:(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],n=r[1],o=r[2];if(!o)return ve(e,t);let i;switch(n){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",ve(n,t)).replace("{{time}}",me(o,t))}},we=/^D+$/,Oe=/^Y+$/,xe=["D","DD","YY","YYYY"];const je=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ee=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ke=/^'([^]*?)'?$/,Se=/''/g,Pe=/[a-zA-Z]/;function Ce(e,t,r){const n=k(),o=r?.locale??n.locale??te,i=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,l=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=O(e,r?.in);if(!function(e){return!(!D(e)&&"number"!=typeof e||isNaN(+O(e)))}(a))throw new RangeError("Invalid time value");let s=t.match(Ee).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,be[t])(e,o.formatLong)}return e})).join("").match(je).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:ze(e)};if(de[t])return{isToken:!0,value:e};if(t.match(Pe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));o.localize.preprocessor&&(s=o.localize.preprocessor(a,s));const c={firstWeekContainsDate:i,weekStartsOn:l,locale:o};return s.map((n=>{if(!n.isToken)return n.value;const i=n.value;(!r?.useAdditionalWeekYearTokens&&function(e){return Oe.test(e)}(i)||!r?.useAdditionalDayOfYearTokens&&function(e){return we.test(e)}(i))&&function(e,t,r){const n=function(e,t,r){const n="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,r);if(console.warn(n),xe.includes(e))throw new RangeError(n)}(i,t,String(e));return(0,de[i[0]])(a,i,o.localize,c)})).join("")}function ze(e){const t=e.match(ke);return t?t[1].replace(Se,"'"):e}function Te(e,t){const r=O(e,t?.in);return function(e,t,r){const[n,o]=T(r?.in,e,t),i=S(n,r),l=S(o,r),a=+i-z(i),s=+l-z(l);return Math.round((a-s)/m)}(function(e,t){const r=O(e,t?.in),n=r.getMonth();return r.setFullYear(r.getFullYear(),n+1,0),r.setHours(0,0,0,0),O(r,t?.in)}(r,t),W(r,t),t)+1}function Le(e,t){return+O(e)>+O(t)}function Ne(e,t){return+O(e)<+O(t)}function Re(e,t,r){const[n,o]=T(r?.in,e,t);return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()}function Me(e,t,r){return x(e,-t,r)}function Ie(e,t,r){const n=O(e,r?.in),o=n.getFullYear(),i=n.getDate(),l=w(e,0);l.setFullYear(o,t,15),l.setHours(0,0,0,0);const a=function(e,t){const r=O(e,t?.in),n=r.getFullYear(),o=r.getMonth(),i=w(r,0);return i.setFullYear(n,o+1,0),i.setHours(0,0,0,0),i.getDate()}(l);return n.setMonth(t,Math.min(i,a)),n}function Ae(e,t,r){const n=O(e,r?.in);return isNaN(+n)?w(e,NaN):(n.setFullYear(t),n)}var _e="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function De(){throw new Error("setTimeout has not been defined")}function Be(){throw new Error("clearTimeout has not been defined")}var Fe=De,We=Be;function Ve(e){if(Fe===setTimeout)return setTimeout(e,0);if((Fe===De||!Fe)&&setTimeout)return Fe=setTimeout,setTimeout(e,0);try{return Fe(e,0)}catch(t){try{return Fe.call(null,e,0)}catch(t){return Fe.call(this,e,0)}}}"function"==typeof _e.setTimeout&&(Fe=setTimeout),"function"==typeof _e.clearTimeout&&(We=clearTimeout);var He,Ue=[],Ge=!1,$e=-1;function qe(){Ge&&He&&(Ge=!1,He.length?Ue=He.concat(Ue):$e=-1,Ue.length&&Ye())}function Ye(){if(!Ge){var e=Ve(qe);Ge=!0;for(var t=Ue.length;t;){for(He=Ue,Ue=[];++$e<t;)He&&He[$e].run();$e=-1,t=Ue.length}He=null,Ge=!1,function(e){if(We===clearTimeout)return clearTimeout(e);if((We===Be||!We)&&clearTimeout)return We=clearTimeout,clearTimeout(e);try{return We(e)}catch(t){try{return We.call(null,e)}catch(t){return We.call(this,e)}}}(e)}}function Ke(e,t){this.fun=e,this.array=t}Ke.prototype.run=function(){this.fun.apply(null,this.array)};function Xe(){}var Je=Xe,Ze=Xe,Qe=Xe,et=Xe,tt=Xe,rt=Xe,nt=Xe;var ot=_e.performance||{},it=ot.now||ot.mozNow||ot.msNow||ot.oNow||ot.webkitNow||function(){return(new Date).getTime()};var lt=new Date;var at={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Ue.push(new Ke(e,t)),1!==Ue.length||Ge||Ve(Ye)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Je,addListener:Ze,once:Qe,off:et,removeListener:tt,removeAllListeners:rt,emit:nt,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*it.call(ot),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-lt)/1e3}};function st(e,t){return function(){return e.apply(t,arguments)}}const{toString:ct}=Object.prototype,{getPrototypeOf:ut}=Object,ft=(pt=Object.create(null),e=>{const t=ct.call(e);return pt[t]||(pt[t]=t.slice(8,-1).toLowerCase())});var pt;const dt=e=>(e=e.toLowerCase(),t=>ft(t)===e),gt=e=>t=>typeof t===e,{isArray:yt}=Array,ht=gt("undefined");const vt=dt("ArrayBuffer");const mt=gt("string"),bt=gt("function"),wt=gt("number"),Ot=e=>null!==e&&"object"==typeof e,xt=e=>{if("object"!==ft(e))return!1;const t=ut(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},jt=dt("Date"),Et=dt("File"),kt=dt("Blob"),St=dt("FileList"),Pt=dt("URLSearchParams"),[Ct,zt,Tt,Lt]=["ReadableStream","Request","Response","Headers"].map(dt);function Nt(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,o;if("object"!=typeof e&&(e=[e]),yt(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const o=r?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let l;for(n=0;n<i;n++)l=o[n],t.call(null,e[l],l,e)}}function Rt(e,t){t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}const Mt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:_e,It=e=>!ht(e)&&e!==Mt;const At=(_t="undefined"!=typeof Uint8Array&&ut(Uint8Array),e=>_t&&e instanceof _t);var _t;const Dt=dt("HTMLFormElement"),Bt=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Ft=dt("RegExp"),Wt=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Nt(r,((r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)})),Object.defineProperties(e,n)},Vt="abcdefghijklmnopqrstuvwxyz",Ht="0123456789",Ut={DIGIT:Ht,ALPHA:Vt,ALPHA_DIGIT:Vt+Vt.toUpperCase()+Ht};const Gt=dt("AsyncFunction"),$t=(qt="function"==typeof setImmediate,Yt=bt(Mt.postMessage),qt?setImmediate:Yt?(Kt=`axios@${Math.random()}`,Xt=[],Mt.addEventListener("message",(({source:e,data:t})=>{e===Mt&&t===Kt&&Xt.length&&Xt.shift()()}),!1),e=>{Xt.push(e),Mt.postMessage(Kt,"*")}):e=>setTimeout(e));var qt,Yt,Kt,Xt;const Jt="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Mt):at.nextTick||$t;var Zt={isArray:yt,isArrayBuffer:vt,isBuffer:function(e){return null!==e&&!ht(e)&&null!==e.constructor&&!ht(e.constructor)&&bt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||bt(e.append)&&("formdata"===(t=ft(e))||"object"===t&&bt(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&vt(e.buffer),t},isString:mt,isNumber:wt,isBoolean:e=>!0===e||!1===e,isObject:Ot,isPlainObject:xt,isReadableStream:Ct,isRequest:zt,isResponse:Tt,isHeaders:Lt,isUndefined:ht,isDate:jt,isFile:Et,isBlob:kt,isRegExp:Ft,isFunction:bt,isStream:e=>Ot(e)&&bt(e.pipe),isURLSearchParams:Pt,isTypedArray:At,isFileList:St,forEach:Nt,merge:function e(){const{caseless:t}=It(this)&&this||{},r={},n=(n,o)=>{const i=t&&Rt(r,o)||o;xt(r[i])&&xt(n)?r[i]=e(r[i],n):xt(n)?r[i]=e({},n):yt(n)?r[i]=n.slice():r[i]=n};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Nt(arguments[e],n);return r},extend:(e,t,r,{allOwnKeys:n}={})=>(Nt(t,((t,n)=>{r&&bt(t)?e[n]=st(t,r):e[n]=t}),{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,l;const a={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)l=o[i],n&&!n(l,e,t)||a[l]||(t[l]=e[l],a[l]=!0);e=!1!==r&&ut(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:ft,kindOfTest:dt,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(yt(e))return e;let t=e.length;if(!wt(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:Dt,hasOwnProperty:Bt,hasOwnProp:Bt,reduceDescriptors:Wt,freezeMethods:e=>{Wt(e,((t,r)=>{if(bt(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];bt(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach((e=>{r[e]=!0}))};return yt(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Rt,global:Mt,isContextDefined:It,ALPHABET:Ut,generateString:(e=16,t=Ut.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&bt(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(Ot(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;const o=yt(e)?[]:{};return Nt(e,((e,t)=>{const i=r(e,n+1);!ht(i)&&(o[t]=i)})),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:Gt,isThenable:e=>e&&(Ot(e)||bt(e))&&bt(e.then)&&bt(e.catch),setImmediate:$t,asap:Jt},Qt=[],er=[],tr="undefined"!=typeof Uint8Array?Uint8Array:Array,rr=!1;function nr(){rr=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Qt[t]=e[t],er[e.charCodeAt(t)]=t;er["-".charCodeAt(0)]=62,er["_".charCodeAt(0)]=63}function or(e,t,r){for(var n,o,i=[],l=t;l<r;l+=3)n=(e[l]<<16)+(e[l+1]<<8)+e[l+2],i.push(Qt[(o=n)>>18&63]+Qt[o>>12&63]+Qt[o>>6&63]+Qt[63&o]);return i.join("")}function ir(e){var t;rr||nr();for(var r=e.length,n=r%3,o="",i=[],l=16383,a=0,s=r-n;a<s;a+=l)i.push(or(e,a,a+l>s?s:a+l));return 1===n?(t=e[r-1],o+=Qt[t>>2],o+=Qt[t<<4&63],o+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],o+=Qt[t>>10],o+=Qt[t>>4&63],o+=Qt[t<<2&63],o+="="),i.push(o),i.join("")}function lr(e,t,r,n,o){var i,l,a=8*o-n-1,s=(1<<a)-1,c=s>>1,u=-7,f=r?o-1:0,p=r?-1:1,d=e[t+f];for(f+=p,i=d&(1<<-u)-1,d>>=-u,u+=a;u>0;i=256*i+e[t+f],f+=p,u-=8);for(l=i&(1<<-u)-1,i>>=-u,u+=n;u>0;l=256*l+e[t+f],f+=p,u-=8);if(0===i)i=1-c;else{if(i===s)return l?NaN:1/0*(d?-1:1);l+=Math.pow(2,n),i-=c}return(d?-1:1)*l*Math.pow(2,i-n)}function ar(e,t,r,n,o,i){var l,a,s,c=8*i-o-1,u=(1<<c)-1,f=u>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:i-1,g=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,l=u):(l=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-l))<1&&(l--,s*=2),(t+=l+f>=1?p/s:p*Math.pow(2,1-f))*s>=2&&(l++,s/=2),l+f>=u?(a=0,l=u):l+f>=1?(a=(t*s-1)*Math.pow(2,o),l+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,o),l=0));o>=8;e[r+d]=255&a,d+=g,a/=256,o-=8);for(l=l<<o|a,c+=o;c>0;e[r+d]=255&l,d+=g,l/=256,c-=8);e[r+d-g]|=128*y}var sr={}.toString,cr=Array.isArray||function(e){return"[object Array]"==sr.call(e)};function ur(){return pr.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function fr(e,t){if(ur()<t)throw new RangeError("Invalid typed array length");return pr.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=pr.prototype:(null===e&&(e=new pr(t)),e.length=t),e}function pr(e,t,r){if(!(pr.TYPED_ARRAY_SUPPORT||this instanceof pr))return new pr(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return yr(this,e)}return dr(this,e,t,r)}function dr(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);pr.TYPED_ARRAY_SUPPORT?(e=t).__proto__=pr.prototype:e=hr(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!pr.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|br(t,r);e=fr(e,n);var o=e.write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(mr(t)){var r=0|vr(t.length);return 0===(e=fr(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?fr(e,0):hr(e,t);if("Buffer"===t.type&&cr(t.data))return hr(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function gr(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function yr(e,t){if(gr(t),e=fr(e,t<0?0:0|vr(t)),!pr.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function hr(e,t){var r=t.length<0?0:0|vr(t.length);e=fr(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function vr(e){if(e>=ur())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ur().toString(16)+" bytes");return 0|e}function mr(e){return!(null==e||!e._isBuffer)}function br(e,t){if(mr(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return $r(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return qr(e).length;default:if(n)return $r(e).length;t=(""+t).toLowerCase(),n=!0}}function wr(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ir(this,t,r);case"utf8":case"utf-8":return Lr(this,t,r);case"ascii":return Rr(this,t,r);case"latin1":case"binary":return Mr(this,t,r);case"base64":return Tr(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ar(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function Or(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function xr(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=pr.from(t,n)),mr(t))return 0===t.length?-1:jr(e,t,r,n,o);if("number"==typeof t)return t&=255,pr.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):jr(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function jr(e,t,r,n,o){var i,l=1,a=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;l=2,a/=2,s/=2,r/=2}function c(e,t){return 1===l?e[t]:e.readUInt16BE(t*l)}if(o){var u=-1;for(i=r;i<a;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===s)return u*l}else-1!==u&&(i-=i-u),u=-1}else for(r+s>a&&(r=a-s),i=r;i>=0;i--){for(var f=!0,p=0;p<s;p++)if(c(e,i+p)!==c(t,p)){f=!1;break}if(f)return i}return-1}function Er(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var l=0;l<n;++l){var a=parseInt(t.substr(2*l,2),16);if(isNaN(a))return l;e[r+l]=a}return l}function kr(e,t,r,n){return Yr($r(t,e.length-r),e,r,n)}function Sr(e,t,r,n){return Yr(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function Pr(e,t,r,n){return Sr(e,t,r,n)}function Cr(e,t,r,n){return Yr(qr(t),e,r,n)}function zr(e,t,r,n){return Yr(function(e,t){for(var r,n,o,i=[],l=0;l<e.length&&!((t-=2)<0);++l)n=(r=e.charCodeAt(l))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function Tr(e,t,r){return 0===t&&r===e.length?ir(e):ir(e.slice(t,r))}function Lr(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,l,a,s,c=e[o],u=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(u=c);break;case 2:128==(192&(i=e[o+1]))&&(s=(31&c)<<6|63&i)>127&&(u=s);break;case 3:i=e[o+1],l=e[o+2],128==(192&i)&&128==(192&l)&&(s=(15&c)<<12|(63&i)<<6|63&l)>2047&&(s<55296||s>57343)&&(u=s);break;case 4:i=e[o+1],l=e[o+2],a=e[o+3],128==(192&i)&&128==(192&l)&&128==(192&a)&&(s=(15&c)<<18|(63&i)<<12|(63&l)<<6|63&a)>65535&&s<1114112&&(u=s)}null===u?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=f}return function(e){var t=e.length;if(t<=Nr)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Nr));return r}(n)}pr.TYPED_ARRAY_SUPPORT=void 0===_e.TYPED_ARRAY_SUPPORT||_e.TYPED_ARRAY_SUPPORT,ur(),pr.poolSize=8192,pr._augment=function(e){return e.__proto__=pr.prototype,e},pr.from=function(e,t,r){return dr(null,e,t,r)},pr.TYPED_ARRAY_SUPPORT&&(pr.prototype.__proto__=Uint8Array.prototype,pr.__proto__=Uint8Array),pr.alloc=function(e,t,r){return function(e,t,r,n){return gr(t),t<=0?fr(e,t):void 0!==r?"string"==typeof n?fr(e,t).fill(r,n):fr(e,t).fill(r):fr(e,t)}(null,e,t,r)},pr.allocUnsafe=function(e){return yr(null,e)},pr.allocUnsafeSlow=function(e){return yr(null,e)},pr.isBuffer=function(e){return null!=e&&(!!e._isBuffer||Kr(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Kr(e.slice(0,0))}(e))},pr.compare=function(e,t){if(!mr(e)||!mr(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},pr.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},pr.concat=function(e,t){if(!cr(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return pr.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=pr.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(!mr(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},pr.byteLength=br,pr.prototype._isBuffer=!0,pr.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Or(this,t,t+1);return this},pr.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Or(this,t,t+3),Or(this,t+1,t+2);return this},pr.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Or(this,t,t+7),Or(this,t+1,t+6),Or(this,t+2,t+5),Or(this,t+3,t+4);return this},pr.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Lr(this,0,e):wr.apply(this,arguments)},pr.prototype.equals=function(e){if(!mr(e))throw new TypeError("Argument must be a Buffer");return this===e||0===pr.compare(this,e)},pr.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},pr.prototype.compare=function(e,t,r,n,o){if(!mr(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),l=(r>>>=0)-(t>>>=0),a=Math.min(i,l),s=this.slice(n,o),c=e.slice(t,r),u=0;u<a;++u)if(s[u]!==c[u]){i=s[u],l=c[u];break}return i<l?-1:l<i?1:0},pr.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},pr.prototype.indexOf=function(e,t,r){return xr(this,e,t,r,!0)},pr.prototype.lastIndexOf=function(e,t,r){return xr(this,e,t,r,!1)},pr.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return Er(this,e,t,r);case"utf8":case"utf-8":return kr(this,e,t,r);case"ascii":return Sr(this,e,t,r);case"latin1":case"binary":return Pr(this,e,t,r);case"base64":return Cr(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zr(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},pr.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Nr=4096;function Rr(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function Mr(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function Ir(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=Gr(e[i]);return o}function Ar(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function _r(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function Dr(e,t,r,n,o,i){if(!mr(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function Br(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function Fr(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function Wr(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Vr(e,t,r,n,o){return o||Wr(e,0,r,4),ar(e,t,r,n,23,4),r+4}function Hr(e,t,r,n,o){return o||Wr(e,0,r,8),ar(e,t,r,n,52,8),r+8}pr.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),pr.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=pr.prototype;else{var o=t-e;r=new pr(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},pr.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||_r(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},pr.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||_r(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},pr.prototype.readUInt8=function(e,t){return t||_r(e,1,this.length),this[e]},pr.prototype.readUInt16LE=function(e,t){return t||_r(e,2,this.length),this[e]|this[e+1]<<8},pr.prototype.readUInt16BE=function(e,t){return t||_r(e,2,this.length),this[e]<<8|this[e+1]},pr.prototype.readUInt32LE=function(e,t){return t||_r(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},pr.prototype.readUInt32BE=function(e,t){return t||_r(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},pr.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||_r(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},pr.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||_r(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},pr.prototype.readInt8=function(e,t){return t||_r(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},pr.prototype.readInt16LE=function(e,t){t||_r(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},pr.prototype.readInt16BE=function(e,t){t||_r(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},pr.prototype.readInt32LE=function(e,t){return t||_r(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},pr.prototype.readInt32BE=function(e,t){return t||_r(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},pr.prototype.readFloatLE=function(e,t){return t||_r(e,4,this.length),lr(this,e,!0,23,4)},pr.prototype.readFloatBE=function(e,t){return t||_r(e,4,this.length),lr(this,e,!1,23,4)},pr.prototype.readDoubleLE=function(e,t){return t||_r(e,8,this.length),lr(this,e,!0,52,8)},pr.prototype.readDoubleBE=function(e,t){return t||_r(e,8,this.length),lr(this,e,!1,52,8)},pr.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||Dr(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},pr.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||Dr(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},pr.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,1,255,0),pr.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},pr.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,2,65535,0),pr.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Br(this,e,t,!0),t+2},pr.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,2,65535,0),pr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Br(this,e,t,!1),t+2},pr.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,4,4294967295,0),pr.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Fr(this,e,t,!0),t+4},pr.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,4,4294967295,0),pr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Fr(this,e,t,!1),t+4},pr.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);Dr(this,e,t,r,o-1,-o)}var i=0,l=1,a=0;for(this[t]=255&e;++i<r&&(l*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/l|0)-a&255;return t+r},pr.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);Dr(this,e,t,r,o-1,-o)}var i=r-1,l=1,a=0;for(this[t+i]=255&e;--i>=0&&(l*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/l|0)-a&255;return t+r},pr.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,1,127,-128),pr.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},pr.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,2,32767,-32768),pr.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Br(this,e,t,!0),t+2},pr.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,2,32767,-32768),pr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Br(this,e,t,!1),t+2},pr.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,4,2147483647,-2147483648),pr.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Fr(this,e,t,!0),t+4},pr.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),pr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Fr(this,e,t,!1),t+4},pr.prototype.writeFloatLE=function(e,t,r){return Vr(this,e,t,!0,r)},pr.prototype.writeFloatBE=function(e,t,r){return Vr(this,e,t,!1,r)},pr.prototype.writeDoubleLE=function(e,t,r){return Hr(this,e,t,!0,r)},pr.prototype.writeDoubleBE=function(e,t,r){return Hr(this,e,t,!1,r)},pr.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!pr.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},pr.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!pr.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var l=mr(e)?e:$r(new pr(e,n).toString()),a=l.length;for(i=0;i<r-t;++i)this[i+t]=l[i%a]}return this};var Ur=/[^+\/0-9A-Za-z-_]/g;function Gr(e){return e<16?"0"+e.toString(16):e.toString(16)}function $r(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],l=0;l<n;++l){if((r=e.charCodeAt(l))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(l+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function qr(e){return function(e){var t,r,n,o,i,l;rr||nr();var a=e.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[a-2]?2:"="===e[a-1]?1:0,l=new tr(3*a/4-i),n=i>0?a-4:a;var s=0;for(t=0,r=0;t<n;t+=4,r+=3)o=er[e.charCodeAt(t)]<<18|er[e.charCodeAt(t+1)]<<12|er[e.charCodeAt(t+2)]<<6|er[e.charCodeAt(t+3)],l[s++]=o>>16&255,l[s++]=o>>8&255,l[s++]=255&o;return 2===i?(o=er[e.charCodeAt(t)]<<2|er[e.charCodeAt(t+1)]>>4,l[s++]=255&o):1===i&&(o=er[e.charCodeAt(t)]<<10|er[e.charCodeAt(t+1)]<<4|er[e.charCodeAt(t+2)]>>2,l[s++]=o>>8&255,l[s++]=255&o),l}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Ur,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Yr(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function Kr(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function Xr(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}Zt.inherits(Xr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Zt.toJSONObject(this.config),code:this.code,status:this.status}}});const Jr=Xr.prototype,Zr={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Zr[e]={value:e}})),Object.defineProperties(Xr,Zr),Object.defineProperty(Jr,"isAxiosError",{value:!0}),Xr.from=(e,t,r,n,o,i)=>{const l=Object.create(Jr);return Zt.toFlatObject(e,l,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Xr.call(l,e.message,t,r,n,o),l.cause=e,l.name=e.name,i&&Object.assign(l,i),l};function Qr(e){return Zt.isPlainObject(e)||Zt.isArray(e)}function en(e){return Zt.endsWith(e,"[]")?e.slice(0,-2):e}function tn(e,t,r){return e?e.concat(t).map((function(e,t){return e=en(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}const rn=Zt.toFlatObject(Zt,{},null,(function(e){return/^is[A-Z]/.test(e)}));function nn(e,t,r){if(!Zt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=Zt.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Zt.isUndefined(t[e])}))).metaTokens,o=r.visitor||c,i=r.dots,l=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Zt.isSpecCompliantForm(t);if(!Zt.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(Zt.isDate(e))return e.toISOString();if(!a&&Zt.isBlob(e))throw new Xr("Blob is not supported. Use a Buffer instead.");return Zt.isArrayBuffer(e)||Zt.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):pr.from(e):e}function c(e,r,o){let a=e;if(e&&!o&&"object"==typeof e)if(Zt.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(Zt.isArray(e)&&function(e){return Zt.isArray(e)&&!e.some(Qr)}(e)||(Zt.isFileList(e)||Zt.endsWith(r,"[]"))&&(a=Zt.toArray(e)))return r=en(r),a.forEach((function(e,n){!Zt.isUndefined(e)&&null!==e&&t.append(!0===l?tn([r],n,i):null===l?r:r+"[]",s(e))})),!1;return!!Qr(e)||(t.append(tn(o,r,i),s(e)),!1)}const u=[],f=Object.assign(rn,{defaultVisitor:c,convertValue:s,isVisitable:Qr});if(!Zt.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!Zt.isUndefined(r)){if(-1!==u.indexOf(r))throw Error("Circular reference detected in "+n.join("."));u.push(r),Zt.forEach(r,(function(r,i){!0===(!(Zt.isUndefined(r)||null===r)&&o.call(t,r,Zt.isString(i)?i.trim():i,n,f))&&e(r,n?n.concat(i):[i])})),u.pop()}}(e),t}function on(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ln(e,t){this._pairs=[],e&&nn(e,this,t)}const an=ln.prototype;function sn(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function cn(e,t,r){if(!t)return e;const n=r&&r.encode||sn;Zt.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let i;if(i=o?o(t,r):Zt.isURLSearchParams(t)?t.toString():new ln(t,r).toString(n),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}an.append=function(e,t){this._pairs.push([e,t])},an.toString=function(e){const t=e?function(t){return e.call(this,t,on)}:on;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class un{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Zt.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var fn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pn={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ln,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const dn="undefined"!=typeof window&&"undefined"!=typeof document,gn="object"==typeof navigator&&navigator||void 0,yn=dn&&(!gn||["ReactNative","NativeScript","NS"].indexOf(gn.product)<0),hn="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,vn=dn&&window.location.href||"http://localhost";var mn={...Object.freeze({__proto__:null,hasBrowserEnv:dn,hasStandardBrowserEnv:yn,hasStandardBrowserWebWorkerEnv:hn,navigator:gn,origin:vn}),...pn};function bn(e){function t(e,r,n,o){let i=e[o++];if("__proto__"===i)return!0;const l=Number.isFinite(+i),a=o>=e.length;if(i=!i&&Zt.isArray(n)?n.length:i,a)return Zt.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!l;n[i]&&Zt.isObject(n[i])||(n[i]=[]);return t(e,r,n[i],o)&&Zt.isArray(n[i])&&(n[i]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}(n[i])),!l}if(Zt.isFormData(e)&&Zt.isFunction(e.entries)){const r={};return Zt.forEachEntry(e,((e,n)=>{t(function(e){return Zt.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),n,r,0)})),r}return null}const wn={transitional:fn,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=Zt.isObject(e);o&&Zt.isHTMLForm(e)&&(e=new FormData(e));if(Zt.isFormData(e))return n?JSON.stringify(bn(e)):e;if(Zt.isArrayBuffer(e)||Zt.isBuffer(e)||Zt.isStream(e)||Zt.isFile(e)||Zt.isBlob(e)||Zt.isReadableStream(e))return e;if(Zt.isArrayBufferView(e))return e.buffer;if(Zt.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return nn(e,new mn.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return mn.isNode&&Zt.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Zt.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return nn(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||n?(t.setContentType("application/json",!1),function(e,t){if(Zt.isString(e))try{return(t||JSON.parse)(e),Zt.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||wn.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(Zt.isResponse(e)||Zt.isReadableStream(e))return e;if(e&&Zt.isString(e)&&(r&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(r){if("SyntaxError"===e.name)throw Xr.from(e,Xr.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:mn.classes.FormData,Blob:mn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Zt.forEach(["delete","get","head","post","put","patch"],(e=>{wn.headers[e]={}}));const On=Zt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const xn=Symbol("internals");function jn(e){return e&&String(e).trim().toLowerCase()}function En(e){return!1===e||null==e?e:Zt.isArray(e)?e.map(En):String(e)}function kn(e,t,r,n,o){return Zt.isFunction(n)?n.call(this,t,r):(o&&(t=r),Zt.isString(t)?Zt.isString(n)?-1!==t.indexOf(n):Zt.isRegExp(n)?n.test(t):void 0:void 0)}class Sn{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=jn(t);if(!o)throw new Error("header name must be a non-empty string");const i=Zt.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||t]=En(e))}const i=(e,t)=>Zt.forEach(e,((e,r)=>o(e,r,t)));if(Zt.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Zt.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let r,n,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!r||t[r]&&On[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)})),t})(e),t);else if(Zt.isHeaders(e))for(const[t,n]of e.entries())o(n,t,r);else null!=e&&o(t,e,r);return this}get(e,t){if(e=jn(e)){const r=Zt.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(Zt.isFunction(t))return t.call(this,e,r);if(Zt.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=jn(e)){const r=Zt.findKey(this,e);return!(!r||void 0===this[r]||t&&!kn(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=jn(e)){const o=Zt.findKey(r,e);!o||t&&!kn(0,r[o],o,t)||(delete r[o],n=!0)}}return Zt.isArray(e)?e.forEach(o):o(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const o=t[r];e&&!kn(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return Zt.forEach(this,((n,o)=>{const i=Zt.findKey(r,o);if(i)return t[i]=En(n),void delete t[o];const l=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}(o):String(o).trim();l!==o&&delete t[o],t[l]=En(n),r[l]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Zt.forEach(this,((r,n)=>{null!=r&&!1!==r&&(t[n]=e&&Zt.isArray(r)?r.join(", "):r)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach((e=>r.set(e))),r}static accessor(e){const t=(this[xn]=this[xn]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=jn(e);t[n]||(!function(e,t){const r=Zt.toCamelCase(" "+t);["get","set","has"].forEach((n=>{Object.defineProperty(e,n+r,{value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})}))}(r,e),t[n]=!0)}return Zt.isArray(e)?e.forEach(n):n(e),this}}function Pn(e,t){const r=this||wn,n=t||r,o=Sn.from(n.headers);let i=n.data;return Zt.forEach(e,(function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Cn(e){return!(!e||!e.__CANCEL__)}function zn(e,t,r){Xr.call(this,null==e?"canceled":e,Xr.ERR_CANCELED,t,r),this.name="CanceledError"}function Tn(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Xr("Request failed with status code "+r.status,[Xr.ERR_BAD_REQUEST,Xr.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}Sn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Zt.reduceDescriptors(Sn.prototype,(({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}})),Zt.freezeMethods(Sn),Zt.inherits(zn,Xr,{__CANCEL__:!0});const Ln=(e,t,r=3)=>{let n=0;const o=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,i=0,l=0;return t=void 0!==t?t:1e3,function(a){const s=Date.now(),c=n[l];o||(o=s),r[i]=a,n[i]=s;let u=l,f=0;for(;u!==i;)f+=r[u++],u%=e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),s-o<t)return;const p=c&&s-c;return p?Math.round(1e3*f/p):void 0}}(50,250);return function(e,t){let r,n,o=0,i=1e3/t;const l=(t,i=Date.now())=>{o=i,r=null,n&&(clearTimeout(n),n=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),a=t-o;a>=i?l(e,t):(r=e,n||(n=setTimeout((()=>{n=null,l(r)}),i-a)))},()=>r&&l(r)]}((r=>{const i=r.loaded,l=r.lengthComputable?r.total:void 0,a=i-n,s=o(a);n=i;e({loaded:i,total:l,progress:l?i/l:void 0,bytes:a,rate:s||void 0,estimated:s&&l&&i<=l?(l-i)/s:void 0,event:r,lengthComputable:null!=l,[t?"download":"upload"]:!0})}),r)},Nn=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Rn=e=>(...t)=>Zt.asap((()=>e(...t)));var Mn=mn.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,mn.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(mn.origin),mn.navigator&&/(msie|trident)/i.test(mn.navigator.userAgent)):()=>!0,In=mn.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const l=[e+"="+encodeURIComponent(t)];Zt.isNumber(r)&&l.push("expires="+new Date(r).toGMTString()),Zt.isString(n)&&l.push("path="+n),Zt.isString(o)&&l.push("domain="+o),!0===i&&l.push("secure"),document.cookie=l.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function An(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const _n=e=>e instanceof Sn?{...e}:e;function Dn(e,t){t=t||{};const r={};function n(e,t,r,n){return Zt.isPlainObject(e)&&Zt.isPlainObject(t)?Zt.merge.call({caseless:n},e,t):Zt.isPlainObject(t)?Zt.merge({},t):Zt.isArray(t)?t.slice():t}function o(e,t,r,o){return Zt.isUndefined(t)?Zt.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function i(e,t){if(!Zt.isUndefined(t))return n(void 0,t)}function l(e,t){return Zt.isUndefined(t)?Zt.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function a(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}const s={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:a,headers:(e,t,r)=>o(_n(e),_n(t),0,!0)};return Zt.forEach(Object.keys(Object.assign({},e,t)),(function(n){const i=s[n]||o,l=i(e[n],t[n],n);Zt.isUndefined(l)&&i!==a||(r[n]=l)})),r}var Bn=e=>{const t=Dn({},e);let r,{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:l,headers:a,auth:s}=t;if(t.headers=a=Sn.from(a),t.url=cn(An(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),Zt.isFormData(n))if(mn.hasStandardBrowserEnv||mn.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(r=a.getContentType())){const[e,...t]=r?r.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(mn.hasStandardBrowserEnv&&(o&&Zt.isFunction(o)&&(o=o(t)),o||!1!==o&&Mn(t.url))){const e=i&&l&&In.read(l);e&&a.set(i,e)}return t};var Fn="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){const n=Bn(e);let o=n.data;const i=Sn.from(n.headers).normalize();let l,a,s,c,u,{responseType:f,onUploadProgress:p,onDownloadProgress:d}=n;function g(){c&&c(),u&&u(),n.cancelToken&&n.cancelToken.unsubscribe(l),n.signal&&n.signal.removeEventListener("abort",l)}let y=new XMLHttpRequest;function h(){if(!y)return;const n=Sn.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());Tn((function(e){t(e),g()}),(function(e){r(e),g()}),{data:f&&"text"!==f&&"json"!==f?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y}),y=null}y.open(n.method.toUpperCase(),n.url,!0),y.timeout=n.timeout,"onloadend"in y?y.onloadend=h:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(h)},y.onabort=function(){y&&(r(new Xr("Request aborted",Xr.ECONNABORTED,e,y)),y=null)},y.onerror=function(){r(new Xr("Network Error",Xr.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||fn;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new Xr(t,o.clarifyTimeoutError?Xr.ETIMEDOUT:Xr.ECONNABORTED,e,y)),y=null},void 0===o&&i.setContentType(null),"setRequestHeader"in y&&Zt.forEach(i.toJSON(),(function(e,t){y.setRequestHeader(t,e)})),Zt.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),f&&"json"!==f&&(y.responseType=n.responseType),d&&([s,u]=Ln(d,!0),y.addEventListener("progress",s)),p&&y.upload&&([a,c]=Ln(p),y.upload.addEventListener("progress",a),y.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(l=t=>{y&&(r(!t||t.type?new zn(null,e,y):t),y.abort(),y=null)},n.cancelToken&&n.cancelToken.subscribe(l),n.signal&&(n.signal.aborted?l():n.signal.addEventListener("abort",l)));const v=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(n.url);v&&-1===mn.protocols.indexOf(v)?r(new Xr("Unsupported protocol "+v+":",Xr.ERR_BAD_REQUEST,e)):y.send(o||null)}))};const Wn=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController;const o=function(e){if(!r){r=!0,l();const t=e instanceof Error?e:this.reason;n.abort(t instanceof Xr?t:new zn(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new Xr(`timeout ${t} of ms exceeded`,Xr.ETIMEDOUT))}),t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:a}=n;return a.unsubscribe=()=>Zt.asap(l),a}},Vn=function*(e,t){let r=e.byteLength;if(r<t)return void(yield e);let n,o=0;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},Hn=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},Un=(e,t,r,n)=>{const o=async function*(e,t){for await(const r of Hn(e))yield*Vn(r,t)}(e,t);let i,l=0,a=e=>{i||(i=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const{done:t,value:n}=await o.next();if(t)return a(),void e.close();let i=n.byteLength;if(r){let e=l+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},Gn="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,$n=Gn&&"function"==typeof ReadableStream,qn=Gn&&("function"==typeof TextEncoder?(Yn=new TextEncoder,e=>Yn.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Yn;const Kn=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Xn=$n&&Kn((()=>{let e=!1;const t=new Request(mn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Jn=$n&&Kn((()=>Zt.isReadableStream(new Response("").body))),Zn={stream:Jn&&(e=>e.body)};var Qn;Gn&&(Qn=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Zn[e]&&(Zn[e]=Zt.isFunction(Qn[e])?t=>t[e]():(t,r)=>{throw new Xr(`Response type '${e}' is not supported`,Xr.ERR_NOT_SUPPORT,r)})})));const eo=async(e,t)=>{const r=Zt.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(Zt.isBlob(e))return e.size;if(Zt.isSpecCompliantForm(e)){const t=new Request(mn.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Zt.isArrayBufferView(e)||Zt.isArrayBuffer(e)?e.byteLength:(Zt.isURLSearchParams(e)&&(e+=""),Zt.isString(e)?(await qn(e)).byteLength:void 0)})(t):r};var to=Gn&&(async e=>{let{url:t,method:r,data:n,signal:o,cancelToken:i,timeout:l,onDownloadProgress:a,onUploadProgress:s,responseType:c,headers:u,withCredentials:f="same-origin",fetchOptions:p}=Bn(e);c=c?(c+"").toLowerCase():"text";let d,g=Wn([o,i&&i.toAbortSignal()],l);const y=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let h;try{if(s&&Xn&&"get"!==r&&"head"!==r&&0!==(h=await eo(u,n))){let e,r=new Request(t,{method:"POST",body:n,duplex:"half"});if(Zt.isFormData(n)&&(e=r.headers.get("content-type"))&&u.setContentType(e),r.body){const[e,t]=Nn(h,Ln(Rn(s)));n=Un(r.body,65536,e,t)}}Zt.isString(f)||(f=f?"include":"omit");const o="credentials"in Request.prototype;d=new Request(t,{...p,signal:g,method:r.toUpperCase(),headers:u.normalize().toJSON(),body:n,duplex:"half",credentials:o?f:void 0});let i=await fetch(d);const l=Jn&&("stream"===c||"response"===c);if(Jn&&(a||l&&y)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Zt.toFiniteNumber(i.headers.get("content-length")),[r,n]=a&&Nn(t,Ln(Rn(a),!0))||[];i=new Response(Un(i.body,65536,r,(()=>{n&&n(),y&&y()})),e)}c=c||"text";let v=await Zn[Zt.findKey(Zn,c)||"text"](i,e);return!l&&y&&y(),await new Promise(((t,r)=>{Tn(t,r,{data:v,headers:Sn.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:d})}))}catch(t){if(y&&y(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new Xr("Network Error",Xr.ERR_NETWORK,e,d),{cause:t.cause||t});throw Xr.from(t,t&&t.code,e,d)}});const ro={http:null,xhr:Fn,fetch:to};Zt.forEach(ro,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const no=e=>`- ${e}`,oo=e=>Zt.isFunction(e)||null===e||!1===e;var io=e=>{e=Zt.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let i=0;i<t;i++){let t;if(r=e[i],n=r,!oo(r)&&(n=ro[(t=String(r)).toLowerCase()],void 0===n))throw new Xr(`Unknown adapter '${t}'`);if(n)break;o[t||"#"+i]=n}if(!n){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new Xr("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(no).join("\n"):" "+no(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function lo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zn(null,e)}function ao(e){lo(e),e.headers=Sn.from(e.headers),e.data=Pn.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return io(e.adapter||wn.adapter)(e).then((function(t){return lo(e),t.data=Pn.call(e,e.transformResponse,t),t.headers=Sn.from(t.headers),t}),(function(t){return Cn(t)||(lo(e),t&&t.response&&(t.response.data=Pn.call(e,e.transformResponse,t.response),t.response.headers=Sn.from(t.response.headers))),Promise.reject(t)}))}const so="1.7.8",co={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{co[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const uo={};co.transitional=function(e,t,r){function n(e,t){return"[Axios v1.7.8] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new Xr(n(o," has been removed"+(t?" in "+t:"")),Xr.ERR_DEPRECATED);return t&&!uo[o]&&(uo[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}},co.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var fo={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Xr("options must be an object",Xr.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],l=t[i];if(l){const t=e[i],r=void 0===t||l(t,i,e);if(!0!==r)throw new Xr("option "+i+" must be "+r,Xr.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Xr("Unknown option "+i,Xr.ERR_BAD_OPTION)}},validators:co};const po=fo.validators;class go{constructor(e){this.defaults=e,this.interceptors={request:new un,response:new un}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Dn(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&fo.assertOptions(r,{silentJSONParsing:po.transitional(po.boolean),forcedJSONParsing:po.transitional(po.boolean),clarifyTimeoutError:po.transitional(po.boolean)},!1),null!=n&&(Zt.isFunction(n)?t.paramsSerializer={serialize:n}:fo.assertOptions(n,{encode:po.function,serialize:po.function},!0)),fo.assertOptions(t,{baseUrl:po.spelling("baseURL"),withXsrfToken:po.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Zt.merge(o.common,o[t.method]);o&&Zt.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Sn.concat(i,o);const l=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,l.unshift(e.fulfilled,e.rejected))}));const s=[];let c;this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)}));let u,f=0;if(!a){const e=[ao.bind(this),void 0];for(e.unshift.apply(e,l),e.push.apply(e,s),u=e.length,c=Promise.resolve(t);f<u;)c=c.then(e[f++],e[f++]);return c}u=l.length;let p=t;for(f=0;f<u;){const e=l[f++],t=l[f++];try{p=e(p)}catch(e){t.call(this,e);break}}try{c=ao.call(this,p)}catch(e){return Promise.reject(e)}for(f=0,u=s.length;f<u;)c=c.then(s[f++],s[f++]);return c}getUri(e){return cn(An((e=Dn(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}Zt.forEach(["delete","get","head","options"],(function(e){go.prototype[e]=function(t,r){return this.request(Dn(r||{},{method:e,url:t,data:(r||{}).data}))}})),Zt.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(Dn(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}go.prototype[e]=t(),go.prototype[e+"Form"]=t(!0)}));class yo{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const r=this;this.promise.then((e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null})),this.promise.then=e=>{let t;const n=new Promise((e=>{r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,n,o){r.reason||(r.reason=new zn(e,n,o),t(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new yo((function(t){e=t})),cancel:e}}}const ho={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ho).forEach((([e,t])=>{ho[t]=e}));const vo=function e(t){const r=new go(t),n=st(go.prototype.request,r);return Zt.extend(n,go.prototype,r,{allOwnKeys:!0}),Zt.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(Dn(t,r))},n}(wn);function mo(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=mo(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function bo(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=mo(e))&&(n&&(n+=" "),n+=t);return n}vo.Axios=go,vo.CanceledError=zn,vo.CancelToken=yo,vo.isCancel=Cn,vo.VERSION=so,vo.toFormData=nn,vo.AxiosError=Xr,vo.Cancel=vo.CanceledError,vo.all=function(e){return Promise.all(e)},vo.spread=function(e){return function(t){return e.apply(null,t)}},vo.isAxiosError=function(e){return Zt.isObject(e)&&!0===e.isAxiosError},vo.mergeConfig=Dn,vo.AxiosHeaders=Sn,vo.formToJSON=e=>bn(Zt.isHTMLForm(e)?new FormData(e):e),vo.getAdapter=io,vo.HttpStatusCode=ho,vo.default=vo;const wo=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,Oo=bo,xo=(e,t)=>r=>{var n;if(null==(null==t?void 0:t.variants))return Oo(e,null==r?void 0:r.class,null==r?void 0:r.className);const{variants:o,defaultVariants:i}=t,l=Object.keys(o).map((e=>{const t=null==r?void 0:r[e],n=null==i?void 0:i[e];if(null===t)return null;const l=wo(t)||wo(n);return o[e][l]})),a=r&&Object.entries(r).reduce(((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e}),{}),s=null==t||null===(n=t.compoundVariants)||void 0===n?void 0:n.reduce(((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every((e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...i,...a}[t]):{...i,...a}[t]===r}))?[...e,r,n]:e}),[]);return Oo(e,l,s,null==r?void 0:r.class,null==r?void 0:r.className)},jo=e=>{const t=Po(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{const r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),Eo(r,t)||So(e)},getConflictingClassGroupIds:(e,t)=>{const o=r[e]||[];return t&&n[e]?[...o,...n[e]]:o}}},Eo=(e,t)=>{if(0===e.length)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?Eo(e.slice(1),n):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find((({validator:e})=>e(i)))?.classGroupId},ko=/^\[(.+)\]$/,So=e=>{if(ko.test(e)){const t=ko.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Po=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Lo(Object.entries(e.classGroups),r).forEach((([e,r])=>{Co(r,n,e,t)})),n},Co=(e,t,r,n)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return To(e)?void Co(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,o])=>{Co(o,zo(t,e),r,n)}))}else{(""===e?t:zo(t,e)).classGroupId=r}}))},zo=(e,t)=>{let r=e;return t.split("-").forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r},To=e=>e.isThemeGetter,Lo=(e,t)=>t?e.map((([e,r])=>[e,r.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,r])=>[t+e,r]))):e))])):e,No=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const o=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(o(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):o(e,t)}}},Ro=e=>{const{separator:t,experimentalParseClassName:r}=e,n=1===t.length,o=t[0],i=t.length,l=e=>{const r=[];let l,a=0,s=0;for(let c=0;c<e.length;c++){let u=e[c];if(0===a){if(u===o&&(n||e.slice(c,c+i)===t)){r.push(e.slice(s,c)),s=c+i;continue}if("/"===u){l=c;continue}}"["===u?a++:"]"===u&&a--}const c=0===r.length?e:e.substring(s),u=c.startsWith("!");return{modifiers:r,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:l&&l>s?l-s:void 0}};return r?e=>r({className:e,parseClassName:l}):l},Mo=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach((e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)})),t.push(...r.sort()),t},Io=/\s+/;function Ao(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=_o(e))&&(n&&(n+=" "),n+=t);return n}const _o=e=>{if("string"==typeof e)return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=_o(e[n]))&&(r&&(r+=" "),r+=t);return r};function Do(e,...t){let r,n,o,i=function(a){const s=t.reduce(((e,t)=>t(e)),e());return r=(e=>({cache:No(e.cacheSize),parseClassName:Ro(e),...jo(e)}))(s),n=r.cache.get,o=r.cache.set,i=l,l(a)};function l(e){const t=n(e);if(t)return t;const i=((e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,i=[],l=e.trim().split(Io);let a="";for(let e=l.length-1;e>=0;e-=1){const t=l[e],{modifiers:s,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:f}=r(t);let p=Boolean(f),d=n(p?u.substring(0,f):u);if(!d){if(!p){a=t+(a.length>0?" "+a:a);continue}if(d=n(u),!d){a=t+(a.length>0?" "+a:a);continue}p=!1}const g=Mo(s).join(":"),y=c?g+"!":g,h=y+d;if(i.includes(h))continue;i.push(h);const v=o(d,p);for(let e=0;e<v.length;++e){const t=v[e];i.push(y+t)}a=t+(a.length>0?" "+a:a)}return a})(e,r);return o(e,i),i}return function(){return i(Ao.apply(null,arguments))}}const Bo=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Fo=/^\[(?:([a-z-]+):)?(.+)\]$/i,Wo=/^\d+\/\d+$/,Vo=new Set(["px","full","screen"]),Ho=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Uo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Go=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$o=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Yo=e=>Xo(e)||Vo.has(e)||Wo.test(e),Ko=e=>ci(e,"length",ui),Xo=e=>Boolean(e)&&!Number.isNaN(Number(e)),Jo=e=>ci(e,"number",Xo),Zo=e=>Boolean(e)&&Number.isInteger(Number(e)),Qo=e=>e.endsWith("%")&&Xo(e.slice(0,-1)),ei=e=>Fo.test(e),ti=e=>Ho.test(e),ri=new Set(["length","size","percentage"]),ni=e=>ci(e,ri,fi),oi=e=>ci(e,"position",fi),ii=new Set(["image","url"]),li=e=>ci(e,ii,di),ai=e=>ci(e,"",pi),si=()=>!0,ci=(e,t,r)=>{const n=Fo.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))},ui=e=>Uo.test(e)&&!Go.test(e),fi=()=>!1,pi=e=>$o.test(e),di=e=>qo.test(e),gi=Do((()=>{const e=Bo("colors"),t=Bo("spacing"),r=Bo("blur"),n=Bo("brightness"),o=Bo("borderColor"),i=Bo("borderRadius"),l=Bo("borderSpacing"),a=Bo("borderWidth"),s=Bo("contrast"),c=Bo("grayscale"),u=Bo("hueRotate"),f=Bo("invert"),p=Bo("gap"),d=Bo("gradientColorStops"),g=Bo("gradientColorStopPositions"),y=Bo("inset"),h=Bo("margin"),v=Bo("opacity"),m=Bo("padding"),b=Bo("saturate"),w=Bo("scale"),O=Bo("sepia"),x=Bo("skew"),j=Bo("space"),E=Bo("translate"),k=()=>["auto",ei,t],S=()=>[ei,t],P=()=>["",Yo,Ko],C=()=>["auto",Xo,ei],z=()=>["","0",ei],T=()=>[Xo,ei];return{cacheSize:500,separator:":",theme:{colors:[si],spacing:[Yo,Ko],blur:["none","",ti,ei],brightness:T(),borderColor:[e],borderRadius:["none","","full",ti,ei],borderSpacing:S(),borderWidth:P(),contrast:T(),grayscale:z(),hueRotate:T(),invert:z(),gap:S(),gradientColorStops:[e],gradientColorStopPositions:[Qo,Ko],inset:k(),margin:k(),opacity:T(),padding:S(),saturate:T(),scale:T(),sepia:z(),skew:T(),space:S(),translate:S()},classGroups:{aspect:[{aspect:["auto","square","video",ei]}],container:["container"],columns:[{columns:[ti]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",ei]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Zo,ei]}],basis:[{basis:k()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ei]}],grow:[{grow:z()}],shrink:[{shrink:z()}],order:[{order:["first","last","none",Zo,ei]}],"grid-cols":[{"grid-cols":[si]}],"col-start-end":[{col:["auto",{span:["full",Zo,ei]},ei]}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":[si]}],"row-start-end":[{row:["auto",{span:[Zo,ei]},ei]}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ei]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ei]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ei,t]}],"min-w":[{"min-w":[ei,t,"min","max","fit"]}],"max-w":[{"max-w":[ei,t,"none","full","min","max","fit","prose",{screen:[ti]},ti]}],h:[{h:[ei,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ei,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ei,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ei,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ti,Ko]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Jo]}],"font-family":[{font:[si]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ei]}],"line-clamp":[{"line-clamp":["none",Xo,Jo]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Yo,ei]}],"list-image":[{"list-image":["none",ei]}],"list-style-type":[{list:["none","disc","decimal",ei]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Yo,Ko]}],"underline-offset":[{"underline-offset":["auto",Yo,ei]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ei]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ei]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",oi]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ni]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},li]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[d]}],"gradient-via":[{via:[d]}],"gradient-to":[{to:[d]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[Yo,ei]}],"outline-w":[{outline:[Yo,Ko]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:P()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[Yo,Ko]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ti,ai]}],"shadow-color":[{shadow:[si]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[s]}],"drop-shadow":[{"drop-shadow":["","none",ti,ei]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[b]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[s]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ei]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",ei]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",ei]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Zo,ei]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ei]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ei]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ei]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Yo,Ko,Jo]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));function yi(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return gi(bo(e))}var hi=xo("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),vi=e.forwardRef((function(t,r){var n=t.className,o=t.variant,i=g(t,["className","variant"]);return e.createElement("div",d({ref:r,role:"alert",className:yi(hi({variant:o}),n)},i))}));vi.displayName="Alert";var mi=e.forwardRef((function(t,r){var n=t.className,o=g(t,["className"]);return e.createElement("h5",d({ref:r,className:yi("mb-1 font-medium leading-none tracking-tight",n)},o))}));mi.displayName="AlertTitle";var bi=e.forwardRef((function(t,r){var n=t.className,o=g(t,["className"]);return e.createElement("div",d({ref:r,className:yi("text-sm [&_p]:leading-relaxed",n)},o))}));bi.displayName="AlertDescription";
1
+ import*as e from"react";import t,{forwardRef as r,createElement as n,createContext as o,useContext as i,useState as l,useEffect as a,useLayoutEffect as s,useRef as c,useMemo as u}from"react";import*as f from"react-dom";import p from"react-dom";var d=function(){return d=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)};function g(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function y(e,t,r,n){return new(r||(r=Promise))((function(o,i){function l(e){try{s(n.next(e))}catch(e){i(e)}}function a(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(l,a)}s((n=n.apply(e,t||[])).next())}))}function h(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return l.next=a(0),l.throw=a(1),l.return=a(2),"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function a(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;l&&(l=0,a[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function v(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;!function(e,t){void 0===t&&(t={});var r=t.insertAt;if("undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("@tailwind base;@tailwind components;@tailwind utilities;@layer base{:root{--background:0 0% 100%;--foreground:0 0% 3.9%;--card:0 0% 100%;--card-foreground:0 0% 3.9%;--popover:0 0% 100%;--popover-foreground:0 0% 3.9%;--primary:0 0% 9%;--primary-foreground:0 0% 98%;--secondary:0 0% 96.1%;--secondary-foreground:0 0% 9%;--muted:0 0% 96.1%;--muted-foreground:0 0% 45.1%;--accent:0 0% 96.1%;--accent-foreground:0 0% 9%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--border:0 0% 89.8%;--input:0 0% 89.8%;--ring:0 0% 3.9%;--radius:0.5rem;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%}.dark{--background:0 0% 3.9%;--foreground:0 0% 98%;--card:0 0% 3.9%;--card-foreground:0 0% 98%;--popover:0 0% 3.9%;--popover-foreground:0 0% 98%;--primary:0 0% 98%;--primary-foreground:0 0% 9%;--secondary:0 0% 14.9%;--secondary-foreground:0 0% 98%;--muted:0 0% 14.9%;--muted-foreground:0 0% 63.9%;--accent:0 0% 14.9%;--accent-foreground:0 0% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:0 0% 98%;--border:0 0% 14.9%;--input:0 0% 14.9%;--ring:0 0% 83.1%;--chart-1:220 70% 50%;--chart-2:160 60% 45%;--chart-3:30 80% 55%;--chart-4:280 65% 60%;--chart-5:340 75% 55%}*,body{@apply bg-background text-foreground}}");const m=6048e5,b=Symbol.for("constructDateFrom");function w(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&b in e?e[b](t):e instanceof Date?new e.constructor(t):new Date(t)}function O(e,t){return w(t||e,e)}function x(e,t,r){const n=O(e,r?.in);return isNaN(t)?w(r?.in||e,NaN):t?(n.setDate(n.getDate()+t),n):n}function j(e,t,r){const n=O(e,r?.in);if(isNaN(t))return w(r?.in||e,NaN);if(!t)return n;const o=n.getDate(),i=w(r?.in||e,n.getTime());i.setMonth(n.getMonth()+t+1,0);return o>=i.getDate()?i:(n.setFullYear(i.getFullYear(),i.getMonth(),o),n)}let E={};function k(){return E}function S(e,t){const r=k(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,o=O(e,t?.in),i=o.getDay(),l=(i<n?7:0)+i-n;return o.setDate(o.getDate()-l),o.setHours(0,0,0,0),o}function P(e,t){return S(e,{...t,weekStartsOn:1})}function C(e,t){const r=O(e,t?.in),n=r.getFullYear(),o=w(r,0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);const i=P(o),l=w(r,0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);const a=P(l);return r.getTime()>=i.getTime()?n+1:r.getTime()>=a.getTime()?n:n-1}function z(e){const t=O(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function T(e,...t){const r=w.bind(null,e||t.find((e=>"object"==typeof e)));return t.map(r)}function L(e,t){const r=O(e,t?.in);return r.setHours(0,0,0,0),r}function N(e,t,r){const[n,o]=T(r?.in,e,t),i=L(n),l=L(o),a=+i-z(i),s=+l-z(l);return Math.round((a-s)/864e5)}function R(e,t,r){return x(e,7*t,r)}function M(e,t,r){return j(e,12*t,r)}function I(e,t){let r,n=t?.in;return e.forEach((e=>{n||"object"!=typeof e||(n=w.bind(null,e));const t=O(e,n);(!r||r<t||isNaN(+t))&&(r=t)})),w(n,r||NaN)}function A(e,t){let r,n=t?.in;return e.forEach((e=>{n||"object"!=typeof e||(n=w.bind(null,e));const t=O(e,n);(!r||r>t||isNaN(+t))&&(r=t)})),w(n,r||NaN)}function _(e,t,r){const[n,o]=T(r?.in,e,t);return+L(n)==+L(o)}function D(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function B(e,t,r){const[n,o]=T(r?.in,e,t);return 12*(n.getFullYear()-o.getFullYear())+(n.getMonth()-o.getMonth())}function F(e,t){const r=O(e,t?.in),n=r.getMonth();return r.setFullYear(r.getFullYear(),n+1,0),r.setHours(23,59,59,999),r}function W(e,t){const r=O(e,t?.in);return r.setDate(1),r.setHours(0,0,0,0),r}function V(e,t){const r=O(e,t?.in),n=r.getFullYear();return r.setFullYear(n+1,0,0),r.setHours(23,59,59,999),r}function H(e,t){const r=O(e,t?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}function U(e,t){const r=k(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,o=O(e,t?.in),i=o.getDay(),l=6+(i<n?-7:0)-(i-n);return o.setDate(o.getDate()+l),o.setHours(23,59,59,999),o}function G(e,t){return U(e,{...t,weekStartsOn:1})}const $={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 q(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const Y={date:q({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:q({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:q({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},K={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function X(e){return(t,r)=>{let n;if("formatting"===(r?.context?String(r.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,o=r?.width?String(r.width):t;n=e.formattingValues[o]||e.formattingValues[t]}else{const t=e.defaultWidth,o=r?.width?String(r.width):e.defaultWidth;n=e.values[o]||e.values[t]}return n[e.argumentCallback?e.argumentCallback(t):t]}}const J={ordinalNumber:(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:X({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:X({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:X({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:X({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:X({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"})};function Z(e){return(t,r={})=>{const n=r.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const l=i[0],a=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(a)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r;return}(a,(e=>e.test(l))):function(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r;return}(a,(e=>e.test(l)));let c;c=e.valueCallback?e.valueCallback(s):s,c=r.valueCallback?r.valueCallback(c):c;return{value:c,rest:t.slice(l.length)}}}const Q={ordinalNumber:(ee={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const r=e.match(ee.matchPattern);if(!r)return null;const n=r[0],o=e.match(ee.parsePattern);if(!o)return null;let i=ee.valueCallback?ee.valueCallback(o[0]):o[0];return i=t.valueCallback?t.valueCallback(i):i,{value:i,rest:e.slice(n.length)}}),era:Z({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:Z({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:Z({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:Z({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:Z({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"})};var ee;const te={code:"en-US",formatDistance:(e,t,r)=>{let n;const o=$[e];return n="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n},formatLong:Y,formatRelative:(e,t,r,n)=>K[e],localize:J,match:Q,options:{weekStartsOn:0,firstWeekContainsDate:1}};function re(e,t){const r=O(e,t?.in),n=+P(r)-+function(e,t){const r=C(e,t),n=w(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),P(n)}(r);return Math.round(n/m)+1}function ne(e,t){const r=O(e,t?.in),n=r.getFullYear(),o=k(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,l=w(t?.in||e,0);l.setFullYear(n+1,0,i),l.setHours(0,0,0,0);const a=S(l,t),s=w(t?.in||e,0);s.setFullYear(n,0,i),s.setHours(0,0,0,0);const c=S(s,t);return+r>=+a?n+1:+r>=+c?n:n-1}function oe(e,t){const r=O(e,t?.in),n=+S(r,t)-+function(e,t){const r=k(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=ne(e,t),i=w(t?.in||e,0);return i.setFullYear(o,0,n),i.setHours(0,0,0,0),S(i,t)}(r,t);return Math.round(n/m)+1}function ie(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const le={y(e,t){const r=e.getFullYear(),n=r>0?r:1-r;return ie("yy"===t?n%100:n,t.length)},M(e,t){const r=e.getMonth();return"M"===t?String(r+1):ie(r+1,2)},d:(e,t)=>ie(e.getDate(),t.length),a(e,t){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:(e,t)=>ie(e.getHours()%12||12,t.length),H:(e,t)=>ie(e.getHours(),t.length),m:(e,t)=>ie(e.getMinutes(),t.length),s:(e,t)=>ie(e.getSeconds(),t.length),S(e,t){const r=t.length,n=e.getMilliseconds();return ie(Math.trunc(n*Math.pow(10,r-3)),t.length)}},ae="midnight",se="noon",ce="morning",ue="afternoon",fe="evening",pe="night",de={G:function(e,t,r){const n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){const t=e.getFullYear(),n=t>0?t:1-t;return r.ordinalNumber(n,{unit:"year"})}return le.y(e,t)},Y:function(e,t,r,n){const o=ne(e,n),i=o>0?o:1-o;if("YY"===t){return ie(i%100,2)}return"Yo"===t?r.ordinalNumber(i,{unit:"year"}):ie(i,t.length)},R:function(e,t){return ie(C(e),t.length)},u:function(e,t){return ie(e.getFullYear(),t.length)},Q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return ie(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return ie(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){const n=e.getMonth();switch(t){case"M":case"MM":return le.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){const n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return ie(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){const o=oe(e,n);return"wo"===t?r.ordinalNumber(o,{unit:"week"}):ie(o,t.length)},I:function(e,t,r){const n=re(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):ie(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getDate(),{unit:"date"}):le.d(e,t)},D:function(e,t,r){const n=function(e,t){const r=O(e,t?.in);return N(r,H(r))+1}(e);return"Do"===t?r.ordinalNumber(n,{unit:"dayOfYear"}):ie(n,t.length)},E:function(e,t,r){const n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){const o=e.getDay(),i=(o-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return ie(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){const o=e.getDay(),i=(o-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return ie(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,r){const n=e.getDay(),o=0===n?7:n;switch(t){case"i":return String(o);case"ii":return ie(o,t.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){const n=e.getHours();let o;switch(o=12===n?se:0===n?ae:n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,r){const n=e.getHours();let o;switch(o=n>=17?fe:n>=12?ue:n>=4?ce:pe,t){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),r.ordinalNumber(t,{unit:"hour"})}return le.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getHours(),{unit:"hour"}):le.H(e,t)},K:function(e,t,r){const n=e.getHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):ie(n,t.length)},k:function(e,t,r){let n=e.getHours();return 0===n&&(n=24),"ko"===t?r.ordinalNumber(n,{unit:"hour"}):ie(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):le.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getSeconds(),{unit:"second"}):le.s(e,t)},S:function(e,t){return le.S(e,t)},X:function(e,t,r){const n=e.getTimezoneOffset();if(0===n)return"Z";switch(t){case"X":return ye(n);case"XXXX":case"XX":return he(n);default:return he(n,":")}},x:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"x":return ye(n);case"xxxx":case"xx":return he(n);default:return he(n,":")}},O:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ge(n,":");default:return"GMT"+he(n,":")}},z:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ge(n,":");default:return"GMT"+he(n,":")}},t:function(e,t,r){return ie(Math.trunc(+e/1e3),t.length)},T:function(e,t,r){return ie(+e,t.length)}};function ge(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),o=Math.trunc(n/60),i=n%60;return 0===i?r+String(o):r+String(o)+t+ie(i,2)}function ye(e,t){if(e%60==0){return(e>0?"-":"+")+ie(Math.abs(e)/60,2)}return he(e,t)}function he(e,t=""){const r=e>0?"-":"+",n=Math.abs(e);return r+ie(Math.trunc(n/60),2)+t+ie(n%60,2)}const ve=(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"})}},me=(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"})}},be={p:me,P:(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],n=r[1],o=r[2];if(!o)return ve(e,t);let i;switch(n){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",ve(n,t)).replace("{{time}}",me(o,t))}},we=/^D+$/,Oe=/^Y+$/,xe=["D","DD","YY","YYYY"];const je=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ee=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ke=/^'([^]*?)'?$/,Se=/''/g,Pe=/[a-zA-Z]/;function Ce(e,t,r){const n=k(),o=r?.locale??n.locale??te,i=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,l=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=O(e,r?.in);if(!function(e){return!(!D(e)&&"number"!=typeof e||isNaN(+O(e)))}(a))throw new RangeError("Invalid time value");let s=t.match(Ee).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,be[t])(e,o.formatLong)}return e})).join("").match(je).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:ze(e)};if(de[t])return{isToken:!0,value:e};if(t.match(Pe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));o.localize.preprocessor&&(s=o.localize.preprocessor(a,s));const c={firstWeekContainsDate:i,weekStartsOn:l,locale:o};return s.map((n=>{if(!n.isToken)return n.value;const i=n.value;(!r?.useAdditionalWeekYearTokens&&function(e){return Oe.test(e)}(i)||!r?.useAdditionalDayOfYearTokens&&function(e){return we.test(e)}(i))&&function(e,t,r){const n=function(e,t,r){const n="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,r);if(console.warn(n),xe.includes(e))throw new RangeError(n)}(i,t,String(e));return(0,de[i[0]])(a,i,o.localize,c)})).join("")}function ze(e){const t=e.match(ke);return t?t[1].replace(Se,"'"):e}function Te(e,t){const r=O(e,t?.in);return function(e,t,r){const[n,o]=T(r?.in,e,t),i=S(n,r),l=S(o,r),a=+i-z(i),s=+l-z(l);return Math.round((a-s)/m)}(function(e,t){const r=O(e,t?.in),n=r.getMonth();return r.setFullYear(r.getFullYear(),n+1,0),r.setHours(0,0,0,0),O(r,t?.in)}(r,t),W(r,t),t)+1}function Le(e,t){return+O(e)>+O(t)}function Ne(e,t){return+O(e)<+O(t)}function Re(e,t,r){const[n,o]=T(r?.in,e,t);return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()}function Me(e,t,r){return x(e,-t,r)}function Ie(e,t,r){const n=O(e,r?.in),o=n.getFullYear(),i=n.getDate(),l=w(e,0);l.setFullYear(o,t,15),l.setHours(0,0,0,0);const a=function(e,t){const r=O(e,t?.in),n=r.getFullYear(),o=r.getMonth(),i=w(r,0);return i.setFullYear(n,o+1,0),i.setHours(0,0,0,0),i.getDate()}(l);return n.setMonth(t,Math.min(i,a)),n}function Ae(e,t,r){const n=O(e,r?.in);return isNaN(+n)?w(e,NaN):(n.setFullYear(t),n)}var _e="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function De(){throw new Error("setTimeout has not been defined")}function Be(){throw new Error("clearTimeout has not been defined")}var Fe=De,We=Be;function Ve(e){if(Fe===setTimeout)return setTimeout(e,0);if((Fe===De||!Fe)&&setTimeout)return Fe=setTimeout,setTimeout(e,0);try{return Fe(e,0)}catch(t){try{return Fe.call(null,e,0)}catch(t){return Fe.call(this,e,0)}}}"function"==typeof _e.setTimeout&&(Fe=setTimeout),"function"==typeof _e.clearTimeout&&(We=clearTimeout);var He,Ue=[],Ge=!1,$e=-1;function qe(){Ge&&He&&(Ge=!1,He.length?Ue=He.concat(Ue):$e=-1,Ue.length&&Ye())}function Ye(){if(!Ge){var e=Ve(qe);Ge=!0;for(var t=Ue.length;t;){for(He=Ue,Ue=[];++$e<t;)He&&He[$e].run();$e=-1,t=Ue.length}He=null,Ge=!1,function(e){if(We===clearTimeout)return clearTimeout(e);if((We===Be||!We)&&clearTimeout)return We=clearTimeout,clearTimeout(e);try{return We(e)}catch(t){try{return We.call(null,e)}catch(t){return We.call(this,e)}}}(e)}}function Ke(e,t){this.fun=e,this.array=t}Ke.prototype.run=function(){this.fun.apply(null,this.array)};function Xe(){}var Je=Xe,Ze=Xe,Qe=Xe,et=Xe,tt=Xe,rt=Xe,nt=Xe;var ot=_e.performance||{},it=ot.now||ot.mozNow||ot.msNow||ot.oNow||ot.webkitNow||function(){return(new Date).getTime()};var lt=new Date;var at={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Ue.push(new Ke(e,t)),1!==Ue.length||Ge||Ve(Ye)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Je,addListener:Ze,once:Qe,off:et,removeListener:tt,removeAllListeners:rt,emit:nt,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*it.call(ot),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-lt)/1e3}};function st(e,t){return function(){return e.apply(t,arguments)}}const{toString:ct}=Object.prototype,{getPrototypeOf:ut}=Object,ft=(pt=Object.create(null),e=>{const t=ct.call(e);return pt[t]||(pt[t]=t.slice(8,-1).toLowerCase())});var pt;const dt=e=>(e=e.toLowerCase(),t=>ft(t)===e),gt=e=>t=>typeof t===e,{isArray:yt}=Array,ht=gt("undefined");const vt=dt("ArrayBuffer");const mt=gt("string"),bt=gt("function"),wt=gt("number"),Ot=e=>null!==e&&"object"==typeof e,xt=e=>{if("object"!==ft(e))return!1;const t=ut(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},jt=dt("Date"),Et=dt("File"),kt=dt("Blob"),St=dt("FileList"),Pt=dt("URLSearchParams"),[Ct,zt,Tt,Lt]=["ReadableStream","Request","Response","Headers"].map(dt);function Nt(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,o;if("object"!=typeof e&&(e=[e]),yt(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const o=r?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let l;for(n=0;n<i;n++)l=o[n],t.call(null,e[l],l,e)}}function Rt(e,t){t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}const Mt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:_e,It=e=>!ht(e)&&e!==Mt;const At=(_t="undefined"!=typeof Uint8Array&&ut(Uint8Array),e=>_t&&e instanceof _t);var _t;const Dt=dt("HTMLFormElement"),Bt=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Ft=dt("RegExp"),Wt=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Nt(r,((r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)})),Object.defineProperties(e,n)},Vt="abcdefghijklmnopqrstuvwxyz",Ht="0123456789",Ut={DIGIT:Ht,ALPHA:Vt,ALPHA_DIGIT:Vt+Vt.toUpperCase()+Ht};const Gt=dt("AsyncFunction"),$t=(qt="function"==typeof setImmediate,Yt=bt(Mt.postMessage),qt?setImmediate:Yt?(Kt=`axios@${Math.random()}`,Xt=[],Mt.addEventListener("message",(({source:e,data:t})=>{e===Mt&&t===Kt&&Xt.length&&Xt.shift()()}),!1),e=>{Xt.push(e),Mt.postMessage(Kt,"*")}):e=>setTimeout(e));var qt,Yt,Kt,Xt;const Jt="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Mt):at.nextTick||$t;var Zt={isArray:yt,isArrayBuffer:vt,isBuffer:function(e){return null!==e&&!ht(e)&&null!==e.constructor&&!ht(e.constructor)&&bt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||bt(e.append)&&("formdata"===(t=ft(e))||"object"===t&&bt(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&vt(e.buffer),t},isString:mt,isNumber:wt,isBoolean:e=>!0===e||!1===e,isObject:Ot,isPlainObject:xt,isReadableStream:Ct,isRequest:zt,isResponse:Tt,isHeaders:Lt,isUndefined:ht,isDate:jt,isFile:Et,isBlob:kt,isRegExp:Ft,isFunction:bt,isStream:e=>Ot(e)&&bt(e.pipe),isURLSearchParams:Pt,isTypedArray:At,isFileList:St,forEach:Nt,merge:function e(){const{caseless:t}=It(this)&&this||{},r={},n=(n,o)=>{const i=t&&Rt(r,o)||o;xt(r[i])&&xt(n)?r[i]=e(r[i],n):xt(n)?r[i]=e({},n):yt(n)?r[i]=n.slice():r[i]=n};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Nt(arguments[e],n);return r},extend:(e,t,r,{allOwnKeys:n}={})=>(Nt(t,((t,n)=>{r&&bt(t)?e[n]=st(t,r):e[n]=t}),{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,l;const a={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)l=o[i],n&&!n(l,e,t)||a[l]||(t[l]=e[l],a[l]=!0);e=!1!==r&&ut(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:ft,kindOfTest:dt,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(yt(e))return e;let t=e.length;if(!wt(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:Dt,hasOwnProperty:Bt,hasOwnProp:Bt,reduceDescriptors:Wt,freezeMethods:e=>{Wt(e,((t,r)=>{if(bt(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];bt(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach((e=>{r[e]=!0}))};return yt(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Rt,global:Mt,isContextDefined:It,ALPHABET:Ut,generateString:(e=16,t=Ut.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&bt(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(Ot(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;const o=yt(e)?[]:{};return Nt(e,((e,t)=>{const i=r(e,n+1);!ht(i)&&(o[t]=i)})),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:Gt,isThenable:e=>e&&(Ot(e)||bt(e))&&bt(e.then)&&bt(e.catch),setImmediate:$t,asap:Jt},Qt=[],er=[],tr="undefined"!=typeof Uint8Array?Uint8Array:Array,rr=!1;function nr(){rr=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Qt[t]=e[t],er[e.charCodeAt(t)]=t;er["-".charCodeAt(0)]=62,er["_".charCodeAt(0)]=63}function or(e,t,r){for(var n,o,i=[],l=t;l<r;l+=3)n=(e[l]<<16)+(e[l+1]<<8)+e[l+2],i.push(Qt[(o=n)>>18&63]+Qt[o>>12&63]+Qt[o>>6&63]+Qt[63&o]);return i.join("")}function ir(e){var t;rr||nr();for(var r=e.length,n=r%3,o="",i=[],l=16383,a=0,s=r-n;a<s;a+=l)i.push(or(e,a,a+l>s?s:a+l));return 1===n?(t=e[r-1],o+=Qt[t>>2],o+=Qt[t<<4&63],o+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],o+=Qt[t>>10],o+=Qt[t>>4&63],o+=Qt[t<<2&63],o+="="),i.push(o),i.join("")}function lr(e,t,r,n,o){var i,l,a=8*o-n-1,s=(1<<a)-1,c=s>>1,u=-7,f=r?o-1:0,p=r?-1:1,d=e[t+f];for(f+=p,i=d&(1<<-u)-1,d>>=-u,u+=a;u>0;i=256*i+e[t+f],f+=p,u-=8);for(l=i&(1<<-u)-1,i>>=-u,u+=n;u>0;l=256*l+e[t+f],f+=p,u-=8);if(0===i)i=1-c;else{if(i===s)return l?NaN:1/0*(d?-1:1);l+=Math.pow(2,n),i-=c}return(d?-1:1)*l*Math.pow(2,i-n)}function ar(e,t,r,n,o,i){var l,a,s,c=8*i-o-1,u=(1<<c)-1,f=u>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:i-1,g=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,l=u):(l=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-l))<1&&(l--,s*=2),(t+=l+f>=1?p/s:p*Math.pow(2,1-f))*s>=2&&(l++,s/=2),l+f>=u?(a=0,l=u):l+f>=1?(a=(t*s-1)*Math.pow(2,o),l+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,o),l=0));o>=8;e[r+d]=255&a,d+=g,a/=256,o-=8);for(l=l<<o|a,c+=o;c>0;e[r+d]=255&l,d+=g,l/=256,c-=8);e[r+d-g]|=128*y}var sr={}.toString,cr=Array.isArray||function(e){return"[object Array]"==sr.call(e)};function ur(){return pr.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function fr(e,t){if(ur()<t)throw new RangeError("Invalid typed array length");return pr.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=pr.prototype:(null===e&&(e=new pr(t)),e.length=t),e}function pr(e,t,r){if(!(pr.TYPED_ARRAY_SUPPORT||this instanceof pr))return new pr(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return yr(this,e)}return dr(this,e,t,r)}function dr(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);pr.TYPED_ARRAY_SUPPORT?(e=t).__proto__=pr.prototype:e=hr(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!pr.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|br(t,r);e=fr(e,n);var o=e.write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(mr(t)){var r=0|vr(t.length);return 0===(e=fr(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?fr(e,0):hr(e,t);if("Buffer"===t.type&&cr(t.data))return hr(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function gr(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function yr(e,t){if(gr(t),e=fr(e,t<0?0:0|vr(t)),!pr.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function hr(e,t){var r=t.length<0?0:0|vr(t.length);e=fr(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function vr(e){if(e>=ur())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ur().toString(16)+" bytes");return 0|e}function mr(e){return!(null==e||!e._isBuffer)}function br(e,t){if(mr(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return $r(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return qr(e).length;default:if(n)return $r(e).length;t=(""+t).toLowerCase(),n=!0}}function wr(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ir(this,t,r);case"utf8":case"utf-8":return Lr(this,t,r);case"ascii":return Rr(this,t,r);case"latin1":case"binary":return Mr(this,t,r);case"base64":return Tr(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ar(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function Or(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function xr(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=pr.from(t,n)),mr(t))return 0===t.length?-1:jr(e,t,r,n,o);if("number"==typeof t)return t&=255,pr.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):jr(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function jr(e,t,r,n,o){var i,l=1,a=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;l=2,a/=2,s/=2,r/=2}function c(e,t){return 1===l?e[t]:e.readUInt16BE(t*l)}if(o){var u=-1;for(i=r;i<a;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===s)return u*l}else-1!==u&&(i-=i-u),u=-1}else for(r+s>a&&(r=a-s),i=r;i>=0;i--){for(var f=!0,p=0;p<s;p++)if(c(e,i+p)!==c(t,p)){f=!1;break}if(f)return i}return-1}function Er(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var l=0;l<n;++l){var a=parseInt(t.substr(2*l,2),16);if(isNaN(a))return l;e[r+l]=a}return l}function kr(e,t,r,n){return Yr($r(t,e.length-r),e,r,n)}function Sr(e,t,r,n){return Yr(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function Pr(e,t,r,n){return Sr(e,t,r,n)}function Cr(e,t,r,n){return Yr(qr(t),e,r,n)}function zr(e,t,r,n){return Yr(function(e,t){for(var r,n,o,i=[],l=0;l<e.length&&!((t-=2)<0);++l)n=(r=e.charCodeAt(l))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function Tr(e,t,r){return 0===t&&r===e.length?ir(e):ir(e.slice(t,r))}function Lr(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,l,a,s,c=e[o],u=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(u=c);break;case 2:128==(192&(i=e[o+1]))&&(s=(31&c)<<6|63&i)>127&&(u=s);break;case 3:i=e[o+1],l=e[o+2],128==(192&i)&&128==(192&l)&&(s=(15&c)<<12|(63&i)<<6|63&l)>2047&&(s<55296||s>57343)&&(u=s);break;case 4:i=e[o+1],l=e[o+2],a=e[o+3],128==(192&i)&&128==(192&l)&&128==(192&a)&&(s=(15&c)<<18|(63&i)<<12|(63&l)<<6|63&a)>65535&&s<1114112&&(u=s)}null===u?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=f}return function(e){var t=e.length;if(t<=Nr)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Nr));return r}(n)}pr.TYPED_ARRAY_SUPPORT=void 0===_e.TYPED_ARRAY_SUPPORT||_e.TYPED_ARRAY_SUPPORT,ur(),pr.poolSize=8192,pr._augment=function(e){return e.__proto__=pr.prototype,e},pr.from=function(e,t,r){return dr(null,e,t,r)},pr.TYPED_ARRAY_SUPPORT&&(pr.prototype.__proto__=Uint8Array.prototype,pr.__proto__=Uint8Array),pr.alloc=function(e,t,r){return function(e,t,r,n){return gr(t),t<=0?fr(e,t):void 0!==r?"string"==typeof n?fr(e,t).fill(r,n):fr(e,t).fill(r):fr(e,t)}(null,e,t,r)},pr.allocUnsafe=function(e){return yr(null,e)},pr.allocUnsafeSlow=function(e){return yr(null,e)},pr.isBuffer=function(e){return null!=e&&(!!e._isBuffer||Kr(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Kr(e.slice(0,0))}(e))},pr.compare=function(e,t){if(!mr(e)||!mr(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},pr.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},pr.concat=function(e,t){if(!cr(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return pr.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=pr.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(!mr(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},pr.byteLength=br,pr.prototype._isBuffer=!0,pr.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Or(this,t,t+1);return this},pr.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Or(this,t,t+3),Or(this,t+1,t+2);return this},pr.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Or(this,t,t+7),Or(this,t+1,t+6),Or(this,t+2,t+5),Or(this,t+3,t+4);return this},pr.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Lr(this,0,e):wr.apply(this,arguments)},pr.prototype.equals=function(e){if(!mr(e))throw new TypeError("Argument must be a Buffer");return this===e||0===pr.compare(this,e)},pr.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},pr.prototype.compare=function(e,t,r,n,o){if(!mr(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),l=(r>>>=0)-(t>>>=0),a=Math.min(i,l),s=this.slice(n,o),c=e.slice(t,r),u=0;u<a;++u)if(s[u]!==c[u]){i=s[u],l=c[u];break}return i<l?-1:l<i?1:0},pr.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},pr.prototype.indexOf=function(e,t,r){return xr(this,e,t,r,!0)},pr.prototype.lastIndexOf=function(e,t,r){return xr(this,e,t,r,!1)},pr.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return Er(this,e,t,r);case"utf8":case"utf-8":return kr(this,e,t,r);case"ascii":return Sr(this,e,t,r);case"latin1":case"binary":return Pr(this,e,t,r);case"base64":return Cr(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zr(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},pr.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Nr=4096;function Rr(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function Mr(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function Ir(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=Gr(e[i]);return o}function Ar(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function _r(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function Dr(e,t,r,n,o,i){if(!mr(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function Br(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function Fr(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function Wr(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Vr(e,t,r,n,o){return o||Wr(e,0,r,4),ar(e,t,r,n,23,4),r+4}function Hr(e,t,r,n,o){return o||Wr(e,0,r,8),ar(e,t,r,n,52,8),r+8}pr.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),pr.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=pr.prototype;else{var o=t-e;r=new pr(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},pr.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||_r(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},pr.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||_r(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},pr.prototype.readUInt8=function(e,t){return t||_r(e,1,this.length),this[e]},pr.prototype.readUInt16LE=function(e,t){return t||_r(e,2,this.length),this[e]|this[e+1]<<8},pr.prototype.readUInt16BE=function(e,t){return t||_r(e,2,this.length),this[e]<<8|this[e+1]},pr.prototype.readUInt32LE=function(e,t){return t||_r(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},pr.prototype.readUInt32BE=function(e,t){return t||_r(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},pr.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||_r(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},pr.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||_r(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},pr.prototype.readInt8=function(e,t){return t||_r(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},pr.prototype.readInt16LE=function(e,t){t||_r(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},pr.prototype.readInt16BE=function(e,t){t||_r(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},pr.prototype.readInt32LE=function(e,t){return t||_r(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},pr.prototype.readInt32BE=function(e,t){return t||_r(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},pr.prototype.readFloatLE=function(e,t){return t||_r(e,4,this.length),lr(this,e,!0,23,4)},pr.prototype.readFloatBE=function(e,t){return t||_r(e,4,this.length),lr(this,e,!1,23,4)},pr.prototype.readDoubleLE=function(e,t){return t||_r(e,8,this.length),lr(this,e,!0,52,8)},pr.prototype.readDoubleBE=function(e,t){return t||_r(e,8,this.length),lr(this,e,!1,52,8)},pr.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||Dr(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},pr.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||Dr(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},pr.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,1,255,0),pr.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},pr.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,2,65535,0),pr.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Br(this,e,t,!0),t+2},pr.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,2,65535,0),pr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Br(this,e,t,!1),t+2},pr.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,4,4294967295,0),pr.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Fr(this,e,t,!0),t+4},pr.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,4,4294967295,0),pr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Fr(this,e,t,!1),t+4},pr.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);Dr(this,e,t,r,o-1,-o)}var i=0,l=1,a=0;for(this[t]=255&e;++i<r&&(l*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/l|0)-a&255;return t+r},pr.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);Dr(this,e,t,r,o-1,-o)}var i=r-1,l=1,a=0;for(this[t+i]=255&e;--i>=0&&(l*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/l|0)-a&255;return t+r},pr.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,1,127,-128),pr.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},pr.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,2,32767,-32768),pr.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Br(this,e,t,!0),t+2},pr.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,2,32767,-32768),pr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Br(this,e,t,!1),t+2},pr.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,4,2147483647,-2147483648),pr.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Fr(this,e,t,!0),t+4},pr.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||Dr(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),pr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Fr(this,e,t,!1),t+4},pr.prototype.writeFloatLE=function(e,t,r){return Vr(this,e,t,!0,r)},pr.prototype.writeFloatBE=function(e,t,r){return Vr(this,e,t,!1,r)},pr.prototype.writeDoubleLE=function(e,t,r){return Hr(this,e,t,!0,r)},pr.prototype.writeDoubleBE=function(e,t,r){return Hr(this,e,t,!1,r)},pr.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!pr.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},pr.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!pr.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var l=mr(e)?e:$r(new pr(e,n).toString()),a=l.length;for(i=0;i<r-t;++i)this[i+t]=l[i%a]}return this};var Ur=/[^+\/0-9A-Za-z-_]/g;function Gr(e){return e<16?"0"+e.toString(16):e.toString(16)}function $r(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],l=0;l<n;++l){if((r=e.charCodeAt(l))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(l+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function qr(e){return function(e){var t,r,n,o,i,l;rr||nr();var a=e.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[a-2]?2:"="===e[a-1]?1:0,l=new tr(3*a/4-i),n=i>0?a-4:a;var s=0;for(t=0,r=0;t<n;t+=4,r+=3)o=er[e.charCodeAt(t)]<<18|er[e.charCodeAt(t+1)]<<12|er[e.charCodeAt(t+2)]<<6|er[e.charCodeAt(t+3)],l[s++]=o>>16&255,l[s++]=o>>8&255,l[s++]=255&o;return 2===i?(o=er[e.charCodeAt(t)]<<2|er[e.charCodeAt(t+1)]>>4,l[s++]=255&o):1===i&&(o=er[e.charCodeAt(t)]<<10|er[e.charCodeAt(t+1)]<<4|er[e.charCodeAt(t+2)]>>2,l[s++]=o>>8&255,l[s++]=255&o),l}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Ur,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Yr(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function Kr(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function Xr(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}Zt.inherits(Xr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Zt.toJSONObject(this.config),code:this.code,status:this.status}}});const Jr=Xr.prototype,Zr={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Zr[e]={value:e}})),Object.defineProperties(Xr,Zr),Object.defineProperty(Jr,"isAxiosError",{value:!0}),Xr.from=(e,t,r,n,o,i)=>{const l=Object.create(Jr);return Zt.toFlatObject(e,l,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Xr.call(l,e.message,t,r,n,o),l.cause=e,l.name=e.name,i&&Object.assign(l,i),l};function Qr(e){return Zt.isPlainObject(e)||Zt.isArray(e)}function en(e){return Zt.endsWith(e,"[]")?e.slice(0,-2):e}function tn(e,t,r){return e?e.concat(t).map((function(e,t){return e=en(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}const rn=Zt.toFlatObject(Zt,{},null,(function(e){return/^is[A-Z]/.test(e)}));function nn(e,t,r){if(!Zt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=Zt.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Zt.isUndefined(t[e])}))).metaTokens,o=r.visitor||c,i=r.dots,l=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&Zt.isSpecCompliantForm(t);if(!Zt.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(Zt.isDate(e))return e.toISOString();if(!a&&Zt.isBlob(e))throw new Xr("Blob is not supported. Use a Buffer instead.");return Zt.isArrayBuffer(e)||Zt.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):pr.from(e):e}function c(e,r,o){let a=e;if(e&&!o&&"object"==typeof e)if(Zt.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(Zt.isArray(e)&&function(e){return Zt.isArray(e)&&!e.some(Qr)}(e)||(Zt.isFileList(e)||Zt.endsWith(r,"[]"))&&(a=Zt.toArray(e)))return r=en(r),a.forEach((function(e,n){!Zt.isUndefined(e)&&null!==e&&t.append(!0===l?tn([r],n,i):null===l?r:r+"[]",s(e))})),!1;return!!Qr(e)||(t.append(tn(o,r,i),s(e)),!1)}const u=[],f=Object.assign(rn,{defaultVisitor:c,convertValue:s,isVisitable:Qr});if(!Zt.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!Zt.isUndefined(r)){if(-1!==u.indexOf(r))throw Error("Circular reference detected in "+n.join("."));u.push(r),Zt.forEach(r,(function(r,i){!0===(!(Zt.isUndefined(r)||null===r)&&o.call(t,r,Zt.isString(i)?i.trim():i,n,f))&&e(r,n?n.concat(i):[i])})),u.pop()}}(e),t}function on(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ln(e,t){this._pairs=[],e&&nn(e,this,t)}const an=ln.prototype;function sn(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function cn(e,t,r){if(!t)return e;const n=r&&r.encode||sn;Zt.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let i;if(i=o?o(t,r):Zt.isURLSearchParams(t)?t.toString():new ln(t,r).toString(n),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}an.append=function(e,t){this._pairs.push([e,t])},an.toString=function(e){const t=e?function(t){return e.call(this,t,on)}:on;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class un{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Zt.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var fn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pn={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ln,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const dn="undefined"!=typeof window&&"undefined"!=typeof document,gn="object"==typeof navigator&&navigator||void 0,yn=dn&&(!gn||["ReactNative","NativeScript","NS"].indexOf(gn.product)<0),hn="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,vn=dn&&window.location.href||"http://localhost";var mn={...Object.freeze({__proto__:null,hasBrowserEnv:dn,hasStandardBrowserEnv:yn,hasStandardBrowserWebWorkerEnv:hn,navigator:gn,origin:vn}),...pn};function bn(e){function t(e,r,n,o){let i=e[o++];if("__proto__"===i)return!0;const l=Number.isFinite(+i),a=o>=e.length;if(i=!i&&Zt.isArray(n)?n.length:i,a)return Zt.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!l;n[i]&&Zt.isObject(n[i])||(n[i]=[]);return t(e,r,n[i],o)&&Zt.isArray(n[i])&&(n[i]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}(n[i])),!l}if(Zt.isFormData(e)&&Zt.isFunction(e.entries)){const r={};return Zt.forEachEntry(e,((e,n)=>{t(function(e){return Zt.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),n,r,0)})),r}return null}const wn={transitional:fn,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=Zt.isObject(e);o&&Zt.isHTMLForm(e)&&(e=new FormData(e));if(Zt.isFormData(e))return n?JSON.stringify(bn(e)):e;if(Zt.isArrayBuffer(e)||Zt.isBuffer(e)||Zt.isStream(e)||Zt.isFile(e)||Zt.isBlob(e)||Zt.isReadableStream(e))return e;if(Zt.isArrayBufferView(e))return e.buffer;if(Zt.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return nn(e,new mn.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return mn.isNode&&Zt.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Zt.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return nn(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||n?(t.setContentType("application/json",!1),function(e,t){if(Zt.isString(e))try{return(t||JSON.parse)(e),Zt.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||wn.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(Zt.isResponse(e)||Zt.isReadableStream(e))return e;if(e&&Zt.isString(e)&&(r&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(r){if("SyntaxError"===e.name)throw Xr.from(e,Xr.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:mn.classes.FormData,Blob:mn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Zt.forEach(["delete","get","head","post","put","patch"],(e=>{wn.headers[e]={}}));const On=Zt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const xn=Symbol("internals");function jn(e){return e&&String(e).trim().toLowerCase()}function En(e){return!1===e||null==e?e:Zt.isArray(e)?e.map(En):String(e)}function kn(e,t,r,n,o){return Zt.isFunction(n)?n.call(this,t,r):(o&&(t=r),Zt.isString(t)?Zt.isString(n)?-1!==t.indexOf(n):Zt.isRegExp(n)?n.test(t):void 0:void 0)}class Sn{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=jn(t);if(!o)throw new Error("header name must be a non-empty string");const i=Zt.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||t]=En(e))}const i=(e,t)=>Zt.forEach(e,((e,r)=>o(e,r,t)));if(Zt.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Zt.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let r,n,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!r||t[r]&&On[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)})),t})(e),t);else if(Zt.isHeaders(e))for(const[t,n]of e.entries())o(n,t,r);else null!=e&&o(t,e,r);return this}get(e,t){if(e=jn(e)){const r=Zt.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(Zt.isFunction(t))return t.call(this,e,r);if(Zt.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=jn(e)){const r=Zt.findKey(this,e);return!(!r||void 0===this[r]||t&&!kn(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=jn(e)){const o=Zt.findKey(r,e);!o||t&&!kn(0,r[o],o,t)||(delete r[o],n=!0)}}return Zt.isArray(e)?e.forEach(o):o(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const o=t[r];e&&!kn(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return Zt.forEach(this,((n,o)=>{const i=Zt.findKey(r,o);if(i)return t[i]=En(n),void delete t[o];const l=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}(o):String(o).trim();l!==o&&delete t[o],t[l]=En(n),r[l]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Zt.forEach(this,((r,n)=>{null!=r&&!1!==r&&(t[n]=e&&Zt.isArray(r)?r.join(", "):r)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach((e=>r.set(e))),r}static accessor(e){const t=(this[xn]=this[xn]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=jn(e);t[n]||(!function(e,t){const r=Zt.toCamelCase(" "+t);["get","set","has"].forEach((n=>{Object.defineProperty(e,n+r,{value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})}))}(r,e),t[n]=!0)}return Zt.isArray(e)?e.forEach(n):n(e),this}}function Pn(e,t){const r=this||wn,n=t||r,o=Sn.from(n.headers);let i=n.data;return Zt.forEach(e,(function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Cn(e){return!(!e||!e.__CANCEL__)}function zn(e,t,r){Xr.call(this,null==e?"canceled":e,Xr.ERR_CANCELED,t,r),this.name="CanceledError"}function Tn(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Xr("Request failed with status code "+r.status,[Xr.ERR_BAD_REQUEST,Xr.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}Sn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Zt.reduceDescriptors(Sn.prototype,(({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}})),Zt.freezeMethods(Sn),Zt.inherits(zn,Xr,{__CANCEL__:!0});const Ln=(e,t,r=3)=>{let n=0;const o=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,i=0,l=0;return t=void 0!==t?t:1e3,function(a){const s=Date.now(),c=n[l];o||(o=s),r[i]=a,n[i]=s;let u=l,f=0;for(;u!==i;)f+=r[u++],u%=e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),s-o<t)return;const p=c&&s-c;return p?Math.round(1e3*f/p):void 0}}(50,250);return function(e,t){let r,n,o=0,i=1e3/t;const l=(t,i=Date.now())=>{o=i,r=null,n&&(clearTimeout(n),n=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),a=t-o;a>=i?l(e,t):(r=e,n||(n=setTimeout((()=>{n=null,l(r)}),i-a)))},()=>r&&l(r)]}((r=>{const i=r.loaded,l=r.lengthComputable?r.total:void 0,a=i-n,s=o(a);n=i;e({loaded:i,total:l,progress:l?i/l:void 0,bytes:a,rate:s||void 0,estimated:s&&l&&i<=l?(l-i)/s:void 0,event:r,lengthComputable:null!=l,[t?"download":"upload"]:!0})}),r)},Nn=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Rn=e=>(...t)=>Zt.asap((()=>e(...t)));var Mn=mn.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,mn.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(mn.origin),mn.navigator&&/(msie|trident)/i.test(mn.navigator.userAgent)):()=>!0,In=mn.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const l=[e+"="+encodeURIComponent(t)];Zt.isNumber(r)&&l.push("expires="+new Date(r).toGMTString()),Zt.isString(n)&&l.push("path="+n),Zt.isString(o)&&l.push("domain="+o),!0===i&&l.push("secure"),document.cookie=l.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function An(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const _n=e=>e instanceof Sn?{...e}:e;function Dn(e,t){t=t||{};const r={};function n(e,t,r,n){return Zt.isPlainObject(e)&&Zt.isPlainObject(t)?Zt.merge.call({caseless:n},e,t):Zt.isPlainObject(t)?Zt.merge({},t):Zt.isArray(t)?t.slice():t}function o(e,t,r,o){return Zt.isUndefined(t)?Zt.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function i(e,t){if(!Zt.isUndefined(t))return n(void 0,t)}function l(e,t){return Zt.isUndefined(t)?Zt.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function a(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}const s={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:a,headers:(e,t,r)=>o(_n(e),_n(t),0,!0)};return Zt.forEach(Object.keys(Object.assign({},e,t)),(function(n){const i=s[n]||o,l=i(e[n],t[n],n);Zt.isUndefined(l)&&i!==a||(r[n]=l)})),r}var Bn=e=>{const t=Dn({},e);let r,{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:l,headers:a,auth:s}=t;if(t.headers=a=Sn.from(a),t.url=cn(An(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),Zt.isFormData(n))if(mn.hasStandardBrowserEnv||mn.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(r=a.getContentType())){const[e,...t]=r?r.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(mn.hasStandardBrowserEnv&&(o&&Zt.isFunction(o)&&(o=o(t)),o||!1!==o&&Mn(t.url))){const e=i&&l&&In.read(l);e&&a.set(i,e)}return t};var Fn="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){const n=Bn(e);let o=n.data;const i=Sn.from(n.headers).normalize();let l,a,s,c,u,{responseType:f,onUploadProgress:p,onDownloadProgress:d}=n;function g(){c&&c(),u&&u(),n.cancelToken&&n.cancelToken.unsubscribe(l),n.signal&&n.signal.removeEventListener("abort",l)}let y=new XMLHttpRequest;function h(){if(!y)return;const n=Sn.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());Tn((function(e){t(e),g()}),(function(e){r(e),g()}),{data:f&&"text"!==f&&"json"!==f?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y}),y=null}y.open(n.method.toUpperCase(),n.url,!0),y.timeout=n.timeout,"onloadend"in y?y.onloadend=h:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(h)},y.onabort=function(){y&&(r(new Xr("Request aborted",Xr.ECONNABORTED,e,y)),y=null)},y.onerror=function(){r(new Xr("Network Error",Xr.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||fn;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new Xr(t,o.clarifyTimeoutError?Xr.ETIMEDOUT:Xr.ECONNABORTED,e,y)),y=null},void 0===o&&i.setContentType(null),"setRequestHeader"in y&&Zt.forEach(i.toJSON(),(function(e,t){y.setRequestHeader(t,e)})),Zt.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),f&&"json"!==f&&(y.responseType=n.responseType),d&&([s,u]=Ln(d,!0),y.addEventListener("progress",s)),p&&y.upload&&([a,c]=Ln(p),y.upload.addEventListener("progress",a),y.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(l=t=>{y&&(r(!t||t.type?new zn(null,e,y):t),y.abort(),y=null)},n.cancelToken&&n.cancelToken.subscribe(l),n.signal&&(n.signal.aborted?l():n.signal.addEventListener("abort",l)));const v=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(n.url);v&&-1===mn.protocols.indexOf(v)?r(new Xr("Unsupported protocol "+v+":",Xr.ERR_BAD_REQUEST,e)):y.send(o||null)}))};const Wn=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController;const o=function(e){if(!r){r=!0,l();const t=e instanceof Error?e:this.reason;n.abort(t instanceof Xr?t:new zn(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new Xr(`timeout ${t} of ms exceeded`,Xr.ETIMEDOUT))}),t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:a}=n;return a.unsubscribe=()=>Zt.asap(l),a}},Vn=function*(e,t){let r=e.byteLength;if(r<t)return void(yield e);let n,o=0;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},Hn=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},Un=(e,t,r,n)=>{const o=async function*(e,t){for await(const r of Hn(e))yield*Vn(r,t)}(e,t);let i,l=0,a=e=>{i||(i=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const{done:t,value:n}=await o.next();if(t)return a(),void e.close();let i=n.byteLength;if(r){let e=l+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},Gn="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,$n=Gn&&"function"==typeof ReadableStream,qn=Gn&&("function"==typeof TextEncoder?(Yn=new TextEncoder,e=>Yn.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Yn;const Kn=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Xn=$n&&Kn((()=>{let e=!1;const t=new Request(mn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Jn=$n&&Kn((()=>Zt.isReadableStream(new Response("").body))),Zn={stream:Jn&&(e=>e.body)};var Qn;Gn&&(Qn=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Zn[e]&&(Zn[e]=Zt.isFunction(Qn[e])?t=>t[e]():(t,r)=>{throw new Xr(`Response type '${e}' is not supported`,Xr.ERR_NOT_SUPPORT,r)})})));const eo=async(e,t)=>{const r=Zt.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(Zt.isBlob(e))return e.size;if(Zt.isSpecCompliantForm(e)){const t=new Request(mn.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Zt.isArrayBufferView(e)||Zt.isArrayBuffer(e)?e.byteLength:(Zt.isURLSearchParams(e)&&(e+=""),Zt.isString(e)?(await qn(e)).byteLength:void 0)})(t):r};var to=Gn&&(async e=>{let{url:t,method:r,data:n,signal:o,cancelToken:i,timeout:l,onDownloadProgress:a,onUploadProgress:s,responseType:c,headers:u,withCredentials:f="same-origin",fetchOptions:p}=Bn(e);c=c?(c+"").toLowerCase():"text";let d,g=Wn([o,i&&i.toAbortSignal()],l);const y=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let h;try{if(s&&Xn&&"get"!==r&&"head"!==r&&0!==(h=await eo(u,n))){let e,r=new Request(t,{method:"POST",body:n,duplex:"half"});if(Zt.isFormData(n)&&(e=r.headers.get("content-type"))&&u.setContentType(e),r.body){const[e,t]=Nn(h,Ln(Rn(s)));n=Un(r.body,65536,e,t)}}Zt.isString(f)||(f=f?"include":"omit");const o="credentials"in Request.prototype;d=new Request(t,{...p,signal:g,method:r.toUpperCase(),headers:u.normalize().toJSON(),body:n,duplex:"half",credentials:o?f:void 0});let i=await fetch(d);const l=Jn&&("stream"===c||"response"===c);if(Jn&&(a||l&&y)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Zt.toFiniteNumber(i.headers.get("content-length")),[r,n]=a&&Nn(t,Ln(Rn(a),!0))||[];i=new Response(Un(i.body,65536,r,(()=>{n&&n(),y&&y()})),e)}c=c||"text";let v=await Zn[Zt.findKey(Zn,c)||"text"](i,e);return!l&&y&&y(),await new Promise(((t,r)=>{Tn(t,r,{data:v,headers:Sn.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:d})}))}catch(t){if(y&&y(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new Xr("Network Error",Xr.ERR_NETWORK,e,d),{cause:t.cause||t});throw Xr.from(t,t&&t.code,e,d)}});const ro={http:null,xhr:Fn,fetch:to};Zt.forEach(ro,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const no=e=>`- ${e}`,oo=e=>Zt.isFunction(e)||null===e||!1===e;var io=e=>{e=Zt.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let i=0;i<t;i++){let t;if(r=e[i],n=r,!oo(r)&&(n=ro[(t=String(r)).toLowerCase()],void 0===n))throw new Xr(`Unknown adapter '${t}'`);if(n)break;o[t||"#"+i]=n}if(!n){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new Xr("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(no).join("\n"):" "+no(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function lo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zn(null,e)}function ao(e){lo(e),e.headers=Sn.from(e.headers),e.data=Pn.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return io(e.adapter||wn.adapter)(e).then((function(t){return lo(e),t.data=Pn.call(e,e.transformResponse,t),t.headers=Sn.from(t.headers),t}),(function(t){return Cn(t)||(lo(e),t&&t.response&&(t.response.data=Pn.call(e,e.transformResponse,t.response),t.response.headers=Sn.from(t.response.headers))),Promise.reject(t)}))}const so="1.7.8",co={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{co[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const uo={};co.transitional=function(e,t,r){function n(e,t){return"[Axios v1.7.8] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new Xr(n(o," has been removed"+(t?" in "+t:"")),Xr.ERR_DEPRECATED);return t&&!uo[o]&&(uo[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}},co.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var fo={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Xr("options must be an object",Xr.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],l=t[i];if(l){const t=e[i],r=void 0===t||l(t,i,e);if(!0!==r)throw new Xr("option "+i+" must be "+r,Xr.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Xr("Unknown option "+i,Xr.ERR_BAD_OPTION)}},validators:co};const po=fo.validators;class go{constructor(e){this.defaults=e,this.interceptors={request:new un,response:new un}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Dn(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&fo.assertOptions(r,{silentJSONParsing:po.transitional(po.boolean),forcedJSONParsing:po.transitional(po.boolean),clarifyTimeoutError:po.transitional(po.boolean)},!1),null!=n&&(Zt.isFunction(n)?t.paramsSerializer={serialize:n}:fo.assertOptions(n,{encode:po.function,serialize:po.function},!0)),fo.assertOptions(t,{baseUrl:po.spelling("baseURL"),withXsrfToken:po.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Zt.merge(o.common,o[t.method]);o&&Zt.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Sn.concat(i,o);const l=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,l.unshift(e.fulfilled,e.rejected))}));const s=[];let c;this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)}));let u,f=0;if(!a){const e=[ao.bind(this),void 0];for(e.unshift.apply(e,l),e.push.apply(e,s),u=e.length,c=Promise.resolve(t);f<u;)c=c.then(e[f++],e[f++]);return c}u=l.length;let p=t;for(f=0;f<u;){const e=l[f++],t=l[f++];try{p=e(p)}catch(e){t.call(this,e);break}}try{c=ao.call(this,p)}catch(e){return Promise.reject(e)}for(f=0,u=s.length;f<u;)c=c.then(s[f++],s[f++]);return c}getUri(e){return cn(An((e=Dn(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}Zt.forEach(["delete","get","head","options"],(function(e){go.prototype[e]=function(t,r){return this.request(Dn(r||{},{method:e,url:t,data:(r||{}).data}))}})),Zt.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(Dn(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}go.prototype[e]=t(),go.prototype[e+"Form"]=t(!0)}));class yo{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const r=this;this.promise.then((e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null})),this.promise.then=e=>{let t;const n=new Promise((e=>{r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,n,o){r.reason||(r.reason=new zn(e,n,o),t(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new yo((function(t){e=t})),cancel:e}}}const ho={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ho).forEach((([e,t])=>{ho[t]=e}));const vo=function e(t){const r=new go(t),n=st(go.prototype.request,r);return Zt.extend(n,go.prototype,r,{allOwnKeys:!0}),Zt.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(Dn(t,r))},n}(wn);function mo(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=mo(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function bo(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=mo(e))&&(n&&(n+=" "),n+=t);return n}vo.Axios=go,vo.CanceledError=zn,vo.CancelToken=yo,vo.isCancel=Cn,vo.VERSION=so,vo.toFormData=nn,vo.AxiosError=Xr,vo.Cancel=vo.CanceledError,vo.all=function(e){return Promise.all(e)},vo.spread=function(e){return function(t){return e.apply(null,t)}},vo.isAxiosError=function(e){return Zt.isObject(e)&&!0===e.isAxiosError},vo.mergeConfig=Dn,vo.AxiosHeaders=Sn,vo.formToJSON=e=>bn(Zt.isHTMLForm(e)?new FormData(e):e),vo.getAdapter=io,vo.HttpStatusCode=ho,vo.default=vo;const wo=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,Oo=bo,xo=(e,t)=>r=>{var n;if(null==(null==t?void 0:t.variants))return Oo(e,null==r?void 0:r.class,null==r?void 0:r.className);const{variants:o,defaultVariants:i}=t,l=Object.keys(o).map((e=>{const t=null==r?void 0:r[e],n=null==i?void 0:i[e];if(null===t)return null;const l=wo(t)||wo(n);return o[e][l]})),a=r&&Object.entries(r).reduce(((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e}),{}),s=null==t||null===(n=t.compoundVariants)||void 0===n?void 0:n.reduce(((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every((e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...i,...a}[t]):{...i,...a}[t]===r}))?[...e,r,n]:e}),[]);return Oo(e,l,s,null==r?void 0:r.class,null==r?void 0:r.className)},jo=e=>{const t=Po(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{const r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),Eo(r,t)||So(e)},getConflictingClassGroupIds:(e,t)=>{const o=r[e]||[];return t&&n[e]?[...o,...n[e]]:o}}},Eo=(e,t)=>{if(0===e.length)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?Eo(e.slice(1),n):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find((({validator:e})=>e(i)))?.classGroupId},ko=/^\[(.+)\]$/,So=e=>{if(ko.test(e)){const t=ko.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Po=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Lo(Object.entries(e.classGroups),r).forEach((([e,r])=>{Co(r,n,e,t)})),n},Co=(e,t,r,n)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return To(e)?void Co(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,o])=>{Co(o,zo(t,e),r,n)}))}else{(""===e?t:zo(t,e)).classGroupId=r}}))},zo=(e,t)=>{let r=e;return t.split("-").forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r},To=e=>e.isThemeGetter,Lo=(e,t)=>t?e.map((([e,r])=>[e,r.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,r])=>[t+e,r]))):e))])):e,No=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const o=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(o(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):o(e,t)}}},Ro=e=>{const{separator:t,experimentalParseClassName:r}=e,n=1===t.length,o=t[0],i=t.length,l=e=>{const r=[];let l,a=0,s=0;for(let c=0;c<e.length;c++){let u=e[c];if(0===a){if(u===o&&(n||e.slice(c,c+i)===t)){r.push(e.slice(s,c)),s=c+i;continue}if("/"===u){l=c;continue}}"["===u?a++:"]"===u&&a--}const c=0===r.length?e:e.substring(s),u=c.startsWith("!");return{modifiers:r,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:l&&l>s?l-s:void 0}};return r?e=>r({className:e,parseClassName:l}):l},Mo=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach((e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)})),t.push(...r.sort()),t},Io=/\s+/;function Ao(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=_o(e))&&(n&&(n+=" "),n+=t);return n}const _o=e=>{if("string"==typeof e)return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=_o(e[n]))&&(r&&(r+=" "),r+=t);return r};function Do(e,...t){let r,n,o,i=function(a){const s=t.reduce(((e,t)=>t(e)),e());return r=(e=>({cache:No(e.cacheSize),parseClassName:Ro(e),...jo(e)}))(s),n=r.cache.get,o=r.cache.set,i=l,l(a)};function l(e){const t=n(e);if(t)return t;const i=((e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,i=[],l=e.trim().split(Io);let a="";for(let e=l.length-1;e>=0;e-=1){const t=l[e],{modifiers:s,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:f}=r(t);let p=Boolean(f),d=n(p?u.substring(0,f):u);if(!d){if(!p){a=t+(a.length>0?" "+a:a);continue}if(d=n(u),!d){a=t+(a.length>0?" "+a:a);continue}p=!1}const g=Mo(s).join(":"),y=c?g+"!":g,h=y+d;if(i.includes(h))continue;i.push(h);const v=o(d,p);for(let e=0;e<v.length;++e){const t=v[e];i.push(y+t)}a=t+(a.length>0?" "+a:a)}return a})(e,r);return o(e,i),i}return function(){return i(Ao.apply(null,arguments))}}const Bo=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Fo=/^\[(?:([a-z-]+):)?(.+)\]$/i,Wo=/^\d+\/\d+$/,Vo=new Set(["px","full","screen"]),Ho=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Uo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Go=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$o=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Yo=e=>Xo(e)||Vo.has(e)||Wo.test(e),Ko=e=>ci(e,"length",ui),Xo=e=>Boolean(e)&&!Number.isNaN(Number(e)),Jo=e=>ci(e,"number",Xo),Zo=e=>Boolean(e)&&Number.isInteger(Number(e)),Qo=e=>e.endsWith("%")&&Xo(e.slice(0,-1)),ei=e=>Fo.test(e),ti=e=>Ho.test(e),ri=new Set(["length","size","percentage"]),ni=e=>ci(e,ri,fi),oi=e=>ci(e,"position",fi),ii=new Set(["image","url"]),li=e=>ci(e,ii,di),ai=e=>ci(e,"",pi),si=()=>!0,ci=(e,t,r)=>{const n=Fo.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))},ui=e=>Uo.test(e)&&!Go.test(e),fi=()=>!1,pi=e=>$o.test(e),di=e=>qo.test(e),gi=Do((()=>{const e=Bo("colors"),t=Bo("spacing"),r=Bo("blur"),n=Bo("brightness"),o=Bo("borderColor"),i=Bo("borderRadius"),l=Bo("borderSpacing"),a=Bo("borderWidth"),s=Bo("contrast"),c=Bo("grayscale"),u=Bo("hueRotate"),f=Bo("invert"),p=Bo("gap"),d=Bo("gradientColorStops"),g=Bo("gradientColorStopPositions"),y=Bo("inset"),h=Bo("margin"),v=Bo("opacity"),m=Bo("padding"),b=Bo("saturate"),w=Bo("scale"),O=Bo("sepia"),x=Bo("skew"),j=Bo("space"),E=Bo("translate"),k=()=>["auto",ei,t],S=()=>[ei,t],P=()=>["",Yo,Ko],C=()=>["auto",Xo,ei],z=()=>["","0",ei],T=()=>[Xo,ei];return{cacheSize:500,separator:":",theme:{colors:[si],spacing:[Yo,Ko],blur:["none","",ti,ei],brightness:T(),borderColor:[e],borderRadius:["none","","full",ti,ei],borderSpacing:S(),borderWidth:P(),contrast:T(),grayscale:z(),hueRotate:T(),invert:z(),gap:S(),gradientColorStops:[e],gradientColorStopPositions:[Qo,Ko],inset:k(),margin:k(),opacity:T(),padding:S(),saturate:T(),scale:T(),sepia:z(),skew:T(),space:S(),translate:S()},classGroups:{aspect:[{aspect:["auto","square","video",ei]}],container:["container"],columns:[{columns:[ti]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",ei]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Zo,ei]}],basis:[{basis:k()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ei]}],grow:[{grow:z()}],shrink:[{shrink:z()}],order:[{order:["first","last","none",Zo,ei]}],"grid-cols":[{"grid-cols":[si]}],"col-start-end":[{col:["auto",{span:["full",Zo,ei]},ei]}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":[si]}],"row-start-end":[{row:["auto",{span:[Zo,ei]},ei]}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ei]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ei]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ei,t]}],"min-w":[{"min-w":[ei,t,"min","max","fit"]}],"max-w":[{"max-w":[ei,t,"none","full","min","max","fit","prose",{screen:[ti]},ti]}],h:[{h:[ei,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ei,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ei,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ei,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ti,Ko]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Jo]}],"font-family":[{font:[si]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ei]}],"line-clamp":[{"line-clamp":["none",Xo,Jo]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Yo,ei]}],"list-image":[{"list-image":["none",ei]}],"list-style-type":[{list:["none","disc","decimal",ei]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Yo,Ko]}],"underline-offset":[{"underline-offset":["auto",Yo,ei]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ei]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ei]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",oi]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ni]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},li]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[d]}],"gradient-via":[{via:[d]}],"gradient-to":[{to:[d]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[Yo,ei]}],"outline-w":[{outline:[Yo,Ko]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:P()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[Yo,Ko]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ti,ai]}],"shadow-color":[{shadow:[si]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[s]}],"drop-shadow":[{"drop-shadow":["","none",ti,ei]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[b]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[s]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ei]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",ei]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",ei]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Zo,ei]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ei]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ei]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ei]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Yo,Ko,Jo]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));function yi(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return gi(bo(e))}var hi=xo("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),vi=e.forwardRef((function(t,r){var n=t.className,o=t.variant,i=g(t,["className","variant"]);return e.createElement("div",d({ref:r,role:"alert",className:yi(hi({variant:o}),n)},i))}));vi.displayName="Alert";var mi=e.forwardRef((function(t,r){var n=t.className,o=g(t,["className"]);return e.createElement("h5",d({ref:r,className:yi("mb-1 font-medium leading-none tracking-tight",n)},o))}));mi.displayName="AlertTitle";var bi=e.forwardRef((function(t,r){var n=t.className,o=g(t,["className"]);return e.createElement("div",d({ref:r,className:yi("text-sm [&_p]:leading-relaxed",n)},o))}));bi.displayName="AlertDescription";
2
2
  /**
3
3
  * @license lucide-react v0.462.0 - ISC
4
4
  *