@sjvair/monitor-map 1.2.64 → 1.22.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/monitor-map/MonitorDetails.css +1 -1
- package/dist/monitor-map/assets/MonitorDetails.81525d0f.js +1 -0
- package/dist/monitor-map/assets/{worker.9aa9c1d3.js → worker.30809057.js} +1 -1
- package/dist/monitor-map/assets/{worker.fa6038fd.js → worker.76e59e0d.js} +1 -1
- package/dist/monitor-map/assets/worker.e3868a15.js +1 -0
- package/dist/monitor-map/main.css +1 -1
- package/dist/monitor-map/sjvairMonitorMap.js +2 -2
- package/dist/widget/MonitorDetails.css +1 -1
- package/dist/widget/assets/MonitorDetails.fc9add1d.js +1 -0
- package/dist/widget/assets/{worker.fded03e7.js → worker.13d5a241.js} +1 -1
- package/dist/widget/assets/worker.6293c41b.js +1 -0
- package/dist/widget/assets/{worker.30e90e40.js → worker.da2ca2dd.js} +1 -1
- package/dist/widget/main.css +1 -1
- package/dist/widget/sjvairMonitorMap.js +2 -2
- package/package.json +6 -3
- package/dist/monitor-map/assets/MonitorDetails.86e9623f.js +0 -1
- package/dist/widget/assets/MonitorDetails.0ae04bf5.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
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={exports:{}};e.exports=function(){var t=1e3,e=6e4,n=36e5,r="millisecond",s="second",o="minute",i="hour",a="day",u="week",c="month",l="quarter",f="year",h="date",d="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,E={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("_")},g=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},y={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,c),o=n-s<0,i=e.clone().add(r+(o?-1:1),c);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:c,y:f,w:u,d:a,D:h,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]=E;var v=function(t){return t instanceof T},w=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},R=function(t,e){if(v(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new T(n)},A=y;A.l=w,A.i=v,A.w=function(t,e){return R(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var T=function(){function E(t){this.$L=w(t.locale,null,!0),this.parse(t)}var g=E.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(A.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 A},g.isValid=function(){return!(this.$d.toString()===d)},g.isSame=function(t,e){var n=R(t);return this.startOf(e)<=n&&n<=this.endOf(e)},g.isAfter=function(t,e){return R(t)<this.startOf(e)},g.isBefore=function(t,e){return this.endOf(e)<R(t)},g.$g=function(t,e,n){return A.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=!!A.u(e)||e,l=A.p(t),d=function(t,e){var s=A.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 A.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},m=this.$W,E=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(l){case f:return r?d(1,0):d(31,11);case c:return r?d(1,E):d(0,E+1);case u:var O=this.$locale().weekStart||0,S=(m<O?m+7:m)-O;return d(r?g-S:g+(6-S),E);case a:case h:return p(y+"Hours",0);case i:return p(y+"Minutes",1);case o:return p(y+"Seconds",2);case s:return p(y+"Milliseconds",3);default:return this.clone()}},g.endOf=function(t){return this.startOf(t,!1)},g.$set=function(t,e){var n,u=A.p(t),l="set"+(this.$u?"UTC":""),d=(n={},n[a]=l+"Date",n[h]=l+"Date",n[c]=l+"Month",n[f]=l+"FullYear",n[i]=l+"Hours",n[o]=l+"Minutes",n[s]=l+"Seconds",n[r]=l+"Milliseconds",n)[u],p=u===a?this.$D+(e-this.$W):e;if(u===c||u===f){var m=this.clone().set(h,1);m.$d[d](p),m.init(),this.$d=m.set(h,Math.min(this.$D,m.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},g.set=function(t,e){return this.clone().$set(t,e)},g.get=function(t){return this[A.p(t)]()},g.add=function(r,l){var h,d=this;r=Number(r);var p=A.p(l),m=function(t){var e=R(d);return A.w(e.date(e.date()+Math.round(t*r)),d)};if(p===c)return this.set(c,this.$M+r);if(p===f)return this.set(f,this.$y+r);if(p===a)return m(1);if(p===u)return m(7);var E=(h={},h[o]=e,h[i]=n,h[s]=t,h)[p]||1,g=this.$d.getTime()+r*E;return A.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||d;var r=t||"YYYY-MM-DDTHH:mm:ssZ",s=A.z(this),o=this.$H,i=this.$m,a=this.$M,u=n.weekdays,c=n.months,l=function(t,n,s,o){return t&&(t[n]||t(e,r))||s[n].slice(0,o)},f=function(t){return A.s(o%12||12,t,"0")},h=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:A.s(a+1,2,"0"),MMM:l(n.monthsShort,a,c,3),MMMM:l(c,a),D:this.$D,DD:A.s(this.$D,2,"0"),d:String(this.$W),dd:l(n.weekdaysMin,this.$W,u,2),ddd:l(n.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(o),HH:A.s(o,2,"0"),h:f(1),hh:f(2),a:h(o,i,!0),A:h(o,i,!1),m:String(i),mm:A.s(i,2,"0"),s:String(this.$s),ss:A.s(this.$s,2,"0"),SSS:A.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,h,d){var p,m=A.p(h),E=R(r),g=(E.utcOffset()-this.utcOffset())*e,y=this-E,O=A.m(this,E);return O=(p={},p[f]=O/12,p[c]=O,p[l]=O/3,p[u]=(y-g)/6048e5,p[a]=(y-g)/864e5,p[i]=y/n,p[o]=y/e,p[s]=y/t,p)[m]||y,d?O:A.a(O)},g.daysInMonth=function(){return this.endOf(c).$D},g.$locale=function(){return S[this.$L]},g.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},g.clone=function(){return A.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()},E}(),_=T.prototype;return R.prototype=_,[["$ms",r],["$s",s],["$m",o],["$H",i],["$W",a],["$M",c],["$y",f],["$D",h]].forEach((function(t){_[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),R.extend=function(t,e){return t.$i||(t(e,T,R),t.$i=!0),R},R.locale=w,R.isDayjs=v,R.unix=function(t){return R(1e3*t)},R.en=S[O],R.Ls=S,R.p={},R}();var n=e.exports,r={exports:{}};!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 u,c,l,f=o.$locale().relativeTime||s,h=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"}],d=h.length,p=0;p<d;p+=1){var m=h[p];m.d&&(u=i?n(e).diff(o,m.d,!0):o.diff(e,m.d,!0));var E=(t.rounding||Math.round)(Math.abs(u));if(l=u>0,E<=m.r||!m.r){E<=1&&p>0&&(m=h[p-1]);var g=f[m.l];a&&(E=a(""+E)),c="string"==typeof g?g.replace("%d",E):g(E,r,m.l,l);break}}if(r)return c;var y=l?f.future:f.past;return"function"==typeof y?y(c):y.replace("%s",c)},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)}}}(r);var s=r.exports,o={exports:{}};!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 u=r[a],c=u.type,l=u.value,f=n[c];f>=0&&(o[f]=parseInt(l,10))}var h=o[3],d=24===h?0:h,p=o[0]+"-"+o[1]+"-"+o[2]+" "+d+":"+o[4]+":"+o[5]+":000",m=+t;return(s.utc(p).valueOf()-(m-=m%1e3))/6e4},u=e.prototype;u.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),u=s(i).$set("millisecond",this.$ms).utcOffset(15*-Math.round(r.getTimezoneOffset()/15)-a,!0);if(e){var c=u.utcOffset();u=u.add(n-c,"minute")}return u.$x.$timezone=t,u},u.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 c=u.startOf;u.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return c.call(this,t,e);var n=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return c.call(n,t,e).tz(this.$x.$timezone,!0)},s.tz=function(t,e,n){var r=n&&e,i=n||e||o,u=a(+s(),i);if("string"!=typeof t)return s(t).tz(i);var c=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(),u,i),l=c[0],f=c[1],h=s(l).utcOffset(f);return h.$x.$timezone=i,h},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(t){o=t}})}(o);var i=o.exports,a={exports:{}};!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 u=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 u.call(this)};var c=i.utcOffset;i.utcOffset=function(t,e){var o=this.$utils().u;if(o(t))return this.$u?0:o(this.$offset)?c.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 u=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(a=this.local().add(i+u,n)).$offset=i,a.$x.$localOffset=u}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 h=i.diff;i.diff=function(t,e,n){if(t&&this.$u===t.$u)return h.call(this,t,e,n);var r=this.local(),s=o(t).local();return h.call(r,s,e,n)}})}(a);var u=a.exports;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 c(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(u);const{toString:l}=Object.prototype,{getPrototypeOf:f}=Object,h=(d=Object.create(null),t=>{const e=l.call(t);return d[e]||(d[e]=e.slice(8,-1).toLowerCase())});var d;const p=t=>(t=t.toLowerCase(),e=>h(e)===t),m=t=>e=>typeof e===t,{isArray:E}=Array,g=m("undefined");const y=p("ArrayBuffer");const O=m("string"),S=m("function"),v=m("number"),w=t=>null!==t&&"object"==typeof t,R=t=>{if("object"!==h(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)},A=p("Date"),T=p("File"),_=p("Blob"),b=p("FileList"),C=p("URLSearchParams");function N(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,s;if("object"!=typeof t&&(t=[t]),E(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)}}const D=(M="undefined"!=typeof Uint8Array&&f(Uint8Array),t=>M&&t instanceof M);var M;const P=p("HTMLFormElement"),$=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),L=p("RegExp"),F=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};N(n,((n,s)=>{!1!==e(n,s,t)&&(r[s]=n)})),Object.defineProperties(t,r)};var x={isArray:E,isArrayBuffer:y,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&&y(t.buffer),e},isString:O,isNumber:v,isBoolean:t=>!0===t||!1===t,isObject:w,isPlainObject:R,isUndefined:g,isDate:A,isFile:T,isBlob:_,isRegExp:L,isFunction:S,isStream:t=>w(t)&&S(t.pipe),isURLSearchParams:C,isTypedArray:D,isFileList:b,forEach:N,merge:function t(){const e={},n=(n,r)=>{R(e[r])&&R(n)?e[r]=t(e[r],n):R(n)?e[r]=t({},n):E(n)?e[r]=n.slice():e[r]=n};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&N(arguments[r],n);return e},extend:(t,e,n,{allOwnKeys:r}={})=>(N(e,((e,r)=>{n&&S(e)?t[r]=c(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:h,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(E(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:P,hasOwnProperty:$,hasOwnProp:$,reduceDescriptors:F,freezeMethods:t=>{F(t,((e,n)=>{const r=t[n];S(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return E(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)};function U(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)}x.inherits(U,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const I=U.prototype,j={};["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=>{j[t]={value:t}})),Object.defineProperties(U,j),Object.defineProperty(I,"isAxiosError",{value:!0}),U.from=(t,e,n,r,s,o)=>{const i=Object.create(I);return x.toFlatObject(t,i,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),U.call(i,t.message,e,n,r,s),i.cause=t,i.name=t.name,o&&Object.assign(i,o),i};var B="object"==typeof self?self.FormData:window.FormData;function k(t){return x.isPlainObject(t)||x.isArray(t)}function H(t){return x.endsWith(t,"[]")?t.slice(0,-2):t}function Y(t,e,n){return t?t.concat(e).map((function(t,e){return t=H(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const V=x.toFlatObject(x,{},null,(function(t){return/^is[A-Z]/.test(t)}));function z(t,e,n){if(!x.isObject(t))throw new TypeError("target must be an object");e=e||new(B||FormData);const r=(n=x.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!x.isUndefined(e[t])}))).metaTokens,s=n.visitor||l,o=n.dots,i=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&((u=e)&&x.isFunction(u.append)&&"FormData"===u[Symbol.toStringTag]&&u[Symbol.iterator]);var u;if(!x.isFunction(s))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(x.isDate(t))return t.toISOString();if(!a&&x.isBlob(t))throw new U("Blob is not supported. Use a Buffer instead.");return x.isArrayBuffer(t)||x.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function l(t,n,s){let a=t;if(t&&!s&&"object"==typeof t)if(x.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(x.isArray(t)&&function(t){return x.isArray(t)&&!t.some(k)}(t)||x.isFileList(t)||x.endsWith(n,"[]")&&(a=x.toArray(t)))return n=H(n),a.forEach((function(t,r){!x.isUndefined(t)&&null!==t&&e.append(!0===i?Y([n],r,o):null===i?n:n+"[]",c(t))})),!1;return!!k(t)||(e.append(Y(s,n,o),c(t)),!1)}const f=[],h=Object.assign(V,{defaultVisitor:l,convertValue:c,isVisitable:k});if(!x.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!x.isUndefined(n)){if(-1!==f.indexOf(n))throw Error("Circular reference detected in "+r.join("."));f.push(n),x.forEach(n,(function(n,o){!0===(!(x.isUndefined(n)||null===n)&&s.call(e,n,x.isString(o)?o.trim():o,r,h))&&t(n,r?r.concat(o):[o])})),f.pop()}}(t),e}function G(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function W(t,e){this._pairs=[],t&&z(t,this,e)}const q=W.prototype;function J(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function K(t,e,n){if(!e)return t;const r=n&&n.encode||J,s=n&&n.serialize;let o;if(o=s?s(e,n):x.isURLSearchParams(e)?e.toString():new W(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,G)}:G;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};class Z{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){x.forEach(this.handlers,(function(e){null!==e&&t(e)}))}}var Q={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},X="undefined"!=typeof URLSearchParams?URLSearchParams:W,tt=FormData;const et=(()=>{let t;return("undefined"==typeof navigator||"ReactNative"!==(t=navigator.product)&&"NativeScript"!==t&&"NS"!==t)&&("undefined"!=typeof window&&"undefined"!=typeof document)})();var nt={isBrowser:!0,classes:{URLSearchParams:X,FormData:tt,Blob:Blob},isStandardBrowserEnv:et,protocols:["http","https","file","blob","url","data"]};function rt(t){function e(t,n,r,s){let o=t[s++];const i=Number.isFinite(+o),a=s>=t.length;if(o=!o&&x.isArray(r)?r.length:o,a)return x.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!i;r[o]&&x.isObject(r[o])||(r[o]=[]);return e(t,n,r[o],s)&&x.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(x.isFormData(t)&&x.isFunction(t.entries)){const n={};return x.forEachEntry(t,((t,r)=>{e(function(t){return x.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),r,n,0)})),n}return null}var st=nt.isStandardBrowserEnv?{write:function(t,e,n,r,s,o){const i=[];i.push(t+"="+encodeURIComponent(e)),x.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),x.isString(r)&&i.push("path="+r),x.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 ot(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 it=nt.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=x.isString(t)?r(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0};function at(t,e,n){U.call(this,null==t?"canceled":t,U.ERR_CANCELED,e,n),this.name="CanceledError"}x.inherits(at,U,{__CANCEL__:!0});const ut=x.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 ct=Symbol("internals"),lt=Symbol("defaults");function ft(t){return t&&String(t).trim().toLowerCase()}function ht(t){return!1===t||null==t?t:x.isArray(t)?t.map(ht):String(t)}function dt(t,e,n,r){return x.isFunction(r)?r.call(this,e,n):x.isString(e)?x.isString(r)?-1!==e.indexOf(r):x.isRegExp(r)?r.test(e):void 0:void 0}function pt(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}function mt(t,e){t&&this.set(t),this[lt]=e||null}function Et(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 u=Date.now(),c=r[i];s||(s=u),n[o]=a,r[o]=u;let l=i,f=0;for(;l!==o;)f+=n[l++],l%=t;if(o=(o+1)%t,o===i&&(i=(i+1)%t),u-s<e)return;const h=c&&u-c;return h?Math.round(1e3*f/h):void 0}}(50,250);return s=>{const o=s.loaded,i=s.lengthComputable?s.total:void 0,a=o-n,u=r(a);n=o;const c={loaded:o,total:i,progress:i?o/i:void 0,bytes:a,rate:u||void 0,estimated:u&&i&&o<=i?(i-o)/u:void 0};c[e?"download":"upload"]=!0,t(c)}}function gt(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)}x.isFormData(r)&&nt.isStandardBrowserEnv&&s.setContentType(!1);let u=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 c=ot(t.baseURL,t.url);function l(){if(!u)return;const r=mt.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());!function(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new U("Request failed with status code "+n.status,[U.ERR_BAD_REQUEST,U.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?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:r,config:t,request:u}),u=null}if(u.open(t.method.toUpperCase(),K(c,t.params,t.paramsSerializer),!0),u.timeout=t.timeout,"onloadend"in u?u.onloadend=l:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(l)},u.onabort=function(){u&&(n(new U("Request aborted",U.ECONNABORTED,t,u)),u=null)},u.onerror=function(){n(new U("Network Error",U.ERR_NETWORK,t,u)),u=null},u.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const r=t.transitional||Q;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new U(e,r.clarifyTimeoutError?U.ETIMEDOUT:U.ECONNABORTED,t,u)),u=null},nt.isStandardBrowserEnv){const e=(t.withCredentials||it(c))&&t.xsrfCookieName&&st.read(t.xsrfCookieName);e&&s.set(t.xsrfHeaderName,e)}void 0===r&&s.setContentType(null),"setRequestHeader"in u&&x.forEach(s.toJSON(),(function(t,e){u.setRequestHeader(e,t)})),x.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),o&&"json"!==o&&(u.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&u.addEventListener("progress",Et(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",Et(t.onUploadProgress)),(t.cancelToken||t.signal)&&(i=e=>{u&&(n(!e||e.type?new at(null,t,u):e),u.abort(),u=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]||""}(c);f&&-1===nt.protocols.indexOf(f)?n(new U("Unsupported protocol "+f+":",U.ERR_BAD_REQUEST,t)):u.send(r||null)}))}Object.assign(mt.prototype,{set:function(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=pt(r,s);(!o||!0===n||!1!==r[o]&&!1!==n)&&(r[o||e]=ht(t))}return x.isPlainObject(t)?x.forEach(t,((t,n)=>{s(t,n,e)})):s(e,t,n),this},get:function(t,e){if(!(t=ft(t)))return;const n=pt(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(x.isFunction(e))return e.call(this,t,n);if(x.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}},has:function(t,e){if(t=ft(t)){const n=pt(this,t);return!(!n||e&&!dt(0,this[n],n,e))}return!1},delete:function(t,e){const n=this;let r=!1;function s(t){if(t=ft(t)){const s=pt(n,t);!s||e&&!dt(0,n[s],s,e)||(delete n[s],r=!0)}}return x.isArray(t)?t.forEach(s):s(t),r},clear:function(){return Object.keys(this).forEach(this.delete.bind(this))},normalize:function(t){const e=this,n={};return x.forEach(this,((r,s)=>{const o=pt(n,s);if(o)return e[o]=ht(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]=ht(r),n[i]=!0})),this},toJSON:function(t){const e=Object.create(null);return x.forEach(Object.assign({},this[lt]||null,this),((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&x.isArray(n)?n.join(", "):n)})),e}}),Object.assign(mt,{from:function(t){return x.isString(t)?new this((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)):t instanceof this?t:new this(t)},accessor:function(t){const e=(this[ct]=this[ct]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=ft(t);e[r]||(!function(t,e){const n=x.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 x.isArray(t)?t.forEach(r):r(t),this}}),mt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]),x.freezeMethods(mt.prototype),x.freezeMethods(mt);const yt={http:gt,xhr:gt};var Ot=t=>{if(x.isString(t)){const e=yt[t];if(!t)throw Error(x.hasOwnProp(t)?`Adapter '${t}' is not available in the build`:`Can not resolve adapter '${t}'`);return e}if(!x.isFunction(t))throw new TypeError("adapter is not a function");return t};const St={"Content-Type":"application/x-www-form-urlencoded"};const vt={transitional:Q,adapter:function(){let t;return"undefined"!=typeof XMLHttpRequest?t=Ot("xhr"):"undefined"!=typeof process&&"process"===x.kindOf(process)&&(t=Ot("http")),t}(),transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,s=x.isObject(t);s&&x.isHTMLForm(t)&&(t=new FormData(t));if(x.isFormData(t))return r&&r?JSON.stringify(rt(t)):t;if(x.isArrayBuffer(t)||x.isBuffer(t)||x.isStream(t)||x.isFile(t)||x.isBlob(t))return t;if(x.isArrayBufferView(t))return t.buffer;if(x.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 z(t,new nt.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return nt.isNode&&x.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((o=x.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return z(o?{"files[]":t}:t,e&&new e,this.formSerializer)}}return s||r?(e.setContentType("application/json",!1),function(t,e,n){if(x.isString(t))try{return(e||JSON.parse)(t),x.trim(t)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||vt.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(t&&x.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 U.from(s,U.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:nt.classes.FormData,Blob:nt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};function wt(t,e){const n=this||vt,r=e||n,s=mt.from(r.headers);let o=r.data;return x.forEach(t,(function(t){o=t.call(n,o,s.normalize(),e?e.status:void 0)})),s.normalize(),o}function Rt(t){return!(!t||!t.__CANCEL__)}function At(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new at}function Tt(t){At(t),t.headers=mt.from(t.headers),t.data=wt.call(t,t.transformRequest);return(t.adapter||vt.adapter)(t).then((function(e){return At(t),e.data=wt.call(t,t.transformResponse,e),e.headers=mt.from(e.headers),e}),(function(e){return Rt(e)||(At(t),e&&e.response&&(e.response.data=wt.call(t,t.transformResponse,e.response),e.response.headers=mt.from(e.response.headers))),Promise.reject(e)}))}function _t(t,e){e=e||{};const n={};function r(t,e){return x.isPlainObject(t)&&x.isPlainObject(e)?x.merge(t,e):x.isPlainObject(e)?x.merge({},e):x.isArray(e)?e.slice():e}function s(n){return x.isUndefined(e[n])?x.isUndefined(t[n])?void 0:r(void 0,t[n]):r(t[n],e[n])}function o(t){if(!x.isUndefined(e[t]))return r(void 0,e[t])}function i(n){return x.isUndefined(e[n])?x.isUndefined(t[n])?void 0:r(void 0,t[n]):r(void 0,e[n])}function a(n){return n in e?r(t[n],e[n]):n in t?r(void 0,t[n]):void 0}const u={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};return x.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){const e=u[t]||s,r=e(t);x.isUndefined(r)&&e!==a||(n[t]=r)})),n}x.forEach(["delete","get","head"],(function(t){vt.headers[t]={}})),x.forEach(["post","put","patch"],(function(t){vt.headers[t]=x.merge(St)}));const bt="1.1.3",Ct={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Ct[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const Nt={};Ct.transitional=function(t,e,n){function r(t,e){return"[Axios v1.1.3] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,s,o)=>{if(!1===t)throw new U(r(s," has been removed"+(e?" in "+e:"")),U.ERR_DEPRECATED);return e&&!Nt[s]&&(Nt[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 Dt={assertOptions:function(t,e,n){if("object"!=typeof t)throw new U("options must be an object",U.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 U("option "+o+" must be "+n,U.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new U("Unknown option "+o,U.ERR_BAD_OPTION)}},validators:Ct};const Mt=Dt.validators;class Pt{constructor(t){this.defaults=t,this.interceptors={request:new Z,response:new Z}}request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=_t(this.defaults,e);const{transitional:n,paramsSerializer:r}=e;void 0!==n&&Dt.assertOptions(n,{silentJSONParsing:Mt.transitional(Mt.boolean),forcedJSONParsing:Mt.transitional(Mt.boolean),clarifyTimeoutError:Mt.transitional(Mt.boolean)},!1),void 0!==r&&Dt.assertOptions(r,{encode:Mt.function,serialize:Mt.function},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();const s=e.headers&&x.merge(e.headers.common,e.headers[e.method]);s&&x.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),e.headers=new mt(e.headers,s);const o=[];let i=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(i=i&&t.synchronous,o.unshift(t.fulfilled,t.rejected))}));const a=[];let u;this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)}));let c,l=0;if(!i){const t=[Tt.bind(this),void 0];for(t.unshift.apply(t,o),t.push.apply(t,a),c=t.length,u=Promise.resolve(e);l<c;)u=u.then(t[l++],t[l++]);return u}c=o.length;let f=e;for(l=0;l<c;){const t=o[l++],e=o[l++];try{f=t(f)}catch(h){e.call(this,h);break}}try{u=Tt.call(this,f)}catch(h){return Promise.reject(h)}for(l=0,c=a.length;l<c;)u=u.then(a[l++],a[l++]);return u}getUri(t){return K(ot((t=_t(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}x.forEach(["delete","get","head","options"],(function(t){Pt.prototype[t]=function(e,n){return this.request(_t(n||{},{method:t,url:e,data:(n||{}).data}))}})),x.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}))}}Pt.prototype[t]=e(),Pt.prototype[t+"Form"]=e(!0)}));class $t{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 at(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 $t((function(e){t=e})),cancel:t}}}const Lt=function t(e){const n=new Pt(e),r=c(Pt.prototype.request,n);return x.extend(r,Pt.prototype,n,{allOwnKeys:!0}),x.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return t(_t(e,n))},r}(vt);Lt.Axios=Pt,Lt.CanceledError=at,Lt.CancelToken=$t,Lt.isCancel=Rt,Lt.VERSION=bt,Lt.toFormData=z,Lt.AxiosError=U,Lt.Cancel=Lt.CanceledError,Lt.all=function(t){return Promise.all(t)},Lt.spread=function(t){return function(e){return t.apply(null,e)}},Lt.isAxiosError=function(t){return x.isObject(t)&&!0===t.isAxiosError},Lt.formToJSON=t=>rt(x.isHTMLForm(t)?new FormData(t):t);const Ft="leach"!=={VITE_BUILD_MODE:"mod",VITE_MAPTILER_KEY:"NvYyjimTkUQBEjVebxLV",VITE_NREL_KEY:"BThVJdnwHbO8hDpQkBdeqsUoeXhQuMgMRgO3hvyo",VITE_OPENWEATHERMAP_KEY:"09b21cd89a07eaa465d3d9c2b2a6d0c3",BASE_URL:"/static/monitor-map/",MODE:"production",DEV:!1,PROD:!0}.VITE_REQUEST_MODE?"/api/1.0/":"https://www.sjvair.com/api/1.0/",xt=Lt.create({baseURL:Ft}),Ut=(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"),It=(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"),jt=(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"),Bt=(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"),kt=(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 Ht=Object.freeze({__proto__:null,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"],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"],Madera:["93720","93638","93637","93610","93636","93622","93614","93644","93626","93601","93643","93645","93653","93669","93604","93639"],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"],Kings:["93230","93245","93212","93631","93204","93656","93242","93249","93266","93201","93202","93246","93239","93232","93282"],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"],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"],Calaveras:["95252","95222","95249","95247","95230","95228","95223","95245","95246","95255","95225","95226","95224","95254","95257","95232","95251","95248","95221","95233","95250","95229"],Tuolumne:["95370","95327","95247","95383","95321","95379","95223","95311","95329","95372","95310","95346","95364","95224","93541","95305","95335","95314","95309","95347","95373","95375"],Mono:["93514","93546","93517","96107","93529","96133","93541","93512"],Mariposa:["95338","95333","93601","95311","95329","95369","93653","95345","95389","95306","95325","95318","93623"],Inyo:["93514","93513","93527","93545","92328","93549","92389","93526","93592","92384","93515","93542","93522","93530"]});const Yt=Object.values(Ht).reduce(((t,e)=>t.concat(e))).join(",");var Vt=Object.freeze({__proto__:null,fetchEvStations:async function(){return xt.get("https://developer.nrel.gov/api/alt-fuel-stations/v1.json",{params:{fuel_type:"ELEC",state:"CA",status:"E",access:"public",ev_charging_level:"2,dc_fast",zip:Yt,api_key:"BThVJdnwHbO8hDpQkBdeqsUoeXhQuMgMRgO3hvyo"}}).then((t=>t.data.fuel_stations.map((t=>(t.access_detail_code&&(t.access_detail_code=Ut.get(t.access_detail_code)),t.cards_accepted&&(t.cards_accepted=t.cards_accepted.split(" ").map((t=>It.get(t))).join(", ")),t.ev_connector_types&&t.ev_connector_types.length&&(t.ev_connector_types=t.ev_connector_types.map((t=>jt.get(t)))),t.ev_network&&(t.ev_network=Bt.get(t.ev_network)),t.facility_type&&(t.facility_type=kt.get(t.facility_type)),t))).filter((t=>226154!==t.id))))}});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",Vt)}();
|