@sjvair/monitor-map 1.35.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/MonitorDetails.css +1 -0
- package/dist/assets/BackgroundRequests-DLY1xUPG.js +1 -0
- package/dist/assets/CalibratorsWorker-UIt-3fNZ.js +1 -0
- package/dist/assets/EVWorker-DUQOiwdE.js +1 -0
- package/dist/assets/MonitorDetails-D0LTSOtq.js +1 -0
- package/dist/assets/MonitorsWorker-CqDM37nq.js +1 -0
- package/dist/carb-compact.jpg +0 -0
- package/dist/icon-128.webp +0 -0
- package/dist/sjvairMonitorMap.css +1 -0
- package/dist/sjvairMonitorMap.js +34 -0
- package/package.json +30 -29
- package/dist/monitor-map/MonitorDetails.css +0 -1
- package/dist/monitor-map/assets/BackgroundRequests-169365cc.js +0 -1
- package/dist/monitor-map/assets/BackgroundRequests-2ee52a25.js +0 -1
- package/dist/monitor-map/assets/BackgroundRequests-d419dacc.js +0 -1
- package/dist/monitor-map/assets/DataChartWorker-d86a1f80.js +0 -1
- package/dist/monitor-map/assets/EVWorker-6a8219b9.js +0 -1
- package/dist/monitor-map/assets/MonitorDetails-1e5dafec.js +0 -1
- package/dist/monitor-map/assets/MonitorsWorker-2fa2f523.js +0 -1
- package/dist/monitor-map/assets/WorkerServiceClient-be11dec3.js +0 -1
- package/dist/monitor-map/assets/requests-022026b5.js +0 -1
- package/dist/monitor-map/assets/requests-37573cd5.js +0 -1
- package/dist/monitor-map/assets/requests-70248dba.js +0 -1
- package/dist/monitor-map/main.css +0 -1
- package/dist/monitor-map/road.svg +0 -16
- package/dist/monitor-map/sjvairMonitorMap.js +0 -6
- package/dist/widget/MonitorDetails.css +0 -1
- package/dist/widget/assets/BackgroundRequests-23c22f31.js +0 -1
- package/dist/widget/assets/BackgroundRequests-7e711c96.js +0 -1
- package/dist/widget/assets/BackgroundRequests-bd2ad95d.js +0 -1
- package/dist/widget/assets/DataChartWorker-d86a1f80.js +0 -1
- package/dist/widget/assets/EVWorker-6a8219b9.js +0 -1
- package/dist/widget/assets/MonitorDetails-53d44c49.js +0 -1
- package/dist/widget/assets/MonitorsWorker-2fa2f523.js +0 -1
- package/dist/widget/assets/WorkerServiceClient-be11dec3.js +0 -1
- package/dist/widget/assets/requests-022026b5.js +0 -1
- package/dist/widget/assets/requests-37573cd5.js +0 -1
- package/dist/widget/assets/requests-fbfd30b5.js +0 -1
- package/dist/widget/favicon.ico +0 -0
- package/dist/widget/lungs.svg +0 -99
- package/dist/widget/main.css +0 -1
- package/dist/widget/road.svg +0 -16
- package/dist/widget/sjvairMonitorMap.js +0 -6
- /package/dist/{monitor-map/favicon.ico → favicon.ico} +0 -0
- /package/dist/{monitor-map/lungs.svg → lungs.svg} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __defProp=Object.defineProperty,__defNormalProp=(t,e,n)=>e in t?__defProp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,__publicField=(t,e,n)=>(__defNormalProp(t,"symbol"!=typeof e?e+"":e,n),n);!function(){"use strict";class t{constructor(t){__publicField(this,"id"),__publicField(this,"error"),__publicField(this,"success"),__publicField(this,"payload"),this.id=t}pass(t){this.success=!0,this.payload=t}fail(t){this.success=!1,this.error=t}}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var e={};({get exports(){return e},set exports(t){e=t}}).exports=function(){var t=1e3,e=6e4,n=36e5,r="millisecond",s="second",o="minute",i="hour",a="day",c="week",u="month",l="quarter",f="year",d="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},g=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},E={s:g,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),s=n%60;return(e<=0?"+":"-")+g(r,2,"0")+":"+g(s,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),s=e.clone().add(r,u),o=n-s<0,i=e.clone().add(r+(o?-1:1),u);return+(-(r+(n-s)/(o?s-i:i-s))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:f,w:c,d:a,D:d,h:i,m:o,s:s,ms:r,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},O="en",S={};S[O]=y;var v=function(t){return t instanceof b},A=function t(e,n,r){var s;if(!e)return O;if("string"==typeof e){var o=e.toLowerCase();S[o]&&(s=o),n&&(S[o]=n,s=o);var i=e.split("-");if(!s&&i.length>1)return t(i[0])}else{var a=e.name;S[a]=e,s=a}return!r&&s&&(O=s),s||!r&&O},w=function(t,e){if(v(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new b(n)},R=E;R.l=A,R.i=v,R.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var b=function(){function y(t){this.$L=A(t.locale,null,!0),this.parse(t)}var g=y.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(R.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(p);if(r){var s=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],s,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],s,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return R},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},g.isAfter=function(t,e){return w(t)<this.startOf(e)},g.isBefore=function(t,e){return this.endOf(e)<w(t)},g.$g=function(t,e,n){return R.u(t)?this[e]:this.set(n,t)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(t,e){var n=this,r=!!R.u(e)||e,l=R.p(t),h=function(t,e){var s=R.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?s:s.endOf(a)},p=function(t,e){return R.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},m=this.$W,y=this.$M,g=this.$D,E="set"+(this.$u?"UTC":"");switch(l){case f:return r?h(1,0):h(31,11);case u:return r?h(1,y):h(0,y+1);case c:var O=this.$locale().weekStart||0,S=(m<O?m+7:m)-O;return h(r?g-S:g+(6-S),y);case a:case d:return p(E+"Hours",0);case i:return p(E+"Minutes",1);case o:return p(E+"Seconds",2);case s:return p(E+"Milliseconds",3);default:return this.clone()}},g.endOf=function(t){return this.startOf(t,!1)},g.$set=function(t,e){var n,c=R.p(t),l="set"+(this.$u?"UTC":""),h=(n={},n[a]=l+"Date",n[d]=l+"Date",n[u]=l+"Month",n[f]=l+"FullYear",n[i]=l+"Hours",n[o]=l+"Minutes",n[s]=l+"Seconds",n[r]=l+"Milliseconds",n)[c],p=c===a?this.$D+(e-this.$W):e;if(c===u||c===f){var m=this.clone().set(d,1);m.$d[h](p),m.init(),this.$d=m.set(d,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},g.set=function(t,e){return this.clone().$set(t,e)},g.get=function(t){return this[R.p(t)]()},g.add=function(r,l){var d,h=this;r=Number(r);var p=R.p(l),m=function(t){var e=w(h);return R.w(e.date(e.date()+Math.round(t*r)),h)};if(p===u)return this.set(u,this.$M+r);if(p===f)return this.set(f,this.$y+r);if(p===a)return m(1);if(p===c)return m(7);var y=(d={},d[o]=e,d[i]=n,d[s]=t,d)[p]||1,g=this.$d.getTime()+r*y;return R.w(g,this)},g.subtract=function(t,e){return this.add(-1*t,e)},g.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=t||"YYYY-MM-DDTHH:mm:ssZ",s=R.z(this),o=this.$H,i=this.$m,a=this.$M,c=n.weekdays,u=n.months,l=function(t,n,s,o){return t&&(t[n]||t(e,r))||s[n].slice(0,o)},f=function(t){return R.s(o%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:R.s(a+1,2,"0"),MMM:l(n.monthsShort,a,u,3),MMMM:l(u,a),D:this.$D,DD:R.s(this.$D,2,"0"),d:String(this.$W),dd:l(n.weekdaysMin,this.$W,c,2),ddd:l(n.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(o),HH:R.s(o,2,"0"),h:f(1),hh:f(2),a:d(o,i,!0),A:d(o,i,!1),m:String(i),mm:R.s(i,2,"0"),s:String(this.$s),ss:R.s(this.$s,2,"0"),SSS:R.s(this.$ms,3,"0"),Z:s};return r.replace(m,(function(t,e){return e||p[t]||s.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(r,d,h){var p,m=R.p(d),y=w(r),g=(y.utcOffset()-this.utcOffset())*e,E=this-y,O=R.m(this,y);return O=(p={},p[f]=O/12,p[u]=O,p[l]=O/3,p[c]=(E-g)/6048e5,p[a]=(E-g)/864e5,p[i]=E/n,p[o]=E/e,p[s]=E/t,p)[m]||E,h?O:R.a(O)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return S[this.$L]},g.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=A(t,e,!0);return r&&(n.$L=r),n},g.clone=function(){return R.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},y}(),T=b.prototype;return w.prototype=T,[["$ms",r],["$s",s],["$m",o],["$H",i],["$W",a],["$M",u],["$y",f],["$D",d]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),w.extend=function(t,e){return t.$i||(t(e,b,w),t.$i=!0),w},w.locale=A,w.isDayjs=v,w.unix=function(t){return w(1e3*t)},w.en=S[O],w.Ls=S,w.p={},w}();var n=e,r={};!function(t,e){t.exports=function(t,e,n){t=t||{};var r=e.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(t,e,n,s){return r.fromToBase(t,e,n,s)}n.en.relativeTime=s,r.fromToBase=function(e,r,o,i,a){for(var c,u,l,f=o.$locale().relativeTime||s,d=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],h=d.length,p=0;p<h;p+=1){var m=d[p];m.d&&(c=i?n(e).diff(o,m.d,!0):o.diff(e,m.d,!0));var y=(t.rounding||Math.round)(Math.abs(c));if(l=c>0,y<=m.r||!m.r){y<=1&&p>0&&(m=d[p-1]);var g=f[m.l];a&&(y=a(""+y)),u="string"==typeof g?g.replace("%d",y):g(y,r,m.l,l);break}}if(r)return u;var E=l?f.future:f.past;return"function"==typeof E?E(u):E.replace("%s",u)},r.to=function(t,e){return o(t,e,this,!0)},r.from=function(t,e){return o(t,e,this)};var i=function(t){return t.$u?n.utc():n()};r.toNow=function(t){return this.to(i(this),t)},r.fromNow=function(t){return this.from(i(this),t)}}}({get exports(){return r},set exports(t){r=t}});var s=r,o={};!function(t,e){var n,r;t.exports=(n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={},function(t,e,s){var o,i=function(t,e,n){void 0===n&&(n={});var s=new Date(t);return function(t,e){void 0===e&&(e={});var n=e.timeZoneName||"short",s=t+"|"+n,o=r[s];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:n}),r[s]=o),o}(e,n).formatToParts(s)},a=function(t,e){for(var r=i(t,e),o=[],a=0;a<r.length;a+=1){var c=r[a],u=c.type,l=c.value,f=n[u];f>=0&&(o[f]=parseInt(l,10))}var d=o[3],h=24===d?0:d,p=o[0]+"-"+o[1]+"-"+o[2]+" "+h+":"+o[4]+":"+o[5]+":000",m=+t;return(s.utc(p).valueOf()-(m-=m%1e3))/6e4},c=e.prototype;c.tz=function(t,e){void 0===t&&(t=o);var n=this.utcOffset(),r=this.toDate(),i=r.toLocaleString("en-US",{timeZone:t}),a=Math.round((r-new Date(i))/1e3/60),c=s(i).$set("millisecond",this.$ms).utcOffset(15*-Math.round(r.getTimezoneOffset()/15)-a,!0);if(e){var u=c.utcOffset();c=c.add(n-u,"minute")}return c.$x.$timezone=t,c},c.offsetName=function(t){var e=this.$x.$timezone||s.tz.guess(),n=i(this.valueOf(),e,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return n&&n.value};var u=c.startOf;c.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return u.call(this,t,e);var n=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return u.call(n,t,e).tz(this.$x.$timezone,!0)},s.tz=function(t,e,n){var r=n&&e,i=n||e||o,c=a(+s(),i);if("string"!=typeof t)return s(t).tz(i);var u=function(t,e,n){var r=t-60*e*1e3,s=a(r,n);if(e===s)return[r,e];var o=a(r-=60*(s-e)*1e3,n);return s===o?[r,s]:[t-60*Math.min(s,o)*1e3,Math.max(s,o)]}(s.utc(t,r).valueOf(),c,i),l=u[0],f=u[1],d=s(l).utcOffset(f);return d.$x.$timezone=i,d},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(t){o=t}})}({get exports(){return o},set exports(t){o=t}});var i=o,a={};!function(t,e){var n,r,s;t.exports=(n="minute",r=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g,function(t,e,o){var i=e.prototype;o.utc=function(t){return new e({date:t,utc:!0,args:arguments})},i.utc=function(t){var e=o(this.toDate(),{locale:this.$L,utc:!0});return t?e.add(this.utcOffset(),n):e},i.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var a=i.parse;i.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),a.call(this,t)};var c=i.init;i.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else c.call(this)};var u=i.utcOffset;i.utcOffset=function(t,e){var o=this.$utils().u;if(o(t))return this.$u?0:o(this.$offset)?u.call(this):this.$offset;if("string"==typeof t&&null===(t=function(t){void 0===t&&(t="");var e=t.match(r);if(!e)return null;var n=(""+e[0]).match(s)||["-",0,0],o=n[0],i=60*+n[1]+ +n[2];return 0===i?0:"+"===o?i:-i}(t)))return this;var i=Math.abs(t)<=16?60*t:t,a=this;if(e)return a.$offset=i,a.$u=0===t,a;if(0!==t){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(a=this.local().add(i+c,n)).$offset=i,a.$x.$localOffset=c}else a=this.utc();return a};var l=i.format;i.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,e)},i.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var f=i.toDate;i.toDate=function(t){return"s"===t&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=i.diff;i.diff=function(t,e,n){if(t&&this.$u===t.$u)return d.call(this,t,e,n);var r=this.local(),s=o(t).local();return d.call(r,s,e,n)}})}({get exports(){return a},set exports(t){a=t}});var c=a;n.$defaultFormat=function(t){return n.utc(t).format("YYYY-MM-DD HH:mm:ss")},n.$prettyPrint=function(t){return n(t).format("h:mma dddd MMM DD, YYYY")};function u(t,e){return function(){return t.apply(e,arguments)}}n.extend(s),n.extend(i),n.extend(((t,e,n)=>{e.prototype.skewedDiff=function(t,e){const n=Math.abs(this.diff(t))/6e4;return n>e?Math.floor(n):n<e?Math.ceil(n):n}})),n.extend(c);const{toString:l}=Object.prototype,{getPrototypeOf:f}=Object,d=(h=Object.create(null),t=>{const e=l.call(t);return h[e]||(h[e]=e.slice(8,-1).toLowerCase())});var h;const p=t=>(t=t.toLowerCase(),e=>d(e)===t),m=t=>e=>typeof e===t,{isArray:y}=Array,g=m("undefined");const E=p("ArrayBuffer");const O=m("string"),S=m("function"),v=m("number"),A=t=>null!==t&&"object"==typeof t,w=t=>{if("object"!==d(t))return!1;const e=f(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},R=p("Date"),b=p("File"),T=p("Blob"),C=p("FileList"),_=p("URLSearchParams");function N(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,s;if("object"!=typeof t&&(t=[t]),y(t))for(r=0,s=t.length;r<s;r++)e.call(null,t[r],r,t);else{const s=n?Object.getOwnPropertyNames(t):Object.keys(t),o=s.length;let i;for(r=0;r<o;r++)i=s[r],e.call(null,t[i],i,t)}}function P(t,e){e=e.toLowerCase();const n=Object.keys(t);let r,s=n.length;for(;s-- >0;)if(r=n[s],e===r.toLowerCase())return r;return null}const D="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,M=t=>!g(t)&&t!==D;const $=(L="undefined"!=typeof Uint8Array&&f(Uint8Array),t=>L&&t instanceof L);var L;const F=p("HTMLFormElement"),x=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),U=p("RegExp"),I=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};N(n,((n,s)=>{!1!==e(n,s,t)&&(r[s]=n)})),Object.defineProperties(t,r)},j="abcdefghijklmnopqrstuvwxyz",k="0123456789",B={DIGIT:k,ALPHA:j,ALPHA_DIGIT:j+j.toUpperCase()+k};var H={isArray:y,isArrayBuffer:E,isBuffer:function(t){return null!==t&&!g(t)&&null!==t.constructor&&!g(t.constructor)&&S(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{const e="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||l.call(t)===e||S(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&E(t.buffer),e},isString:O,isNumber:v,isBoolean:t=>!0===t||!1===t,isObject:A,isPlainObject:w,isUndefined:g,isDate:R,isFile:b,isBlob:T,isRegExp:U,isFunction:S,isStream:t=>A(t)&&S(t.pipe),isURLSearchParams:_,isTypedArray:$,isFileList:C,forEach:N,merge:function t(){const{caseless:e}=M(this)&&this||{},n={},r=(r,s)=>{const o=e&&P(n,s)||s;w(n[o])&&w(r)?n[o]=t(n[o],r):w(r)?n[o]=t({},r):y(r)?n[o]=r.slice():n[o]=r};for(let s=0,o=arguments.length;s<o;s++)arguments[s]&&N(arguments[s],r);return n},extend:(t,e,n,{allOwnKeys:r}={})=>(N(e,((e,r)=>{n&&S(e)?t[r]=u(e,n):t[r]=e}),{allOwnKeys:r}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let s,o,i;const a={};if(e=e||{},null==t)return e;do{for(s=Object.getOwnPropertyNames(t),o=s.length;o-- >0;)i=s[o],r&&!r(i,t,e)||a[i]||(e[i]=t[i],a[i]=!0);t=!1!==n&&f(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:d,kindOfTest:p,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray:t=>{if(!t)return null;if(y(t))return t;let e=t.length;if(!v(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm:F,hasOwnProperty:x,hasOwnProp:x,reduceDescriptors:I,freezeMethods:t=>{I(t,((e,n)=>{if(S(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];S(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return y(t)?r(t):r(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e),findKey:P,global:D,isContextDefined:M,ALPHABET:B,generateString:(t=16,e=B.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n},isSpecCompliantForm:function(t){return!!(t&&S(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,r)=>{if(A(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const s=y(t)?[]:{};return N(t,((t,e)=>{const o=n(t,r+1);!g(o)&&(s[e]=o)})),e[r]=void 0,s}}return t};return n(t,0)}};function Y(t,e,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}H.inherits(Y,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:H.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const V=Y.prototype,G={};["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((t=>{G[t]={value:t}})),Object.defineProperties(Y,G),Object.defineProperty(V,"isAxiosError",{value:!0}),Y.from=(t,e,n,r,s,o)=>{const i=Object.create(V);return H.toFlatObject(t,i,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),Y.call(i,t.message,e,n,r,s),i.cause=t,i.name=t.name,o&&Object.assign(i,o),i};function z(t){return H.isPlainObject(t)||H.isArray(t)}function W(t){return H.endsWith(t,"[]")?t.slice(0,-2):t}function q(t,e,n){return t?t.concat(e).map((function(t,e){return t=W(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const J=H.toFlatObject(H,{},null,(function(t){return/^is[A-Z]/.test(t)}));function K(t,e,n){if(!H.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=H.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!H.isUndefined(e[t])}))).metaTokens,s=n.visitor||u,o=n.dots,i=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&H.isSpecCompliantForm(e);if(!H.isFunction(s))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(H.isDate(t))return t.toISOString();if(!a&&H.isBlob(t))throw new Y("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(t)||H.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function u(t,n,s){let a=t;if(t&&!s&&"object"==typeof t)if(H.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(H.isArray(t)&&function(t){return H.isArray(t)&&!t.some(z)}(t)||(H.isFileList(t)||H.endsWith(n,"[]"))&&(a=H.toArray(t)))return n=W(n),a.forEach((function(t,r){!H.isUndefined(t)&&null!==t&&e.append(!0===i?q([n],r,o):null===i?n:n+"[]",c(t))})),!1;return!!z(t)||(e.append(q(s,n,o),c(t)),!1)}const l=[],f=Object.assign(J,{defaultVisitor:u,convertValue:c,isVisitable:z});if(!H.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!H.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),H.forEach(n,(function(n,o){!0===(!(H.isUndefined(n)||null===n)&&s.call(e,n,H.isString(o)?o.trim():o,r,f))&&t(n,r?r.concat(o):[o])})),l.pop()}}(t),e}function Z(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function X(t,e){this._pairs=[],t&&K(t,this,e)}const Q=X.prototype;function tt(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function et(t,e,n){if(!e)return t;const r=n&&n.encode||tt,s=n&&n.serialize;let o;if(o=s?s(e,n):H.isURLSearchParams(e)?e.toString():new X(e,n).toString(r),o){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}Q.append=function(t,e){this._pairs.push([t,e])},Q.toString=function(t){const e=t?function(e){return t.call(this,e,Z)}:Z;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};var nt=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){H.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},rt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var st={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:X,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:(()=>{let t;return("undefined"==typeof navigator||"ReactNative"!==(t=navigator.product)&&"NativeScript"!==t&&"NS"!==t)&&("undefined"!=typeof window&&"undefined"!=typeof document)})(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]};function ot(t){function e(t,n,r,s){let o=t[s++];const i=Number.isFinite(+o),a=s>=t.length;if(o=!o&&H.isArray(r)?r.length:o,a)return H.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!i;r[o]&&H.isObject(r[o])||(r[o]=[]);return e(t,n,r[o],s)&&H.isArray(r[o])&&(r[o]=function(t){const e={},n=Object.keys(t);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],e[o]=t[o];return e}(r[o])),!i}if(H.isFormData(t)&&H.isFunction(t.entries)){const n={};return H.forEachEntry(t,((t,r)=>{e(function(t){return H.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),r,n,0)})),n}return null}const it={"Content-Type":void 0};const at={transitional:rt,adapter:["xhr","http"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,s=H.isObject(t);s&&H.isHTMLForm(t)&&(t=new FormData(t));if(H.isFormData(t))return r&&r?JSON.stringify(ot(t)):t;if(H.isArrayBuffer(t)||H.isBuffer(t)||H.isStream(t)||H.isFile(t)||H.isBlob(t))return t;if(H.isArrayBufferView(t))return t.buffer;if(H.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return K(t,new st.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return st.isNode&&H.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((o=H.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return K(o?{"files[]":t}:t,e&&new e,this.formSerializer)}}return s||r?(e.setContentType("application/json",!1),function(t,e,n){if(H.isString(t))try{return(e||JSON.parse)(t),H.trim(t)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||at.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(t&&H.isString(t)&&(n&&!this.responseType||r)){const n=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(n){if("SyntaxError"===s.name)throw Y.from(s,Y.ERR_BAD_RESPONSE,this,null,this.response);throw s}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:st.classes.FormData,Blob:st.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};H.forEach(["delete","get","head"],(function(t){at.headers[t]={}})),H.forEach(["post","put","patch"],(function(t){at.headers[t]=H.merge(it)}));var ct=at;const ut=H.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 lt=Symbol("internals");function ft(t){return t&&String(t).trim().toLowerCase()}function dt(t){return!1===t||null==t?t:H.isArray(t)?t.map(dt):String(t)}function ht(t,e,n,r,s){return H.isFunction(r)?r.call(this,e,n):(s&&(e=n),H.isString(e)?H.isString(r)?-1!==e.indexOf(r):H.isRegExp(r)?r.test(e):void 0:void 0)}class pt{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function s(t,e,n){const s=ft(e);if(!s)throw new Error("header name must be a non-empty string");const o=H.findKey(r,s);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||e]=dt(t))}const o=(t,e)=>H.forEach(t,((t,n)=>s(t,n,e)));return H.isPlainObject(t)||t instanceof this.constructor?o(t,e):H.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z]+$/.test(t.trim())?o((t=>{const e={};let n,r,s;return t&&t.split("\n").forEach((function(t){s=t.indexOf(":"),n=t.substring(0,s).trim().toLowerCase(),r=t.substring(s+1).trim(),!n||e[n]&&ut[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e})(t),e):null!=t&&s(e,t,n),this}get(t,e){if(t=ft(t)){const n=H.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}(t);if(H.isFunction(e))return e.call(this,t,n);if(H.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=ft(t)){const n=H.findKey(this,t);return!(!n||void 0===this[n]||e&&!ht(0,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function s(t){if(t=ft(t)){const s=H.findKey(n,t);!s||e&&!ht(0,n[s],s,e)||(delete n[s],r=!0)}}return H.isArray(t)?t.forEach(s):s(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const s=e[n];t&&!ht(0,this[s],s,t,!0)||(delete this[s],r=!0)}return r}normalize(t){const e=this,n={};return H.forEach(this,((r,s)=>{const o=H.findKey(n,s);if(o)return e[o]=dt(r),void delete e[s];const i=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(s):String(s).trim();i!==s&&delete e[s],e[i]=dt(r),n[i]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return H.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&H.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[lt]=this[lt]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=ft(t);e[r]||(!function(t,e){const n=H.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,s){return this[r].call(this,e,t,n,s)},configurable:!0})}))}(n,t),e[r]=!0)}return H.isArray(t)?t.forEach(r):r(t),this}}pt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),H.freezeMethods(pt.prototype),H.freezeMethods(pt);var mt=pt;function yt(t,e){const n=this||ct,r=e||n,s=mt.from(r.headers);let o=r.data;return H.forEach(t,(function(t){o=t.call(n,o,s.normalize(),e?e.status:void 0)})),s.normalize(),o}function gt(t){return!(!t||!t.__CANCEL__)}function Et(t,e,n){Y.call(this,null==t?"canceled":t,Y.ERR_CANCELED,e,n),this.name="CanceledError"}H.inherits(Et,Y,{__CANCEL__:!0});var Ot=st.isStandardBrowserEnv?{write:function(t,e,n,r,s,o){const i=[];i.push(t+"="+encodeURIComponent(e)),H.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),H.isString(r)&&i.push("path="+r),H.isString(s)&&i.push("domain="+s),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read:function(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function St(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}var vt=st.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let n;function r(n){let r=n;return t&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=r(window.location.href),function(t){const e=H.isString(t)?r(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0};function At(t,e){let n=0;const r=function(t,e){t=t||10;const n=new Array(t),r=new Array(t);let s,o=0,i=0;return e=void 0!==e?e:1e3,function(a){const c=Date.now(),u=r[i];s||(s=c),n[o]=a,r[o]=c;let l=i,f=0;for(;l!==o;)f+=n[l++],l%=t;if(o=(o+1)%t,o===i&&(i=(i+1)%t),c-s<e)return;const d=u&&c-u;return d?Math.round(1e3*f/d):void 0}}(50,250);return s=>{const o=s.loaded,i=s.lengthComputable?s.total:void 0,a=o-n,c=r(a);n=o;const u={loaded:o,total:i,progress:i?o/i:void 0,bytes:a,rate:c||void 0,estimated:c&&i&&o<=i?(i-o)/c:void 0,event:s};u[e?"download":"upload"]=!0,t(u)}}const wt={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){let r=t.data;const s=mt.from(t.headers).normalize(),o=t.responseType;let i;function a(){t.cancelToken&&t.cancelToken.unsubscribe(i),t.signal&&t.signal.removeEventListener("abort",i)}H.isFormData(r)&&(st.isStandardBrowserEnv||st.isStandardBrowserWebWorkerEnv)&&s.setContentType(!1);let c=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",n=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.set("Authorization","Basic "+btoa(e+":"+n))}const u=St(t.baseURL,t.url);function l(){if(!c)return;const r=mt.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());!function(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new Y("Request failed with status code "+n.status,[Y.ERR_BAD_REQUEST,Y.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}((function(t){e(t),a()}),(function(t){n(t),a()}),{data:o&&"text"!==o&&"json"!==o?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:t,request:c}),c=null}if(c.open(t.method.toUpperCase(),et(u,t.params,t.paramsSerializer),!0),c.timeout=t.timeout,"onloadend"in c?c.onloadend=l:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(l)},c.onabort=function(){c&&(n(new Y("Request aborted",Y.ECONNABORTED,t,c)),c=null)},c.onerror=function(){n(new Y("Network Error",Y.ERR_NETWORK,t,c)),c=null},c.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const r=t.transitional||rt;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new Y(e,r.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,t,c)),c=null},st.isStandardBrowserEnv){const e=(t.withCredentials||vt(u))&&t.xsrfCookieName&&Ot.read(t.xsrfCookieName);e&&s.set(t.xsrfHeaderName,e)}void 0===r&&s.setContentType(null),"setRequestHeader"in c&&H.forEach(s.toJSON(),(function(t,e){c.setRequestHeader(e,t)})),H.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),o&&"json"!==o&&(c.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&c.addEventListener("progress",At(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",At(t.onUploadProgress)),(t.cancelToken||t.signal)&&(i=e=>{c&&(n(!e||e.type?new Et(null,t,c):e),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(i),t.signal&&(t.signal.aborted?i():t.signal.addEventListener("abort",i)));const f=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(u);f&&-1===st.protocols.indexOf(f)?n(new Y("Unsupported protocol "+f+":",Y.ERR_BAD_REQUEST,t)):c.send(r||null)}))}};H.forEach(wt,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(n){}Object.defineProperty(t,"adapterName",{value:e})}}));var Rt={getAdapter:t=>{t=H.isArray(t)?t:[t];const{length:e}=t;let n,r;for(let s=0;s<e&&(n=t[s],!(r=H.isString(n)?wt[n.toLowerCase()]:n));s++);if(!r){if(!1===r)throw new Y(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT");throw new Error(H.hasOwnProp(wt,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`)}if(!H.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:wt};function bt(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Et(null,t)}function Tt(t){bt(t),t.headers=mt.from(t.headers),t.data=yt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return Rt.getAdapter(t.adapter||ct.adapter)(t).then((function(e){return bt(t),e.data=yt.call(t,t.transformResponse,e),e.headers=mt.from(e.headers),e}),(function(e){return gt(e)||(bt(t),e&&e.response&&(e.response.data=yt.call(t,t.transformResponse,e.response),e.response.headers=mt.from(e.response.headers))),Promise.reject(e)}))}const Ct=t=>t instanceof mt?t.toJSON():t;function _t(t,e){e=e||{};const n={};function r(t,e,n){return H.isPlainObject(t)&&H.isPlainObject(e)?H.merge.call({caseless:n},t,e):H.isPlainObject(e)?H.merge({},e):H.isArray(e)?e.slice():e}function s(t,e,n){return H.isUndefined(e)?H.isUndefined(t)?void 0:r(void 0,t,n):r(t,e,n)}function o(t,e){if(!H.isUndefined(e))return r(void 0,e)}function i(t,e){return H.isUndefined(e)?H.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function a(n,s,o){return o in e?r(n,s):o in t?r(void 0,n):void 0}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(t,e)=>s(Ct(t),Ct(e),!0)};return H.forEach(Object.keys(t).concat(Object.keys(e)),(function(r){const o=c[r]||s,i=o(t[r],e[r],r);H.isUndefined(i)&&o!==a||(n[r]=i)})),n}const Nt="1.3.4",Pt={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Pt[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const Dt={};Pt.transitional=function(t,e,n){function r(t,e){return"[Axios v"+Nt+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,s,o)=>{if(!1===t)throw new Y(r(s," has been removed"+(e?" in "+e:"")),Y.ERR_DEPRECATED);return e&&!Dt[s]&&(Dt[s]=!0,console.warn(r(s," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,s,o)}};var Mt={assertOptions:function(t,e,n){if("object"!=typeof t)throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let s=r.length;for(;s-- >0;){const o=r[s],i=e[o];if(i){const e=t[o],n=void 0===e||i(e,o,t);if(!0!==n)throw new Y("option "+o+" must be "+n,Y.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Y("Unknown option "+o,Y.ERR_BAD_OPTION)}},validators:Pt};const $t=Mt.validators;let Lt=class{constructor(t){this.defaults=t,this.interceptors={request:new nt,response:new nt}}request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=_t(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:s}=e;let o;void 0!==n&&Mt.assertOptions(n,{silentJSONParsing:$t.transitional($t.boolean),forcedJSONParsing:$t.transitional($t.boolean),clarifyTimeoutError:$t.transitional($t.boolean)},!1),void 0!==r&&Mt.assertOptions(r,{encode:$t.function,serialize:$t.function},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase(),o=s&&H.merge(s.common,s[e.method]),o&&H.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete s[t]})),e.headers=mt.concat(o,s);const i=[];let a=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,i.unshift(t.fulfilled,t.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(t){c.push(t.fulfilled,t.rejected)}));let l,f=0;if(!a){const t=[Tt.bind(this),void 0];for(t.unshift.apply(t,i),t.push.apply(t,c),l=t.length,u=Promise.resolve(e);f<l;)u=u.then(t[f++],t[f++]);return u}l=i.length;let d=e;for(f=0;f<l;){const t=i[f++],e=i[f++];try{d=t(d)}catch(h){e.call(this,h);break}}try{u=Tt.call(this,d)}catch(h){return Promise.reject(h)}for(f=0,l=c.length;f<l;)u=u.then(c[f++],c[f++]);return u}getUri(t){return et(St((t=_t(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}};H.forEach(["delete","get","head","options"],(function(t){Lt.prototype[t]=function(e,n){return this.request(_t(n||{},{method:t,url:e,data:(n||{}).data}))}})),H.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,s){return this.request(_t(s||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Lt.prototype[t]=e(),Lt.prototype[t+"Form"]=e(!0)}));var Ft=Lt;class xt{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,s){n.reason||(n.reason=new Et(t,r,s),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new xt((function(e){t=e})),cancel:t}}}var Ut=xt;const It={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(It).forEach((([t,e])=>{It[e]=t}));var jt=It;const kt=function t(e){const n=new Ft(e),r=u(Ft.prototype.request,n);return H.extend(r,Ft.prototype,n,{allOwnKeys:!0}),H.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return t(_t(e,n))},r}(ct);kt.Axios=Ft,kt.CanceledError=Et,kt.CancelToken=Ut,kt.isCancel=gt,kt.VERSION=Nt,kt.toFormData=K,kt.AxiosError=Y,kt.Cancel=kt.CanceledError,kt.all=function(t){return Promise.all(t)},kt.spread=function(t){return function(e){return t.apply(null,e)}},kt.isAxiosError=function(t){return H.isObject(t)&&!0===t.isAxiosError},kt.mergeConfig=_t,kt.AxiosHeaders=mt,kt.formToJSON=t=>ot(H.isHTMLForm(t)?new FormData(t):t),kt.HttpStatusCode=jt,kt.default=kt;const Bt="leach"!=={}.VITE_REQUEST_MODE?"/api/1.0/":"https://www.sjvair.com/api/1.0/",Ht=kt.create({baseURL:Bt}),Yt=(new Map).set("CALL","Call ahead").set("KEY_AFTER_HOURS","Card key after hours").set("KEY_ALWAYS","Card key at all times").set("CREDIT_CARD_AFTER_HOURS","Credit card after hours").set("CREDIT_CARD_ALWAYS","Credit card at all times").set("FLEET","Fleet customers only").set("GOVERNMENT","Government only").set("LIMITED_HOURS","Limited hours").set("RESIDENTIAL","Residential"),Vt=(new Map).set("all","All").set("A","American Express").set("CREDIT","Credit").set("Debit","Debit").set("D","Discover").set("M","MasterCard").set("V","Visa").set("Cash","Cash").set("Checks","Check").set("ACCOUNT_BALANCE","Account Balance").set("ALLIANCE","Alliance AutoGas").set("ANDROID_PAY","Android Pay").set("APPLE_PAY","Apple Pay").set("ARI","ARI").set("CleanEnergy","Clean Energy").set("Comdata","Comdata").set("CFN","Commercial Fueling Network").set("EFS","EFS").set("FleetOne","Fleet One").set("FuelMan","Fuelman").set("GasCard","GASCARD").set("PacificPride","Pacific Pride").set("PHH","PHH").set("Proprietor","Proprietor Fleet Card").set("Speedway","Speedway").set("SuperPass","SuperPass").set("TCH","TCH").set("Tchek","T-Chek T-Card").set("Trillium","Trillium").set("Voyager","Voyager").set("Wright_Exp","WEX"),Gt=(new Map).set("NEMA1450","NEMA 14-50").set("NEMA515","NEMA 5-15").set("NEMA520","NEMA 5-20").set("J1772","J1772").set("J1772COMBO","CCS").set("CHADEMO","CHAdeMO").set("TESLA","Tesla"),zt=(new Map).set("AddÉnergie Technologies","AddÉnergie").set("AMPUP","AmpUp").set("BCHYDRO","BC Hydro").set("Blink Network","Blink").set("CHARGELAB","ChargeLab").set("ChargePoint Network","ChargePoint").set("Circuit électrique","Circuit électrique").set("eCharge Network","eCharge Network").set("Electrify America","Electrify America").set("Electrify Canada","Electrify Canada").set("EVCS","EV Charging Solutions").set("EV Connect","EV Connect").set("EVGATEWAY","evGateway").set("eVgo Network","EVgo").set("EVRANGE","EV Range").set("FLO","FLO").set("FPLEV","FPL EVolution").set("FCN","Francis").set("IVY","Ivy").set("LIVINGSTON","Livingston Energy Group").set("Non-Networked","Non-Networked").set("OpConnect","OpConnect").set("PETROCAN","Petro-Canada").set("POWERFLEX","PowerFlex").set("RIVIAN_ADVENTURE","Rivian Adventure Network").set("RIVIAN_WAYPOINTS","Rivian Waypoints").set("SemaCharge Network","SemaConnect").set("SHELL_RECHARGE","Shell Recharge").set("Sun Country Highway","Sun Country Highway").set("SWTCH","Swtch Energy").set("Tesla Destination","Tesla Destination").set("Tesla","Tesla Supercharger").set("UNIVERSAL","Universal EV Chargers").set("Volta","Volta").set("Webasto","Webasto").set("ZEFNET","ZEF Network"),Wt=(new Map).set("AIRPORT","Airport").set("ARENA","Arena").set("AUTO_REPAIR","Auto Repair Shop").set("BANK","Bank").set("B_AND_B","B&B").set("BREWERY_DISTILLERY_WINERY","Brewery/Distillery/Winery").set("CAMPGROUND","Campground").set("CAR_DEALER","Car Dealer").set("CARWASH","Carwash").set("COLLEGE_CAMPUS","College Campus").set("CONVENIENCE_STORE","Convenience Store").set("CONVENTION_CENTER","Convention Center").set("COOP","Co-Op").set("FACTORY","Factory").set("FED_GOV","Federal Government").set("FIRE_STATION","Fire Station").set("FLEET_GARAGE","Fleet Garage").set("FUEL_RESELLER","Fuel Reseller").set("GROCERY","Grocery Store").set("HARDWARE_STORE","Hardware Store").set("HOSPITAL","Hospital").set("HOTEL","Hotel").set("INN","Inn").set("LIBRARY","Library").set("MIL_BASE","Military Base").set("MOTOR_POOL","Motor Pool").set("MULTI_UNIT_DWELLING","Multi-Family Housing").set("MUNI_GOV","Municipal Government").set("MUSEUM","Museum").set("NATL_PARK","National Park").set("OFFICE_BLDG","Office Building").set("OTHER","Other").set("OTHER_ENTERTAINMENT","Other Entertainment").set("PARK","Park").set("PARKING_GARAGE","Parking Garage").set("PARKING_LOT","Parking Lot").set("PAY_GARAGE","Pay-Parking Garage").set("PAY_LOT","Pay-Parking Lot").set("PHARMACY","Pharmacy").set("PLACE_OF_WORSHIP","Place of Worship").set("PRISON","Prison").set("PUBLIC","Public").set("REC_SPORTS_FACILITY","Recreational Sports Facility").set("REFINERY","Refinery").set("RENTAL_CAR_RETURN","Rental Car Return").set("RESEARCH_FACILITY","Research Facility/Laboratory").set("RESTAURANT","Restaurant").set("REST_STOP","Rest Stop").set("RETAIL","Retail").set("RV_PARK","RV Park").set("SCHOOL","School").set("GAS_STATION","Service/Gas Station").set("SHOPPING_CENTER","Shopping Center").set("SHOPPING_MALL","Shopping Mall").set("STADIUM","Stadium").set("STANDALONE_STATION","Standalone Station").set("STATE_GOV","State/Provincial Government").set("STORAGE","Storage Facility").set("STREET_PARKING","Street Parking").set("TNC","Transportation Network Company").set("TRAVEL_CENTER","Travel Center").set("TRUCK_STOP","Truck Stop").set("UTILITY","Utility").set("WORKPLACE","Workplace");var qt=Object.freeze({__proto__:null,Calaveras:["95252","95222","95249","95247","95230","95228","95223","95245","95246","95255","95225","95226","95224","95254","95257","95232","95251","95248","95221","95233","95250","95229"],Fresno:["93722","93727","93720","93619","93611","93702","93726","93706","93711","93705","93245","93612","93657","93710","93618","93703","93654","93725","93662","93704","93630","93210","93631","93728","93648","93723","93622","93730","93701","93620","93721","93640","93646","93737","93625","93656","93234","93609","93660","93242","93626","93675","93616","93602","93667","93650","93651","93664","93668","93624","93621","93608","93740","93634","93641","93652","93627","93606","93665","93628","93605","93607","93613","93642","93649","93708","93707","93709","93712","93715","93714","93717","93716","93718","93724","93729","93741","93745","93744","93750","93747","93760","93755","93764","93761","93771","93765","93773","93772","93775","93774","93777","93776","93779","93778","93790","93786","93792","93791","93794","93793","93888","93844","93784","93780","93633"],Inyo:["93514","93513","93527","93545","92328","93549","92389","93526","93592","92384","93515","93542","93522","93530"],Kern:["93307","93536","93306","93309","93313","93215","93308","93312","93304","93311","93305","93314","93555","93561","93280","93263","93560","93203","93268","93250","93241","93301","93505","93240","93501","93225","93461","93516","93206","93252","93285","93249","93283","93243","93527","93523","93524","93205","93518","93251","93531","93238","93255","93224","93554","93519","93287","93226","93216","93222","93276","93303","93302","93381","93380","93383","93382","93385","93384","93387","93386","93389","93388","93390","93502","93504","93528","93556","93581","93596","93220"],Kings:["93230","93245","93212","93631","93204","93656","93242","93249","93266","93201","93202","93246","93239","93232","93282"],Madera:["93720","93638","93637","93610","93636","93622","93614","93644","93626","93601","93643","93645","93653","93669","93604","93639"],Mariposa:["95338","95333","93601","95311","95329","95369","93653","95345","95389","95306","95325","95318","93623"],Merced:["95023","95380","93635","95301","95340","95348","95341","93610","95334","95388","95315","95322","93620","95324","95316","95365","95333","95374","95369","95303","95317","95325","93665","95342","95344","95343","93661","09534","95312"],Mono:["93514","93546","93517","96107","93529","96133","93541","93512"],SanJoaquin:["95201","95202","95203","95204","95205","95206","95207","95208","95209","95210","95211","95212","95213","95214","95215","95219","95220","95227","95230","95231","95234","95236","95237","95240","95241","95242","95253","95258","95267","95269","95296","95297","95304","95320","95330","95336","95337","95366","95376","95377","95378","95385","95391","95686"],Stanislaus:["95355","95350","94550","95351","95307","95380","95382","95356","95361","95358","95354","95363","95367","95357","95326","95360","95386","95368","95316","95230","95328","95313","95329","95385","95387","95323","95319","95353","95352","95381","95397"],Tulare:["93257","93274","93291","93215","93277","93292","93618","93212","93247","93631","93221","93647","93286","93646","93219","93223","93615","93267","93256","93270","93272","93235","93265","93271","93527","93201","93218","93238","93261","93641","93255","93603","93244","93262","93549","93628","93208","93227","93237","93258","93275","93279","93278","93290","93666","93670","93673","93260","93633","93207"],Tuolumne:["95370","95327","95247","95383","95321","95379","95223","95311","95329","95372","95310","95346","95364","95224","93541","95305","95335","95314","95309","95347","95373","95375"]});const Jt=Object.values(qt).reduce(((t,e)=>t.concat(e))).join(",");async function Kt(t){return Ht.get("https://developer.nrel.gov/api/alt-fuel-stations/v1.json",{params:{fuel_type:"ELEC",state:"CA",status:"E",access:"public",ev_charging_level:t,zip:Jt,api_key:"BThVJdnwHbO8hDpQkBdeqsUoeXhQuMgMRgO3hvyo"}}).then((t=>t.data.fuel_stations.map((t=>(t.access_detail_code&&(t.access_detail_code=Yt.get(t.access_detail_code)),t.cards_accepted&&(t.cards_accepted=t.cards_accepted.split(" ").map((t=>Vt.get(t))).join(", ")),t.ev_connector_types&&t.ev_connector_types.length&&(t.ev_connector_types=t.ev_connector_types.map((t=>Gt.get(t)))),t.ev_network&&(t.ev_network=zt.get(t.ev_network)),t.facility_type&&(t.facility_type=Wt.get(t.facility_type)),t))).filter((t=>226154!==t.id))))}var Zt=Object.freeze({__proto__:null,fetchLvl2Stations:async function(){return Kt("2")},fetchLvl3Stations:async function(){return Kt("dc_fast")}});new class{constructor(e,n){__publicField(this,"serviceModule"),__publicField(this,"serviceModuleName"),this.serviceModule=n,this.serviceModuleName=e,self.addEventListener("message",(async e=>{const{id:n,taskName:r,parameters:s}=e.data;this.serviceModule[r];const o=new t(n);r in this.serviceModule?await this.serviceModule[r](...s).then((t=>o.pass(t))).catch((t=>o.fail(t.message))):o.fail(`Background task "${String(r)}" not found in "${this.serviceModuleName}" controller`),self.postMessage(o)}))}}("EVChargingService",Zt)}();
|