upptime/client/legacy/_number_.e4d72609.js

22 lines
208 KiB
JavaScript
Raw Normal View History

2024-01-22 15:19:29 -06:00
import{S as t,i as e,s as i,e as s,b as n,d as o,f as a,h as r,j as l,t as h,k as c,l as d,o as u,r as f,m as g,a as p,n as m,c as b,g as x,I as _,p as y,A as v,q as w,w as M,x as k,y as S,z as D,u as P,v as O,R as C,T as A,U as T,V as E,W as L,E as R,X as I,Y as z,Z as F,_ as V}from"./client.dbc810f0.js";import{h as B,L as N,c as W,a as H}from"./createOctokit.33e8d1b9.js";function j(t){let e,i,l,h,c,d,u,M,k,S,D,P,O,C,A=t[1].name+"",T=("up"===t[1].status?f.i18n.up:f.i18n.down)+"",E=f.i18n.overallUptimeTitle+"",L=t[1].uptime+"",R=(void 0===t[1].showAverageResponseTime||t[1].showAverageResponseTime)&&Y(t);return{c(){e=s("h1"),i=s("a"),l=g(A),c=p(),d=s("span"),u=g(T),k=p(),S=s("dl"),D=s("dt"),P=g(E),O=s("dd"),C=g(L),R&&R.c(),this.h()},l(t){e=n(t,"H1",{});var s=o(e);i=n(s,"A",{class:!0,href:!0});var r=o(i);l=m(r,A),r.forEach(a),c=b(s),d=n(s,"SPAN",{class:!0});var h=o(d);u=m(h,T),h.forEach(a),s.forEach(a),k=b(t),S=n(t,"DL",{});var f=o(S);D=n(f,"DT",{});var g=o(D);P=m(g,E),g.forEach(a),O=n(f,"DD",{});var p=o(O);C=m(p,L),p.forEach(a),R&&R.l(f),f.forEach(a),this.h()},h(){x(i,"class","no-underline svelte-1d3m0a"),x(i,"href",h=t[1].url.startsWith("$")?"#":t[1].url),x(d,"class",M=_("tag ".concat(t[1].status))+" svelte-1d3m0a")},m(t,s){r(t,e,s),y(e,i),y(i,l),y(e,c),y(e,d),y(d,u),r(t,k,s),r(t,S,s),y(S,D),y(D,P),y(S,O),y(O,C),R&&R.m(S,null)},p(t,e){2&e&&A!==(A=t[1].name+"")&&v(l,A),2&e&&h!==(h=t[1].url.startsWith("$")?"#":t[1].url)&&x(i,"href",h),2&e&&T!==(T=("up"===t[1].status?f.i18n.up:f.i18n.down)+"")&&v(u,T),2&e&&M!==(M=_("tag ".concat(t[1].status))+" svelte-1d3m0a")&&x(d,"class",M),2&e&&L!==(L=t[1].uptime+"")&&v(C,L),void 0===t[1].showAverageResponseTime||t[1].showAverageResponseTime?R?R.p(t,e):(R=Y(t),R.c(),R.m(S,null)):R&&(R.d(1),R=null)},i:w,o:w,d(t){t&&a(e),t&&a(k),t&&a(S),R&&R.d()}}}function $(t){let e,i;return e=new N({}),{c(){M(e.$$.fragment)},l(t){k(e.$$.fragment,t)},m(t,s){S(e,t,s),i=!0},p:w,i(t){i||(d(e.$$.fragment,t),i=!0)},o(t){h(e.$$.fragment,t),i=!1},d(t){D(e,t)}}}function Y(t){let e,i,l,h,c,d=f.i18n.averageResponseTimeTitle+"",u=t[1].time+"",p=f.i18n.ms+"";return{c(){e=s("dt"),i=g(d),l=s("dd"),h=g(u),c=g(p)},l(t){e=n(t,"DT",{});var s=o(e);i=m(s,d),s.forEach(a),l=n(t,"DD",{});var r=o(l);h=m(r,u),c=m(r,p),r.forEach(a)},m(t,s){r(t,e,s),y(e,i),r(t,l,s),y(l,h),y(l,c)},p(t,e){2&e&&u!==(u=t[1].time+"")&&v(h,u)},d(t){t&&a(e),t&&a(l)}}}function U(t){let e,i,u,f;const g=[$,j],p=[];function m(t,e){return t[0]?0:t[1]?1:-1}return~(i=m(t))&&(u=p[i]=g[i](t)),{c(){e=s("section"),u&&u.c()},l(t){e=n(t,"SECTION",{});var i=o(e);u&&u.l(i),i.forEach(a)},m(t,s){r(t,e,s),~i&&p[i].m(e,null),f=!0},p(t,s){let[n]=s,o=i;i=m(t),i===o?~i&&p[i].p(t,n):(u&&(l(),h(p[o],1,1,(()=>{p[o]=null})),c()),~i?(u=p[i],u?u.p(t,n):(u=p[i]=g[i](t),u.c()),d(u,1),u.m(e,null)):u=null)},i(t){f||(d(u),f=!0)},o(t){h(u),f=!1},d(t){t&&a(e),~i&&p[i].d()}}}function X(t,e,i){let{slug:s}=e,n=!0,{apiBaseUrl:o,userContentBaseUrl:a}=f["status-website"]||{};o||(o="https://api.github.com"),a||(a="https://raw.githubusercontent.com");const r=f.owner,l=f.repo;let h=null;return u((async()=>{try{const t=await fetch("".concat(a,"/").concat(r,"/").concat(l,"/master/history/summary.json"));i(1,h=(await t.json()).find((t=>t.slug===s)))}catch(t){B(t)}i(0,n=!1)})),t.$$set=t=>{"slug"in t&&i(2,s=t.slug)},[n,h,s]}class q extends t{constructor(t){super(),e(this,t,X,U,i,{slug:2})}}function K(t,e,i){const s=t.slice();return s[6]=e[i],s}function G(t){let e,i,l,h,c=f.i18n.pastIncidents+"",d=t[1],u=[];for(let e=0;e<d.length;e+=1)u[e]=Q(K(t,d,e));return{c(){e=s("h2"),i=g(c),l=p();for(let t=0;t<u.length;t+=1)u[t].c();h=P(),this.h()},l(t){e=n(t,"H2",{class:!0});var s=o(e);i=m(s,c),s.forEach(a),l=b(t);for(let e=0;e<u.length;e+=1)u[e].l(t);h=P(),this.h()},h(){x(e,"class","svelte-18y4uo2")},m(t,s){r(t,e,s),y(e,i),r(t,l,s);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(t,s);r(t,h,s)},p(t,e){if(2&e){let i;for(d=t[1],i=0;i<d.length;i+=1){const s=K(t,d,i);u[i]?u[i].p(s,e):(u[i]=Q(s),u[i].c(),u[i].m(h.parentNode,h))}for(;i<u.length;i+=1)u[i].d(1);u.length=d.length}},i:w,o:w,d(t){t&&a(e),t&&a(l),O(u,t),t&&a(h)}}}fu
/*!
* Chart.js v3.9.1
* https://www.chartjs.org
* (c) 2022 Chart.js Contributors
* Released under the MIT License
*/
function st(){}const nt=function(){let t=0;return function(){return t++}}();function ot(t){return null==t}function at(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function rt(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const lt=t=>("number"==typeof t||t instanceof Number)&&isFinite(+t);function ht(t,e){return lt(t)?t:e}function ct(t,e){return void 0===t?e:t}const dt=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function ut(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function ft(t,e,i,s){let n,o,a;if(at(t))if(o=t.length,s)for(n=o-1;n>=0;n--)e.call(i,t[n],n);else for(n=0;n<o;n++)e.call(i,t[n],n);else if(rt(t))for(a=Object.keys(t),o=a.length,n=0;n<o;n++)e.call(i,t[a[n]],a[n])}function gt(t,e){let i,s,n,o;if(!t||!e||t.length!==e.length)return!1;for(i=0,s=t.length;i<s;++i)if(n=t[i],o=e[i],n.datasetIndex!==o.datasetIndex||n.index!==o.index)return!1;return!0}function pt(t){if(at(t))return t.map(pt);if(rt(t)){const e=Object.create(null),i=Object.keys(t),s=i.length;let n=0;for(;n<s;++n)e[i[n]]=pt(t[i[n]]);return e}return t}function mt(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function bt(t,e,i,s){if(!mt(t))return;const n=e[t],o=i[t];rt(n)&&rt(o)?xt(n,o,s):e[t]=pt(o)}function xt(t,e,i){const s=at(e)?e:[e],n=s.length;if(!rt(t))return t;const o=(i=i||{}).merger||bt;for(let a=0;a<n;++a){if(!rt(e=s[a]))continue;const n=Object.keys(e);for(let s=0,a=n.length;s<a;++s)o(n[s],t,e,i)}return t}function _t(t,e){return xt(t,e,{merger:yt})}function yt(t,e,i){if(!mt(t))return;const s=e[t],n=i[t];rt(s)&&rt(n)?_t(s,n):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=pt(n))}const vt={"":t=>t,x:t=>t.x,y:t=>t.y};function wt(t,e){const i=vt[e]||(vt[e]=function(t){const e=function(t){const e=t.split("."),i=[];let s="";for(const t of e)s+=t,s.endsWith("\\")?s=s.slice(0,-1)+".":(i.push(s),s="");return i}(t);return t=>{for(const i of e){if(""===i)break;t=t&&t[i]}return t}}(e));return i(t)}function Mt(t){return t.charAt(0).toUpperCase()+t.slice(1)}const kt=t=>void 0!==t,St=t=>"function"==typeof t,Dt=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0};const Pt=Math.PI,Ot=2*Pt,Ct=Ot+Pt,At=Number.POSITIVE_INFINITY,Tt=Pt/180,Et=Pt/2,Lt=Pt/4,Rt=2*Pt/3,It=Math.log10,zt=Math.sign;function Ft(t){const e=Math.round(t);t=Bt(t,e,t/1e3)?e:t;const i=Math.pow(10,Math.floor(It(t))),s=t/i;return(s<=1?1:s<=2?2:s<=5?5:10)*i}function Vt(t){return!isNaN(parseFloat(t))&&isFinite(t)}function Bt(t,e,i){return Math.abs(t-e)<i}function Nt(t,e,i){let s,n,o;for(s=0,n=t.length;s<n;s++)o=t[s][i],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function Wt(t){return t*(Pt/180)}function Ht(t){return t*(180/Pt)}function jt(t){if(!lt(t))return;let e=1,i=0;for(;Math.round(t*e)/e!==t;)e*=10,i++;return i}function $t(t,e){const i=e.x-t.x,s=e.y-t.y,n=Math.sqrt(i*i+s*s);let o=Math.atan2(s,i);return o<-.5*Pt&&(o+=Ot),{angle:o,distance:n}}function Yt(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Ut(t,e){return(t-e+Ct)%Ot-Pt}function Xt(t){return(t%Ot+Ot)%Ot}function qt(t,e,i,s){const n=Xt(t),o=Xt(e),a=Xt(i),r=Xt(o-n),l=Xt(a-n),h=Xt(n-o),c=Xt(n-a);return n===o||n===a||s&&o===a||r>l&&h<c}function Kt(t,e,i){return Math.max(e,Math.min(i,t))}function Gt(t,e,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1e-6;return t>=Math.min(e,i)-s&&t<=Math.max(e,i)+s}function Zt(t,e,i){i=i||(i=>t[i]<e);let s,n=t.length-1,o=0;for(;n-o>1;)s=o+n>>1,i(s)?o=s:n=s;return{lo:o,hi:n}}const Jt=(t,e,i,s)=>Zt(t,i,s?s=>t[s][e]<=i:s=>t[s][e]<i),Qt=(t,e,i)=>Zt(t,i,(s=>t[s][e]>=i));const te=["push","pop","shift","splice","unshift"];function ee(t,e){const i=t._chartjs;if(!i)return;const s=i.listeners,n=s.indexOf(e);-1!==n&&s.splice(n,1),s.length>0||(te.forEach((e=>{delete t[e]})),delete t._chartjs)}function ie(t){const e=new Set;let i,s;for(i=0,s=t.length;i<s;++i)e.add(t[i]);return e.size===s?t:Array.from(e)}const se="undefined"==typeof window?function(t){retur
/*!
* @kurkle/color v0.2.1
* https://github.com/kurkle/color#readme
* (c) 2022 Jukka Kurkela
* Released under the MIT License
*/
function fe(t){return t+.5|0}const ge=(t,e,i)=>Math.max(Math.min(t,i),e);function pe(t){return ge(fe(2.55*t),0,255)}function me(t){return ge(fe(255*t),0,255)}function be(t){return ge(fe(t/2.55)/100,0,1)}function xe(t){return ge(fe(100*t),0,100)}const _e={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},ye=[..."0123456789ABCDEF"],ve=t=>ye[15&t],we=t=>ye[(240&t)>>4]+ye[15&t],Me=t=>(240&t)>>4==(15&t);function ke(t){var e=(t=>Me(t.r)&&Me(t.g)&&Me(t.b)&&Me(t.a))(t)?ve:we;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const Se=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function De(t,e,i){const s=e*Math.min(i,1-i),n=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+t/30)%12;return i-s*Math.max(Math.min(n-3,9-n,1),-1)};return[n(0),n(8),n(4)]}function Pe(t,e,i){const s=function(s){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(s+t/60)%6;return i-i*e*Math.max(Math.min(n,4-n,1),0)};return[s(5),s(3),s(1)]}function Oe(t,e,i){const s=De(t,1,.5);let n;for(e+i>1&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)s[n]*=1-e-i,s[n]+=e;return s}function Ce(t){const e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),o=Math.min(e,i,s),a=(n+o)/2;let r,l,h;return n!==o&&(h=n-o,l=a>.5?h/(2-n-o):h/(n+o),r=function(t,e,i,s,n){return t===n?(e-i)/s+(e<i?6:0):e===n?(i-t)/s+2:(t-e)/s+4}(e,i,s,h,n),r=60*r+.5),[0|r,l||0,a]}function Ae(t,e,i,s){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,i,s)).map(me)}function Te(t,e,i){return Ae(De,t,e,i)}function Ee(t){return(t%360+360)%360}function Le(t){const e=Se.exec(t);let i,s=255;if(!e)return;e[5]!==i&&(s=e[6]?pe(+e[5]):me(+e[5]));const n=Ee(+e[2]),o=+e[3]/100,a=+e[4]/100;return i="hwb"===e[1]?function(t,e,i){return Ae(Oe,t,e,i)}(n,o,a):"hsv"===e[1]?function(t,e,i){return Ae(Pe,t,e,i)}(n,o,a):Te(n,o,a),{r:i[0],g:i[1],b:i[2],a:s}}const Re={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Ie={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",s
/*!
* Chart.js v3.9.1
* https://www.chartjs.org
* (c) 2022 Chart.js Contributors
* Released under the MIT License
*/var vs=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,i,s){const n=e.listeners[s],o=e.duration;n.forEach((s=>s({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(i-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=se.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now(),e=0;this._charts.forEach(((i,s)=>{if(!i.running||!i.items.length)return;const n=i.items;let o,a=n.length-1,r=!1;for(;a>=0;--a)o=n[a],o._active?(o._total>i.duration&&(i.duration=o._total),o.tick(t),r=!0):(n[a]=n[n.length-1],n.pop());r&&(s.draw(),this._notify(s,i,t,"progress")),n.length||(i.running=!1,this._notify(s,i,t,"complete"),i.initial=!1),e+=n.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}};const ws="transparent",Ms={boolean:(t,e,i)=>i>.5?e:t,color(t,e,i){const s=qe(t||ws),n=s.valid&&qe(e||ws);return n&&n.valid?n.mix(s,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class ks{constructor(t,e,i,s){const n=e[i];s=ki([t.to,s,n,t.from]);const o=ki([t.from,n,s]);this._active=!0,this._fn=t.fn||Ms[t.type||typeof o],this._easing=ue[t.easing]||ue.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=o,this._to=s,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const s=this._target[this._prop],n=i-this._start,o=this._duration-n;this._start=i,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=n,this._loop=!!t.loop,this._to=ki([t.to,e,s,t.from]),this._from=ki([t.from,s,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,s=this._prop,n=this._from,o=this._loop,a=this._to;let r;if(this._active=n!==a&&(o||e<i),!this._active)return this._target[s]=a,void this._notify(!0);e<0?this._target[s]=n:(r=e/i%2,r=o&&r>1?2-r:r,r=this._easing(Math.min(1,Math.max(0,r))),this._target[s]=this._fn(n,a,r))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,i)=>{t.push({res:e,rej:i})}))}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let t=0;t<i.length;t++)i[t][e]()}}ti.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const Ss=Object.keys(ti.animation);ti.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),ti.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),ti.describe("animations",{_fallback:"animation"}),ti.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class Ds{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!rt(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach((i=>{const s=t[i];if(!rt(s))re